/*
Theme Name: TLU_Cs2
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins-SemiBold';
  font-weight: 600;
  font-style: normal;
}
/*************** HEADER   ***************/
/*Menu header*/
.nav-dropdown {
    width: 280px !important; 
    left: 0 !important;
    right: auto !important;
    padding: 0 !important;
    border: none !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 4px !important;
}

/*Cấu trúc các dòng trong menu */
.nav-dropdown > li.nav-dropdown-col {
    display: block !important;
    width: 100% !important;
    border-right: 0 !important;
    position: relative !important;
}

/*Kiểu chữ và khoảng cách  */
.nav-dropdown .nav-dropdown-col > a,
.nav-dropdown li a {
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: #333 !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

/*Hiệu ứng Hover */
.nav-dropdown-default > li:hover,
.nav-dropdown .nav-dropdown-col > ul li:hover {
    background: #f5f5f5 !important;
}

.nav-dropdown-default > li:hover > a,
.nav-dropdown .nav-dropdown-col > ul li:hover > a {
    color: #0056d2 !important;
    padding-left: 25px !important;
}

/* Menu Cấp 3: Ngang sang phải */
.nav-dropdown .nav-dropdown-col > ul {
    display: none;
    position: absolute;
    left: 100% !important;
    top: 0 !important;
    width: 350px !important;
    background: white;
    z-index: 999;
    margin-top: 0 !important;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    border-radius: 0 4px 4px 4px;
    padding: 0 !important;
}

/* Hiện cấp 3 khi hover */
.header-nav li.nav-dropdown-col:hover > ul {
    display: block !important;
}

/*Xử lý các chi tiết thừa của Flatsome */
.nav-dropdown-default > li > a {
    border-bottom: 1px solid #f0f0f0 !important;
}

.nav-dropdown-default > li:last-child > a,
.nav-dropdown .nav-dropdown-col > ul li:last-child a {
    border-bottom: none !important;
}
@media screen and (min-width: 850px) {
  input#s.search-field.mb-0 {
    width: 450px;
    padding: 10px 50px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    margin-right: 5px;
  }
  ul.header-nav.header-nav-main.nav.nav-right.nav-uppercase {
    right: 25% !important;
  }
  li.html.custom.html_topbar_left {
    left: 20% !important;
  }
}
button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
  width: 55px;
  background: #0056d2;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  height: 36px;
  border-radius: 5px;
}
.header-button-1 .header-button a.button {
  background: #fff;
  color: #0056d2;
}


/*************** FOOTER   ***************/
.footer-2 .large-columns-3{
	display: grid;
    grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
}
@media (max-width: 992px){
	.footer-2 .large-columns-3{
		grid-template-columns: 1fr;
	}
}
footer#footer.footer-wrapper:before{
	content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/2026/03/banner-footer.webp);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    right: 0;
    background-position: right;
}
.absolute-footer .clearfix{
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	padding: 15px;
}
@media screen and (min-width: 850px){
	.large-columns-3>.col{
		flex-basis: unset !important;
        max-width: unset !important;
	}
}

/*************** HOME PAGE  ***************/
.title-cs2{
	display: flex;
	align-items: center;
	gap: 10px;
}
.title-cs2 h2::before{
    content: ""; 
    display: inline-block;
    width: 23px;
    height: 23px;
    background: url(/wp-content/uploads/2026/03/line.webp);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 8px;
}
.title-cs2 h2 {
	font-weight: 600;
	text-transform: uppercase;
	color:#0237e1;
}
/* Template section_posts */
.kn-gt-wp {
  padding: 0;
}

.kn-gt-wp .header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.kn-gt-wp .title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kn-gt-wp .title .dot {
  width: 23px;
  height: 23px;
  background: url('/wp-content/uploads/line.png') no-repeat center/contain;
}

.kn-gt-wp .title h2 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

.kn-gt-wp .content.content-no-sidebar {
  display: grid;
  grid-template-columns: 2.2fr 2fr;
  gap: 20px;
}

.kn-gt-wp .main-news img {
  width: 100%;
  object-fit: cover;
}

.kn-gt-wp .main-news h3 {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

.kn-gt-wp .main-news-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.kn-gt-wp .news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff 0%, #f7f7f7 50%, #ebebeb 100%);
}

.kn-gt-wp .news-item:last-child {
  margin-bottom: 0;
}

.kn-gt-wp .news-item img {
  min-width: 162px;
  height: 147px;
  object-fit: cover;
}

