/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1777621459
Updated: 2026-05-01 14:44:19

*/

/* Google Fonts — load tất cả fonts dùng trong site */
@import url('https://fonts.googleapis.com/css2?family=Fahkwang:wght@300;400;500;600;700&family=Baloo+Bhai+2:wght@400;500;600&family=Baloo+Bhaina+2:wght@400;500;600;700&display=swap');

/* Smooth hide/show without changing header positioning */
.smart-header {
  will-change: transform;
  transform: translateZ(0); /* tránh chớp */
  transition: transform .55s cubic-bezier(.25,.8,.25,1);
}

.smart-header.is-hidden {
  transform: translateY(-110%); /* trượt lên nhẹ */
}

/* Khi đang mở overlay menu của bạn (roc-open), luôn hiển thị header */
body.roc-open .smart-header{
  transform: translateY(0) !important;
}

@media (max-width: 767px) {
  .smart-header {
    transform: translateY(-110%);
  }

  .smart-header:not(.is-hidden) {
    transform: translateY(0);
  }
}

/* màu nền noise gioi thieu phan khu hong phat*/
.hhc-bg-noise {
    background: 
        radial-gradient(ellipse 70% 50% at 50% 50%, #5a7040 0%, transparent 70%),
        linear-gradient(0deg, #233819 0%, #5E7143 50%, #4a5a35 100%);
    position: relative;
    isolation: isolate;
}

.hhc-bg-noise::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}
/* end màu nền noise gioi thieu phan khu hong phat*/

/* ============================================================
   SMART HEADER – Sang trọng hơn với glass effect
   ============================================================ */
.hhc-header-noise {
    background: radial-gradient(ellipse 63% 100% at 48% 0%, rgba(90,112,64,0.4) 0%, transparent 70%),
        linear-gradient(180deg, rgba(30,42,18,0.78) 0%, rgba(37,51,22,0.72) 100%);
    backdrop-filter: blur(24px) saturate(10.5);
    -webkit-backdrop-filter: blur(10px) saturate(1.5);
    border-bottom: 1px solid rgba(141, 151, 78, 0.25);
    position: relative;
    isolation: isolate;
}

/* Noise layer */
.hhc-header-noise::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* Đường kẻ vàng đồng mỏng phía trên – điểm nhấn cao cấp */
.hhc-header-noise::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,117,73,0.6) 30%, rgba(197,117,73,0.6) 70%, transparent);
    z-index: 1;
}

/* Nội dung trên lớp noise */
.hhc-header-noise > * {
    position: relative;
    z-index: 2;
}

/* Menu link text – sáng hơn, dễ đọc */
.hhc-header-noise .elementor-nav-menu a {
    /*color: rgba(255, 250, 234, 0.85) !important;*/
    letter-spacing: 0.08em;
    font-size: 13px;
    transition: color 0.3s ease;
}

.hhc-header-noise .elementor-nav-menu a:hover,
.hhc-header-noise .elementor-nav-menu .current-menu-item > a {
    color: #C57549 !important; /* warm accent khi hover/active */
}

/* ============================================================
   MOBILE – Fix trong suốt
   ============================================================ */
@media (max-width: 767px) {
    .hhc-header-noise {
        background:
            linear-gradient(180deg, rgba(30,42,18,0.95) 0%, rgba(37,51,22,0.92) 100%);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
}

/* ============================================================
   HHC MOBILE MENU – v3 (target đúng DOM thực tế)
   ============================================================ */

/* ------------------------------------------------------------
   1. TOGGLE BUTTON
   Trong DOM, toggle là <div class="elementor-menu-toggle">
   ------------------------------------------------------------ */
@media (max-width: 1024px) {

  .smart-header .elementor-menu-toggle,
  .hhc-header-noise .elementor-menu-toggle {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    cursor: pointer;
    color: transparent !important;
    box-shadow: none !important;
    transition: opacity 0.3s ease;
    z-index: 10000 !important;
  }

  .smart-header .elementor-menu-toggle:hover,
  .hhc-header-noise .elementor-menu-toggle:hover {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0.85;
  }

  /* Ẩn SVG icon mặc định */
  .smart-header .elementor-menu-toggle svg,
  .hhc-header-noise .elementor-menu-toggle svg,
  .smart-header .elementor-menu-toggle i,
  .hhc-header-noise .elementor-menu-toggle i {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* Hamburger lines */
  .smart-header .elementor-menu-toggle::before,
  .hhc-header-noise .elementor-menu-toggle::before {
    content: '' !important;
    position: absolute !important;
    top: 18px !important;
    left: 50% !important;
    width: 32px !important;
    height: 2px !important;
    background: #E8A96A !important;
    transform: translateX(-50%) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1px;
    display: block !important;
  }

  .smart-header .elementor-menu-toggle::after,
  .hhc-header-noise .elementor-menu-toggle::after {
    content: '' !important;
    position: absolute !important;
    bottom: 18px !important;
    right: 12px !important;
    width: 22px !important;
    height: 2px !important;
    background: #E8A96A !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1px;
    display: block !important;
  }

  /* Khi mở: dấu X */
  .smart-header .elementor-menu-toggle[aria-expanded="true"]::before,
  .hhc-header-noise .elementor-menu-toggle[aria-expanded="true"]::before {
    top: 50% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    background: #fffaea !important;
  }

  .smart-header .elementor-menu-toggle[aria-expanded="true"]::after,
  .hhc-header-noise .elementor-menu-toggle[aria-expanded="true"]::after {
    bottom: 50% !important;
    width: 32px !important;
    right: auto !important;
    left: 50% !important;
    transform: translate(-50%, 50%) rotate(-45deg) !important;
    background: #fffaea !important;
  }
}

/* ------------------------------------------------------------
   2. FULLSCREEN OVERLAY
   ------------------------------------------------------------ */
#hhc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(90, 112, 64, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, rgba(30, 42, 18, 0.98) 0%, rgba(37, 51, 22, 0.96) 100%);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition:
    opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 9998;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 32px 60px;
}

#hhc-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#hhc-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

#hhc-overlay::after {
  content: '';
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C57549, transparent);
}

/* ------------------------------------------------------------
   3. Menu list
   ------------------------------------------------------------ */
#hhc-overlay .hhc-overlay-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

#hhc-overlay .hhc-overlay-menu li {
  width: 100%;
  text-align: center;
  list-style: none !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#hhc-overlay.is-open .hhc-overlay-menu li {
  opacity: 1;
  transform: translateY(0);
}

