:root {
  --color-primary:rgba(200, 149, 26, 1);
  --color-secondary:#00349e;
  --color-accent: #715c32;
  --color-green: #74a305;
  --color-dark: #444;
  --color-light: #DBBE7C;
  --color-red: #eb2e35;
  --color-gray: #a8a8a8;
  --color-pink: #c8951a;
  --color-pink-400: rgba(229, 159, 199, 1);
  --color-pink-200: #fcf8ed;
  --color-yellow: #ffa100;
  --bg-primary: rgba(200, 149, 26, 1);
  --bg-blue: linear-gradient(90deg, .typography#4978f0 -2.88%, #190f45 117.44%);
  --bg-light:rgba(249, 243, 228, 1);
  --medium-font: "RobotoSlab-M";
  --bold-font: "RobotoSlab-B";
  --border-color: #dcdcdc; /* Màu xám nhạt */
  --border-style: 1px dashed var(--border-color);

  /* Cấu hình chung */
  --trans-default: all 350ms ease-in-out;
  --container-max-width: 96%;
}

@font-face {
  font-family: "RobotoSlab-L";
  src: url("../../assets/fonts/RobotoSlab-Light.ttf") format("truetype");
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: "RobotoSlab-R";
  src: url("../../assets/fonts/RobotoSlab-Regular.ttf") format("truetype");
  font-weight: 500; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: "RobotoSlab-M";
  src: url("../../assets/fonts/RobotoSlab-Medium.ttf") format("truetype");
  font-weight: 700; /* Medium */
  font-style: normal;
}

@font-face {
  font-family: "RobotoSlab-B";
  src: url("../../assets/fonts/RobotoSlab-Bold.ttf") format("truetype");
  font-weight: 900; /* Bold */
  font-style: bold;
}

@font-face {
  font-family: "PlayfairDisplay-R";
  src: url("../../assets/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 500; /* Bold */
  font-style: bold;
}

@font-face {
  font-family: "PlayfairDisplay-M";
  src: url("../../assets/fonts/PlayfairDisplay-Medium.ttf") format("truetype");
  font-weight: 600; /* Bold */
  font-style: bold;
}

@font-face {
  font-family: "RobotoSlab-B";
  src: url("../../assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 900; /* Bold */
  font-style: bold;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "RobotoSlab-R", sans-serif;
  color: var(--color-dark);
  background-color: #fff;
  margin: 0 auto;
  line-height: 1.5;
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
a,
a {
  text-decoration: none;
}
.ratio-5x4 {
    --bs-aspect-ratio: calc(100% * 4 / 5);
}
.ratio-4x3-tall {
    --bs-aspect-ratio: 80%;
}
.ratio-7x5 {
    --bs-aspect-ratio: calc(100% * 5 / 7);
}

.ratio-11x8 {
    --bs-aspect-ratio: calc(100% * 8 / 11);
}

.ratio-5x4 {
    --bs-aspect-ratio: calc(100% * 4 / 5);
}
.fs-small {
  font-size: 0.9rem;
}
.fs-small-xs {
  font-size: 0.6rem;
}
.fs-small-sm {
  font-size: 0.7rem;
}
.fs-small-md {
  font-size: 0.8rem;
}
.color-primary {
  color: var(--color-primary);
}
.bg-main {
  background: var(--bg-primary)!important;
}
.bg-light-main{
  background:var(--bg-light);
}
.ratio-3x4 {
  --bs-aspect-ratio: calc(4 / 3 * 100%);
}
.text-pink {
  color: var(--color-pink);
}
.text-dark-500 {
  color: var(--color-secondary);;
}
.text-primary {
  color: var(--color-primary) !important;
}
.box-shadow-bottom {
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}
.bg-pink-300 {
  background-color: rgba(254, 228, 243, 0.63);
}
.bg-pink-200 {
  background-color: var(--bg-pink-200);
}
.border-color-primary {
  border-color: var(--color-primary) !important;
}
.text-radian-main {
  background: linear-gradient(90deg, #d4b96a -2.88%, #014a99 117.44%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-radian-main {
  background: linear-gradient(90deg, #d4b96a -2.88%, #014a99 117.44%);
}
.border-radian-main {
  border: 1px solid !important;
  border-image: linear-gradient(
    90deg,
    #d4b96a -2.88%,
    #014a99 117.44%
  ) !important;
}
.border-pink {
  border-color: var(--color-pink) !important;
}
.bg-pink {
  background: var(--color-pink) !important;
}
.bg-blue{
  background-color:var(--color-secondary);
}
.bg-blue-gradient {
  background: linear-gradient(
    90deg,
    #4978f0 -2.88%,
    #190f45 117.44%
  ) !important;
}
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-wrap-mode-nowrap {
  text-wrap-mode: nowrap;
}

.text-shadow-main{
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.25);
}

.btn-pink,
.btn-pink:hover {
  background-color: var(--color-pink);
  border-color: var(--color-pink);
  color: #fff;
}

.rp-header .flag-icon{
  width:2rem;
  height:2rem;
  object-fit:contain;
}

.border-dashed {
  border-style: dashed !important;
}

.lh-normal{
   line-height:1.5;
}

.text-truncate-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-truncate-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-truncate-5 {
  display: -webkit-box;
  -webkit-line-clamp:5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-truncate-6 {
  display: -webkit-box;
  -webkit-line-clamp:6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-truncate-7 {
  display: -webkit-box;
  -webkit-line-clamp:7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.font-medium {
  font-family: "RobotoSlab-M";
}
.font-bold {
  font-family: "RobotoSlab-B";
}

.ls-0 {
    letter-spacing: 0;
}
.ls-small{
  letter-spacing:0.03rem;
}
.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.ls-3 {
    letter-spacing: 3px;
}


.rounded-md {
  border-radius: 15px;
}
.rounded-sm {
  border-radius: 10px;
}
.rounded-xs {
  border-radius: 5px;
}
.heading-main .container {
  max-width: 100%;
}
.spacial{
  font-size:1.1rem;
}
.typography {
  font-size: 1rem;
  line-height: 1.625;
}
.box-shadow-main {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.lb-info-border {
  border-radius: 0 25px 25px 0;
  background: rgba(254, 228, 243, 0.63);
  text-indent: 15px;
}

#nav_main {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#nav_main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Kiểu dáng chung cho các thẻ <a> */
#nav_main a {
  text-decoration: none;
  color: #333;
}

/* Menu cấp 1 */
#nav_main > li > a {
  color: var(--color-primary);
  display: block;
  line-height: 3rem;
  font-size: 1rem;
  font-size: 0.9rem;
  font-family: "PlayfairDisplay-R";
}

#nav_main > li.current > a,
#nav_main > li > a:hover {
  color: var(--color-red, #f6b241);
}

#nav_main > li > a > .icon {
  margin-left: 0.2rem;
}

#nav_main > li > ul > li > a,
#nav_main > li > ul > li > ul > li > a {
  display: inline-block;
  line-height: 1.3;
  padding: 0.5rem 0.7rem 0.5rem 0;
  white-space: nowrap;
  color: #fff;
  -webkit-transition: padding-left 0.2s ease;
  transition: padding-left 0.2s ease;
}

#nav_main > li > ul > li > a {
  font-size: 0.9rem;
  position: relative;
}
#nav_main > li > ul > li > a > span {
  position: relative;
  display: inline-block;
  padding-bottom: 0.3rem;
}
#nav_main > li > ul > li > a > span:after {
  position: absolute;
  width: 0;
  height: 1px;
  content: "";
  left: 0;
  bottom: 0;
  background-color: var(--color-light);
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
}

#nav_main > li > ul > li > a:hover > span:after {
  width: 100%;
}

#nav_main > li > ul > li > ul > li > a {
  font-size: 0.9rem;
}

#nav_main > li > ul > li:hover > a,
#nav_main > li > ul > li > ul > li:hover > a {
  color: #fff;
  padding-left: 1.2rem;
}

.heading-main {
  background-color: var(--color-primary);
  position: relative;
}
a.logo {
  max-width: 6rem;
}

/* Container chính */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin: 0 0.2rem;
}

/* Nút bấm chính (tận dụng lại style cũ) */
.select-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  min-width: 80px;
}

/* Danh sách ẩn đi mặc định */
.lang-list {
  display: none; /* Ẩn danh sách */
  position: absolute;
  top: 100%; /* Hiển thị ngay dưới nút */
  left: 0;
  padding: 0;
  background-color: #fff;
  min-width: 100%;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
  border: 1px solid #eee;
}

/* Từng dòng ngôn ngữ trong danh sách */
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-item:hover {
  background-color: #f1f1f1;
}

/* Hiển thị danh sách khi hover vào dropdown */
.lang-dropdown:hover .lang-list {
  display: block;
}

/* Style cho icon cờ */
.flag-icon {
  width: 20px;
  height: auto;
  object-fit:contain;
  border-radius: 2px;
}

/* Mũi tên xoay khi hover */
.lang-dropdown:hover .arrow-down {
  transform: rotate(-135deg);
  margin-top: 5px;
}

.arrow-down {
  border: solid #666;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: auto; /* Đẩy mũi tên về bên phải */
  transition: 0.3s;
}

/* ===== Language dropdown in cns_block_hdMenu__nav ===== */
.cns_block_hdMenu__nav .langs {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.cns_block_hdMenu__nav .lang-dropdown {
  position: relative;
}

.cns_block_hdMenu__nav .select-lang {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid var(--color-secondary);
  border-radius: 3px;
  cursor: pointer;
  background: #fff;
  font-size: 0.9rem;
  color: var(--color-secondary);
  transition: border-color 0.2s;
}

.cns_block_hdMenu__nav .select-lang:hover {
  border-color: var(--color-primary);
}

.cns_block_hdMenu__nav .flag-icon {
  width: 24px;
  height: 17px;
  border-radius: 2px;
  object-fit: cover;
}

.cns_block_hdMenu__nav .lang-label {
  font-family: "PJS-M";
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.96rem;
}

.cns_block_hdMenu__nav .arrow-down {
  border: solid var(--color-secondary);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: 2px;
  transition: transform 0.3s;
}

.cns_block_hdMenu__nav .lang-dropdown:hover .arrow-down {
  transform: rotate(-135deg);
}

.cns_block_hdMenu__nav .lang-list {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 156px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
  z-index: 100;
  border: 1px solid #eee;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cns_block_hdMenu__nav .lang-dropdown:hover .lang-list {
  display: block;
}

.cns_block_hdMenu__nav .lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: var(--color-dark);
  font-size: 0.96rem;
}

