.container {
  max-width: var(--container-max-width);
}
.logo-cns{
  width:6rem;
}

.tit_pageBanner{
    text-align:left;
    color: #fff;
    font-size:1.4rem;
    line-height:1.3;
    font-family: "LexendDeca-M";
    margin:0 0;
    padding:0 0;
}
.tit_pageBanner.tit-detail{
  font-size:1.2rem;
}
.pn-list-product{
  display:grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap:0.5rem;
}
.pn-posts-list{
  display:grid;
  grid-template-columns:1fr;
  grid-gap:0.5rem;
}

/* ===== item-post__card Responsive ===== */
.d-grid-post {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0.75rem;
}

/* ===== d-grid-shareHolder Responsive ===== */
.d-grid-shareHolder {
  grid-template-columns: 1fr;
}

.shareHolder-card {
  aspect-ratio: 16 / 10;
}

.shareHolder-card__title {
  font-size: 0.95rem;
}

.shareHolder-card__overlay {
  height: 40%;
  padding: 0 0.75rem 0.75rem;
}

.grid-CoreValue{
  display:grid;
  grid-template-columns:1fr;
  grid-gap:0.5rem;
}
.des_pageBanner{
    text-align:left;
}
.d-hb .right{
  display:none;
}

/* ===== Footer Base (Mobile) ===== */
.cns__footer__top {
  padding: 2rem 0 1.5rem;
}
.cns__footer__brand {
  text-align: center;
  margin-bottom: 1rem;
}
.cns__footer__col {
  padding-left: 0;
  margin-bottom: 1rem;
}
.cns__footer__heading {
  font-size: 1rem;
}
.cns__footer__bottom-inner {
  flex-direction: column;
  text-align: center;
}