#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(1) { transition-delay: 0.15s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(2) { transition-delay: 0.22s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(3) { transition-delay: 0.29s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(4) { transition-delay: 0.36s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(5) { transition-delay: 0.43s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(6) { transition-delay: 0.50s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(7) { transition-delay: 0.57s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(8) { transition-delay: 0.64s; }

#hhc-overlay .hhc-overlay-menu a {
  display: inline-block;
  font-family: 'Fahkwang', serif;
  font-weight: 300;
  font-size: 28px;
  /*color: rgba(255, 250, 234, 0.85);*/
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 24px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, letter-spacing 0.4s ease;
}

#hhc-overlay .hhc-overlay-menu a:hover,
#hhc-overlay .hhc-overlay-menu li.current-menu-item > a {
  color: #C57549;
  letter-spacing: 0.12em;
}

#hhc-overlay .hhc-overlay-menu a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 1px;
  background: #C57549;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#hhc-overlay .hhc-overlay-menu a:hover::after,
#hhc-overlay .hhc-overlay-menu li.current-menu-item > a::after {
  transform: translateX(-50%) scaleX(1);
}

@media (min-width: 768px) and (max-width: 1024px) {
  #hhc-overlay .hhc-overlay-menu a {
    font-size: 36px;
  }
}

/* ------------------------------------------------------------
   4. Body lock + ẩn dropdown gốc
   ------------------------------------------------------------ */
/* Khóa scroll triệt để khi overlay mở (fix iOS Safari) */
html.hhc-menu-open,
body.hhc-menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* Header luôn show khi overlay mở */
body.hhc-menu-open .smart-header,
html.hhc-menu-open .smart-header {
  transform: translateY(0) !important;
}

@media (max-width: 1024px) {
  .smart-header .elementor-nav-menu--dropdown,
  .hhc-header-noise .elementor-nav-menu--dropdown {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  #hhc-overlay {
    display: none !important;
  }
}

/***** css clide tien ich */
/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1777621459
Updated: 2026-05-01 14:44:19

*/

/* Smooth hide/show without changing header positioning */
.smart-header {
  will-change: transform;
  transform: translateZ(0); /* tránh chớp */
  transition: transform .55s cubic-bezier(.25,.8,.25,1);
}

.smart-header.is-hidden {
  transform: translateY(-110%); /* trượt lên nhẹ */
}

/* Khi đang mở overlay menu của bạn (roc-open), luôn hiển thị header */
body.roc-open .smart-header{
  transform: translateY(0) !important;
}

@media (max-width: 767px) {
  .smart-header {
    transform: translateY(-110%);
  }

  .smart-header:not(.is-hidden) {
    transform: translateY(0);
  }
}




/* màu nền noise gioi thieu phan khu hong phat*/
.hhc-bg-noise {
    background: 
        radial-gradient(ellipse 70% 50% at 50% 50%, #5a7040 0%, transparent 70%),
        linear-gradient(0deg, #233819 0%, #5E7143 50%, #4a5a35 100%);
    position: relative;
    isolation: isolate;
}

.hhc-bg-noise::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}
/* end màu nền noise gioi thieu phan khu hong phat*/

/* ============================================================
   SMART HEADER – Sang trọng hơn với glass effect
   ============================================================ */
.hhc-header-noise {
    background:
        radial-gradient(ellipse 60% 100% at 50% 0%, rgba(90,112,64,0.4) 0%, transparent 70%),
        linear-gradient(180deg, rgba(30,42,18,0.78) 0%, rgba(37,51,22,0.72) 100%);
    backdrop-filter: blur(10px) saturate(1.5);
    -webkit-backdrop-filter: blur(10px) saturate(1.5);
    border-bottom: 1px solid rgba(141, 151, 78, 0.25);
    position: relative;
    isolation: isolate;
}

/* Noise layer */
.hhc-header-noise::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* Đường kẻ vàng đồng mỏng phía trên – điểm nhấn cao cấp */
.hhc-header-noise::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,117,73,0.6) 30%, rgba(197,117,73,0.6) 70%, transparent);
    z-index: 1;
}

/* Nội dung trên lớp noise */
.hhc-header-noise > * {
    position: relative;
    z-index: 2;
}

/* Menu link text – sáng hơn, dễ đọc */
.hhc-header-noise .elementor-nav-menu a {
    /*color: rgba(255, 250, 234, 0.85) !important;*/
    letter-spacing: 0.08em;
    font-size: 13px;
    transition: color 0.3s ease;
}

.hhc-header-noise .elementor-nav-menu a:hover,
.hhc-header-noise .elementor-nav-menu .current-menu-item > a {
    color: #C57549 !important; /* warm accent khi hover/active */
}

/* ============================================================
   MOBILE – Fix trong suốt
   ============================================================ */
@media (max-width: 767px) {
    .hhc-header-noise {
        background:
            linear-gradient(180deg, rgba(30,42,18,0.95) 0%, rgba(37,51,22,0.92) 100%);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
}

/* ============================================================
   HHC MOBILE MENU – v3 (target đúng DOM thực tế)
   ============================================================ */

/* ------------------------------------------------------------
   1. TOGGLE BUTTON
   Trong DOM, toggle là <div class="elementor-menu-toggle">
   ------------------------------------------------------------ */
@media (max-width: 1024px) {

  .smart-header .elementor-menu-toggle,
  .hhc-header-noise .elementor-menu-toggle {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    cursor: pointer;
    color: transparent !important;
    box-shadow: none !important;
    transition: opacity 0.3s ease;
    z-index: 10000 !important;
  }

  .smart-header .elementor-menu-toggle:hover,
  .hhc-header-noise .elementor-menu-toggle:hover {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0.85;
  }

  /* Ẩn SVG icon mặc định */
  .smart-header .elementor-menu-toggle svg,
  .hhc-header-noise .elementor-menu-toggle svg,
  .smart-header .elementor-menu-toggle i,
  .hhc-header-noise .elementor-menu-toggle i {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* Hamburger lines */
  .smart-header .elementor-menu-toggle::before,
  .hhc-header-noise .elementor-menu-toggle::before {
    content: '' !important;
    position: absolute !important;
    top: 18px !important;
    left: 50% !important;
    width: 32px !important;
    height: 2px !important;
    background: #E8A96A !important;
    transform: translateX(-50%) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1px;
    display: block !important;
  }

  .smart-header .elementor-menu-toggle::after,
  .hhc-header-noise .elementor-menu-toggle::after {
    content: '' !important;
    position: absolute !important;
    bottom: 18px !important;
    right: 12px !important;
    width: 22px !important;
    height: 2px !important;
    background: #E8A96A !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1px;
    display: block !important;
  }

  /* Khi mở: dấu X */
  .smart-header .elementor-menu-toggle[aria-expanded="true"]::before,
  .hhc-header-noise .elementor-menu-toggle[aria-expanded="true"]::before {
    top: 50% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    background: #fffaea !important;
  }

  .smart-header .elementor-menu-toggle[aria-expanded="true"]::after,
  .hhc-header-noise .elementor-menu-toggle[aria-expanded="true"]::after {
    bottom: 50% !important;
    width: 32px !important;
    right: auto !important;
    left: 50% !important;
    transform: translate(-50%, 50%) rotate(-45deg) !important;
    background: #fffaea !important;
  }
}

/* ------------------------------------------------------------
   2. FULLSCREEN OVERLAY
   ------------------------------------------------------------ */
#hhc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(90, 112, 64, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, rgba(30, 42, 18, 0.98) 0%, rgba(37, 51, 22, 0.96) 100%);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition:
    opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 9998;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 32px 60px;
}

#hhc-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#hhc-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

#hhc-overlay::after {
  content: '';
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C57549, transparent);
}