.cns_block_hdMenu__nav .lang-item:hover {
  background-color: #f5f5f5;
}

.cns_block_hdMenu__nav .lang-item.active {
  background-color: var(--color-primary);
  color: #fff;
}

.cns_block_hdMenu__nav .lang-item.active .arrow-down,
.cns_block_hdMenu__nav .lang-item.active .lang-label {
  color: #fff;
}

.df-heading .center a {
  color: #fff;
  text-decoration: none;
  padding: 0 0.5rem;
}

.font-medium {
  font-family: "RobotoSlab-M", sans-serif;
}
.font-bold {
  font-family: "RobotoSlab-B", sans-serif;
}

.tab-titles {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 7px 10px;
  border: 2px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 3px;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 0.8rem;
}

/* Kiểu dáng cho Tab đang được chọn (Active) */
.tab-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.pn-category-card__content {
  position: relative;
  margin-top: -2rem;
  background-color: var(--color-primary);
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  padding-top: 1.5rem;
}
.pn-category-card__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f3f3f3;
  z-index: -1; /* Đẩy xuống dưới nội dung */

  /* 4. CÔNG THỨC VÀNG: Tạo đường cắt thứ 2 song song với đường cắt thứ 1
     Giả sử bạn muốn viền dày 4px, hãy cộng thêm 4px vào trục Y của 2 điểm trên cùng */
  clip-path: polygon(0 calc(10% + 5px), 100% 5px, 100% 100%, 0 100%);
}

.pn-category-card a {
  color: #333;
}
.pn-category-card__title:hover {
  color: var(--color-primary);
}
.pn-home-banner__img {
  max-height: 200px;
}
.pn-category-card__wt {
  right: 3rem;
  top: 0;
}
.pn-category-card {
  border-radius: 1rem;
}
.d-hb {
  flex-direction: column;
}
.d-hb .left,
.d-hb .right {
  width: 100%;
  position: relative;
  background-color: var(--color-primary);
}
.pn-homeBanner {
  background-color: var(--color-primary);
}
.pn-why__l-gird {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
}
.pn-service-home,
.pn-why,
.pn-footer {
  background-size: cover !important;
}
.pn-service-card {
  box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}
