
.p, h1, h2, h3, h4, body {
    /*font-family: 'Roboto Slab', serif !important;*/
    /*font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    font-family: 'Lora', Times New Roman, Times, serif !important;
    /*font-family: "Noto Serif",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif !important;*/
    
}

body, html {
  overflow-x: hidden;
}


.pkp_structure_content.container-fluid {
  width: 75% !important;
  max-width: 75% !important;
  
}


/* Laptop */
@media (max-width: 1600px) {
  .pkp_structure_content.container-fluid {
    width: 90% !important;
    max-width: 90% !important;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .pkp_structure_content.container-fluid {
    width: 99% !important;
    max-width: 99% !important;
  }
}

/* Điện thoại */
@media (max-width: 768px) {
  .pkp_structure_content.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
  }

  
}

html, body {
    font-size: 17px;
    color: #000000DE;
    line-height: 1.6 !important;  /* đồng bộ chiều cao dòng */
    -webkit-font-smoothing: antialiased; /* chống răng cưa */
    -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 768px) {
   html, body {
      font-size: 15px !important;
   }
}

.h1 {
    font-size: 30px !important;
}

.h2 {
    font-size: 20px !important;
}


/*.p, .h1, .h2, body { */
/*    font-family: "Noto Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", serif !important;*/
     
/*}*/

.pkp_structure_page{
    background: #eef3f6 !important;
}

/* ---- USER MENU (login, register, hoặc tên user sau khi đăng nhập) ---- */
#navigationUser.nav > li > a {
    color: #ffffff !important;   /* chữ trắng */
}

/* Hover */
#navigationUser.nav > li > a:hover {
    color: #ffcc00 !important;
}

/* Hover menu chính */
#nav-menu.navbar-collapse li a:hover {
    color: #FFD700 !important;   /* chữ vàng khi hover */
}

/* Dropdown menu con */
#nav-menu .dropdown-menu li a {
    color: black !important;   /* chữ đen */
}

/* Hover dropdown con */
#nav-menu .dropdown-menu li a:hover {
    color: #ffffff !important;
}

/* --- Dropdown trên Mobile --- */
@media (max-width: 767px) {
    #nav-menu .dropdown-menu li a {
        color: white !important;  /* chữ trắng trên mobile */
    }

    #nav-menu .dropdown-menu li a:hover {
        color: #FFD700 !important;
    }
}


/* Tạo khung cho nội dung chính giống sidebar */
.pkp_structure_main {
    background: #fff;
    /*border: 1px solid #ddd;*/
    border-radius: 4px;
    padding: 15px 20px 0 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* đổ bóng */
    margin-bottom: 20px;
}

.pkp_structure_sidebar {
    padding: 0 0 0 15px;
}

@media (max-width: 768px) {
    .pkp_structure_sidebar {
         padding: 15px 15px 0 15px !important;
    }

    .pkp_structure_main {
    
    margin-bottom: 0px;
}
}


.pkp_structure_content {
    padding: 0px;
}

.journal-description {
    margin: 10px 0 10px 0 !important;
}

.journal-description h2 {
    margin: 10px 0 30px 0 !important;
}

/* chỉnh màu background và đổ bóng cho header */
.navbar.navbar-default .container-fluid {
    background-color: #042B73 !important;
    border-color: #042B73; /* nếu muốn viền cùng màu */
    margin: 0 11%;
    max-width: 1450px;   /* giới hạn chiều rộng */
    /*margin: 0 auto;      /* căn giữa */
}

@media (max-width: 1601px) {
  .navbar.navbar-default .container-fluid {
    margin: 0 auto;
  }

}



@media (min-width: 768px) {
.navbar.navbar-default .container-fluid .container{
    margin: 0 10px !important;
    
}
}

.navbar.navbar-default{
    background: #042B73 !important;    
    border-color: #042B73; /* nếu muốn viền cùng màu */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* đổ bóng phía dưới */
    border-radius: 0px;
}

.navbar.navbar-default .navbar-nav > li > a {
    color: #fff; /* chữ trắng */
}

.navbar.navbar-default .navbar-nav > li > a:hover,
.navbar.navbar-default .navbar-nav > li > a:focus {
    color: #ffcc00; /* màu vàng khi hover */
}

/* Custom nút tìm kiếm */
.search-btn {
    background-color: #fff;   /* nền xanh đậm */
    color: #042B73;                 /* chữ trắng */
    border: 0;                /* bỏ viền */
    padding: 6px 15px;
    border-radius: 4px;          /* bo góc nhẹ */
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;                    /* khoảng cách giữa icon và chữ */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* đổ bóng phía dưới */
}

/* Hover: chữ vàng, nền giữ nguyên */
/*.search-btn:hover {*/
/*    color: #ffcc00;*/              /* chữ vàng */
/*    background-color: #f5f5f5;*/   /* giữ nguyên nền */
/*}*/

/* Hover mở menu trên PC (>=768px) */
@media (min-width: 768px) {
  .navbar-header:hover + .collapse,
  .navbar-toggle:hover + .collapse {
    display: block !important;
    visibility: visible;
    height: auto !important;
  }
}