/* ------------------------------------------------------------
   3. Menu list
   ------------------------------------------------------------ */
#hhc-overlay .hhc-overlay-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

#hhc-overlay .hhc-overlay-menu li {
  width: 100%;
  text-align: center;
  list-style: none !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#hhc-overlay.is-open .hhc-overlay-menu li {
  opacity: 1;
  transform: translateY(0);
}

#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(1) { transition-delay: 0.15s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(2) { transition-delay: 0.22s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(3) { transition-delay: 0.29s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(4) { transition-delay: 0.36s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(5) { transition-delay: 0.43s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(6) { transition-delay: 0.50s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(7) { transition-delay: 0.57s; }
#hhc-overlay.is-open .hhc-overlay-menu li:nth-child(8) { transition-delay: 0.64s; }

#hhc-overlay .hhc-overlay-menu a {
  display: inline-block;
  font-family: 'Fahkwang', serif;
  font-weight: 300;
  font-size: 28px;
  /*color: rgba(255, 250, 234, 0.85);*/
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 24px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, letter-spacing 0.4s ease;
}

#hhc-overlay .hhc-overlay-menu a:hover,
#hhc-overlay .hhc-overlay-menu li.current-menu-item > a {
  color: #C57549;
  letter-spacing: 0.12em;
}

#hhc-overlay .hhc-overlay-menu a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 1px;
  background: #C57549;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#hhc-overlay .hhc-overlay-menu a:hover::after,
#hhc-overlay .hhc-overlay-menu li.current-menu-item > a::after {
  transform: translateX(-50%) scaleX(1);
}

@media (min-width: 768px) and (max-width: 1024px) {
  #hhc-overlay .hhc-overlay-menu a {
    font-size: 36px;
  }
}

/* ------------------------------------------------------------
   4. Body lock + ẩn dropdown gốc
   ------------------------------------------------------------ */
/* Khóa scroll triệt để khi overlay mở (fix iOS Safari) */
html.hhc-menu-open,
body.hhc-menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* Header luôn show khi overlay mở */
body.hhc-menu-open .smart-header,
html.hhc-menu-open .smart-header {
  transform: translateY(0) !important;
}

@media (max-width: 1024px) {
  .smart-header .elementor-nav-menu--dropdown,
  .hhc-header-noise .elementor-nav-menu--dropdown {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  #hhc-overlay {
    display: none !important;
  }
}

/***** css clide tien ich */
/* =============================================
   TIỆN ÍCH SLIDER — Hồng Hạc City
   Add to: child-theme/style.css
   ============================================= */

/* ── Container ── */
.tienich-slider-section {
  position: relative;
  width: 100%;
}

.tienich-slider-container {
  position: relative;
  width: 100%;
  height: min(88vh, 820px);
  overflow: hidden;
  /* clip-path clamps 3D children — overflow:hidden alone cannot */
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}

/* ── Track ── */
.tienich-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Card base ──
   left: 42% + width 560px → left edge reaches the prev arrow at ~10px */
.tienich-card {
  position: absolute;
  top: 45%;
  left: 35%;
  width: 560px;
  height: 720px;
  margin-top: -330px;
  margin-left: -280px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  /* Hidden by default until JS assigns data-state */
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity   0.55s ease,
    visibility 0s linear 0.55s,
    box-shadow 0.55s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.tienich-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.tienich-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  transition: transform 0.5s ease;
}

.tienich-card[data-state="active"]:hover .tienich-card-inner img {
  transform: scale(1.04);
}

/* ── Card overlay ── */
.tienich-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 70px 22px 22px;
  background: linear-gradient(
    to top,
    rgba(8, 25, 8, 0.90) 0%,
    rgba(8, 25, 8, 0.42) 55%,
    transparent 100%
  );
  transition: opacity 0.4s ease;
}

.tienich-badge {
  display: inline-block;
  background: rgba(58, 138, 50, 0.95);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tienich-card-title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.tienich-card-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* ── Card states — STACKED DECK layout ──
   active: front-left, full size
   next1: behind-right, slightly smaller, ~40% visible
   next2: further behind-right, smaller, ~35% visible
   prev*: fade behind active (no off-screen slide, avoids wrong direction feel)
*/

/* Show visible states */
.tienich-card[data-state="active"],
.tienich-card[data-state="next1"],
.tienich-card[data-state="next2"],
.tienich-card[data-state="prev1"],
.tienich-card[data-state="prev2"] {
  visibility: visible;
  transition:
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity   0.55s ease,
    visibility 0s linear 0s,
    box-shadow 0.55s ease;
}

/* Front card — largest */
.tienich-card[data-state="active"] {
  transform: perspective(1200px) translateX(0) scale(1) rotateY(0deg);
  z-index: 5;
  opacity: 1;
  /* Soft diffuse shadow — NOT sharp */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 2px 8px  rgba(0, 0, 0, 0.10);
}

/* 2nd card — peeks right, ~40% visible */
.tienich-card[data-state="next1"] {
  transform: perspective(1200px) translateX(41%) scale(0.88) rotateY(-5deg);
  z-index: 4;
  opacity: 0.92;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.14),
    0 2px 6px  rgba(0, 0, 0, 0.08);
}