@media (min-width:360px) {
    .pn-list-product,.pn-posts-list{
       grid-template-columns: repeat(2, 1fr);
    }
    .d-grid-post {
       grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== cns__projectItem Responsive ===== */
@media (max-width: 767px) {
  .cns_block_hdTop__phone {
    display: none;
  }
  .cns_block_hdTop__search {
    max-width: 100%;
    min-width: 0;
  }
  .cns_block_hdTop__nav-item span {
    display: none;
  }
  .cns_block_hdTop__nav {
    gap: 0.75rem !important;
  }
  .cns_block_hdTop__nav-item {
    padding: 0.3rem;
  }
  .cns_block_hdMenu__nav {
    display: none !important;
  }
  .cns_block_hdMenu__nav .langs {
    display: none;
  }
  .cns_block_hdMenu__logo img {
    max-height: 45px;
  }

  /* ===== cns__files Responsive ===== */
  .cns__files__search {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .cns__files__search-btn {
    width: 100%;
    text-align: center;
  }

  .cns__files__toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cns__files__sort {
    flex-wrap: wrap;
  }

  .cns__files__sort-select {
    min-width: 100%;
  }

  .cns__files__perpage-select {
    min-width: 100%;
  }

  .cns__files__item {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .cns__files__item-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
  }

  .cns__files__item-action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .cns__files__item-download {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .cns__files__item-apply {
    font-size: 0.8rem;
  }
}

@media (min-width: 992px) {
  .cns__projectItem__title {
    font-size: 1.05rem;
  }
}

@media (min-width: 1200px) {
  .cns__projectItem__title {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {

  .cns_about_his__header {
    flex-direction: column;
  }
  .cns_about_his__title {
    font-size: 1.5rem;
  }
  .cns_about_his__year {
    font-size: 2rem;
  }
  .cns_about_his__img {
    height: 140px;
  }
  .cns_about_his__item {
    border-right: none;
    border-bottom: 1px solid #e8e0d4;
    padding: 1rem 0.5rem;
  }

  .cns_block_hdTop__phone {
    display: none;
  }
  .cns_block_hdTop__search {
    max-width: 100%;
    min-width: 0;
  }
  .cns_block_hdTop__nav-item span {
    display: none;
  }
  .cns_block_hdTop__nav {
    gap: 0.75rem !important;
  }
  .cns_block_hdTop__nav-item {
    padding: 0.3rem;
  }
  .cns_block_hdMenu__nav {
    display: none !important;
  }
  .cns_block_hdMenu__logo img {
    max-height: 45px;
  }

  .cns__vm-card--highlight {
    transform: none;
  }
  .cns__vm-card--highlight:hover {
    transform: none;
  }
  .cns__vm-card {
    padding: 1.5rem 1.25rem;
  }
  .cns__vm-card__icon {
    width: 44px;
    height: 44px;
  }
  .cns__vm-card__title {
    font-size: 1.15rem;
  }

  .cns__achievements__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .cns__achievements__year {
    font-size: 1.5rem;
  }

  .cns__sysManager-slide__card {
    padding: 1rem;
  }

  /* ===== cns__contact-info ===== */
  .cns__contact-info__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cns__contact-info__card {
    padding: 1.25rem 1rem;
  }
  .cns__contact-info__title {
    font-size: 1rem;
  }
  .cns__contact-info__desc {
    font-size: 0.85rem;
  }
  .cns__contact-map {
    min-height: 300px;
  }
  .cns__contact-map__wrapper {
    min-height: 300px;
  }
  .cns__contact-map__iframe {
    min-height: 300px;
  }
  .cns__contact-map__iframe iframe {
    min-height: 300px;
  }
  .cns__contact-map__overlay {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1.5rem 1rem;
  }
  .cns__contact-map__form-box {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }
  .cns__contact-map__title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .cns__contact-map__btn {
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
  }

  /* ===== cns_block_memberList ===== */
  .cns_block_memberList__item {
    padding: 1rem;
  }
  .cns_block_memberList__item-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .cns_block_memberList__item-logo {
    width:100px;
    height:100px;
  }
  .cns_block_memberList__item-name {
    font-size: 0.95rem;
  }
  .cns_block_memberList__item-info {
    font-size: 0.8rem;
  }
  .cns_block_memberList__item-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  /* ===== cns_block_memberListHot ===== */
  .cns_block_memberListHot__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }
  .cns_block_memberListHot__item-logo {
     width:100px;
     height:100px;
  }
  .cns_block_memberListHot__item-name {
    font-size: 0.8rem;
  }
  .cns_block_memberListHot__item-info {
    font-size: 0.8rem;
    justify-content: center;
  }
}

@media (min-width: 440px) {
  .pn-list-product,.pn-posts-list,.grid-CoreValue{
    grid-gap:0.7rem;
  }
  .d-grid-post {
    grid-gap: 0.75rem;
  }
}
@media (min-width: 576px) {
    .grid-CoreValue{
         grid-template-columns: repeat(2, 1fr);
    }
    .pn-why__l-gird{
      grid-template-columns:repeat(2,1fr);
    }
    .pn-detail-story-gift__title{left:1rem;font-size:.95rem!important;}
}
/* ===== cns__fieldList Responsive ===== */
@media (max-width: 767px) {
  .cns__fieldList-item {
    padding: 2rem 0;
  }
  .cns__fieldList-item__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .cns__fieldList-item__icon {
    width: 32px;
    height: 32px;
  }
  .cns__fieldList-item__stat-number {
    font-size: 2.2rem;
  }
  .cns__fieldList-item__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cns__fieldList-item__btn {
    margin-left: 0;
  }
  .cns__fieldList-item__content {
    padding: 0;
  }
}

@media (min-width: 768px) {
  .rp-header{
    padding:10px 14px;
  }
  .cns_block_hdMenu__inner{
      padding: 0.2rem 0;
  }
  .cns__partnerHot-item__content{
    min-width:calc(100% - 200px);
  }
  .pn-heading-home{
     min-height:100vh;
  }

  .logo-cns {
    width: 8rem;
  }
  .cns__box_announcement{
  min-height:280px;
}
  .cns_about_his__year {
    font-size: 2.2rem;
  }
  .cns_about_his__img {
    height: 160px;
  }
    .sector-icon-badge { width:70px; height: 70px; top: -28px; padding: 6px; }
    .sector-title { font-size: 1rem;line-height:1.5;min-height:75px;}
    .sector-desc { font-size: 0.88rem; min-height:255px;}
    .sector-desc *{
      margin-bottom:0;
    }
    .sector-copy { padding: 52px 12px 16px; }
    .pn-list-product{
       grid-template-columns: repeat(3, 1fr);
       grid-gap:1rem;
    }
    .pn-posts-list{
      grid-gap:1rem;
      grid-template-columns: repeat(3, 1fr);
    }
    .d-grid-post {
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 1rem;
    }
    .d-grid-shareHolder {
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 1rem;
    }
     .card-von-dieu-le {
        padding: 28px 24px 32px;
        margin-bottom: 32px;
      }
      .stat-divider {
        margin: 0 8px;
      }
    .cns__footer__brand {
      text-align: left;
    }
    .cns__footer__col {
      padding-left: 0;
    }
    .cns__partnerLogo__icon {
      height: 90px;
    }
    .cns__partnerLogo__item {
      min-height: 140px;
    }
    .cns__companyProfile .cns-profile-number {
      font-size: 2.5rem;
    }
    .cns__companyProfile .cns-profile-icon {
      width: 64px;
      height: 64px;
    }
    .cns__b2b-step {
      padding: 0.75rem 1rem;
    }
    .cns__b2b-step-num {
      font-size: 1rem;
    }
    .cns__b2b-step-text {
      font-size: 0.95rem;
    }

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

    .cns__achievements__title {
      font-size: 1.8rem;
    }

    /* ===== cns__contact-info ===== */
    .cns__contact-info__grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .cns__contact-map {
      min-height: 450px;
    }
    .cns__contact-map__wrapper {
      min-height: 450px;
    }
    .cns__contact-map__iframe {
      min-height: 450px;
    }
    .cns__contact-map__iframe iframe {
      min-height: 450px;
    }
    .cns__contact-map__overlay {
      width: 50%;
      height: 100%;
      padding: 2rem;
    }
    .cns__contact-map__form-box {
      padding: 1rem 1.5rem;
      max-width: 480px;
    }
    .cns__contact-map__title {
      font-size: 1.35rem;
    }

    /* ===== cns_block_memberList ===== */
    .cns_block_memberList__item-logo {
      width: 150px;
      height: 150px;
    }
    .cns_block_memberList__item-name {
      font-size: 1rem;
    }

    /* ===== cns_block_memberListHot ===== */
    .cns_block_memberListHot__item-logo {
      width: 140px;
      height: 100%;
      min-height: 160px;
    }
    .cns_block_memberListHot__item-name {
      font-size: 0.8rem;
    }
    .row-banner{
      padding-top:50px;
      min-height:100vh;
    }
    .cns__overview{
      padding:10rem 0;
    }

}
@media (min-width: 992px) {
  .cns__fieldList-item__title {
    font-size: 1.8rem;
  }
  .cns__fieldList-item__stat-number {
    font-size: 3rem;
  }
  .cns_about_his__year {
    font-size: 2.5rem;
  }
  .cns_about_his__img {
    height: 180px;
  }
  .df-heading .nav{
    display:block;
  }
  .m-menu{
    display:none;
  }
  .logo img{
   max-width:12rem;
  }
  .select-lang{
     min-width:100px;
  }
  .d-hb{
    flex-direction:row;
  }
  .d-hb .left,.d-hb .right{
    width:50%;
    position:relative;
  }
  .d-hb .right{
    display:block;
  }
  .d-hb .left{
    display:flex;
    align-items:center;
    padding-right:8rem;
  }
  .d-hb .right .icon-sharking{
    position:absolute;
    left:-110px;
    top:calc(50% - 110px);
    width:220px;
    height:220px;
    cursor: pointer;
    transition: transform 2s ease-in-out;
  }
  .d-hb .right .icon-sharking img{
    border-radius:50%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  }

  a.logo{
    max-width:8rem;
  }
  :root{ --container-max-width:960px; }
  .grid-CoreValue{
     grid-template-columns: repeat(3, 1fr);
  }

  #nav_main > li {
    display: inline-block;
    padding: 0 1rem;
    position: relative;
  }

  #nav_main > li:first-child {
    padding-left: 0;
  }

  #nav_main > li > ul,
  #nav_main > li > ul > li > ul {
    position: absolute;
    background:var(--color-green);
    border-radius:0;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
  }

  #nav_main > li > ul {
    top: 100%;
    left: 0;
    min-width:300px;
    max-width: 1000px;
    transform: translateY(10px);
  }
  #nav_main > li.last-item > ul {
    right: 0;
    left: unset;
  }

  #nav_main > li > ul > li {
    position: relative;
    display: block;
  }

  #nav_main > li > ul > li > ul {
    top: 0;
    left: 100%;
    min-width: 200px;
    transform: translateX(10px);
  }
  #nav_main > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #nav_main li ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .pn-homeBanner{
    height:calc(50vh - 60px);
  }
  .flex-footer{
    flex-direction:row;
  }
  .flex-footer .left{
    width:30%;
  }
  .flex-footer .center{
    width:50%;
  }
  .flex-footer .right{
    width:20%;
  }
  .grecaptcha-badge{
    visibility:visible;
  }
  .cns__footer__brand {
    text-align: left;
  }
  .cns__footer__logo {
    max-width: 180px;
  }
  .cns__partnerLogo__icon {
    height: 100px;
  }
  .cns__partnerLogo__item {
    min-height: 150px;
  }
  .cns__partnerLogo__nav {
    width: 40px;
    height: 40px;
  }
  .cns__partnerLogo__nav--prev {
    left: -20px;
  }
  .cns__partnerLogo__nav--next {
    right: -20px;
  }

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

  .cns__achievements__title {
    font-size: 2rem;
  }

  /* ===== cns__contact-map ===== */
  .cns__contact-map {
    min-height: 500px;
  }
  .cns__contact-map__wrapper {
    min-height: 500px;
  }
  .cns__contact-map__iframe {
    min-height: 650px;
  }
  .cns__contact-map__iframe iframe {
    min-height: 650px;
  }
  .cns__contact-map__overlay {
    width: 50%;
    height: 100%;
    padding: 2rem;
  }
  .cns__contact-map__form-box {
    padding: 1.5rem 2rem;
    max-width: 520px;
  }
  .cns__contact-map__title {
    font-size: 1.5rem;
  }

  /* ===== cns_block_memberList ===== */
  .cns_block_memberList__item-name {
    font-size: 1.05rem;
  }

  /* ===== cns_block_memberListHot ===== */
  .cns_block_memberListHot__item-name {
    font-size: 1.05rem;
  }
}
@media (min-width: 1200px) {
  .pn-user-portal .container{
     max-width:1200px;
  }
  .cns__fieldList-item__title {
    font-size: 2rem;
  }
  .cns__fieldList-item__stat-number {
    font-size: 3rem;
  }
  .cns_about_his__year {
    font-size: 2.8rem;
  }
  .cns_about_his__img {
    height: 200px;
  }
  .pn-story-notify .container{
     max-width:1000px;
  }

  #nav_main > li > ul{
    padding:0.8rem 0.8rem;
  }
  :root { --container-max-width:96%;}
  .heading-main .container{
    max-width:96%;
  }
  .des_pageBanner{
    text-align:center;
  }
  .tit_pageBanner{
    font-size:1.6rem;
    text-align:center;
  }
  .tit_pageBanner.tit-detail{
    font-size:1.4rem;
  }
   .pn-list-product{
    grid-template-columns: repeat(4, 1fr);
  }
  .pn-posts-list{
      grid-template-columns: repeat(4, 1fr);
   }
   .d-grid-post {
      grid-template-columns: repeat(4, 1fr);
      grid-gap: 1.25rem;
   }
   .grid-CoreValue{
     grid-gap:1.2rem;
  }
  #nav_main > li {
    padding: 0 0.8rem;
  }
  .pn-homeBanner{
    height:calc(100vh - 60px);
    overflow: hidden;
  }
  .cns__footer__bottom-inner{
     flex-direction:row;
  }
  .cns__vm .container,.cns__message .container{
  max-width:1200px;
}
  .cns__achievements__title {
    font-size: 2.2rem;
  }

  /* ===== cns__contact-info ===== */
  .cns__contact-info__grid {
    gap: 1.5rem;
  }
  .cns__contact-map {
    min-height: 550px;
  }
  .cns__contact-map__wrapper {
    min-height: 550px;
  }
  .cns__contact-map__iframe {
    min-height: 650px;
  }
  .cns__contact-map__iframe iframe {
    min-height: 650px;
  }

  /* ===== cns_block_memberList ===== */
  .cns_block_memberList__item-name {
    font-size: 1.1rem;
  }

  /* ===== cns_block_memberListHot ===== */
  .cns_block_memberListHot__item-name {
    font-size: 0.9rem;
  }
}
@media (min-width: 1400px) {
  .cns_about_his__year {
    font-size: 3rem;
  }
  .cns_about_his__img {
    height: 220px;
  }
  .pn-product-detail .container{
   max-width:1200px;
}
  .heading-main .container{
    max-width:96%;
  }
  .root{--container-max-width: 1250px; }
  .pn-list-product,.pn-posts-list{
    grid-gap:1.2rem;
  }
   .grid-CoreValue{
     grid-gap:2rem;
  }
  .group-user .dropdown-menu{
     min-width:240px;
  }

}
@media (min-width: 1600px) {
  .cns__achievements .container-fluid{
     max-width:1600px;
  }
  .group-user .dropdown-menu{
     min-width:260px;
  }
  .grid-CoreValue{
     grid-gap:3rem;
  }
  :root{ --container-max-width: 1350px; }
  .tit_pageBanner{
    font-size:1.8rem;
  }
  .tit_pageBanner.tit-detail{
    font-size:1.6rem;
  }
  .pn-list-product,.pn-posts-list{
    grid-gap:1.5rem;
  }

  #nav_main > li > a {
    font-size: 1.1rem;
  }
  .cns_about_his__year {
    font-size: 3rem;
  }
  .cns_about_his__img {
    height: 240px;
  }
  .cns__model .container{
     max-width:1200px;
  }

}