.kn-gt-wp .bg-new-section-item {
  padding: 10px 0;
}

.kn-gt-wp .news-item h4 {
  font-size: 15px;
  margin-bottom: 5px;
}

.kn-gt-wp .news-item h4 a {
  color: inherit;
  text-decoration: none;
}

.kn-gt-wp .news-item p {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 992px) {
  .kn-gt-wp .content.content-no-sidebar {
    grid-template-columns: 1fr;
  }

  .kn-gt-wp .news-item {
    display: block;
  }

  .kn-gt-wp .news-item img {
    width: 100%;
    height: auto;
  }
}
/* section_notice */
.notice-wp {
  padding: 30px 0;
}

.notice-wp .ctnr {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

.notice-wp .btn-member {
  text-align: center;
  margin-bottom: 18px;
}

.notice-wp .cta-section {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 34px;
  background: linear-gradient(90deg, #fff 0%, #f7f7f7 50%, #ebebeb 100%);
}

.notice-wp .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
}

.notice-wp .cta-button .icon {
  width: 24px;
  height: 24px;
  background: url('/wp-content/uploads/line.png') no-repeat center/contain;
}

.notice-wp .grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.notice-wp .card {
  background: linear-gradient(90deg, #fff 0%, #f7f7f7 50%, #ebebeb 100%);
  transition: transform 0.3s;
}

.notice-wp .card:hover {
  transform: translateY(-5px);
}

.notice-wp .card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.notice-wp .card-large {
  background: transparent;
}

.notice-wp .card-large .card-image {
  width: 100%;
  height: 313px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.notice-wp .card-large .card-content {
  padding: 17px 0;
}

.notice-wp .card-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.notice-wp .card-title a {
  color: inherit;
  text-decoration: none;
}

.notice-wp .card-small {
  display: flex;
  gap: 20px;
  align-items: center;
}

.notice-wp .card-small.mb-30 {
  margin-bottom: 30px;
}

.notice-wp .image-wrapper {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  display: block;
}

.notice-wp .card-small .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.notice-wp .date-badge {
  position: absolute;
  top: 10px;
  right: -27px;
  background: #0052cc;
  color: #fff;
  padding: 7px 8px;
  font-weight: 700;
  text-align: center;
}

.notice-wp .date-badge .month {
  font-size: 12px;
  display: block;
}

.notice-wp .date-badge .day {
  font-size: 22px;
  display: block;
  line-height: 1;
}

.notice-wp .card-small .card-content {
  position: relative;
  display: flex;
  align-items: center;
  height: 186px;
  flex: 1;
  padding: 0 17px;
}

.notice-wp .card-small .card-content::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 20px;
  background: url('/wp-content/uploads/line-bottom1.png') no-repeat center/contain;
  top: 100%;
  left: 0;
}

.notice-wp .card-small .card-title {
  font-size: 18px;
}

@media (max-width: 1024px) {
  .notice-wp .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .notice-wp .card-small {
    flex-direction: column;
    gap: 0;
  }

  .notice-wp .image-wrapper {
    width: 100%;
    height: 240px;
  }

  .notice-wp .card-small .card-content {
    height: auto;
    padding: 20px;
  }

  .notice-wp .card-large .card-image {
    height: 280px;
  }

  .notice-wp .date-badge {
    right: auto;
    left: 13px;
  }
}
/* counter item */
/* Badge tròn */
.cs-value {
  margin: 0 0 -45px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cs-number {
  width: 90px;
  height: 90px;
  background: #0052cc;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0, 82, 204, 0.3);
}

/* Khung bên dưới */
.cs-desc {
  margin: 0;
  padding: 58px 20px 22px;
  background: #f5f5f4;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #1a1a1a;
  position: relative;
}

/* line trang trí dưới khung*/
.cs-desc::after {
  content: "";
  position: absolute;
  left: 0;
  top: 85% !important;
  width: 100%;
  height: 50px;
  background: url('/wp-content/uploads/2026/03/line-bottom2.webp') no-repeat center/contain;
}
/*ĐÀO TẠO HOMEPAGE*/
.banner-bottom {
  position: relative;
  overflow: hidden;
}

/* Overlay trang trí: nằm trên ảnh, dưới chữ */
.banner-bottom::before {
  content: "";
  position: absolute;
  background: url('/wp-content/uploads/2026/03/daotao.webp') no-repeat;
  width: 100%;
  height: 100%;
  top: -64%;
  left: 67%;
  transform: translateX(-50%);
  background-size: contain;
  z-index: 2;
  pointer-events: none;
}

/* Ảnh nền */
.banner-bottom .banner-bg,
.banner-bottom .banner-bg img {
  position: relative;
  z-index: 1;
}

.banner-bottom .banner-bg img {
  width: 100%;
  object-fit: cover;
  object-position: bottom;
  min-height: 602px;
}

/* Layer chữ luôn trên cùng */
.banner-bottom .banner-layers {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.banner-bottom .content-banner {
  margin-top: 20px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 1px 1px 2px #000;
}
/*danh mục bài viết*/
div.col.post-item.is-selected:hover{
	transform: translatey(-10px);
	transition:0.3s;
}
.flickity-button{
	display:none;
}
.home-blog .box-text .box-text-inner .post-title:hover {
    color:#2d2d2d;
}

.home-blog .box-text .box-text-inner .post-meta {
    order: 1;
    font-weight: 500;
    font-size: 13px
}

.home-blog .box-text .box-text-inner .button {
    order: 4;
    margin-left: auto !important;
    color: #0469B0;
    text-transform: initial;
    font-size: 16px;
    font-weight: 600
}

.home-blog .box-text .box-text-inner .button:after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    font-size: 12px
}

.home-blog .box-text .box-text-inner .button:hover {
    color: #2d2d2d
}

.home-blog .box-text .box-text-inner .from_the_blog_excerpt {
    order: 3
}
.post-item .post-meta {
    position: relative;
    padding-left: 20px;
    font-size: 14px
}

.post-meta:before {
    content: '';
    width: 15px;
    height: 15px;
    background-image: url(/wp-content/uploads/2026/03/lich2-1.svg);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 3px
}

.home-blog.row-box-shadow-1 .col-inner {
    box-shadow: 0 5px 16px 0 rgb(2 55 102 / 15%);
    -webkit-box-shadow: 0 5px 16px 0 rgb(2 55 102 / 15%);
    border-radius: 10px
}

.home-blog.row-box-shadow-1 .col-inner .box {
    border-radius: 10px
}

.home-blog.row-box-shadow-1 .col-inner .box-image {
    border-radius: 10px 10px 0 0;
}
/*Tuyển sinh*/
.cta-button {
    background: #fff;
    color: #2948b1 !important;
	border-radius:5px;
}
.cta-button:hover{
	border: 1px solid #fff !important;
	background: #2948b1 !important;
	color: #fff !important;
}
.button:hover{
	box-shadow: unset !important;
}
.widget > ul > li ul,
ul.menu > li ul {
    border-left: 0px;
    display: block;
    margin: 0px;
    padding-left: 0px;
    width: 100%;
}
/*Right Menu Sinh Viên*/
.ux-menu {
    max-width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Title */
.ux-menu-title {
    background: #0237e1;
    color: #fff;
    font-weight: 600;
    padding: 14px 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Item */
.ux-menu .menu-item {
    border-bottom: 1px solid #e9ecef;
}

.ux-menu .menu-item:last-child {
    border-bottom: none;
}

/* Link */
.ux-menu-link__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    text-decoration: none;
    color: #333;
    transition: all .25s ease;
}

/* Icon */
.ux-menu-link__icon {
    font-size: 12px;
    color: #999;
    width: 16px;
}

/* Text */
.ux-menu-link__text {
    flex: 1;
    font-size: 15px;
}

/* Hover */
.ux-menu-link__link:hover {
    background: #f5f7fa;
    color: #0237e1;
    padding-left: 24px;
}

.ux-menu-link__link:hover .ux-menu-link__icon {
    color: #0237e1;
}

/* Mobile */
@media (max-width: 768px) {

    .ux-menu-title {
        font-size: 15px;
        padding: 12px 16px;
    }

    .ux-menu-link__link {
        padding: 11px 15px;
        font-size: 14px;
    }

}
/*Widget*/
.auto-category-widget {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    list-style: none;
    padding: 0;
}
.auto-category-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.auto-category-widget > li {
    position: relative;
}

.auto-category-widget > li > h3 {
    margin: 0;
    padding: 0;
    background-color: #0237e1;
}

.auto-category-widget > li > h3 > a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auto-category-widget > li > h3 > a:hover {
    background-color: #0056b3;
}
.auto-category-widget > li > ul {
    background-color: #f8f9fa;
}

.auto-category-widget > li > ul > li {
    position: relative;
    border-bottom: 1px solid #dee2e6;
}

.auto-category-widget > li > ul > li:last-child {
    border-bottom: none;
}
.auto-category-widget > li > ul > li > a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.auto-category-widget > li > ul > li > a:hover {
    background-color: #e9ecef;
    color: #0237e1;
    padding-left: 25px;
}
.auto-category-widget > li > ul > li > ul {
    position: static; 
    height: 0; 
    overflow: hidden; 
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    transition: height 0.3s ease-out;
    padding-left: 20px;
    margin-top: 0;
    border-top: none;
    border-radius: 0;
    z-index: auto;
}

.auto-category-widget > li > ul > li > ul > li {
    border-bottom: 1px solid #f1f3f4;
}

.auto-category-widget > li > ul > li > ul > li:last-child {
    border-bottom: none;
}

.auto-category-widget > li > ul > li > ul > li > a {
    padding: 10px 20px;
    color: #555;
    font-weight: normal;
    background-color: transparent;
    font-size: 14px;
}

.auto-category-widget > li > ul > li > ul > li > a:hover {
    background-color: #f8f9fa;
    color: #0237e1;
    padding-left: 25px;
}

.auto-category-widget > li > ul > li:hover > ul {
    height: auto; 
    max-height: 500px;
}
.auto-category-widget > li > ul > li:has(ul) > a::after {
    content: "▶"; /* Mũi tên ban đầu chỉ sang phải */
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #666;
    transition: transform 0.3s ease;
}

.auto-category-widget > li > ul > li:hover:has(ul) > a::after {
    transform: translateY(-50%) rotate(90deg);
}

.auto-category-widget .has-submenu > a::after {
    content: "▶";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #666;
    transition: transform 0.3s ease;
}

.auto-category-widget .has-submenu:hover > a::after {
    transform: translateY(-50%) rotate(90deg);
}

@media (max-width: 768px) {
    .auto-category-widget {
        margin: 10px;
    }

    .auto-category-widget > li > ul > li > ul {
        position: static;
        opacity: 1; 
        visibility: visible; 
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid #0237e1;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: #f1f3f4;
    }

    .auto-category-widget > li > ul > li:hover > ul {
        max-height: 200px;
    }
    .auto-category-widget > li > ul > li:has(ul) > a::after,
    .auto-category-widget .has-submenu > a::after {
        content: "▼";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        color: #666;
        transition: transform 0.3s ease;
    }

    .auto-category-widget > li > ul > li:hover:has(ul) > a::after,
    .auto-category-widget .has-submenu:hover > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

/* Smooth animations */
.auto-category-widget * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/*Hòm thư liên hệ*/
.feedback-section {
	/* LEFT */
	/* RIGHT */
	margin: 20px 0px;
}

.feedback-section .feedback-wrapper {
	background: #f3f3f3;
	border-radius: 10px;
	padding: 25px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.feedback-section .feedback-left {width: 55%;}

.feedback-section .feedback-left h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #000;
}

.feedback-section .input-box {
	position: relative;
	width: 100%;
	max-width: 520px;
}

.feedback-section .input-box input {
	width: 100%;
	height: 48px;
	padding: 0 50px 0 45px;
	border: none;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	color: #333;
	outline: none;
}

.feedback-section .icon-mail {
	position: absolute;
	left: 15px;
	top: 40%;
	transform: translateY(-50%);
	font-size: 22px;
	color: #000;
	z-index: 1;
}

.feedback-section .icon-send {
	position: absolute;
	right: 15px;
	top: 40%;
	transform: translateY(-50%);
	font-size: 23px;
	color: #ff4d00;
	cursor: pointer;
}
.feedback-section img{
	width:30px;
}

.feedback-section .feedback-right {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 29%;
}

.feedback-section .feedback-right .btn {
	background: #fff;
	border-radius: 8px;
	padding: 12px 20px;
	min-width: 160px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 0 0 1px #e5e5e5 inset;
	font-weight: 600;
}

.feedback-section .feedback-right .btn .icon {
	color: #1a73e8;
	font-size: 16px;
}
/*Danh mục bài viết*/
/* --- TỔNG THỂ --- */
.category-page-wrapper {
    padding: 20px 0;
}

/* --- ĐỊNH DẠNG CHUNG CHO BOX --- */
.category-page-wrapper .box-blog-post {
    background-color: #fff;
    height: 100%;
}

.category-page-wrapper .post-title {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 8px;
}

.category-page-wrapper .post-title a {
    color: #333;
}

.category-page-wrapper .is-divider {
    height: 2px;
    background-color: rgba(0,0,0,.05);
    margin: 10px 0;
}

/* --- PHẦN BÀI VIẾT NẰM NGANG (STYLE VERTICAL) --- */
.list-post-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Khoảng cách giữa 3 bài nhỏ */
}

.box-vertical {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    border: 1px solid #f1f1f1;
    background: linear-gradient(90deg, #fff 0%, #f7f7f7 100%);
    transition: all .3s;
}

.box-vertical:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.box-vertical .box-image {
    width: 200px !important; /* Độ rộng cố định cho ảnh bài nhỏ */
    min-width: 200px;
}

.box-vertical .box-image .image-cover {
    padding-top: 80% !important; /* Tỷ lệ ảnh bài nhỏ */
    height: 100%;
}

.box-vertical .box-text {
    padding: 15px !important;
    flex: 1;
}

.box-vertical .post-title {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box-vertical .from_the_blog_excerpt {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- PHẦN GRID DƯỚI (BLOCK 2) --- */
#block-post2 .col {
    margin-bottom: 20px;
}

#block-post2 .box-normal {
    border: 1px solid #eee;
}

#block-post2 .box-text {
    padding: 15px;
}

#block-post2 .post-title {
    font-size: 16px;
    height: 45px; /* Giữ tiêu đề cân bằng */
    overflow: hidden;
}

/* --- RESPONSIVE --- */

/* Tablet (Dưới 990px) */
@media (max-width: 990px) {
    #block-post1 .col.large-6 {
        margin-bottom: 20px;
    }
    
    .box-vertical .box-image {
        width: 150px !important;
        min-width: 150px;
    }
}

/* Mobile (Dưới 640px) */
@media (max-width: 640px) {
    .box-vertical {
        flex-direction: column !important; /* Quay về dạng đứng trên mobile */
    }
    
    .box-vertical .box-image {
        width: 100% !important;
        min-width: 100%;
    }

    .box-vertical .box-image .image-cover {
        padding-top: 56% !important;
    }
    
    .category-page-wrapper .post-title {
        font-size: 18px;
    }
}
/*banner tin tức*/
.category-banner img {
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    position: relative;
    height: 100%;
}
.page-wrapper{
	padding:0;
}
.page-title, .category-parent-name {
	max-width:1000px;
	background-color: #0237e1c7;
    border-top-right-radius: 4rem;
    padding: 2rem 3rem;
    color: #fff;
    text-align: center;
    position: relative;
    margin-top: -10%;
    margin-bottom: 5%;
    font-size: 40px;
    color: #fff;
	font-weight: 600;
}
.rank-math-breadcrumb:before {
font-family: 'FontAwesome';
margin-right: 5px;
content: '\e065';
}
nav.rank-math-breadcrumb {
	position: relative;
	display: flex;
	margin-top: -7%;
	margin-bottom: 5%;
	color: #fff;
	margin-left:20%;
}
.rank-math-breadcrumb a, .separator, .last{
	color:#fff;
	font-weight:600;
}
span.separator {
	padding: 5px;
}
@media screen and (max-width:640px){
	.category-banner img{
	aspect-ratio: 16 / 9;
    object-fit: cover;
	}
	.page-title, .category-parent-name {
    margin-top: -30%;;
    font-size: 18px;
	padding: 1.5rem 1rem;
}
	.category-banner-full-width img{
	aspect-ratio: 16 / 9;
    object-fit: cover;
	}
	nav.rank-math-breadcrumb {
		margin-top:-12%;
		line-height:30px;
		font-size:12px;
	}
	.blog-single .entry-meta {
    	display: flex;
    	flex-wrap: nowrap;
    	width: 100%;
    	flex-direction: column;
		align-items: center;
	}
	.post {
		margin-top:10%;
	}
	.hna-ico-google-news {
		margin-top: 10px;
	}
}
/*theo dõi google new*/
.hna-ico-google-news {
	display: block;
	height: 30px; 
	line-height: 30px; 
	background: url(https://bigidea.vn/wp-content/uploads/2024/08/hna-ico-google-news.png) top 8px right 2px no-repeat; 
	color: #6f6f70; 
	border-radius: 10px; 
	padding: 0 90px 0 10px; 
	font-size: 13px; 
	border:1px solid;} 
.hna-ico-google-news:hover{
	transform: translateY(-2px); 
	box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); }
.rt { float: right;}
/*Cuối bài viết đơn*/
.danh-muc {
    margin-bottom: 15px;
}

.danh-muc span.title,
.the-tim-kiem span.title {
    border-radius: 4px;
    background: #0118D8;
    padding: 4px 10px;
    color: white;
    margin-right: 5px;
}

.danh-muc a,
.the-tim-kiem a {
    line-height: 32px;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #dedede;
    color: #464646;
}

.danh-muc a:hover,
.the-tim-kiem a:hover {
    background: #007bff;
    color: white;
}
.bai-viet-lien-quan {
    margin-top: 15px;
}

.bai-viet-lien-quan h3 {
    font-weight: 600;
    font-size: 19px;
    color: #0118D8;
}

.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}

.bai-viet-lien-quan ul li {
    list-style: none;
    width: 25%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}

.bai-viet-lien-quan ul li .box-image img {
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
}

.bai-viet-lien-quan h4 {
    font-size: 15px;
    color: black;
    line-height: 19px;
    padding-top: 7px;
    height: 64px;
    overflow: hidden;
}

.bai-viet-lien-quan h4:hover {
    color: #0118d8;
}
@media (max-width: 767px) {
    .phuc-loi {
        height: 150px;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        display: flex !important;
        column-gap: 20px;
        column-count: 2;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: space-between;
    }

    .bai-viet-lien-quan ul {
        margin-bottom: 0;
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .bai-viet-lien-quan ul li {
        width: 100%;
        padding: 0px;
    }

    .bai-viet-lien-quan ul li .box-image img {
        height: auto;
    }

    .blog-share .social-icons::before {
        display: flex !important;
    }
}

.blog-share .social-icons a {
    color: #000;
}

.blog-share .social-icons:before {
    content: 'Chia sẻ ngay: ';
    display: inline-block;
    color: #000;
    font-weight: 600;
    font-size: 20px;
    text-decoration: none;
    padding-right: 10px;
}

.bb {
    border-bottom: none;
}

.bt {
    border-top: none;
}

.blog-single .entry-meta {
    border-top: none;
    border-bottom: none;
    background-color: #fff;
}
.posted-on:before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    margin-right: 5px;
}
.footer.entry-meta {
    border-top: none;
    border-bottom: none;
}

.next-prev-nav .flex-col+.flex-col {
    border-left: none;
}

.nav-next a,
.nav-previous a {
    font-weight: 600;
    color: #000;
}

.nav-next a:hover,
.nav-previous a:hover {
    color: #0118d8;
}

/* ================================
   SIDEBAR: BÀI VIẾT KHÁC CÙNG THƯ MỤC
   ================================ */

.sidebar-related-posts {
    margin-top: 24px;
    padding: 16px 16px 14px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== TITLE ===== */
.sidebar-related-posts__title {
    position: relative;
    margin: 0 0 14px;
    padding-left: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
	text-transform:uppercase;
}

.sidebar-related-posts__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 18px;
    background: #c30000; /* màu nhấn */
    border-radius: 2px;
}

/* ===== LIST ===== */
.sidebar-related-posts__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-related-posts__item {
    margin: 0;
    padding: 0;
}

.sidebar-related-posts__item + .sidebar-related-posts__item {
    border-top: 1px dashed #eee;
}

/* ===== LINK ===== */
.sidebar-related-posts__link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Hover */
.sidebar-related-posts__link:hover {
    color: #c30000;
    padding-left: 6px;
	background-color: #e9ecef;
}

/* ===== EMPTY ===== */
.sidebar-related-posts__empty {
    font-size: 14px;
    color: #777;
    font-style: italic;
    padding: 6px 0;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
	.menu-item-6204{
		display:none !important;
	}
    .sidebar-related-posts {
        margin-top: 16px;
        padding: 14px 14px 12px;
    }

    .sidebar-related-posts__title {
        font-size: 15px;
    }

    .sidebar-related-posts__link {
        font-size: 14px;
    }
}
/*Single Tổ Chức*/

/* ==== NỀN HOA VĂN ==== */
.to-chuc{
    background-image: url('/wp-content/uploads/2026/03/Trong-Dong-6.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.work-experience-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
/* ==== KHUNG HỒ SƠ THÀNH VIÊN ==== */
.person-profile-wrapper {
    max-width: 1000px;
	margin:auto;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
    color: #333;
    border-radius: 10px;
    overflow: hidden;
}

/* ==== PHẦN HEADER ==== */
.person-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: #f9f9f975;
}

.person-image {
    flex-shrink: 0;
}

.person-image img {
    width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.person-info-box {
    flex-grow: 1;
    min-width: 250px;
}

/* ==== CHỨC DANH HIỆN TẠI ==== */
.person-current-title h3 {
	text-align: center;
    display: inline-block;
    background: #d71d24;
    color: #fff;
    padding: 8px 20px;
    font-size: 18px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ==== HỌ TÊN ==== */
.person-name {
    font-size: 28px;
    font-weight: bold;
    color: #111;
    margin: 10px 0 15px;
}

/* ==== THÔNG TIN CHI TIẾT ==== */
.person-details {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    font-size: 16px;
}

.person-details li {
    margin-bottom: 8px;
}

.person-details .detail-label {
    font-weight: bold;
    color: #555;
    min-width: 80px;
    display: inline-block;
}

/* ==== PHẦN CHỨC VỤ ==== */
.person-section {
	padding: 10px;
	background-color: #f9f9f975;
}

.person-section h2 {
    text-transform: uppercase;
    font-size: 25px;
    color: #b70a0a;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
	font-weight: 900;
}

.person-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #b70a0a;
    margin: 10px auto 0;
}

/* ==== DANH SÁCH CHỨC VỤ ==== */
.positions-grid, .positions-single-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.position-item {
    background-color: #fef2f2;
    border: 2px solid #d71d24;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
	
}
.position-item p{
	margin-bottom: 0rem!important;
}

/* ==== TIỂU SỬ ==== */
.person-bio-content {
    background: #fff5f5;
    padding: 20px;
    border-left: 5px solid #d71d24;
    border-radius: 5px;
    line-height: 1.6;
    font-size: 16px;
    color: #444;
}

.timeline-v2 {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-v2::before {
  content: "";
  position: absolute;
  top: 1vh;
  bottom: 1vh;
  left: 50%;
  width: 3px;
  background: #b31b34;
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-v2 li {
  position: relative;
  width: 100%;
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-v2 li::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  background: white;
  border: 4px solid #b31b34;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-v2 li.left .timeline-date {
  order: 1;
  text-align: right;
  width: 45%;
/*   font-weight: bold; */
  color: #b31b34;
  padding-right: 20px;
	font-size:20px;
}

.timeline-v2 li.left .timeline-content {
  order: 2;
  text-align: left;
  width: 45%;
  padding-left: 20px;
  color: #000;
  font-size: 18px;
}

.timeline-v2 li.right .timeline-date {
  order: 2;
  text-align: left;
  width: 45%;
/*   font-weight: bold; */
  color: #b31b34;
  padding-left: 20px;
	font-size:20px;
}

.timeline-v2 li.right .timeline-content {
  order: 1;
  text-align: right;
  width: 45%;
  padding-right: 20px;
  color: #000;
  font-size: 18px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .timeline-v2 li {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 20px;
  }

  .timeline-v2 li::before {
    left: 0;
    transform: none;
  }

  .timeline-v2::before {
    left: 10px;
    transform: none;
	 left: 1.7vw !important;
  }

  .timeline-v2 .timeline-date,
  .timeline-v2 .timeline-content {
    width: 100% !important;
    padding: 0px !important;
    text-align: left !important;
    order: unset !important;
  }
	.timeline-v2 li.left .timeline-date, .timeline-v2 li.left .timeline-content{
		width: 100% !important;
	}
}


/* ==== RESPONSIVE CHO TABLET/MOBILE ==== */
@media (max-width: 768px) {
    .person-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .person-image {
        margin-bottom: 20px;
    }

    .person-name {
        text-align: center;
		font-size: 25px;
    }

    .person-details {
        text-align: left;
    }

    .positions-grid, .positions-single-column {
        flex-direction: column;
        align-items: center;
    }

    .work-experience-list::before {
        left: 10px;
    }
	.person-current-title h3 {
		font-size: 14px!important;
	}
	.position-item {
		font-size:17px;
	}
    .work-experience-list li {
        width: 100%;
        left: 0 !important;
        padding-left: 40px;
        text-align: left !important;
        margin-bottom: 30px;
    }

    .work-experience-list li::before {
        left: 10px !important;
        right: auto;
    }
}
/*Responsive Text to Speech*/
.voice-controls {
  display: flex;
  justify-content: left;
  gap: 12px;
  margin: 20px auto;
}

.voice-controls button {
  width: 46px;
  height: 46px;
  background-color: #b31b34;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s;
  cursor: pointer;
}

.voice-controls button:hover {
  background-color: #a0002e;
  transform: translateY(-2px);
}

.voice-controls button:active {
  transform: scale(0.95);
  background-color: #870026;
}

.voice-controls button i {
  pointer-events: none;
}

/* Mobile tweak */
@media screen and (max-width: 480px) {
  .voice-controls {
	justify-content: center;
    gap: 10px;
  }
  .voice-controls button {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}
/*Template Tổ Chức*/
.org-structure-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        font-family: Arial, sans-serif;
    }
    
    /* Leader Styles */
    .org-leaders {
        margin-bottom: 40px;
    }
    .leader-name{
		color:#000;
		}
    .leader-card {
		margin: auto;
		text-align: center;
		width: 50%;
        background: #fff;
		border: 1px solid #e0e0e0;
        border-radius: 15px;
        padding: 30px;
        color: #000;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
    }
	
    .leader-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(44, 85, 48, 0.3);
    }
    
    .leader-info {
/*         display: flex; */
        align-items: center;
        gap: 30px;
    }
    
    .leader-avatar {
        flex-shrink: 0;
    }
    
    .leader-avatar img,
    .leader-avatar .avatar-placeholder {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid rgba(255, 255, 255, 0.3);
    }
    
    .leader-avatar .avatar-placeholder {
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
        font-weight: bold;
        color: white;
    }
    
    .leader-details h3 {
        margin: 0 0 5px 0;
        font-size: 16px;
        color: #555;
        font-weight: normal;
    }
    
    .leader-details h2 {
        margin: 0 0 15px 0;
        font-size: 20px;
        font-weight: bold;
    }
    
    .leader-description {
        font-size: 14px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 15px;
    }
    
    .view-more {
        display: inline-block;
        font-size: 12px;
        color: #a8d5aa;
        font-weight: bold;
        letter-spacing: 1px;
    }
    
    /* Members Grid */
    .org-members {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .member-card {
        background: white;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #e0e0e0;
    }
    
    .member-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
	.member-card h3{
		font-size: 16px;
		font-weight: normal;
	}
    .member-avatar img,
    .member-avatar .avatar-placeholder {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 15px;
        display: block;
    }
    
    .member-avatar .avatar-placeholder {
        background: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: bold;
        color: #666;
    }
    
    .member-position {
        font-size: 14px;
        color: #2c5530;
        margin-bottom: 5px;
        font-weight: 500;
    }
    
    .member-name {
        font-size: 20px;
        font-weight: bold;
        color: #333;
    }
    
    /* Modal Styles */
    .modal-overlay {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        animation: fadeIn 0.3s ease;
    }
    
    .modal-overlay.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        background: white;
        border-radius: 15px;
        max-width: 800px;
        width: 90%;
        max-height: 50vh;
        overflow-y: auto;
        position: relative;
        animation: slideIn 0.3s ease;
    }
    
    .modal-close {
        position: sticky;
        top: 10px;
        right: 20px;
		margin-left: 92%;
        font-size: 28px;
        font-weight: bold;
        color: #999;
        cursor: pointer;
        z-index: 1;
    }
    
    .modal-close:hover {
        color: #333;
    }
    
    .modal-body {
        padding: 40px 30px 30px;
        text-align: center;
    }
    
    .modal-avatar img,
    .modal-avatar .avatar-placeholder {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 20px;
        display: block;
    }
    
    .modal-avatar .avatar-placeholder {
        background: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
        font-weight: bold;
        color: #666;
    }
    
    .modal-position {
        font-size: 16px;
        color: #2c5530;
        margin-bottom: 5px;
        font-weight: 500;
    }
    
    .modal-name {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        margin-bottom: 20px;
    }
    
    .modal-description {
        font-size: 16px;
        line-height: 1.6;
        color: #666;
        text-align: left;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideIn {
        from { 
            opacity: 0;
            transform: translateY(-50px);
        }
        to { 
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Responsive */
    @media (max-width: 768px) {
		.leader-card {
			width:100%;
		}
        .leader-info {
            flex-direction: column;
            text-align: center;
        }
        
        .org-members {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }
        
        .modal-content {
            width: 95%;
            margin: 20px;
        }
        
        .modal-body {
            padding: 30px 20px 20px;
        }
}
/*Form Đăng Ký Học Bổng*/
.scholarship-form {
    max-width: 800px;
    margin: auto;
    padding: 30px;
    background: #f7f9fb;
    border-radius: 12px;
    font-family: Arial, sans-serif;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.form-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 25px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #2c3e50;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
	height: auto;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.full {
    width: 100%;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.form-submit input[type="submit"] {
    background: #2d89ef;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

.form-submit input[type="submit"]:hover {
    background: #1b5fbf;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}