/* Container */
.block_make_submission .content {
    display: flex;
    justify-content: center; /* căn giữa nút */
    overflow: hidden;        /* chặn không cho nút phóng to ra ngoài */
    border-radius: 4px; /* bo nhẹ */ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* đổ bóng */
}

/* Nút Gửi bài */
.block_make_submission .content a.block_make_submission_link {
    display: flex;                /* dùng flex để căn giữa */
    justify-content: center;      /* căn ngang giữa */
    align-items: center;          /* căn dọc giữa */
    text-align: center;           /* căn giữa chữ */
    white-space: normal;          /* cho phép xuống hàng */
    word-break: break-word;       /* ngắt từ nếu cần */ 
    padding: 12px 0;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #042B73;
    background-color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    transform-origin: center center; /* phóng to từ giữa */
    border: none; /* bỏ border hoàn toàn */
    padding: 15px 0 12px 0 !important;
    margin: 10px 0 10px 0 !important;
}

/* Hiệu ứng hover */
.block_make_submission .content a.block_make_submission_link:hover {
    color: #042B73 !important;
    transform: scale(1.1); /* chỉ phóng to nút */
}


.pkp_block .content {
    padding: 0;
}

/* ========================
   block_custom : Chuyên mục, hướng dẫn, lượt truy cập
======================== */
/*.block_custom {
    background-color: fff;   /* Nền trắng */
    /*border: 1px solid #ddd;       Viền nhẹ */
/*    border: none; /* bỏ viền cũ */
/*    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    padding: 10px;
    margin-top: 15px;
}

.block_custom h2 {
    text-align: center;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #042B73 !important;
    background-color: #F5F5F5 !important;            Màu chữ chủ đạo */
   /* margin-bottom: 10px !important;
}

.block_custom .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.block_custom .content ul li {
    /*border-bottom: 1px solid #eee;*/
/*    padding: 12px 15px !important;
}

.block_custom .content ul li:last-child {
    border-bottom: none;
}

.block_custom .content ul li a {
    color: #042B73;
    text-decoration: none;
    transition: color 0.3s ease;
}

.block_custom .content ul li {
    padding: 10px 15px;
}

.block_custom .content ul li a:hover {
    color: #f1c40f;              /* Vàng khi hover */
/*}

.block_custom {
    padding: 0;
}

.block_custom #customblock-lt-view .content ul li{
    text-align: center;
}*/

.block_custom {
    background-color: #fff;
    border: none; /* bỏ viền */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin-top: 15px;
    padding: 0;
}

.block_custom h2 {
    text-align: center;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #042B73 !important;
    background-color: #ffffff !important;
    padding: 15px 0px 10px 0px !important;
    margin: 0 15px 10px 15px !important;
    border-bottom: 3px solid #f1c40f !important; /* vạch ngang vàng */
}

.block_custom .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.block_custom .content ul li {
    position: relative;
    overflow: hidden; /* để hiệu ứng hover không tràn ra ngoài */
	border: 0px solid !important;
}

.block_custom .content ul li a {
    display: block;
    color: #042B73;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Hiệu ứng hover nền lan từ trái sang phải */
.block_custom .content ul li::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    background: #f7f7f7;  /* nền xám nhạt */
    transition: width 0.4s ease;
    z-index: 0;
}

.block_custom .content ul li:hover::before {
    width: 100%;
}




/* ========================
   block_language : Ngôn ngữ
======================== */
.block_language {
    background-color: #fff;
    border: none; /* bỏ viền */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin-top: 15px;
    padding: 0;
}

.block_language h2 {
    text-align: center;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #042B73 !important;
    background-color: #ffffff !important;
    padding: 15px 0px 10px 0px !important;
    margin: 0 15px 10px 15px !important;
    border-bottom: 3px solid #f1c40f !important; /* vạch ngang vàng */
}

.block_language .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.block_language .content ul li {
    padding: 12px 15px !important;
    position: relative;
    overflow: hidden; /* để hiệu ứng hover không tràn ra ngoài */
	border: 0px solid !important;
}

.block_language .content ul li:last-child {
    border-bottom: none;
}

.block_language .content ul li a {
    display: block;
    color: #042B73;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.block_language .content ul li {
    padding: 10px 15px;
}

/* Hiệu ứng hover nền lan từ trái sang phải */
.block_language .content ul li::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    background: #f7f7f7;  /* nền xám nhạt */
    transition: width 0.4s ease;
    z-index: 0;
}

.block_language .content ul li:hover::before {
    width: 100%;
}

.block_language {
    padding: 0;
}

/* ========================
   block_keyword_cloud : Từ khóa
======================== */
.block_keyword_cloud {
    background-color: #fff;
    border: none; /* bỏ viền */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin-top: 15px;
    padding: 0;

    /*justify-content: space-between !important;
    align-items: center !important;*/
}

.block_keyword_cloud h2 {
    text-align: center;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #042B73 !important;
    background-color: #ffffff !important;
    padding: 15px 0px 10px 0px !important;
    margin: 0 15px 10px 15px !important;
    border-bottom: 3px solid #f1c40f !important; /* vạch ngang vàng */
   
}