/* 3rd card — peeks further right, ~35% visible */
.tienich-card[data-state="next2"] {
  transform: perspective(1200px) translateX(73%) scale(0.76) rotateY(-9deg);
  z-index: 3;
  opacity: 0.80;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Prev cards: fade behind active (enables smooth backward navigation) */
.tienich-card[data-state="prev1"] {
  transform: perspective(1200px) translateX(-12%) scale(0.94) rotateY(3deg);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.tienich-card[data-state="prev2"] {
  transform: perspective(1200px) translateX(-22%) scale(0.88) rotateY(5deg);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.tienich-card[data-state="hidden"] {
  transform: perspective(1200px) translateX(-22%) scale(0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

/* ── Overlay visibility per state ── */
.tienich-card:not([data-state="active"]) .tienich-badge,
.tienich-card:not([data-state="active"]) .tienich-card-desc {
  display: none;
}

.tienich-card[data-state="next1"] .tienich-card-overlay {
  opacity: 0.9;
  padding-bottom: 16px;
}

.tienich-card[data-state="next2"] .tienich-card-overlay {
  opacity: 0.75;
  padding-bottom: 14px;
}

.tienich-card[data-state="prev1"] .tienich-card-overlay,
.tienich-card[data-state="prev2"] .tienich-card-overlay,
.tienich-card[data-state="hidden"] .tienich-card-overlay {
  opacity: 0;
}

/* Active entrance pop */
@keyframes tienichCardPop {
  0%   { transform: perspective(1200px) translateX(0) scale(0.93); }
  62%  { transform: perspective(1200px) translateX(0) scale(1.02); }
  100% { transform: perspective(1200px) translateX(0) scale(1); }
}

.tienich-card.is-entering[data-state="active"] {
  animation: tienichCardPop 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ── Navigation buttons ── */
.tienich-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgb(92 148 68);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  color: #ceffc8;
  padding: 0;
}

.tienich-nav:hover {
  background: #2e6817;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.26);
  transform: translateY(-50%) scale(1.08);
}

.tienich-nav:active {
  transform: translateY(-50%) scale(0.94);
}

.tienich-prev { left: 10px; }
.tienich-next { right: 10px; }

/* ── Progress ── */
.tienich-progress {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Current: nhỏ, mờ */
.tienich-progress-current {
  font-size: 30px;
  font-weight: 900;
  color: #c6f57a;
  min-width: 20px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Total: to, đậm */
.tienich-progress-total {
  font-size: 16px;
  font-weight: 500;
  color: #c6f57a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 40px;
}

.tienich-progress-bar {
  width: 180px;
  height: 3px;
  background: rgb(170 255 159 / 15%);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.tienich-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #b2f9ab, #5cb85c);
  border-radius: 3px;
  transition: width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 6.25%;
}

/* ─────────────────────────────────────────────
   LIGHTBOX GALLERY
   ───────────────────────────────────────────── */

.tienich-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tienich-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 4, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96vw;
  max-width: 1440px;
  max-height: 96vh;
}

/* Close button — fixed at top-right corner of viewport */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000001;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.70);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.25s ease, border-color 0.2s ease;
}

/* Force SVG size bất kể HTML attribute */
.lightbox-close svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.lightbox-close:hover {
  background: rgba(40, 40, 40, 0.90);
  border-color: #fff;
  transform: rotate(90deg) scale(1.1);
}

/* Main image area */
.lightbox-main-image {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #080f08;
  aspect-ratio: 16 / 9;
  max-height: 75vh;
}

.lightbox-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-main-image img.is-loading {
  opacity: 0;
  transform: scale(0.97);
}

/* Loader */
.lightbox-img-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-img-loader.visible { opacity: 1; }

.lightbox-img-loader.visible::after {
  content: '';
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #5cb85c;
  border-radius: 50%;
  animation: tienichSpin 0.7s linear infinite;
}

@keyframes tienichSpin {
  to { transform: rotate(360deg); }
}

/* Lightbox nav arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
  padding: 0;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* Info */
.lightbox-info {
  width: 100%;
  padding: 10px 4px 6px;
  text-align: center;
}

.lightbox-title {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 5px;
  letter-spacing: 0.4px;
}

.lightbox-desc-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin: 0 0 5px;
  line-height: 1.5;
}

.lightbox-counter {
  display: inline-block;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

/* Thumbnails */
.lightbox-thumbnails {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 4px 2px 4px;
  width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.lightbox-thumbnails::-webkit-scrollbar { height: 3px; }
.lightbox-thumbnails::-webkit-scrollbar-track { background: transparent; }
.lightbox-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.lightbox-thumb {
  flex: 0 0 88px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.42;
  /* background-color: dark placeholder — prevents pink/colored empty boxes */
  background: #1a2a1a;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 2px transparent;
}

.lightbox-thumb:hover {
  opacity: 0.75;
  transform: scale(1.04);
}

.lightbox-thumb.active {
  opacity: 1;
  box-shadow: 0 0 0 2px #5cb85c;
  transform: scale(1.06);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tienich-slider-container { height: min(84vh, 740px); }
  .tienich-card {
    width: 490px;
    height: 580px;
    margin-top: -290px;
    margin-left: -245px;
  }
}

@media (max-width: 768px) {
  .tienich-slider-container { height: min(78vh, 600px); }
  .tienich-card {
    left: 35%;
    width: 360px;
    height: 500px;
    margin-top: -250px;
    margin-left: -180px;
  }
  .tienich-card-title { font-size: 15px; }
  .tienich-progress-total-bar { width: 110px; }
  .tienich-progress-total { font-size: 24px; }
  .lightbox-main-image { aspect-ratio: 4/3; max-height: 52vh; }
  .lightbox-thumb { flex: 0 0 66px; height: 46px; }
  .lightbox-close { top: 16px; right: 16px; }
}

@media (max-width: 480px) {
  /* left: 38% → card edge chỉ lệch -2.5px, next2 center ~354px < 375px → vẫn thấy 3 card
     left: 30% cũ → text sát mép -1px
     left: 43%     → next2 center 380px > 375px → mất card 3  */
  .tienich-slider-container { height: min(72vh, 500px); }
  .tienich-card {
    left: 38%;
    width: 290px;
    height: 430px;
    margin-top: -215px;
    margin-left: -145px;
  }

  /* Overlay text: padding-left tăng để chữ không sát mép
     card edge -2.5px + padding 20px = text cách mép ~17px ✓ */
  .tienich-card-overlay {
    padding: 52px 16px 18px 20px;
  }
  .tienich-badge      { font-size: 9px; padding: 3px 10px; }
  .tienich-card-title { font-size: 14px; }
  .tienich-card-desc  { font-size: 12px; }

  .tienich-nav { width: 44px; height: 44px; }
  .tienich-progress-bar { width: 80px; }
  .tienich-progress-total { font-size: 20px; }

  /* Close button: KHÔNG thu nhỏ trên mobile — giữ nguyên 56px */
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-main-image { aspect-ratio: 3/4; max-height: 55vh; }
  .lightbox-thumb { flex: 0 0 58px; height: 42px; }
}

/* ================================================
   GRADIENT TEXT – "5S" | Hồng Hạc City
   Dùng cho text nổi bật trên nền xanh primary
   ================================================ */

.text-gradient-gold {
  background: linear-gradient(160deg, #fce982 0%, #e0b83c 40%, #8B6914 100%);
  
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
/* ================================================
   GRADIENT TEXT – Gold Kim Loại | 3 Điểm Sáng
   Không animation | style.css
   ================================================ */

.text-gradient-gold-luxury {
  background: linear-gradient(
    170deg,
    #B8820A  0%,    /* bớt tối hơn trước */
    #D4A820  8%,
    #F0CC5A  15%,
    #FFFBE0  20%,   /* ✦ điểm sáng 1 */
    #F5D84A  25%,
    #E0B830  33%,   /* nâng sáng – bỏ #A07010 tối */
    #D4A820  40%,
    #ECC840  47%,
    #F8E070  53%,
    #FFFBE0  58%,   /* ✦ điểm sáng 2 */
    #F5D84A  63%,
    #E0B830  70%,   /* nâng sáng */
    #D4A820  76%,
    #ECC840  82%,
    #F5D84A  88%,
    #FFFBE0  93%,   /* ✦ điểm sáng 3 */
    #D4A820  96%,
    #A07818  100%   /* bớt tối hơn trước */
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
/* test header vi tri*/
.text-gradient-copper {
  background: linear-gradient(
    180deg,
    #C47830  0%,    /* bắt đầu bằng gold đồng */
    #D4904A  12%,
    #E8AA60  22%,   /* ✦ sáng 1 */
    #D89050  32%,
    #C47830  42%,
    #D4904A  52%,
    #EAB870  60%,   /* ✦ sáng 2 */
    #D49048  70%,
    #C47830  80%,
    #D8A050  90%,
    #C07828  100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.text-gradient-green {
  background: linear-gradient(
    180deg,
    #E2FBCE  0%,
    #d4f5a0  12%,
    #c8ee70  22%,
    #E3EF26  35%,   /* ✦ vàng chanh rực */
    #b8d820  48%,
    #7ab818  58%,
    #4a9020  68%,
    #286838  78%,
    #107050  88%,
    #076653  100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
/* =================================================================
   SECTION "THIẾT KẾ" — Phân khu Hồng Phát
   Luxury 2-column layout: content left · gallery right
   ================================================================= */

/* ── Section wrapper ─────────────────────────────────────────── */
.hk-thietke-section {
  background: #f7f2e8;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}

/* Warm-gold accent line at top */
.hk-thietke-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C57549 40%, #C57549 60%, transparent);
}

/* Subtle noise texture */
.hk-thietke-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hk-thietke-section > * { position: relative; z-index: 1; }

/* ── Two-column container ────────────────────────────────────── */
.hk-thietke-container {
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
}

.hk-thietke-left {
  flex: 0 0 40%;
  max-width: 500px;
}

.hk-thietke-right {
  flex: 1;
  min-width: 0;
}

/* ── Left column — content ───────────────────────────────────── */

/* Eyebrow label */
.hk-thietke-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hk-thietke-eyebrow::before {
  content: '';
  flex-shrink: 0;
  display: block;
  width: 36px;
  height: 1px;
  background: #C57549;
}

.hk-thietke-eyebrow span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C57549;
}

/* Main heading */
.hk-thietke-h2 {
  font-size: 42px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.18;
  color: #1a2c08;
  margin: 0 0 28px;
  letter-spacing: -0.5px;
}

/* Thin divider below heading */
.hk-thietke-rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(to right, #C57549, rgba(197,117,73,0.15));
  border-radius: 2px;
  margin: 0 0 24px;
}

/* Body text */
.hk-thietke-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: #4a3d28;
  margin: 0 0 36px;
}

/* Architecture style chips */
.hk-thietke-styles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.hk-thietke-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 30px;
  border: 1px solid rgba(197,117,73,0.4);
  background: rgba(197,117,73,0.06);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #7a5530;
  white-space: nowrap;
}

.hk-thietke-chip::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C57549;
  flex-shrink: 0;
}

/* CTA button */
.hk-thietke-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a2c08;
  color: #f5f0e0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
}

.hk-thietke-cta svg {
  transition: transform 0.3s;
}

.hk-thietke-cta:hover {
  background: #C57549;
  transform: translateX(4px);
  box-shadow: 0 10px 30px rgba(197,117,73,0.38);
}

.hk-thietke-cta:hover svg {
  transform: translateX(4px);
}


/* =================================================================
   GALLERY WIDGET — .hkgal
   ================================================================= */

.hkgal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  /* Isolate font & box-sizing from Elementor */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
}

.hkgal *, .hkgal *::before, .hkgal *::after {
  box-sizing: border-box;
}

/* ── Top bar ─────────────────────────────────────────────────── */
.hkgal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Category tabs */
.hkgal-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.hkgal-tab {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9a896a;
  padding: 7px 15px;
  border-radius: 30px;
  transition: background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
  line-height: 1;
}

.hkgal-tab:hover {
  color: #1a2c08;
  background: rgba(26,44,8, 0.07);
}

.hkgal-tab.is-active {
  background: #1a2c08;
  color: #f5f0e0;
}

/* Counter */
.hkgal-counter {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.hkgal-counter #hkGalCur {
  font-size: 28px;
  font-weight: 900;
  color: #1a2c08;
  line-height: 1;
}

.hkgal-sep {
  font-size: 13px;
  color: #bbb09a;
}

.hkgal-counter #hkGalTot {
  font-size: 13px;
  color: #9a896a;
}

/* ── Hero image area ─────────────────────────────────────────── */
.hkgal-hero {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #1a2c08;
  /* Architecture renders are landscape — 16:10 shows detail well */
  aspect-ratio: 16 / 10;
  /*box-shadow:
    0 24px 64px rgba(26, 44, 8, 0.22),
    0 6px 16px  rgba(26, 44, 8, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.06);*/
  /* Prepare for transform on hover */
  /*transition: box-shadow 0.4s ease;*/
}

.hkgal-hero:hover {
  box-shadow:
    0 32px 80px rgba(26, 44, 8, 0.28),
    0 8px 24px  rgba(26, 44, 8, 0.14);
}

/* Image layers (A / B for crossfade) */
.hkgal-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* z-index set by JS */
}

.hkgal-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Grain texture overlay — refined feel */
.hkgal-hero .hkgal-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}

/* Bottom gradient + info overlay */
.hkgal-hero-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  padding: 90px 22px 22px;
  background: linear-gradient(
    to top,
    rgba(6, 16, 3, 0.88) 0%,
    rgba(6, 16, 3, 0.38) 55%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.hkgal-badge {
  display: inline-block;
  background: rgba(197, 117, 73, 0.94);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hkgal-name {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Expand / fullscreen button (top-right, appears on hover) */
.hkgal-expand {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 6;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
}

.hkgal-hero:hover .hkgal-expand {
  opacity: 1;
}

.hkgal-expand:hover {
  background: rgba(0,0,0,0.62);
  transform: scale(1.1);
}

/* Prev / next arrows (appear on hover) */
.hkgal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.32);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  padding: 0;
}

.hkgal-hero:hover .hkgal-arrow {
  opacity: 1;
}

.hkgal-arrow:hover {
  background: rgba(255,255,255,0.26);
  transform: translateY(-50%) scale(1.1);
}

.hkgal-arrow--prev { left: 14px; }
.hkgal-arrow--next { right: 14px; }

/* ── Film strip ──────────────────────────────────────────────── */
.hkgal-filmstrip-wrap {
  width: 100%;
  overflow: hidden; /* mask the scrollbar */
}

.hkgal-filmstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: default;
}

.hkgal-filmstrip::-webkit-scrollbar { display: none; }

.hkgal-thumb {
  flex: 0 0 92px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #ccc8bb;
  opacity: 0.42;
  padding: 0;
  transition:
    opacity    0.25s ease,
    transform  0.28s cubic-bezier(0.34,1.56,0.64,1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hkgal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hkgal-thumb:hover {
  opacity: 0.76;
  transform: translateY(-3px) scale(1.04);
}

.hkgal-thumb.is-active {
  opacity: 1;
  border-color: #C57549;
  box-shadow: 0 6px 18px rgba(197,117,73,0.40);
  transform: translateY(-4px) scale(1.06);
}


/* =================================================================
   LIGHTBOX
   ================================================================= */

.hkgal-lb {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hkgal-lb.is-open {
  opacity: 1;
  pointer-events: all;
}

.hkgal-lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 3, 0.96);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.hkgal-lb-body {
  position: relative;
  z-index: 1;
  width: 96vw;
  max-width: 1440px;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Close button — fixed viewport corner */
.hkgal-lb-close {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 1000001;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(10,10,10,0.60);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.28s, border-color 0.2s;
  padding: 0;
}

.hkgal-lb-close:hover {
  background: rgba(40,40,40,0.88);
  border-color: #fff;
  transform: rotate(90deg) scale(1.12);
}

/* Main image */
.hkgal-lb-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #060f04;
  aspect-ratio: 16 / 9;
  max-height: 74vh;
}

.hkgal-lb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.hkgal-lb-img-wrap img.is-loading {
  opacity: 0;
  transform: scale(0.97);
}

/* Loader spinner */
.hkgal-lb-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hkgal-lb-loader.is-visible { opacity: 1; }

.hkgal-lb-loader.is-visible::after {
  content: '';
  width: 34px; height: 34px;
  border: 3px solid rgba(255,255,255,0.10);
  border-top-color: #C57549;
  border-radius: 50%;
  animation: hkSpin 0.7s linear infinite;
}

@keyframes hkSpin { to { transform: rotate(360deg); } }

/* Lightbox navigation */
.hkgal-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.hkgal-lb-nav:hover {
  background: rgba(255,255,255,0.26);
  transform: translateY(-50%) scale(1.1);
}

.hkgal-lb-prev { left: 12px; }
.hkgal-lb-next { right: 12px; }

/* Meta info */
.hkgal-lb-meta {
  text-align: center;
  padding: 2px 0 0;
}

.hkgal-lb-type {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #C57549;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.hkgal-lb-title {
  color: #f5f0e0;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 5px;
  letter-spacing: 0.3px;
}

.hkgal-lb-cnt {
  display: inline-block;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

/* Thumbnail strip */
.hkgal-lb-thumbs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  width: 100%;
  padding: 2px 4px 6px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}

.hkgal-lb-thumbs::-webkit-scrollbar { height: 3px; }
.hkgal-lb-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.hkgal-lb-thumb {
  flex: 0 0 90px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #182a10;
  opacity: 0.40;
  border: 2px solid transparent;
  padding: 0;
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hkgal-lb-thumb:hover {
  opacity: 0.72;
  transform: scale(1.05);
}

.hkgal-lb-thumb.is-active {
  opacity: 1;
  border-color: #C57549;
  box-shadow: 0 0 0 3px rgba(197,117,73,0.30);
  transform: scale(1.07);
}

.hkgal-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}


/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 1200px) {
  .hk-thietke-container { gap: 48px; padding: 0 32px; }
  .hk-thietke-h2 { font-size: 36px; }
}

@media (max-width: 1024px) {
  .hk-thietke-container { gap: 36px; padding: 0 24px; }
  .hk-thietke-h2 { font-size: 32px; }
  .hk-thietke-left { flex: 0 0 44%; }
  .hkgal-hero { aspect-ratio: 4/3; border-radius: 16px; }
}

@media (max-width: 768px) {
  .hk-thietke-section { padding: 60px 0 80px; }
  .hk-thietke-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 18px;
  }
  .hk-thietke-left {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
  .hk-thietke-right { width: 100%; }
  .hk-thietke-h2 { font-size: 28px; }
  .hk-thietke-body { font-size: 14.5px; }

  /* Always show arrows on mobile (no hover) */
  .hkgal-arrow { opacity: 1; }
  .hkgal-expand { opacity: 1; }

  .hkgal-hero { border-radius: 14px; }
  .hkgal-thumb { flex: 0 0 74px; height: 52px; }
  .hkgal-lb-img-wrap { aspect-ratio: 4/3; max-height: 52vh; }
  .hkgal-lb-thumb { flex: 0 0 68px; height: 48px; }
  .hkgal-lb-close { top: 14px; right: 14px; }
}

@media (max-width: 480px) {
  .hk-thietke-section { padding: 48px 0 64px; }
  .hk-thietke-h2 { font-size: 24px; }
  .hk-thietke-styles { gap: 8px; }

  .hkgal-tab { font-size: 10.5px; padding: 6px 11px; }
  .hkgal-counter #hkGalCur { font-size: 22px; }
  .hkgal-thumb { flex: 0 0 62px; height: 44px; border-radius: 8px; }

  .hkgal-arrow { width: 40px; height: 40px; }
  .hkgal-arrow--prev { left: 8px; }
  .hkgal-arrow--next { right: 8px; }

  .hkgal-lb-nav { width: 42px; height: 42px; }
  .hkgal-lb-img-wrap { aspect-ratio: 3/4; max-height: 56vh; }
  .hkgal-lb-thumb { flex: 0 0 58px; height: 42px; }
}



/* ── CSS Variables ───────────────────────────────────────────── */
#cnews-section,
.cnews-section {
  --cn-red    : #8B1A1A;
  --cn-gold   : #C8943F;
  --cn-gold-lt: #E8B96A;
  --cn-cream  : #FFFDF7;
  --cn-ink    : #1A1008;
  --cn-text   : #3D2B1F;
  --cn-muted  : #8A7060;
  --cn-radius : 16px;
  --cn-gap    : 28px;
}

/* ================================================================
   SECTION WRAPPER
   ================================================================ */
.cnews-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

/* Padding bên trong section */
.cnews-section > * {
  padding: 28px 28px 32px;
}

#cnews-section {
  padding: 28px 28px 32px;
}

/* ── Trạng thái loading ── */
#cnews-section[aria-busy="true"] {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#cnews-section[aria-busy="true"]::after {
  content: '';
  display: block;
  width: 36px;
  height: 36px;
  border: 3px solid #e5d8c8;
  border-top-color: var(--cn-gold);
  border-radius: 50%;
  animation: cnews-spin 0.7s linear infinite;
}
@keyframes cnews-spin { to { transform: rotate(360deg); } }

.cnews-empty,
.cnews-error {
  text-align: center;
  padding: 48px 0;
  color: var(--cn-muted);
  font-family: 'Baloo Bhaina 2', sans-serif;
  font-size: 15px;
}

/* ── Inner wrapper ── */
.cnews-inner {
  display: flex;
  flex-direction: column;
  gap: var(--cn-gap);
  width: 100%;
}

/* ── Bỏ gạch chân toàn bộ link trong section ── */
.cnews-section a,
#cnews-section a {
  text-decoration: none !important;
  color: inherit;
}

/* ── Placeholder không có ảnh ── */
.cnews-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8d8c0 0%, #d4b896 100%);
}