.pn-service-card:after {
  position: absolute;
  width: 8rem;
  height: 8rem;
  content: "";
  background-color: rgba(231, 237, 245, 1);
  border-radius: 50%;
  right: -3rem;
  top: -3rem;
  transition: all 0.6s ease-in-out;
}
.pn-service-card:hover:after {
  right: -2rem;
  top: -2rem;
}
.pn-contact-card .pn-contact-card__icon {
  width: 1.5rem;
}
.pn-contact-card .pn-contact-card__desc {
  width: calc(100% - 2rem);
}
.btn-fc {
  border-radius: 10px;
  background: linear-gradient(to right, #15447a, #277de0);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
}
#frmAdv_01 label.error {
  color: red;
}
.pn-contact-home,
.pn-news-home,
.pn-vision-mission,
.pn-services {
  background-size: cover !important;
}
.pn-news-card {
  background: #e9f6fe;
}
.is-hover-red:hover {
  color: red !important;
}
.flex-footer {
  flex-direction: column;
}
.pn-copyright_desc {
  font-size: 0.8rem;
}
.pn-core-value {
  background-color: rgba(21, 68, 122, 1);
}
.pn-core-card__img {
  height: 55px;
}
.image-cover {
  object-fit: cover !important;
}
.image-contain {
  object-fit: contain !important;
}
.site-his__header {
  max-width: 800px;
}
.pn-his {
  background-color: #f9fafb;
}
.item-dis-card {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.item-dis-card_label {
  opacity: 0.25;
}
.item-dis-card {
  min-height: 170px;
}
.pn-page-contact__img {
  height: 1.6rem;
}

.pn-page-contact__card {
  border-color: var(--color-primary) !important;
}
.wapper-map {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 70%;
}
.wapper-map iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.pn-posts-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1.5rem;
}
.pn-post-detail.full-page {
  max-width: 1000px;
}
.author-blog-card__meta {
  font-size: 0.8rem;
}
.pn-list-product {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1.8rem;
}
.item-product-card {
  background-color: rgba(244, 244, 244, 1);
}
.item-product-card {
  box-shadow:
    rgba(17, 17, 26, 0.05) 0px 1px 0px,
    rgba(17, 17, 26, 0.1) 0px 0px 8px;
}
.item-product-card__title:hover {
  color: red;
}
.item-product-card__v {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
.current-cate {
  color: var(--color-primary) !important;
}
.item-product-card__title {
  font-size: 1.1rem;
}

.breadcrumb__full ol.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb__full li a {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-family: "RobotoSlab-M";
}

.logo img {
  max-width: 10rem;
}
.df-heading .nav {
  display: none;
}
.tab-btn {
  text-align: left;
}
.grecaptcha-badge {
  visibility: hidden;
}
/* ===== item-post__card ===== */
.item-post__card {
  background-color: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.item-post__card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.item-post__card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.item-post__card__link:hover {
  color: inherit;
  text-decoration: none;
}

.item-post__card__img {
  overflow: hidden;
  background-color: #f0f0f0;
}

.item-post__card__img-src {
  width: 100%;
  height: 100%;
  object-fit:contain;
  transition: transform 0.4s ease;
}

.item-post__card:hover .item-post__card__img-src {
  transform: scale(1.05);
}

.item-post__card__body {
  padding: 0.75rem 0.75rem 1rem;
}

.item-post__card__title {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: "RobotoSlab-M", sans-serif;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #222;
  transition: color 0.3s ease;
}

.item-post__card__link:hover .item-post__card__title {
  color: var(--color-primary);
}

.item-post__card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-post__card__date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #888;
}

.item-post__card__date svg {
  flex-shrink: 0;
  color: #aaa;
}

.logo-author img{
   height:5rem;
}
.df-heading .logo {
  width: 12rem;
}
.df-heading .search {
  width: 24rem;
}
.df-heading .user {
  width: 14rem;
}
.pn-footer {
  background-size: cover !important;
}
.pn-main {
  min-height:50vh;
}
.pn-copyright {
  background-color: rgba(66, 15, 69, 0.59);
  font-size: 0.9rem;
}
.btn-up-story {
  background: linear-gradient(90deg, #4978f0 -2.88%, #190f45 117.44%);
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.pn-footer__logo {
  max-width: 20rem;
}
.pn-user-regis {
  background-size: cover !important;
}
.group-user .dropdown-menu {
  min-width: 230px;
  border: none;
  box-shadow: rgba(240, 73, 163, 1) 0px 20px 30px -10px;
  border-radius: 10px;
  border-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}
.account-dropdown-text {
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 6px 0;
  text-indent: 10px;
  font-family: "RobotoSlab-M";
}
.account-dropdown-text__name {
  color: var(--color-primary);
}

.group-user-item__icon svg {
  margin-top: -5px;
  margin-right: 5px;
}
.group-user .dropdown-menu > li > a {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.group-user .dropdown-menu > li > a:hover {
  background: var(--bg-primary);
  color: #fff;
}
.dashboard-avatar__box {
  display: inline-block;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background-color: #fff;
  padding: 0.5rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  overflow: hidden;
}

.list-group-user a {
  font-family: "RobotoSlab-M", sans-serif;
}
.list-group-user a:hover {
  color: var(--color-primary);
}
.list-group-user .list-group-item.active a:hover {
  color: #fff;
}
.list-group-user .nav-svg-icon {
  margin-top: -4px;
  margin-right: 4px;
}
.user-info-box .user-info-box__icon {
  margin-top: -3px;
}
.pn-user-login,
.pn-user-regis {
  min-height:100vh;
  overflow:hidden;
  background-size: cover !important;
}
.form-control:focus {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 0.25rem var(--color-pink-200);
}
.ccdh-profile-user {
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  background-color: var(--background-color);
  margin-top: 30px;
}
.ccdh-profile-user-top {
  background-color: rgba(254, 228, 243, 0.63);
  background-image: linear-gradient(
    45deg,
    rgba(254, 228, 243, 0.63) 0%,
    rgba(254, 228, 243, 0.63) 100%
  );
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.ccdh-profile-user-top-cover-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.ccdh-profile-user-top-avatar-box {
  position: relative;
  margin-top: -40px;
}
.ccdh-profile-user-top-avatar {
  overflow: hidden;
  --bs-aspect-ratio: 105%;
  max-width: 80px;
  max-height: 80px;
  margin: 0 auto;
}
.ccdh-profile-user-top-avatar .avatar,
.ccdh-profile-user-top-avatar a {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background-color: #fff;
  border-radius: 50%;
  padding: 2px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.btn-up-avatar {
  border: none;
  font-size: 0.8rem;
  background-color: rgba(68, 68, 68, 1);
  font-family: var(--medium-font);
  padding: 2px 10px;
  color: #fff;
}
.btn-up-banner {
  border: none;
  font-size: 0.8rem;
  background-color: rgba(116, 163, 5, 1);
  font-family: var(--medium-font);
  padding: 2px 10px;
  color: #fff;
}
.btn-up-avatar:hover,
.btn-up-banner:hover {
  background-color: var(--color-pink);
  color: #fff;
}
.border-box {
  border: 1px dashed var(--color-primary);
  background-color: rgba(254, 228, 243, 0.63);
}

.form-check-input.big-checkbox {
  width: 1.5rem;
  height: 1.5rem;
}
.form-check-input:checked {
  background-color: var(--color-pink);
  border-color: var(--color-pink);
}

.btn-ccdh {
  background-color: var(--color-pink);
  transition: all 0.15s linear;
}
.btn-ccdh:hover {
  transform: translateY(-3px);
  text-decoration: none;
  background-color: var(--color-pink);
  box-shadow:
    0 0.125rem 0.625rem rgba(255, 97, 102, 0.4),
    0 0.0625rem 0.125rem rgba(255, 97, 102, 0.5);
}
.breadcrumb {
  margin-bottom: 0;
}
.breadcrumb-item a {
  color: #333;
  font-size: 0.9rem;
}
.breadcrumb-item.active a {
  color: var(--color-pink);
  font-family: "RobotoSlab-M";
}

#tabRuby .nav-item .nav-link.active {
  background-color: var(--color-primary);
  color: #fff;
}
#tabRuby .nav-link {
  color: #333;
}

#lich_su_nap table {
  font-size: 13px;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

#table_lsn thead th {
  background-color: rgba(254, 228, 243, 0.63);
}
.btn-hover-shine {
  position: relative;
}
.btn-hover-shine:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}
.btn-hover-shine:hover:after {
  width: 120%;
  background-color: rgba(255, 255, 255, 0);
  transition: all 0.4s ease-in-out;
}

.status.status--pending {
  background-color: var(--color-yellow);
  color: #fff;
  padding: 3px 4px;
  border-radius: 5px;
  font-size: 13px;
}

.status.status--processed {
  background-color: var(--color-green);
  color: #fff;
  padding: 3px 4px;
  border-radius: 5px;
  font-size: 13px;
}

.status.status--rejected {
  background-color: red;
  color: #fff;
  padding: 3px 4px;
  border-radius: 5px;
  font-size: 13px;
}
.pn-user-social__tabs a.nav-link {
  background-color: var(--color-primary);
  color: #fff;
}

.form-switch-lg .form-check-input {
  width: 3rem;
  height: 1.5rem;
}

.form-switch-lg .form-check-input:checked {
  background-position: right center;
}
.pn-story-list__img {
  overflow: hidden;
  min-width: 40px;
  max-width: 40px;
}
.pn-story-list__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.pn-story-list__item:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}
.pn-story-list__editTool a {
  color: #444;
}
.dropdown-toggle__tool .dropdown-toggle {
  background-color: var(--color-pink);
  border-color: var(--color-pink);
}
.dropdown-toggle__tool .dropdown-item {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.dropdown-toggle__tool .dropdown-item:focus,
.dropdown-toggle__tool .dropdown-item:hover {
  background-color: var(--color-pink) !important;
  color: #fff !important;
}
.story-edit-box__info {
  font-size: 0.9rem;
}
.pn-story-list__editTool a:hover svg,
.pn-story-list__info a:hover {
  color: var(--color-pink) !important;
}
.pn-story-list__img a:hover img {
  border-color: var(--color-pink) !important;
}
.pn-story-menu__item {
  box-shadow:
    rgba(67, 71, 85, 0.27) 0px 0px 0.25em,
    rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
  padding: 0.3rem 0.8rem;
  transition: all 0.1s linear;
}
.pn-story-menu__item:hover {
  color: white !important;
  background: var(--bg-primary);
}
.icon_tool_manager {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.text-red {
  color: red;
}
.pn-chapter-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  font-size: 13px;
}
.btn_chapter_edit {
  border: 1px solid var(--color-pink);
  line-height: 1.4;
}
.btn_chapter_edit:hover {
  background-color: var(--color-pink);
  color: #fff;
}
.btn_chapter_view:hover {
  color: var(--color-pink) !important;
}
.chapter_edit_toolbox .dropdown-item:hover {
  background-color: var(--color-pink);
  color: #fff;
}
.btn-view-withdraw {
  cursor: pointer;
}
.story-report-box__icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -3rem;
}
.report_list__box {
  font-family: var(--medium-font);
}
.patent_dk a {
  text-decoration: underline;
  line-height: 1.4;
}
.stt-num {
  display: inline-block;
  min-width: 25px;
}
.btn-review-story:hover {
  background-color: var(--color-pink);
  color: #fff;
}
.story-review__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 5px;
  background-color: var(--color-pink);
  color: white;
  box-shadow:
    rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.story-review__title-bar:after {
  position: absolute;
  content: "";
  left: -9px;
  top: 50%;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent #d4b96a transparent transparent;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
.story-review__nd {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.story-review__note {
  font-size: 1rem;
}
.story-review__note * {
  margin-bottom: 0.4rem;
}
.pn-story-list__dk li:last-child {
  border-bottom-color: transparent !important;
  padding-bottom: 0;
}
.item-bqt-check-card .stt {
  width: 1.5rem;
}
.item-bqt-check-card .action {
  width: 5rem;
}
.item-bqt-check-card .cont {
  width: calc(100% - 6.5rem);
}
.story-review__bot-icon {
  margin-right: 3px;
}

.pn-story-list__toolBox .badge {
  border-radius: 2px !important;
  font-size: 10px;
}
.pn-banner-home {
  background-size: cover !important;
}
.pn-banner-home__left {
  width: 76%;
}
.pn-banner-home__right {
  width: 33%;
}
.pn-banner-home__right_list > li {
  position: relative;
  padding-left: 12px;
}
.pn-banner-home__right_list > li:after {
  position: absolute;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background-color: green;
  left: 0;
  top: 10px;
}
.pn-banner-home__right_list > li > a {
  color: #fff;
  line-height: 1.2;
  font-size: 0.95rem;
}
.pn-banner-home__right_list > li span.date {
  width: 40px;
}
.pn-banner-home__right_list > li > a {
  width: calc(100% - 75px);
}
.pn-banner-home__right_list > li > a:hover {
  color: var(--color-pink);
}
.pn-banner-home__right_list > li span.count-message {
  width: 30px;
}
.pn-notify-box-home {
  min-height: calc(100% - 50px);
}
.box-shadow-pink-400 {
  box-shadow: rgba(240, 73, 162, 0.2) 0px 2px 8px;
}
.pn-ccdh-title h2,
.pn-ccdh-title h3 {
  font-weight: 700;
  line-height: 1.6;
}

.title-page__center {
  font-weight: 700;
  line-height: 1.6;
}

.hover-pink:hover {
  color: var(--color-pink) !important;
}
.hover-red:hover {
  color: var(--color-red) !important;
}
.hover-main:hover{
   color:var(--color-primary)!important;
}
.hover-blue:hover {
  color: var(--color-secondary)!important;
}
.pn-ccdh-title .icon img {
  max-width: 3rem;
}
.bg-red{
  background-color:var(--color-red);
}

.hover-bg-blue:hover{
  background-color:var(--color-secondary)!important;
}
.hover-bg-main:hover{
  background-color:var(--color-primary)!important;
}
.hover-bg-red:hover{
  background-color:var(--color-red)!important
}

.item-story-mono_st1,
.item-story-mono_st2 {
  background: var(--bg-primary) !important;
}

.item-story-mono_st2 > a {
  /* background-color:rgba(254, 228, 243, 0.63)!important; */
  background-color: #fff;
}
.item-story-mono > a {
  padding-left: 3rem !important;
  position: relative;
}
.item-story-mono > a:before {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 0;
  top: calc(50% - 17.5px);
  content: "";
  background-size: contain !important;
}

.item-story-mono_st1 > a:before {
  background: url("../img/st_01.png") no-repeat;
}
.item-story-mono_st2 > a:before {
  background: url("../img/st_02.png") no-repeat;
}

.item-story-mono_st3 > a:before {
  background: url("../img/st_03.png") no-repeat;
}
.mono-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.65rem;
  margin-top: 0.2rem;
}

.story-ranking-list {
  position: relative;
}

.story-ranking-item {
  border-bottom: 1px dashed #dcdcdc;
  transition: background-color 0.2s ease-in-out;
}

.story-ranking-item:last-child {
  border-bottom: none;
}

.story-ranking-item:hover {
  background-color: #f8f9fa;
}

.story-ranking-item > div {
  min-height: 22px;
  overflow: hidden;
}

.story-ranking-chevron-icon {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  vertical-align: middle;
}

.story-ranking-title {
  color: #333;
  font-size: 0.9rem;
  text-indent: 5px;
}
.ic-e-right {
  position: absolute;
  top: 5px;
  left: 5px;
}

.story-ranking-title:hover {
  color: #0d6efd;
}

.story-ranking-category-text {
  font-size: 0.85rem;
  border-left: 1px dashed var(--border-color);
  border-right: 1px dashed var(--border-color);
}

.story-ranking-time-text {
  font-size: 0.8rem;
}

/**/
.genre-item {
  border-width: 2px !important;
}
.genre-item:hover {
  background-color: var(--color-pink);
  color: #fff;
}
.genre-item-filter:hover,
.genre-item-filter.current {
  background-color: var(--color-pink);
  color: #fff;
}
.genre-select-item {
  font-size: 13px;
}
.cursor-pointer {
  cursor: pointer;
}

.genre-card a:hover {
  color: var(--color-pink);
}

.story-card {
  position: relative;
}
.detail-story-card__excerpt * {
  margin-bottom: 0.2rem;
}

.detail-story-card__excerpt {
  max-height: 100px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}

.detail-story-card__excerpt.expanded {
  max-height: none;
}

/* Fade chỉ hiện khi nội dung thực sự bị cắt VÀ chưa mở rộng */
.detail-story-card__excerpt.is-truncated::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}

/* Bỏ rule .expanded::after cũ — không cần nữa vì .expanded sẽ không có .is-truncated logic trùng,
   nhưng để chắc chắn khi mở rộng thì ẩn fade: */
.detail-story-card__excerpt.is-truncated.expanded::after {
  display: none;
}

.btn-excerpt {
  background: none;
  border: 0;
  padding: 0.25rem 0;
  cursor: pointer;
  color: #1565c0;
  font-size: 0.85rem;
}
.btn-excerpt:hover {
  text-decoration: underline;
}

.btn-excerpt {
  float: right;
  border-color: transparent;
  background-color: transparent;
  position: relative;
  padding-right: 0.8rem;
  margin-top: -5px;
}
.btn-excerpt:hover {
  color: var(--color-pink);
}

.detail-story-card__genres ul.collapsed li:nth-child(n + 9) {
  display: none;
}
.btn-genres-more {
  color: var(--color-pink) !important;
}
.pn-story__nav {
  background-color: #eee;
}
.title-detail-story {
  background: linear-gradient(90deg, #d4b96a -2.88%, #014a99 40.44%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pn-detail-story-gift__box {
  border: 2px solid transparent !important;
  border-radius: 0.5rem !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ff8ec4 0%, #ff4f9e 100%) border-box;
  box-shadow: 0 14px 34px -14px rgba(255, 79, 158, 0.45);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.pn-detail-story-gift__box:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(255, 79, 158, 0.55);
}

.pn-detail-story-gift__title {
  top: -1.05rem;
  left: 1.75rem;
  z-index: 2;
  color: #fff !important;
  background: var(--bg-primary);
  border-radius: 999px;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 16px -4px rgba(230, 53, 127, 0.5);
}
.pn-detail-story-gift__title::before {
  content: "\1F381"; /* 🎁 — bỏ dòng này nếu không muốn icon */
  margin-right: 0.45rem;
}

.pn-detail-story-gift__cont {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  color: #5a2a40;
  font-size: 1rem;
  line-height: 1.7;
  background: radial-gradient(
    130% 120% at 100% 0%,
    #fff 0%,
    #fff4fb 42%,
    #ffe3f1 100%
  );
}
.pn-detail-story-gift__cont::before,
.pn-detail-story-gift__cont::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pn-detail-story-gift__cont::before {
  width: 130px;
  height: 130px;
  top: -50px;
  right: -40px;
  background: rgba(255, 95, 168, 0.12);
}
.pn-detail-story-gift__cont::after {
  width: 90px;
  height: 90px;
  bottom: -35px;
  left: -30px;
  background: rgba(230, 53, 127, 0.08);
}
.pn-detail-story-gift__cont > * {
  position: relative;
  z-index: 1;
}

.pn-detail-story-gift__cont h4 {
  display: inline-block;
  position: relative;
  color: #c01f63 !important;
  font-weight: 600;
  padding-bottom: 0.6rem;
  margin-bottom: 1.1rem;
}
.pn-detail-story-gift__cont h4::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff5fa8, #e6357f);
}
.pn-detail-story-gift__the_excerpt {
  color: #6b3a50;
}

.pn-detail-story-gift__cont button {
  border: none !important;
  color: #fff !important;
  background: var(--bg-primary);
  border-radius: 0.4rem !important;
  letter-spacing: 0.4px;
  box-shadow: 0 10px 22px -8px rgba(230, 53, 127, 0.6);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}
.pn-detail-story-gift__cont button::before {
  content: "\1F381";
  margin-right: 0.5rem;
}
.pn-detail-story-gift__cont button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 28px -10px rgba(230, 53, 127, 0.7);
}
.pn-detail-story-gift__cont button:active {
  transform: translateY(0);
}