.block_keyword_cloud .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.block_keyword_cloud .content ul li {
    padding: 12px 15px !important;
    position: relative;
    overflow: hidden; /* để hiệu ứng hover không tràn ra ngoài */
	border: 0px solid !important;
}

.block_keyword_cloud .content ul li:last-child {
    border-bottom: none;
}

.block_keyword_cloud .content ul li a {
    display: block;
    color: #042B73;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.block_keyword_cloud .content ul li {
    padding: 10px 15px;
}

.block_keyword_cloud {
    padding: 0;
}


/* ảnh bên trái */
.announcement-summary .announcement-img {
    width: auto;
    max-height: 100%;
    height: 80px;
    border-radius: 4px; /* bo góc nhẹ cho đẹp */
}

/* tiêu đề */
.announcement-summary .announcement-title a {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #042B73;
    font-weight: bold;
    text-decoration: none;
	line-height: 1.3;
}

.announcement-summary .announcement-title a:hover {
    color: #ffcc00;
}

/* ngày đăng */
.announcement-summary .announcement-date {
    font-size: 14px;
    color: #777;
    margin: 5px 0 10px;
}

/* mô tả */
.announcement-summary .announcement-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Cover cần chỉnh sửa - chính */
/*.container-fluid .container {
    padding: 5px;
    height: 150px;
    width: auto
}

.container-fluid .container a img {
    
    height: 150px;
    width: auto
}*/

/* Áp dụng mặc định cho desktop */
/*.navbar-brand img {*/
/*    height: 150px;  */ /* cao cố định */
/*    width: auto;    */ /* dài tự động */
/*    max-width: 100%;*/ /* tránh tràn */
/*}

/* Khi màn hình nhỏ hơn 768px (điện thoại) */
/*@media (max-width: 767px) {*/
/*    .navbar-brand img {*/
/*        width: 100%;  */ /* chiếm toàn bộ chiều ngang */
/*        height: auto; */ /* cao tự động theo tỉ lệ */
/*    }*/
/*}*/

/* Desktop mặc định */
/* Container header */


/* Logo */
.navbar-brand img {
    height: 150px;
    width: auto;
}

/* Menu */
.navbar-brand {
    height: 150px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 0 0 10px;
}



/* Khi màn hình nhỏ hơn 768px (mobile) */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 75px;   /* ảnh giảm còn 75px */
    }
    .navbar-brand {
        height: 80px;   /* container cũng 80px */
	padding: 5px;
    }

    /*.container-fluid .container {
        padding: 5px;
        height: 75px;
        width: auto;
    }

    .container-fluid .container a img {
        height: 75px;
        width: auto
    }*/
}


/*  ngăn cách */

.h-divider {
  margin: auto;
  width: 80%;
  position: relative;
}

.h-divider .shadow {
  overflow: hidden;
  height: 20px;
 margin-top: 22px;
}

.h-divider .shadow:after {
  content: '';
  display: block;
  margin: -25px auto 0;
  width: 100%;
  height: 25px;
  border-radius: 125px/12px;
  box-shadow: 0 0 8px #cbc5c5ab;
}

/*  logo block */

.logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 logo mỗi hàng */
  gap: 15px; /* khoảng cách giữa các logo */
  justify-items: center;
  align-items: center;
}

.logos-grid a img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .logos-grid {
    grid-template-columns: 1fr; 
  }
}

/* Khi màn hình nhỏ hơn 768px → chỉ 1 logo mỗi hàng */
@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 logo mỗi hàng */
  }
}


/*-------------------------------------------------*/
/* Ẩn toàn bộ button kèm ảnh cờ trên màn hình nhỏ hơn hoặc bằng 768px */
@media (max-width: 768px) {
    .app__langFlags {
        display: none !important;
    }
}




/*-------------------------------------------------*/
/* custom article_summary.tpl  */
.media-body h3.media-heading a {
  color: #042B73; /* Màu chủ đạo khi hover hoặc nhấn */
  font-weight: bold; /* In đậm tiêu đề */
  text-decoration: none; /* không gạch chân */
  transition: color 0.3s ease; /* Hiệu ứng mượt khi đổi màu */
}
.meta .authors {
	line-height: 1.43rem;
}
/*-------------------------------------------------*/
/* chinh sua how to cite  */
.how-to-cite .panel-body {
    overflow: visible !important;
    position: relative;
}

.how-to-cite .dropdown-menu {
    z-index: 9999 !important;
}

/*-------------------------------------------------*/
/* chinh sua nut PDF galley_link  */
/* Nút PDF chung */
.btn-pdf {
    border: 1px solid #042B73 !important;
    background: #ffffff !important;
    color: #042B73 !important;
    padding: 6px 14px;
    font-weight: 600;
    border-radius: 4px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

/* icon pdf đỏ */
.btn-pdf .pdf-icon {
    font-size: 16px;
    color: #042B73 !important;
}

/* Hover đổi màu */
.btn-pdf:hover {
    background: #042B73 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn-pdf:hover .pdf-icon {
    color: #ffffff !important;
}

/* khoảng cách giữa các nút */
.btn-group .btn-pdf {
    margin-right: 5px;
}