/* ================================================================
   SVG FONT FIX — mobile strict parser không đọc được
   font-family="'Baloo Bhai 2'" (nháy đơn lồng trong XML attribute)
   CSS override thắng SVG presentation attribute → fix không cần sửa SVG
   ================================================================ */
svg text[font-family*="Baloo"] {
  font-family: 'Baloo Bhai 2', sans-serif;
}
svg text[font-family*="Fahkwang"] {
  font-family: 'Fahkwang', serif;
}
/* ================================================================
   FEATURED POST  —  tin mới nhất nổi bật
   ================================================================ */
.cnews-featured {
  display: flex;
  align-items: stretch;
  gap: 36px;
  background: #fff;
  border-radius: var(--cn-radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(139,26,26,0.06);
  /* Viền trái vàng son — điểm nhấn văn hóa */
  border-left: 4px solid var(--cn-gold);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cnews-featured:hover {
  box-shadow: 0 8px 32px rgba(200,148,63,0.18);
  transform: translateY(-2px);
}

/* ── Ảnh featured (bên trái) ── */
.cnews-featured__thumb {
  flex: 0 0 52%;
  max-width: 52%;
  /* 16/9 → hình thấp hơn 4/3 */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8d8c0;
  /* Không border-radius thêm — inherit từ container */
}

.cnews-featured__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cnews-featured:hover .cnews-featured__thumb img {
  transform: scale(1.04);
}

/* ── Nội dung featured (bên phải) ── */
.cnews-featured__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 28px 4px;
  min-width: 0;
  justify-content: center;
}

/* Tiêu đề featured — font Fahkwang */
.cnews-featured__title {
  font-family: 'Fahkwang', serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--cn-ink);
  margin: 0;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Excerpt — font Baloo Bhaina 2 */
.cnews-featured__excerpt {
  font-family: 'Baloo Bhaina 2', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--cn-muted);
  margin: 0;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================================
   DIVIDER HOA VĂN DÂN GIAN
   ================================================================ */
.cnews-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.cnews-divider svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

/* ================================================================
   GRID CARDS  —  3 bài nhỏ
   ================================================================ */
.cnews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cnews-grid__item {
  display: flex;
}

.cnews-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  background: #fff;
  border-radius: var(--cn-radius);
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(139,26,26,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cnews-card:hover {
  box-shadow: 0 6px 24px rgba(200,148,63,0.16);
  transform: translateY(-3px);
}

/* ── Ảnh card ── */
.cnews-card__thumb {
  position: relative;
  overflow: hidden;
  background: #e8d8c0;
  /* Chiều cao được JS đồng bộ = 1/2 ảnh featured */
  /* Fallback CSS aspect-ratio nếu JS chưa chạy */
  aspect-ratio: 16 / 8;
  flex-shrink: 0;
}

.cnews-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cnews-card:hover .cnews-card__thumb img {
  transform: scale(1.06);
}

/* ── Tiêu đề card — font Fahkwang ── */
.cnews-card__title {
  font-family: 'Fahkwang', serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--cn-ink);
  margin: 0;
  padding: 0 14px 16px;
  transition: color 0.2s;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cnews-card:hover .cnews-card__title {
  color: var(--cn-red);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media ( max-width: 1024px ) {
  .cnews-featured__thumb {
    flex: 0 0 48%;
    max-width: 48%;
  }
  .cnews-featured {
    gap: 24px;
  }
}

/* ================================================================
   MOBILE  ≤ 768px  —  Dạng LIST: thumbnail trái · title phải
   ================================================================ */
@media ( max-width: 768px ) {

  #cnews-section {
    padding: 16px 14px 20px;
  }

  .cnews-inner {
    gap: 14px;
  }

  /* ── Featured: giữ row, thu nhỏ thumbnail ── */
  .cnews-featured {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    border-left: 4px solid var(--cn-gold);
    border-top: none;
  }

  .cnews-featured__thumb {
    flex: 0 0 130px;
    width: 130px;
    max-width: 130px;
    aspect-ratio: auto;
    /* chiều cao kéo dài theo card */
    align-self: stretch;
    border-radius: 0;
  }

  .cnews-featured__body {
    flex: 1;
    padding: 14px 14px 14px 16px;
    gap: 8px;
    justify-content: center;
  }

  .cnews-featured__title {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  .cnews-featured__excerpt {
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }

  /* ── Grid: 1 cột dọc dạng list ── */
  .cnews-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cnews-grid__item {
    width: 100%;
  }

  /* ── Card: row — thumbnail trái, title phải ── */
  .cnews-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 12px;
    gap: 0;
  }

  .cnews-card__thumb {
    flex: 0 0 100px !important;
    width: 100px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    align-self: stretch;
    border-radius: 0;
  }

  .cnews-card__thumb img {
    height: 100%;
  }

  .cnews-card__title {
    flex: 1;
    align-self: center;
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
  }
}

/* ================================================================
   MOBILE NHỎ  ≤ 480px
   ================================================================ */
@media ( max-width: 480px ) {

  .cnews-featured__thumb {
    flex: 0 0 110px;
    width: 110px;
    max-width: 110px;
  }

  .cnews-featured__body {
    padding: 12px 12px 12px 14px;
  }

  .cnews-featured__title {
    font-size: 14px;
  }

  .cnews-featured__excerpt {
    display: none; /* ẩn excerpt trên màn rất nhỏ */
  }

  .cnews-card__thumb {
    flex: 0 0 88px !important;
    width: 88px !important;
  }

  .cnews-card__title {
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* ── MAP SVG ANIMATION ── */
#line1 {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 28 13;
  animation: moveDash 2s linear infinite;
}
#line2 {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 28 13;
  animation: moveDash 2.6s linear infinite;
}
#line3 {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 28 13;
  animation: moveDash 1.8s linear infinite;
}
@keyframes moveDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -41; }
}