.min-height-60 {
  min-height: 60px;
}
.bg-pink-500 {
  background-color: #ffbce8;
}
.table-chaps tr {
  border-bottom: 1px dashed rgba(217, 217, 217, 1);
}
.table-chaps tr.none-border-bottom {
  border-bottom: 1px dashed transparent;
}
.table-chaps td,
.table-chaps th {
  border-bottom-width: 0;
}
.table-chaps th {
  color: var(--color-pink);
  text-transform: uppercase;
  font-size: 1rem;
}
.detail-story-card__genres a:hover {
  background-color: var(--color-pink);
  color: #fff !important;
}
.bao-loi-image-upload {
  position: relative;
  width: 100%;
}
.bao-loi-image-preview {
  background-color: #fff4fb;
  border: 2px dashed var(--color-pink);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 1rem;
  transition: all 0.3s ease;
}
.bao-loi-image-preview .upload-text {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.bao-loi-image-preview .upload-hint {
  color: #999;
  font-size: 0.875rem;
}
.bao-loi-image-input {
  cursor: pointer;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.bao-loi-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hiệu ứng khi kéo file vào khung */
.bao-loi-image-preview.dragover {
  background-color: #f0f8ff;
  border-color: #007bff;
}

/* Ẩn thẻ input mặc định đi vì đã dùng dropzone làm nút bấm */
.bao-loi-image-input {
  display: none;
}

/* Container chứa danh sách ảnh */
.bao-loi-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Từng ảnh xem trước */
.preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  border: 1px solid #ddd;
  overflow: hidden;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Nút xóa ảnh */
.preview-item .remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-item .remove-btn:hover {
  background: red;
}
.manager-box__avatar img {
  display: inline-block;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: #fff;
  padding: 0.2rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  overflow: hidden;
}
.pn-banner-wall {
  position: relative;
  width: 100%;
  height: 50vh;
}
.pn-banner-wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pn-blog-info {
  position: relative;
  z-index: 1;
  margin-top: -8rem;
}
.profile-avatar {
  width: 120px;
  height: 120px;
}
.profile-avatar img {
  width: 100%;
  border-radius: 50%;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.chapter-dropdown-list {
  min-width: 200px;
}
.bg-gray-light {
  background-color: #eee;
}
.format-content {
  font-size: 1rem;
  line-height: 1.625;
}
.format-content img{
  margin:10px 0;
}
.pn-story-notify_main:before {
  position: absolute;
  width: 0.6rem;
  height: 100%;
  content: "";
  left: 0;
  top: 0;
  background-color: var(--color-pink);
}
.btn-follow {
  background: linear-gradient(132deg, #d4b96a -77.71%, #014a99 169.22%);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
}
.btn-unfollow,
.btn-unfollow:hover {
  background: linear-gradient(132deg, #d4b96a -77.71%, #014a99 169.22%);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
}
.icon_rating {
  cursor: pointer;
  font-size: 2rem;
  filter: grayscale(100%); /* Default state is grayed out */
  transition: filter 0.2s ease-in-out;
}
.icon_rating.active {
  filter: grayscale(0%);
  transition: filter 0.3s ease;
}
#tb_list_member {
  font-size: 13px;
}
.bg-white-06 {
  background: rgba(255, 255, 255, 0.6);
}
#monoTab .nav-item button {
  color: #333 !important;
}
#monoTab .nav-item button.active {
  background: var(--bg-primary) !important;
  color: white !important;
}
.mono-fade-in {
  animation: monoFadeIn 0.4s ease;
}
@keyframes monoFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.insert-chapter-after {
  position: absolute;
  right: 0;
  bottom: -1.8rem;
  background: var(--bg-primary);
  color: #fff;
  padding: 0.2rem 0.5rem 0.2rem 0.1rem;
  border-radius: 0.2rem;
}
.thumb-ower {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}
.ic-is-full {
  position: absolute;
  z-index: 9;
  top: 1rem;
  left: -0.5rem;
}
.ic-is-full img {
  width: 40px;
}

.pn-heading {
  background: var(--color-primary);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}
.icon-search-heading {
  top: 12px;
  left: 12px;
  z-index: 9;
}
.wrap-user {
  background-color: var(--color-pink-200);
  width: 35px;
  height: 35px;
}

.pn-footer__title .f-line {
  position: absolute;
  width: 100%;
  height: 10px;
  content: "";
  background: url();
}
.pn-foot-info .info * {
  margin-bottom: 0;
}
#story-nav-anchor .nav-anchor {
  position: relative;
  padding-bottom: 0.2rem;
}
#story-nav-anchor .nav-anchor:after {
  position: absolute;
  width: 100%;
  height: 2px;
  content: "";
  background-color: transparent;
  left: 0;
  bottom: 0;
}
#story-nav-anchor .nav-anchor.active {
  color: var(--color-pink) !important;
}
#story-nav-anchor .nav-anchor.active:after {
  background-color: var(--color-pink);
}
.grid-story-like {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0.5rem;
}

.box-not-result-search {
  max-width: 460px;
  margin: 2rem auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #fafafa;
  border: 1px dashed #e0e0e0;
  border-radius: 16px;
}

.not-result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #9ca3af;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.not-result-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #374151;
}

.not-result-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

.post-comment-item .box-avatar img {
  width: 46px !important;
  height: 46px !important;
}
.rolldate-container {
  position: relative;
  z-index: 99999;
}

.logo-hmc {
  width: 8rem;
}
.cns-icon-menu img {
  width: 1.2rem;
  height: 1rem;
  object-fit: contain;
  margin-top: -0.2rem;
}
.pn-heading-home {
  position: relative;
}

.sectorSwiper {
  width: 100%;
  overflow: hidden;
}
.sectorSwiper .swiper-wrapper {
  align-items: stretch;
}

/* Width được set bằng inline style qua JS (layoutSectorSlides),
     không dùng % cố định theo breakpoint nữa để tránh sai lệch khi
     số lượng item thay đổi hoặc cộng dồn với spaceBetween gây tràn. */
.sector-slide {
  height: 100%;
  flex-shrink: 0;
  transition: width 0.55s ease;
  cursor: pointer;
  box-sizing: border-box;
}

/* ===== sector-card: nền trắng, hình trên, nội dung dưới ===== */
.sector-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-radius:0 0 5px 5px;
}
.sector-card:hover{
  box-shadow:
    rgb(205 128 19 / 65%) 0 3px 0 0,
    rgb(0 0 0 / 6%) 0 6px 16px;
}

.sector-card:hover .sector-title{
  color:var(--color-red) !important;
}

/* Hình ảnh trên cùng - ratio 1:1 */
.sector-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;

}

/* Icon badge tròn màu vàng gold - absolute theo sector-copy, top center */
.sector-icon-badge {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e5c97f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 10px;
}

.sector-icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Nội dung text nằm dưới hình */
.sector-copy {
  position: relative;
  padding: 40px 16px 20px;
  color: #333;
  line-height: 1.5;
  flex: 1;
  display: flex;
  flex-direction: column;
}


/* Tiêu đề màu xanh dương thương hiệu */
.sector-title {
  font-size: 1.2rem;
  color: #004b99;
  line-height: 1.3;
  margin: 0 0 8px;
  font-family: "RobotoSlab-B";
  text-transform: uppercase;
}


/* Mô tả - luôn hiển thị */
.sector-desc,
.sector-meta,
.sector-cta {
  max-height: none;
  opacity: 1;
  overflow: visible;
  transition: none;
}

.sector-desc {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #555;
  margin: 0 0 10px;
}

.sector-meta {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.sector-meta span {
  font-weight: 400;
  margin: 0 6px;
  color: #333;
}

/* CTA link màu đỏ thương hiệu */
.sector-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.sector-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dd052c;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.sector-cta a:hover {
  color: #b00423;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0d2038;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  top: 50%;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
  font-weight: 700;
}
.cns__overview {
  padding: 2rem 0;
  background-size:cover!important;
}
.cns__overview h1 {
  font-size: clamp(0.8rem, 3.4vw, 3.2rem);
}
.bt-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background:var(--color-primary);
  color:var(--color-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
}
/* ── Left card ── */
.card-von-dieu-le {
  border: none;
  border-radius: 16px;
  padding: 40px 36px 44px;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    #fff 37.8%,
    rgba(255, 255, 255, 0) 73.54%
  );
  box-shadow: 0 -2px 10.2px 0 rgba(219, 190, 124, 0.45);
}

.label-von {
  font-size: 1.6rem;
  font-weight: 700;
  color:var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.so-von {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  color:var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--bold-font);
}

.don-vi-von {
  display: inline-flex;
  flex-direction: column;
  font-size: 1.4rem;
  font-weight: 700;
  color:var(--color-primary);
  line-height: 1.3;
  margin-left: 6px;
  vertical-align: bottom;
  padding-bottom: 10px;
}

/* ── Right content ── */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color:var(--color-primary);
  margin-bottom: 20px;
}

.body-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 20px;
}