/* ============================================
   Responsive CSS extracted from _header.php
   ============================================ */
@media (max-width: 1300px) {
   .cns_block_hdMenu__nav-item{
       padding: 0.5rem 0.15rem;
     }
}
/* ── Responsive: burger & drawer dưới 1099px ── */
@media (max-width: 1099px) {
    .burger-btn {
        display: flex;
    }
}

@media (min-width: 1100px) {
    .burger-btn {
        display: none !important;
    }

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

/* ── Search toggle mobile ── */
@media (max-width: 1099px) {


    .auction-table thead th {
        font-size: 16px;
        padding: 10px;
    }

    .auction-table tbody td {
        font-size: 14px;
        padding: 12px 10px;
    }

    .auction-title {
        gap: 10px;
    }

    .auction-icon {
        flex-basis: 30px;
        width: 30px;
    }

    .auction-icon img {
        width: 26px;
        height: 26px;
    }

    .search-toggle {
        display: flex;
    }

    #searchBox > form {
        display: none;
    }

    #searchBox.is-open > form {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 8px 12px;
        background: var(--color-1, #7b2d8b);
        z-index: 9997;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    #searchBox.is-open .input-group {
        flex: 1;
    }

      .industry-item {
    height: 270px;
  }

  .industry-col-40,
  .industry-col-30,
  .industry-col-50 {
    flex: 0 0 100%;
  }
}