.pin-group {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: pinBounce 2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}
@keyframes pinBounce {
  0%   { transform: translateY(0px); }
  18%  { transform: translateY(-32px); }
  36%  { transform: translateY(0px); }
  50%  { transform: translateY(-14px); }
  64%  { transform: translateY(0px); }
  76%  { transform: translateY(-5px); }
  88%  { transform: translateY(0px); }
  100% { transform: translateY(0px); }
}

.pin-light {
  animation: shimmerSlide 2.4s ease-in-out infinite;
}
@keyframes shimmerSlide {
  0%   { transform: translateX(-220px) skewX(-15deg); opacity: 0; }
  20%  { opacity: 0; }
  35%  { opacity: 1; }
  55%  { opacity: 1; }
  70%  { opacity: 0; }
  100% { transform: translateX(420px) skewX(-15deg); opacity: 0; }
}
/* ============================================
   HHC MENU — Style cho active item theo scroll
   ============================================ */

/* Active state tự kiểm soát bằng JS */
.elementor-nav-menu .hhc-menu-active > a,
.elementor-nav-menu .hhc-menu-active > a:hover {
    color: var(--hhc-secondary) !important;
    border-bottom: 2px solid var(--hhc-accent) !important;
    background: transparent !important;
}
/* CTA*/
/* Floating CTA */
.floating-cta{
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;
}