/* ── Stats row ── */
.stats-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.stat-item {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.stat-number {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: #b8952a;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--bold-font);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.stat-unit {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  padding-bottom: 8px;
  margin-left: -0.9rem;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background-color: #d9d9d9;
  align-self: center;
  margin: 0 12px;
}
.cns_corporation {

}
.cns_corporation_nav img {
  margin-top: -4px;
}

/* item-corporation card */
.item-corporation {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  padding-bottom:5px;
}
.item-corporation:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.item-corporation a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.item-corporation__img {
  width: 100%;
    min-height:15rem;
  overflow: hidden;
}
.item-corporation__img img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.item-corporation:hover .item-corporation__img img {
  transform: scale(1.05);
}
.item-corporation__body {
  padding: 14px 16px 18px;
  min-height:130px;
}
.item-corporation__title {
  font-size:1rem;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.35;
}
.item-corporation__date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
}
.item-corporation__date i {
  font-size: 14px;
  color: #aaa;
}

/* cns_system section */
.cns_system {
  background: linear-gradient(180deg, rgba(252, 248, 238, 0.00) 0%, #DBBE7C 100%);
}
.cns_system_tabs {
  border-bottom: 2px solid #e0e0e0;
  justify-content:center;
}
.cns_system_tabs .nav-link {
  border: none;
  color: #666;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  position: relative;
  background: transparent;
}
.cns_system_tabs .nav-link:hover {
  color: var(--color-primary);
  border: none;
}
.cns_system_tabs .nav-link.active {
  color: var(--color-primary);
  border: none;
  background: transparent;
}
.cns_system_tabs .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}
.cns_system_card {
  padding: 20px 0;
  transition: var(--trans-default);
}
.cns_system_card__img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.cns_system_card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cns_system_card__title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.cns_system_card__desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}
.cns_system_card__content {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}
.cns_system_card__content p {
  margin-bottom: 6px;
}
.cns_system_card__content strong {
  font-weight: 700;
  color: #333;
}
.cns_system_card__nav .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-size: 1.1rem;
}
.cns_system_card__nav .btn:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* cns_newsFullPage section */
.cns_newsFullPage {
  width: 100%;
  overflow: hidden;
}
.cns_newsFullPage__wrapper {
  width: 100%;
  height: 70vh;
}
.newsFullPageSwiper {
  height: 100%;
}
.cns_newsFullPage__slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cns_newsFullPage__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    transparent 70%
  );
}
.cns_newsFullPage__content {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 2;
}
.cns_newsFullPage__title {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.cns_newsFullPage__title:hover {
  color: var(--color-primary);
}
.cns_newsFullPage__thumbs {
  position: relative;
  z-index: 2;
}
.cns_newsFullPage__thumb {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s;
}
.cns_newsFullPage__thumb:hover {
  border-color: var(--color-primary);
}
.cns_newsFullPage__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cns_newsFullPage__controls {
  z-index: 3;
  padding-bottom: 1.5rem !important;
}
.cns_newsFullPage__navBtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.cns_newsFullPage__navBtn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.cns_newsFullPage__progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
.cns_newsFullPage__progressBar {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* cns_hotNews section */
.cns_hotNews {
  background: linear-gradient(
    0deg,
    #DECBA6 0%,
    rgba(219, 190, 124, 0) 82.65%
);
}
.cns_hotNews__label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.cns_hotNews__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.cns_hotNews__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 500px;
}
.cns_hotNews__tabBtn {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  font-weight: 500;
  transition: all 0.3s;
  font-size:0.85rem;
}
.cns_hotNews__tabBtn:hover,
.cns_hotNews__tabBtn.active {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}
.cns_hotNews__featured {
  transition: transform 0.3s;
}
.cns_hotNews__featured:hover {
  transform: scale(1.01);
}
.cns_hotNews__featuredImg {
  background-size: cover;
  background-position: center;
}
.cns_hotNews__featuredOverlay {
  top:calc(100% - 150px);
  height:150px;
  background: linear-gradient(
      180deg,
      rgba(20, 15, 3, 0) 0%,
      rgba(120, 84, 25, 0.80) 35%,
      rgba(80, 55, 15, 1) 100%
  );
}
.cns_hotNews__featuredTitle {
  font-size: 1.1rem;
  line-height: 1.35;
}
.cns_hotNews__smallImg {
  width: 180px;
  flex-shrink: 0;
  overflow: hidden;
}
.cns_hotNews__smallImg img {
  object-fit: cover;
}
.cns_hotNews__smallTitle {
  font-size: 0.95rem;
}
.cns_hotNews__smallCard {
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom:0.3rem;
  font-size:0.85rem;
}
.cns_hotNews__smallCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}
.cns_hotNews__smallTitle {
  line-height: 1.4;
}
.cns__overview .body-text {
  font-family: var(--medium-font);
  font-size:1.1rem;
}

/* ===== Company Profile Section ===== */
.cns__companyProfile {
  background-size:cover!important
}

.cns-profile-item {
  padding: 1rem 0.5rem;
  transition: var(--trans-default);
}

.cns-profile-item:hover {
  transform: translateY(-4px);
}

.cns-profile-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fff;
  transition: var(--trans-default);
}

.cns-profile-icon img {
  width:65px;
  height: 65px;
  object-fit: contain;
  transition: var(--trans-default);
}


.cns-profile-label {
  font-size:1.2rem;
  font-family: var(--bold-font);
  color: var(--color-dark);
  line-height: 1.4;
  min-height: 2.4em;
  font-family:var(--medium-font);
  min-height:80px;
}

.cns-profile-stats {
  flex-wrap: wrap;
}

.cns-profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height:5rem;
}

.cns-profile-number {
  font-family: var(--bold-font);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
}

.cns-profile-number--blue {
  color: var(--color-secondary);
  font-size:3.4rem!important;
  font-family:var(--bold-font);
}

.cns-profile-number--red {
  color: var(--color-red);
}

.cns-profile-unit {
  font-size:1rem;
  font-family: var(--medium-font);
  color: var(--color-dark);
  margin-top: 2px;
  line-height:1.4;
  text-align:left;
}
.cns__b2b {
  background-size: cover !important;
  background-color: #d4a843;
}

.cns__b2b-label {
  display: inline-block;
  font-size: 0.8rem;
  font-family: var(--bold-font);
  font-weight: 900;
  color: var(--color-secondary);;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.cns__b2b-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--bold-font);
  font-weight: 900;
  color: var(--color-secondary);;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.cns__b2b-desc {
  font-size: 1rem;
  font-family: var(--medium-font);
  color: #333;
  line-height: 1.6;
  max-width: 520px;
}

.cns__b2b-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: var(--trans-default);
}

.cns__b2b-step:hover {
  background-color: rgba(255, 255, 255, 0.55);
}

.cns__b2b-step-num {
  font-family: var(--bold-font);
  font-weight: 900;
  font-size: 1rem;
  color: var(--color-secondary);;
  white-space: nowrap;
}

.cns__b2b-step-text {
  font-family: var(--medium-font);
  font-size: 0.95rem;
  color: var(--color-secondary);;
  line-height: 1.4;
}

.cns__b2b-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cns__b2b-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.cns__b2b-step {
  padding: 0.6rem 0.8rem;
}
.cns__b2b-step-num {
  font-size: 0.9rem;
}
.cns__b2b-step-text {
  font-size: 0.85rem;
}

/* ===== Partner Logo Section ===== */
.cns__partnerLogo {
  background-color: #fff;
}

.cns__partnerLogo__item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cns__partnerLogo__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cns__partnerLogo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cns__partnerLogo__icon > a {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cns__partnerLogo__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cns__partnerLogo__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.cns__partnerLogo__nav:hover {
  background-color: #c0202a;
}

.cns__partnerLogo__nav--prev {
  left: -18px;
}

.cns__partnerLogo__nav--next {
  right: -18px;
}

/* ===== Footer Section ===== */
.cns__footer {
  font-family: "RobotoSlab-R", sans-serif;
}

.cns__footer__top {
  background-color:var(--color-light);
  padding: 3rem 0 2rem;
  color: var(--color-secondary);;
}

.cns__footer__brand {
  text-align: center;
}

.cns__footer__logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.cns__footer__logo {
  max-width: 160px;
  height: auto;
}

.cns__footer__brand-name {
  font-family: "RobotoSlab-B", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-secondary);;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.cns__footer__brand-desc {
  font-size: 0.9rem;
  color: var(--color-secondary);;
  line-height: 1.6;
  font-family:var(--medium-font);
}

.cns__footer__col {
  padding-left: 0.5rem;
}

.cns__footer__heading {
  font-family: "RobotoSlab-B", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color:var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-secondary);;
  display: inline-block;
}

.cns__footer__contact {
  font-size: 0.9rem;
  color: var(--color-secondary);;
  line-height: 1.8;
}

.cns__footer__contact p {
  margin-bottom: 0.5rem;
}

.cns__footer__contact a {
  color: var(--color-secondary);;
  text-decoration: none;
}

.cns__footer__contact a:hover {
  color: #fff;
}

.cns__footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cns__footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(8, 38, 74, 0.15);
  color: var(--color-secondary);;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cns__footer__social a:hover {
  background-color: var(--color-secondary);;
  color: #fff;
}

.cns__footer__linkList {
  padding: 0;
  margin: 0;
}

.cns__footer__linkList li {
  margin-bottom: 0.5rem;
}

.cns__footer__linkList li a {
  color: var(--color-secondary);;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.cns__footer__linkList li a::before {
  content: "✦";
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  top: 2px;
}

.cns__footer__linkList li a:hover {
  color: #fff;
}

.cns__footer__bottom {
  background-color:var(--color-primary);
  padding: 0.6rem 0;
  color: var(--color-secondary);;
}

.cns__footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.cns__footer__copyright {
  font-size: 0.85rem;
}

.cns__footer__copyright p {
  margin: 0;
}

.cns__footer__policy {
  font-size: 0.85rem;
}

.cns__footer__policy a {
  color: var(--color-secondary);;
  text-decoration: none;
  transition: color 0.3s ease;
}
.cns__footer__policy p{
  margin-bottom:0;
}

.cns__footer__policy a:hover {
  color: #fff;
}

.cns__footer__policy span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* ===== Footer Brand Static (Thống kê) ===== */
.cns__footer__brand-static {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  padding-left: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  align-items: flex-start;
}

.cns__footer__stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.cns__footer__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cns__footer__stat-icon--online {
  background-color: var(--color-secondary);
  color: #fff;
}

.cns__footer__stat-icon--monthly {
  background-color: var(--color-red);
  color: #fff;
}

.cns__footer__stat-icon--total {
  background-color:#BF9D4F;;
  color: #fff;
}

.cns__footer__stat-label {
  flex: 1;
  font-family: var(--medium-font);
  opacity: 0.9;
}

.cns__footer__stat-value {
  font-family: "RobotoSlab-B", sans-serif;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}

/* ===== cns_block_hdTop ===== */
.cns_block_hdTop {
  background-color: #d4b96a;
}

.cns_block_hdTop__inner {
  width: 100%;
}

/* Phone button */
.cns_block_hdTop__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color:var(--color-secondary);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: "RobotoSlab-M", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.cns_block_hdTop__phone-link:hover {
  background-color: #1a4a80;
  color: #fff;
}

.cns_block_hdTop__phone-link svg {
  flex-shrink: 0;
}

/* Search */
.cns_block_hdTop__search {
  max-width: 380px;
  min-width: 200px;
}

.cns_block_hdTop__search-form {
  background-color: #fff;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid #c9a84e;
}

.cns_block_hdTop__search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-family: "RobotoSlab-R", sans-serif;
  background: transparent;
  color: var(--color-dark);
}