/* ── Search Popup mobile ── */
@media (max-width: 576px) {
  .cns_sub__message_global {
    top: -1rem;
    right: -1rem;
    height: 60px;
}
  .cns_sub__message{
    padding-left:1rem;
    padding-right:3rem;
  }
  .cns_sub__message:before{
     display:none;
  }
   .industry-item {
    height: 230px;
  }

  .industry-title {
    font-size: 16px!important;
    min-height:unset;
    white-space: normal;  /* mobile: cho phép xuống dòng vì card đã full-width, đủ chỗ hơn */
  }

  .industry-content {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
   .auction-table thead {
        display: none;
    }

    .auction-table,
    .auction-table tbody,
    .auction-table tr {
        display: block;
        width: 100%;
    }

    .auction-table tr {
        margin-bottom:10px;
        padding:10px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .auction-table td {
        display: flex;
        width: 100%;
        height: auto;
        padding: 7px 0;
        text-align: left !important;
        border: 0;
    }



    .pn-story-notify_main:before{
       display:none;
    }
    .search-popup {
        width: 95%;
        padding: 16px;
    }
    .search-popup__form {
        flex-direction: column;
    }

    .search-popup__form input[type="search"],
    .search-popup__form button[type="submit"] {
        width: 100%;
    }
    .banner-header img{
       max-height: 80px;
       margin-top: -10px;
    }

}

/* Tôn trọng người dùng tắt hiệu ứng chuyển động */
@media (prefers-reduced-motion: reduce) {
  .industry-item > img {
    transition: none;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