/* Base Button */
.floating-cta .cta-btn{
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: 50px;
    padding: 0 20px;

    border-radius: 16px;

    text-decoration: none;
    color: #fff;

    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* TƯ VẤN + MẶT BẰNG */
.floating-cta .cta-consult,
.floating-cta .cta-layout{

    background: linear-gradient(
        135deg,
        #7A2F0B 0%,
        #A84416 35%,
        #CA794D 100%
    );

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow:
        0 8px 24px rgba(118,55,17,0.28),
        inset 0 1px 1px rgba(255,255,255,0.18),
        inset 0 -2px 4px rgba(0,0,0,0.12);
}

/* 360 */
.floating-cta .cta-360{
    width: 50px;
    min-width: 50px;
    padding: 0;

    background: linear-gradient(
        145deg,
        #FFF8EE 0%,
        #F6E7D2 45%,
        #EED3B2 100%
    );

    border: 1px solid rgba(255,255,255,0.7);

    box-shadow:
        0 6px 18px rgba(118,55,17,0.18),
        inset 0 2px 3px rgba(255,255,255,0.75),
        inset 0 -2px 4px rgba(202,121,77,0.12);
}

/* Shine */
.floating-cta .cta-btn::before{
    content: "";
    position: absolute;
    top: -120%;
    left: -60%;

    width: 42%;
    height: 300%;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0) 100%
    );

    transform: rotate(25deg);
    animation: shineMove 3.8s infinite;
}