.cns_block_hdTop__search-input::placeholder {
  color: #999;
}

.cns_block_hdTop__search-input:focus {
  outline: none;
}

.cns_block_hdTop__search-btn {
  background: transparent;
  border: none;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: color 0.2s;
}

.cns_block_hdTop__search-btn:hover {
  color: var(--color-primary);
}

/* Nav items */
.cns_block_hdTop__nav-item {
  color: #333;
  font-size: 0.85rem;
  font-family: "RobotoSlab-M", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.cns_block_hdTop__nav-item:hover {
  color: var(--color-secondary);
}

.cns_block_hdTop__nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.cns_block_hdTop__nav-icon svg {
  color: #333;
  transition: color 0.2s;
}

.cns_block_hdTop__nav-item:hover .cns_block_hdTop__nav-icon {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.cns_block_hdTop__nav-item:hover .cns_block_hdTop__nav-icon svg {
  color: var(--color-primary);
}

.cns_block_hdTop__nav-item--user {
  font-weight: 700;
}

/* ===== cns_block_hdMenu ===== */
.cns_block_hdMenu {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.cns_block_hdMenu__inner {
  width: 100%;
  padding: 0.2rem 0;
}

.cns_block_hdMenu__logo img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

.cns_block_hdMenu__nav {
  gap: 0.25rem;
}

.cns_block_hdMenu__nav-item {
  color: #333;
  font-size: 0.95rem;
  font-family: "RobotoSlab-M", sans-serif;
  text-decoration: none;
  padding: 0.5rem 0.55rem;
  white-space: nowrap;
  transition: color 0.2s;
  border-radius: 4px;
}

.cns_block_hdMenu__nav-item:hover {
  color: var(--color-primary);
}

.cns_block_hdMenu__nav-item.active {
  color: var(--color-primary);
}

.cns_block_hdMenu__nav_list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.cns_block_hdMenu__nav_list > li {
  position: relative;
}

.cns_block_hdMenu__nav_list_c1 {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-width: 280px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 20;
}

.cns_block_hdMenu__nav_list > li:hover > .cns_block_hdMenu__nav_list_c1 {
  display: block;
}

.cns_block_hdMenu__nav_list_c1 > li {
  position: relative;
}

.cns_block_hdMenu__nav_list_c1 > li > a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  white-space: normal;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.cns_block_hdMenu__nav_list_c1 > li > a:hover {
  background: var(--bg-primary);
  color: #fff;
}

.cns_block_hdMenu__nav_list_c1 > li > ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  max-width: 280px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 21;
}

.cns_block_hdMenu__nav_list_c1 > li:hover > ul {
  display: block;
}

.cns_block_hdMenu__nav_list_c1 > li > ul > li > a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  white-space: normal;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.cns_block_hdMenu__nav_list_c1 > li > ul > li > a:hover {
  background: var(--bg-primary);
  color: #fff;
}

@media (min-width: 1400px) {
  .cns_block_hdMenu__nav_list_c1,
  .cns_block_hdMenu__nav_list_c1 > li > ul {
    max-width: 350px;
  }
}

/* ===== cns_about_his ===== */
.cns_about_his {
  background-color: #fdf8f0;
}

.cns_about_his__header {
  align-items: flex-start;
}

.cns_about_his__subtitle {
  display: block;
  font-size: 1rem;
  font-family: "RobotoSlab-M", sans-serif;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.cns_about_his__title {
  font-size: 2rem;
  font-family: "RobotoSlab-B", sans-serif;
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: 0;
}

.cns_about_his__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0;
}

.cns_about_his__timeline {
  position: relative;
  padding-bottom:0;
}

.cns_about_his__swiper {
  overflow: hidden;
}

.cns_about_his__item {
  background-color: #fdf8f0;
  padding: 1rem 0.5rem;
  border-right: 1px solid #e8e0d4;
  height: auto;
}

.cns_about_his__item:last-child {
  border-right: none;
}

.cns_about_his__year {
  display: block;
  font-size: 2.5rem;
  font-family: "RobotoSlab-B", sans-serif;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1;
}

.cns_about_his__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.cns_about_his__img img {
  width: 100%;
  height: 100%;
  object-fit:contain;
}

.cns_banner {
  background-size:cover!important;
}

.cns_about_his__content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.cns_about_his__content ul,
.cns_about_his__content ol {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.cns_about_his__content li {
  margin-bottom: 0.3rem;
}

.cns_about_his__content p {
  margin-bottom: 0.5rem;
}

.cns_about_his__nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cns_about_his__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #333;
  background: transparent;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.cns_about_his__nav-btn:hover {
  background-color: #333;
  color: #fff;
}

.cns_about_his__nav-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== cns__vm - Tầm nhìn / Sứ mệnh / Triết lý ===== */
.cns__vm-card {
  background-color: #fdf8f0;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.cns__vm-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cns__vm-card--highlight {
  transform: translateY(-30px);
}

.cns__vm-card--highlight:hover {
  transform: translateY(-34px);
}

.cns__vm-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cns__vm-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cns__vm-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cns__vm-card__title {
  font-family: "RobotoSlab-B", sans-serif;
  font-size: 1.35rem;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

.cns__vm-card__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  margin: 0;
  min-height:110px;
}

.cns__message,.cns__sysManager{
  background-color:#FCF8ED;
}

/* ===== cns__achievements - Thành tựu và giải thưởng ===== */
.cns__achievements {
  background-color: #fff;
}

.cns__achievements__title {
  font-family: "RobotoSlab-B", sans-serif;
  font-size: 2rem;
  color: #0a2a6b;
  line-height: 1.3;
  margin: 0;
}

.cns__achievements__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.cns__achievements__swiper {
  padding-bottom: 3rem;
}

.cns__achievements__slide {
  height: auto;
}

.cns__achievements__img {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.cns__achievements__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cns__achievements__body {
  padding: 0 0.25rem;
}

.cns__achievements__year {
  display: block;
  font-family: "RobotoSlab-B", sans-serif;
  font-size:1.6rem;
  color: #111;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.cns__achievements__name {
  font-family: "RobotoSlab-M", sans-serif;
  font-size: 1.05rem;
  color: #222;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.cns__achievements__desc-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Pagination dots */
.cns__achievements__pagination {
  justify-content: flex-end;
}

.cns__achievements__pagination .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background-color: #d0d0d0;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.cns__achievements__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

/* ===== cns__sysManager-slide ===== */
.cns__sysManager-slide {
  margin-top: 2rem;
}

.cns__sysManager-slide__swiper {
  padding-bottom: 3rem;
}

.cns__sysManager-slide__item {
  height: auto;
}

.cns__sysManager-slide__card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.cns__sysManager-slide__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cns__sysManager-slide__img {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cns__sysManager-slide__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Pagination dots */
.cns__sysManager-slide__pagination .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background-color: #d0d0d0;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.cns__sysManager-slide__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}
.cns__partnerHot{
   background-size:cover!important;
}
.cns__partnerHot-item__content{
  min-width:calc(100% - 125px);
}

/* ===== cns__fieldList - Lĩnh vực hoạt động ===== */
.cns__fieldList {
  background-color: #fff;
}

.cns__fieldList-item {
  padding: 3rem 0;
}

.cns__fieldList-item-odd {
  background-color: #fcf8ed;
}

.cns__fieldList-item__img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cns__fieldList-item__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cns__fieldList-item__content {
  padding: 0 1rem;
}

.cns__fieldList-item__title {
  font-family: var(--bold-font);
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cns__fieldList-item__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.cns__fieldList-item__section {
  margin-bottom: 1.25rem;
}

.cns__fieldList-item__section-title {
  font-family: var(--medium-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.cns__fieldList-item__section-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.cns__fieldList-item__stats {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cns__fieldList-item__stat-number {
  font-family: var(--bold-font);
  font-size: 3rem;
  color: var(--color-red);
  line-height: 1;
  font-weight: 900;
}
.cns__fieldList-item__stat-number-blue{
   color:var(--color-secondary);
}

.cns__fieldList-item__stat-label {
  font-family: var(--medium-font);
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.3;
  padding-bottom: 6px;
}

.cns__fieldList-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--color-primary);
  color: var(--color-secondary);
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-family: var(--medium-font);
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-left: auto;
}

.cns__fieldList-item__btn:hover {
  background-color:var(--color-primary);
  color:var(--color-red);
}

/* ===== cns__projectItem ===== */
.cns__projectItem {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 100%;
}

.cns__projectItem__link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
}

.cns__projectItem__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cns__projectItem__link:hover .cns__projectItem__img {
  transform: scale(1.05);
}

.cns__projectItem__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.cns__projectItem__title {
  color: #fff;
  font-size: 1rem;
  font-family: "RobotoSlab-M", sans-serif;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cns__projectItem__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  background-color: var(--color-red);
  color: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cns__projectItem__link:hover .cns__projectItem__btn {
  transform: translateX(4px);
  background-color: #d42a30;
}
.d-grid-post{
   grid-template-columns:repeat(4,1fr);
}

/* ===== cns__contact-info ===== */
.cns__contact-info {
  background-color: #fff;
}

.cns__contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cns__contact-info__card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.cns__contact-info__card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cns__contact-info__icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
}

.cns__contact-info__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cns__contact-info__title {
  font-size: 1.1rem;
  font-family: "RobotoSlab-M", sans-serif;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.cns__contact-info__desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* ===== cns__contact-map ===== */
.cns__contact-map {
  position: relative;
  width: 100%;
  min-height: 500px;
}

.cns__contact-map__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.cns__contact-map__iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.cns__contact-map__iframe iframe {
  width: 100%;
  height: 100%;
  min-height:650px;
  border: 0;
}

.cns__contact-map__overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cns__contact-map__form-box {
  background-color: rgba(60, 60, 60, 0.92);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 520px;
}

.cns__contact-map__title {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-family: "RobotoSlab-B", sans-serif;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.cns__contact-map__form .form-control {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  color: #333;
  width: 100%;
}

.cns__contact-map__form .form-control::placeholder {
  color: #999;
}

.cns__contact-map__form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(200, 149, 26, 0.25);
  outline: none;
}

.cns__contact-map__form textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.cns__contact-map__btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 2.5rem;
  font-size: 1rem;
  font-family: "RobotoSlab-M", sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cns__contact-map__btn:hover {
  background-color: #b07d10;
  transform: translateY(-2px);
}

/* ===== d-grid-shareHolder ===== */
.d-grid-shareHolder {
  grid-template-columns: repeat(3, 1fr);
}

.shareHolder-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f0f0f0;
  aspect-ratio: 16 / 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shareHolder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.shareHolder-card__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.shareHolder-card__img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shareHolder-card__img-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shareHolder-card:hover .shareHolder-card__img-src {
  transform: scale(1.05);
}

.shareHolder-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
 background: linear-gradient(180deg, rgba(20, 15, 3, 0) 20%, rgba(120, 84, 25, 0.55) 55%, rgba(120, 84, 25, 0.92) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1rem 1rem;
}

.shareHolder-card__title {
  font-family: "RobotoSlab-M", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.format-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid #ddd;
}

.format-content table th,
.format-content table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.format-content table th {
    background: #f5f5f5;
    font-weight: 600;
}

.format-content table tbody tr:nth-child(even) {
    background: #fafafa;
}

.format-content table tbody tr:hover {
    background: #f2f8ff;
}

/* ===== cns_block_memberList ===== */
.cns_block_memberList {
    padding: 1rem 0;
}

.cns_block_memberList__item {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cns_block_memberList__item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Title - full width on top */
.cns_block_memberList__item-title {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.cns_block_memberList__item-name {
    font-size: 1rem;
    font-weight: 700;
    font-family: "RobotoSlab-M", sans-serif;
    line-height: 1.4;
    margin: 0;
    color: #222;
}

.cns_block_memberList__item-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    color:var(--color-secondary);
}

.cns_block_memberList__item-name a:hover {
    color: var(--color-primary);
}

/* Content area: logo left + body right */
.cns_block_memberList__item-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    margin-bottom: 1rem;
}

.cns_block_memberList__item-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:2px;
    overflow: hidden;
    border-radius: 8px;
    border:1px solid #E2E8F0;
}

.cns_block_memberList__item-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cns_block_memberList__item-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.cns_block_memberList__item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
}

.cns_block_memberList__item-info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.cns_block_memberList__item-info-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--color-primary);
}

.cns_block_memberList__item-info-text {
    flex: 1;
    word-break: break-word;
    text-align:left;
}

.cns_block_memberList__item-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.cns_block_memberList__item-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background-color: var(--color-primary);
    color:var(--color-secondary);
    font-size: 0.85rem;
    font-family: "RobotoSlab-M", sans-serif;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cns_block_memberList__item-btn:hover {
    background-color: var(--color-primary);
    color:var(--color-red);
    transform: translateX(3px);
}

.cns_block_memberList__item-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.cns_block_memberList__item-btn:hover svg {
    transform: translateX(2px);
}

.cns_block_memberListHot{
  background: #FCF8ED;
}

/* ===== cns_block_memberListHot ===== */
.cns_block_memberListHot__item {
    display: flex;
    align-items: flex-start;
    gap:0.5rem;
    background-color: #fff;
    border: 2px solid var(--color-primary);
    border-radius:3px;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cns_block_memberListHot__item:hover {
    box-shadow: 0 4px 16px rgba(200, 149, 26, 0.2);
    transform: translateY(-2px);
}

.cns_block_memberListHot__item-logo {
    flex-shrink: 0;
    width: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
}

.cns_block_memberListHot__item-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cns_block_memberListHot__item-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.cns_block_memberListHot__item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding:0.5rem;
}

.cns_block_memberListHot__item-name {
    font-size: 1rem;
    font-weight: 700;
    font-family: "RobotoSlab-B", sans-serif;
    line-height: 1.3;
    margin: 0 0 0.25rem;
    color: #222;
    text-transform: uppercase;
}

.cns_block_memberListHot__item-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    color:var(--color-secondary)
}

.cns_block_memberListHot__item-name a:hover {
    color: var(--color-primary);
}

.cns_block_memberListHot__item-info {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.cns_block_memberListHot__item-info-label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.cns_block_memberListHot__item-info-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color:#555;
    margin-top:-3px;
}

.cns_block_memberListHot__item-info-text {
    flex: 1;
    word-break: break-word;
    line-height:1.3;
    text-align:left;
}
.cns__partnertItem-title{
   min-height:75px;
   line-height:1.5;
}

/* ===== cns__files ===== */
.cns__files__search {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cns__files__search-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.cns__files__search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.375rem;
  font-size: 0.95rem;
  font-family: "RobotoSlab-R", sans-serif;
  color: var(--color-dark);
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.cns__files__search-input:focus {
  border-color: var(--color-primary);
}

.cns__files__search-input::placeholder {
  color: #aaa;
}

.cns__files__search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cns__files__search-icon:hover {
  color: var(--color-primary);
}

.cns__files__search-btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.95rem;
  font-family: "RobotoSlab-M", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.cns__files__search-btn:hover {
  background-color: #2a4f96;
}

.cns__files__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cns__files__sort {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cns__files__sort-label {
  font-size: 0.9rem;
  color: var(--color-dark);
  font-family: "RobotoSlab-R", sans-serif;
  white-space: nowrap;
}

.cns__files__sort-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-family: "RobotoSlab-R", sans-serif;
  color: var(--color-dark);
  background-color: #fff;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  min-width: 220px;
}

.cns__files__sort-select:focus {
  border-color: var(--color-primary);
}

.cns__files__perpage-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-family: "RobotoSlab-R", sans-serif;
  color: var(--color-dark);
  background-color: #fff;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  min-width: 160px;
}

.cns__files__perpage-select:focus {
  border-color: var(--color-primary);
}

.cns__files__result-info {
  margin-bottom: 1rem;
}

.cns__files__result-count {
  font-size: 0.95rem;
  color: var(--color-dark);
  margin: 0;
}

.cns__files__result-count strong {
  font-family: "RobotoSlab-M", sans-serif;
  font-weight: 700;
}

.cns__files__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cns__files__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e8e8e8;
  border-radius: 0.5rem;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
}

.cns__files__item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cns__files__item-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e8f0fe;
  color: var(--color-secondary);
  font-family: "RobotoSlab-M", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0.375rem;
}

.cns__files__item-content {
  flex: 1;
  min-width: 0;
}

.cns__files__item-title {
  font-size: 1rem;
  font-family: "RobotoSlab-M", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 0.5rem;
}

.cns__files__item-title a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cns__files__item-title a:hover {
  color: var(--color-primary);
}

.cns__files__item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.cns__files__item-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cns__files__item-meta-label {
  font-size: 0.85rem;
  color: #888;
}

.cns__files__item-meta-value {
  font-size: 0.85rem;
  color: var(--color-dark);
}

.cns__files__item-meta-value--inactive {
  color: var(--color-red);
}

.cns__files__item-meta-value--active {
  color: var(--color-green);
}

.cns__files__item-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.cns__files__item-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 0.375rem;
  font-size: 0.85rem;
  font-family: "RobotoSlab-M", sans-serif;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.cns__files__item-download:hover {
  background-color: #a87a15;
  color: #fff;
}

.cns__files__item-download svg {
  flex-shrink: 0;
}

.cns__files__item-apply {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.cns__files__item-apply-label {
  color: #888;
}

.cns__files__item-apply-date {
  color: var(--color-dark);
  font-family: "RobotoSlab-R", sans-serif;
}

.cns__box_announcement_avatar img{
   max-width:150px;
}


.list-arrow li::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:20px;
    height:20px;
    background-color:var(--color-primary);

    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='black' d='m224.49 136.49l-72 72a12 12 0 0 1-17-17L187 140H40a12 12 0 0 1 0-24h147l-51.49-51.52a12 12 0 0 1 17-17l72 72a12 12 0 0 1-.02 17.01'/%3E%3C/svg%3E") no-repeat center;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='black' d='m224.49 136.49l-72 72a12 12 0 0 1-17-17L187 140H40a12 12 0 0 1 0-24h147l-51.49-51.52a12 12 0 0 1 17-17l72 72a12 12 0 0 1-.02 17.01'/%3E%3C/svg%3E") no-repeat center;

    -webkit-mask-size:contain;
    mask-size:contain;
}