/* Hover */
.floating-cta .cta-btn:hover{
    transform: translateY(-3px);

    box-shadow:
        0 10px 28px rgba(118,55,17,0.35),
        0 0 14px rgba(202,121,77,0.3);
}

/* Icon */
.floating-cta .cta-icon{
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* 360 icon */
.floating-cta .icon-360{
    width: 48px;
    height: 48px;
    object-fit: contain;

    filter:
        drop-shadow(0 1px 2px rgba(118,55,17,0.15));
}

/* Text */
.floating-cta .cta-text{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Animation */
@keyframes shineMove{
    0%{
        left: -60%;
    }
    100%{
        left: 160%;
    }
}

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

    .floating-cta{
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .floating-cta .cta-btn{
        height: 44px;
        border-radius: 14px;
    }

    .floating-cta .cta-consult,
    .floating-cta .cta-layout{
        padding: 0 16px;
    }

    .floating-cta .cta-360{
        width: 44px;
        min-width: 44px;
    }

    .floating-cta .cta-text{
        font-size: 12px;
    }
}

/* ============================================
   HHC MENU MOBILE — Fix màu chữ (overlay menu)
   Selector lấy từ DevTools: #hhc-overlay .hhc-overlay-menu a
   ============================================ */

/* Màu mặc định: trắng */
#hhc-overlay .hhc-overlay-menu a,
#hhc-overlay .hhc-overlay-menu .elementor-item {
    color: #ffffff !important;
}

/* Hover */
#hhc-overlay .hhc-overlay-menu a:hover,
#hhc-overlay .hhc-overlay-menu .elementor-item:hover {
    color: #d4b483 !important; /* vàng nhẹ */
}

/* Active theo scroll (class do JS gán) */
#hhc-overlay .hhc-overlay-menu .hhc-menu-active > a {
    color: #d4b483 !important;
}