.overplay-heading-home{
  position: absolute;
  inset: 0;
  z-index: 2;
}
.overplay-heading-home::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* background: linear-gradient(90deg, rgba(250,248,244,.1), rgba(250,248,244,.08)); */
}
.overplay-heading-home__layer{
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.overplay-heading-home__layer.is-active{
  opacity: 1;
}

.pn-heading-home__typewriter .js-typewriter.pn-typewriter-cursor{
  border-right: 2px solid currentColor;
  animation: pnBlinkCaret .75s step-end infinite;
}
@keyframes pnBlinkCaret {
  from, to { border-color: transparent; }
  50% { border-color: currentColor; }
}

/* ============================================
   CSS extracted from _header.php
   ============================================ */

.pn-heading-home {
    overflow: hidden;
    width: 100%;
    background-size: cover !important;
}

#backToTopBtn {
  transition: opacity 0.3s ease-in-out;
}

.row-banner {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
    padding-top:80px;
}

.pn-heading-home__slider,
.pn-heading-home__slider .swiper-wrapper,
.pn-heading-home__slide,
.pn-heading-home__slide-link {
    width: 100%;
    height: 100%;
}

.pn-heading-home__slider {
    position: relative;
    inset: 0;
    z-index: 0;
}

.pn-heading-home__slide-link {
    display: block;
}

.pn-heading-home__slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.pn-heading-home__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.14) 100%);
    z-index: 1;
    pointer-events: none;
}

.pn-heading-home__content {
    z-index: 4;
    width: 100%;
    top: 0;
    left: 0;
}

.pn-heading-home__pagination {
    bottom: 0px !important;
}

.pn-heading-home__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.72);
    opacity: 1;
}

.pn-heading-home__pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
}

/* ── Burger button ── */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 6px 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.pn-heading-home .burger-btn {
    display: flex;
}

.burger-line {
    display: block;
    width: 30px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}

/* ── Overlay ── */
.rp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    cursor: pointer;
}

.rp-overlay.is-active {
    display: block;
}

/* ── Drawer ── */
.responsive-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 18rem;
    max-width: 85vw;
    height: 100dvh;
    background: rgba(249, 243, 228, 1);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.responsive-menu.is-open {
    transform: translateX(0);
}

body.rp-menu-open {
    overflow: hidden;
}

/* ── Drawer header ── */
.rp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px;
    border-bottom: 1px solid var(--color-secondary);
    flex-shrink: 0;
}

.rp-logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.rp-close {
    background: transparent;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    line-height: 1;
    transition: color 0.2s;
}

.rp-close:hover {
    color: #fff;
}

/* ── Nav container ── */
.rp-nav {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.rp-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rp-nav__list li {
    position: relative;
}

.rp-nav__list > li:last-child {
    border-bottom: none;
}

.rp-nav__list li a {
    display: block;
    color: var(--color-secondary);
    padding: 0.7rem 1rem;
    font-size: 1rem;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.rp-nav__list li.is-open > a {
    border-bottom: 1px solid var(--color-secondary);
}

.rp-nav__list > li > a {
    text-transform: uppercase;
}

.rp-nav__list li a:hover {
    color: var(--color-red);
}

/* ── Submenu toggle ── */
.rp-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s, color 0.2s;
}

.rp-toggle:hover {
    color: var(--color-red);
}

li.is-open > .rp-toggle {
    transform: rotate(180deg);
    color: var(--color-secondary);
}

/* ── Submenu items ── */
.rp-nav__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rp-nav__list ul li:last-child {
    border-bottom: none;
}

.rp-nav__list ul li a {
    font-size: 0.9rem;
    padding: 0.6rem 0.5rem 0.6rem 1.5rem;
    font-family: "PJS-M";
    line-height: 1.5;
}

.rp-submenu-icon {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--color-secondary);
    border-bottom: 2px solid var(--color-secondary);
    transform: rotate(-45deg);
    margin-right: 8px;
    vertical-align: middle;
    opacity: 0.6;
}

.rp-nav__list ul li a:hover .rp-submenu-icon {
    border-color: var(--color-red);
    opacity: 1;
}

/* ── Language dropdown (header) ── */
.langs {
    display: flex;
    align-items: center;
}

.langs .lang-dropdown {
    position: relative;
}

.langs .select-lang {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border: 1px solid var(--color-secondary);
    border-radius: 3px;
    cursor: pointer;
    background: #fff;
    font-size: 0.9rem;
    color: var(--color-secondary);
    transition: border-color 0.2s;
}

.langs .select-lang:hover {
    border-color: var(--color-primary);
}

.langs .flag-icon {
    width: 24px;
    height: 17px;
    border-radius: 2px;
    object-fit: cover;
}

.langs .lang-label {
    font-family: "PJS-M";
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.96rem;
}

.langs .arrow-down {
    border: solid var(--color-secondary);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 2px;
    transition: transform 0.3s;
}

.langs .lang-dropdown:hover .arrow-down {
    transform: rotate(-135deg);
}

.langs .lang-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 156px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
    z-index: 100;
    border: 1px solid #eee;
    list-style: none;
    padding: 0;
    margin: 0;
}

.langs .lang-dropdown:hover .lang-list {
    display: block;
}

.langs .lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: var(--color-secondary);
    font-size: 0.96rem;
}

.langs .lang-item:hover {
    background-color: #f5f5f5;
}

.langs .lang-item.active {
    background-color: var(--color-primary);
    color: var(--color-red);
}

.langs .lang-item.active .arrow-down,
.langs .lang-item.active .lang-label {
    color: var(--color-secondary);
}

/* ── Search toggle on mobile ── */
.search-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}

/* ── Search Popup ── */
.search-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15vh;
}

.search-popup-overlay.is-open {
    display: flex;
}

body.search-popup-open {
    overflow: hidden;
}

.search-popup {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 560px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: searchPopupIn 0.25s ease-out;
}

@keyframes searchPopupIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-popup__close {
    position: absolute;
    top: 2px;
    right: 2px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.search-popup__close:hover {
    background: #f0f0f0;
    color: #333;
}

.search-popup__form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-popup__form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: "PJS-R", sans-serif;
}

.search-popup__form input[type="search"]:focus {
    border-color: var(--color-primary);
}

.search-popup__form button[type="submit"] {
    padding: 12px 24px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: "PJS-M";
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.search-popup__form button[type="submit"]:hover {
    background: var(--color-secondary);
}

.search-popup__form button[type="submit"]:active {
    transform: scale(0.97);
}
.logo_member_regis{
   height:120px;
}
.portal__card_line{
  height:2px;
}
.portal__card_line:before{
  position:absolute;
  content:'';
  background-color:#fff;
  width:50%;
  left:25%;
  height:2px;
}
.pn-user-portal__card_3{
  background-color:rgba(200, 149, 26, 0.8);
  border:1px solid #fff;
}
.pn-user-portal__card_2{
  border-radius: 8px;
  border: 1px solid #08264A;
  background: rgba(255, 255, 255, 0.47);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}
.pn-user-portal__card_1{
  background-color:rgba(8, 38, 74, 0.64);
  border:1px solid rgba(200, 149, 26, 1);
}
.pn-user-portal__card_4{
  background-color:rgba(253, 46, 53, 0.8);
  background-image:1px solid #fff;
}

.pn-user-portal__card_1 .btn{
  background-color:var(--color-primary)!important;
  color:var(--color-secondary)
}
.pn-user-portal__card img{
   height:6rem;
}
.pn-user-portal__card_4 .btn{
 color:#fff;
}
.logo_member_login{
  height:150px;
}

/* =========================
   DESKTOP - auction-table
========================= */

.auction-table {
    width: 100%;
    table-layout: fixed;
}

.auction-table .col-title {
    width: 31%;
    text-indent:10px;
}

.auction-table .col-date {
    width: 14%;
}

.auction-table .col-close {
    width: 12%;
}

.auction-table .col-status {
    width: 11%;
}

.auction-table .col-investor {
    width: 22%;
}

.auction-table .col-view {
    width: 10%;
}

.auction-table tr th{
   background: linear-gradient(180deg, #DECBA6 -117.26%, rgba(219, 190, 124, 0.00) 119.7%);
   border-bottom-width:0;
   box-shadow:none!important;
   color:#222;
   font-weight:400;
   text-align:left;
   vertical-align: middle;
   line-height:1.2;
}
.auction-table tr td{
     border-bottom-style:dashed;
     box-shadow:unset!important;
     padding:5px;
}
.img-auction{
  width:50px;
  height:50px;
  object-fit:contain;
}
.cns_organizational{
  background: linear-gradient(180deg, #DBBE7C 0%, rgba(219, 190, 124, 0.00) 100%);
}


/* ============================================
   Industry Card Component — Optimized
   ============================================ */

.industry-item {
  position: relative;
  display: block;
  height:300px;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  contain: layout paint; /* cô lập reflow/paint, giảm cost khi hover */
}

.industry-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
  will-change: transform;
}

.industry-item:hover > img,
.industry-item:focus-visible > img {
  transform: scale(1.05);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(104, 65, 10, .9) 100%
  );
  pointer-events: none; /* tránh overlay chặn hover/click của thẻ <a> bên dưới */
}

.industry-content {
  position: absolute;
  left: 20px;
  right: 20px;  /* giới hạn chiều rộng để nowrap + ellipsis hoạt động đúng */
  bottom: 18px;
  z-index: 2;
}

.industry-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border:1px solid rgba(219, 181, 93, 1);
}

.industry-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.industry-title {
  color: #fff;
  line-height: 1.3;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  min-height:63px;
  letter-spacing:0.05rem;
}

/* ---------- Layout: rows & columns ---------- */

.industry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hàng 1: 40% + 30% + 30% (3 cột, 2 khoảng gap 12px)
   Công thức: mỗi cột trừ thêm (x%/100) * gap * (số-cột - 1) */
.industry-col-40 { flex: 0 0 calc(40% - 9.6px); } /* trước là -4.8px → dư ~4.8px, đẩy cột 3 rớt hàng */
.industry-col-30 { flex: 0 0 calc(30% - 7.2px); }

/* Hàng 2: 50% + 50% */
.industry-col-50 { flex: 0 0 calc(50% - 6px); }

/* ============================================
   Scroll Reveal Utility (fade-up / fade-left / fade-right / fade-only)
   Trạng thái ẩn chỉ áp dụng khi JS xác nhận đã gắn observer thành công
   (body.js-reveal-ready) — nếu JS lỗi/bị chặn, nội dung vẫn hiển thị
   bình thường thay vì ẩn vĩnh viễn.
   ============================================ */
body.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}
body.js-reveal-ready .reveal-left { transform: translateX(-24px); }
body.js-reveal-ready .reveal-right { transform: translateX(24px); }
body.js-reveal-ready .reveal-fade { transform: none; }
body.js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================
   Hover polish bổ sung cho các phần còn thiếu
   ============================================ */
.cns_system_card:hover { transform: translateY(-4px); }
.cns_system_card:hover .cns_system_card__img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cns__b2b-img { transition: transform 0.4s ease; }
.cns__b2b-img-wrap { overflow: hidden; }
.cns__b2b-img-wrap:hover .cns__b2b-img { transform: scale(1.03); }

.auction-table tbody tr { transition: background-color 0.25s ease; }
.auction-table tbody tr:hover { background-color: rgba(228, 200, 126, 0.15); }

.cns__partnerLogo__item:hover { transform: translateY(-3px); }

.cns__contact-map__form .error{
  color:var(--color-red);
}

.banner-header img{
  max-height:100px;
  margin-top:-10px;
}
.js-typewriter{
  line-height:1.8;
}
.text-justify{
  text-align:justify!important;
}
.cns__message{
  padding-bottom:13rem;
  background-size:cover!important;
}
.cns_sub__message{
  background-color:rgba(219, 181, 93, 1);
  padding-right:8rem;
  padding-left:5rem;
}
.cns_sub__message_global{
  top:-0.7rem;
  right:-3rem;
  height:120px;
}

.cns_sub__message:before{
  position:absolute;
  top:1.5rem;
  left:1.5rem;
  content:'';
  background:url('../img/dot-thongdiep.png')no-repeat;
  width:31px;
  height:24px;
}
.cns_corporate_btn_outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ced4da;
    color: var(--cns-corporate-text-dark);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--cns-corporate-radius);
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    border-radius:5px;
}
.cns__detail-post .container{
  max-width:1050px;
}