/*
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&amp;family=Baloo+Bhai+2:wght@400;500;600&amp;family=Baloo+Bhaina+2:wght@400;500;600;700&amp;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: 20px;
  /*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: 28px;
  }
}

/* ------------------------------------------------------------
   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: 20px;
  /*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: 0.7vw;
  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, 1.2vw);
  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: 1vw;
  font-weight: 400;
  line-height: 1.2;
  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: 0.9vw;
  font-weight: 600;
  line-height: 1.45;
  color: var(--cn-ink);
  margin: 0;
  padding: 0 14px 65px;
  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 3 nút*/
/* =========================================
   CTA CLEAN LUXURY VERSION
========================================= */

.floating-cta{
    position: fixed;

    right: clamp(12px, .9vw, 24px);
    bottom: clamp(12px, .9vw, 24px);

    z-index: 99999;

    display: flex;
    align-items: center;

    gap: clamp(6px, .45vw, 12px);
}

/* BUTTON */

.floating-cta .cta-btn{

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(6px, .45vw, 10px);

    height: clamp(40px, 2.3vw, 58px);

    padding: 0 clamp(14px, 1vw, 24px);

    border-radius: clamp(12px, .8vw, 18px);

    text-decoration: none;
    color: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* CONSULT + LAYOUT */

.floating-cta .cta-consult,
.floating-cta .cta-layout{

    background:
        linear-gradient(
            135deg,
            #8C3A08 0%,
            #B95B22 45%,
            #D48B58 100%
        );

    border: 1px solid rgba(255,255,255,.14);

    box-shadow:
        0 4px 14px rgba(118,55,17,.18),
        inset 0 1px 1px rgba(255,255,255,.12);
}

/* 360 BUTTON */

.floating-cta .cta-360{

    width: clamp(40px, 2.5vw, 58px);
    min-width: clamp(40px, 2.5vw, 58px);

    padding: 0;

    background:
        linear-gradient(
            145deg,
            #FFF9F1 0%,
            #F7E6D0 100%
        );

    border: 1px solid rgba(255,255,255,.75);

    box-shadow:
        0 4px 14px rgba(118,55,17,.12),
        inset 0 2px 2px rgba(255,255,255,.65);
}

/* HOVER */

.floating-cta .cta-btn:hover{

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(118,55,17,.22);
}

/* ICON */

.floating-cta .cta-icon{

    width: clamp(15px, 1vw, 22px);
    height: clamp(15px, 1vw, 22px);

    flex-shrink: 0;
}

/* 360 ICON */

.floating-cta .icon-360{

    width: clamp(18px, 1.3vw, 28px);
    height: clamp(18px, 1.3vw, 28px);

    object-fit: contain;

    transform: scale(1.65);
}

/* TEXT */

.floating-cta .cta-text{

    font-size: clamp(10px, .7vw, 15px);

    font-weight: 700;

    letter-spacing: .06em;

    white-space: nowrap;
}

/* SHINE */

.floating-cta .cta-btn::before{

    content: "";

    position: absolute;

    top: -120%;
    left: -60%;

    width: 36%;
    height: 280%;

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

    transform: rotate(25deg);

    animation: shineMove 4.2s infinite;
}

@keyframes shineMove{

    0%{
        left: -60%;
    }

    100%{
        left: 160%;
    }
}
/* =========================================
   4K / UHD SCALE UP
========================================= */
@media screen and (min-width:2560px){

    .form-grid {
        max-width:1140PX;
    }

}

@media (min-width: 3000px){

    .floating-cta{
        gap: 18px;
    }

    .floating-cta .cta-btn{

        height: 86px;

        padding: 0 38px;

        border-radius: 24px;

        gap: 16px;
    }

    /* TEXT */

    .floating-cta .cta-text{

        font-size: 24px;

        letter-spacing: .08em;
    }

    /* ICON */

    .floating-cta .cta-icon{

        width: 34px;
        height: 34px;
    }

    /* 360 BUTTON */

    .floating-cta .cta-360{

        width: 88px;
        min-width: 88px;
    }

    /* 360 ICON */

    .floating-cta .icon-360{

        width: 58px;
        height: 58px;

        transform: scale(8);
    }
	.elementor-1389 .elementor-element.elementor-element-0c680c2 img {
    width: 8vw;
    max-width: 140px;
    height: 6.3em;
}
}
/* end cta*/

/* ============================================
   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;
}

/* =========================================
   CONTACT FORM 7 - CLEAN FULL WIDTH
========================================= */

/* FORM */

.wpcf7{
    width: 100%;
}

.wpcf7 form{

    width: 100%;
    max-width: 920px;

    margin: 0 auto;
}

/* =========================================
   INPUT
========================================= */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{

    width: 100%;

    height: clamp(46px, 2.2vw, 68px);

    padding: 0 clamp(16px, 1vw, 26px);

    border-radius: clamp(8px, .7vw, 16px);

    border: none;
    outline: none;

    background: #F3E8D3;

    font-size: clamp(15px, .85vw, 24px);

    color: #6A2E0B;

    box-sizing: border-box;

    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

/* PLACEHOLDER */

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder{

    color: rgba(106,46,11,.72);
}

/* FOCUS */

.wpcf7 input:focus,
.wpcf7 textarea:focus{

    box-shadow:
        0 0 0 2px rgba(202,121,77,.22);

    transform: translateY(-1px);
}

/* =========================================
   ROW
========================================= */

.cf7-row{

    display: flex;

    align-items: stretch;

    gap: clamp(12px, .9vw, 22px);

    margin-top: clamp(12px, .9vw, 20px);

    width: 100%;
}

.cf7-row > p,
.cf7-row > div,
.cf7-row > span{

    flex: 1;
    margin: 0;
}

/* =========================================
   SUBMIT
========================================= */

.wpcf7 .wpcf7-submit{

    margin-top: clamp(18px, 1.2vw, 28px) !important;

    padding:
        clamp(12px, .9vw, 20px)
        clamp(26px, 1.8vw, 42px) !important;

    min-height: auto !important;

    line-height: 1 !important;

    border-radius: clamp(10px, .8vw, 16px);
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:767px){

    .wpcf7 form{
        max-width: 100%;
    }

    .cf7-row{
        flex-direction: column;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"]{

        height: 46px;
    }
}

/* =========================================
   4K / UHD
========================================= */

@media(min-width:3000px){

    .wpcf7 form{
        max-width: 1200px;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"]{

        height: 84px;

        font-size: 28px;
    }

    .wpcf7 .wpcf7-submit{

        font-size: 26px !important;

        padding:
            20px 44px !important;
    }
}

/* ============================================
   FIX MENU MOBILE — Chống Zalo/Facebook WebView 
   tự đổi màu chữ (auto-detect tel/address/email)
   ============================================ */

/* 1. Target SÂU vào mọi thẻ con bên trong menu link
   Zalo wrap text bằng <a> ẩn → phải target * (tất cả) */
#hhc-overlay .hhc-overlay-menu a,
#hhc-overlay .hhc-overlay-menu a *,
#hhc-overlay .hhc-overlay-menu .elementor-item,
#hhc-overlay .hhc-overlay-menu .elementor-item *,
#hhc-overlay .hhc-overlay-menu a span,
#hhc-overlay .hhc-overlay-menu a font {
    color: #fffaea !important;
    -webkit-text-fill-color: #fffaea !important; /* Safari/WebKit override */
    text-decoration: none !important;
}

/* 2. Hover/active state — cũng cần target sâu */
#hhc-overlay .hhc-overlay-menu a:hover,
#hhc-overlay .hhc-overlay-menu a:hover *,
#hhc-overlay .hhc-overlay-menu .hhc-menu-active > a,
#hhc-overlay .hhc-overlay-menu .hhc-menu-active > a *,
#hhc-overlay .hhc-overlay-menu li.current-menu-item > a,
#hhc-overlay .hhc-overlay-menu li.current-menu-item > a * {
    color: #C57549 !important;
    -webkit-text-fill-color: #C57549 !important;
}

/* 3. Khoá touch highlight màu xanh/đỏ mặc định mobile */
#hhc-overlay .hhc-overlay-menu a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
/* ============================================
   FIX ZALO WEBVIEW — Force màu chữ menu
   Combo CSS sâu nhất có thể, JS sẽ backup thêm
   ============================================ */

/* Target mọi descendant + cả pseudo selector */
#hhc-overlay .hhc-overlay-menu,
#hhc-overlay .hhc-overlay-menu *,
#hhc-overlay .hhc-overlay-menu a,
#hhc-overlay .hhc-overlay-menu a *,
#hhc-overlay .hhc-overlay-menu a span,
#hhc-overlay .hhc-overlay-menu a font,
#hhc-overlay .hhc-overlay-menu a > * {
    color: #fffaea !important;
    -webkit-text-fill-color: #fffaea !important;
    text-decoration: none !important;
    text-decoration-color: transparent !important;
    border-bottom: none !important;
}

/* iOS data detector — ép màu cho element bị Apple wrap */
#hhc-overlay [x-apple-data-detectors],
#hhc-overlay a[x-apple-data-detectors] {
    color: #fffaea !important;
    -webkit-text-fill-color: #fffaea !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

/* Tap highlight & touch callout */
#hhc-overlay .hhc-overlay-menu a {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* Hover/active — cũng cần target sâu */
#hhc-overlay .hhc-overlay-menu a:hover,
#hhc-overlay .hhc-overlay-menu a:hover *,
#hhc-overlay .hhc-overlay-menu .hhc-menu-active > a,
#hhc-overlay .hhc-overlay-menu .hhc-menu-active > a *,
#hhc-overlay .hhc-overlay-menu li.current-menu-item > a,
#hhc-overlay .hhc-overlay-menu li.current-menu-item > a * {
    color: #C57549 !important;
    -webkit-text-fill-color: #C57549 !important;
}
/* ============================================
   FIX SCROLL — JS làm chủ smooth, tắt CSS native
   để tránh 2 cơ chế đè nhau gây giật
   ============================================ */
html {
    scroll-behavior: auto !important;
}

/* Bật lại CSS smooth chỉ khi user scroll thường (không phải click anchor) */
@media (prefers-reduced-motion: no-preference) {
    html:not(.hhc-js-scrolling) {
        scroll-behavior: auto !important; /* vẫn để auto, JS lo */
    }
}

/* Khi đang trong quá trình smooth scroll bằng JS, đảm bảo không có gì ngắt */
body.hhc-menu-open {
    /* Giữ nguyên các style hiện có */
    overscroll-behavior: contain;
}

/* ============================================
   HHC HERO — MOBILE FULL WIDTH FIX
   ============================================ */

.hhc-hero-section {
  position: relative !important;
  overflow: hidden;
  background: linear-gradient(180deg,
    #6F320D 0%,
    #C57549 100%
  ) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media (min-width: 2560px) {
  .hhc-hero-section {
    --margin-top: -120px !important;
  }
}

/* Xóa padding Elementor mặc định gây khoảng trắng */
.hhc-hero-section,
.hhc-hero-section > .elementor-container,
.hhc-hero-section > .elementor-container > .elementor-row,
.hhc-hero-section > .elementor-container > .elementor-column,
.hhc-hero-section > .elementor-container > .elementor-column > .elementor-column-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Reset HTML widget */
.hhc-hero-section .elementor-widget-html {
  position: static !important;
  background: transparent !important;
}
.hhc-hero-section .elementor-widget-html .elementor-widget-container {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0;
}

/* Content trên video */
.hhc-hero-section .elementor-container {
  position: relative;
  z-index: 1;
}

/* ============================================
   VIDEO BACKGROUND
   ============================================ */

.hhc-video-bg-wrap {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hhc-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================
   LOADING BAR — KIỂU C
   ============================================ */

#hhc-loader-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hhc-loader-label {
  font-family: var(--hhc-font-title);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 250, 234, 0.7);
  white-space: nowrap;
}

.hhc-loader-track {
  flex: 1;
  height: 2px;
  background: rgba(255, 250, 234, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.hhc-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8d974e, #C57549);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.hhc-loader-pct {
  font-family: var(--hhc-font-title);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255, 250, 234, 0.8);
  min-width: 36px;
  text-align: right;
}
#hhc-zalo-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
  border: 1.5px solid rgba(255, 250, 234, 0.8);
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

#hhc-zalo-play-btn:active {
  background: rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%) scale(0.93);
}

#hhc-zalo-play-btn svg {
  width: 28px;
  height: 28px;
  fill: rgba(255, 250, 234, 0.95);
  margin-left: 4px;
  flex-shrink: 0;
}

/* ============================================================
   CF7 – Phone validation error state
   ============================================================ */
.wpcf7-form .form-group.has-error input {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15);
}

.wpcf7-form .phone-error-msg {
  display: block;
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
  font-family: var(--hhc-font-body);
}
/* css form chèn trong bài viết*/
.hhc-event-form{
    max-width:686px;
    margin:8px auto;
    padding:15px 25px 30px;

    background:#F7F4EA;

    border:1px solid #E5D6B6;
    border-radius:28px;
}

/* TITLE */

.hhc-title{
    margin:0 0 15px;

    padding-top:15px;

    text-align:center;

    color:#B8862F;

    font-size:clamp(25px,2vw,50px);

    line-height:1.1;

    font-weight:700;
}

.tv{
    text-align:center;

    font-size:clamp(14px,0.9vw,20px);

    margin-top:-15px;

    margin-bottom:15px;
}
.hhc-event-form input[type=text],
.hhc-event-form input[type=tel],
.hhc-event-form input[type=email]{

    height:clamp(43px,2.2vw,60px);

    font-size:clamp(14px,0.9vw,22px);
}

/* RESET */

.hhc-event-form p{
    margin:0 !important;
}

/* GRID */

.form-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;
}

.full-width{

    grid-column:1 / -1;
}

/* SUBMIT */

.submit-wrap{
    grid-column:1 / -1;
    text-align:center;
    margin-top:5px;
}

/* INPUT */

.hhc-event-form input[type=text],
.hhc-event-form input[type=tel],
.hhc-event-form input[type=email]{

    width:100%;

    height:43px;

    padding:0 20px;

    border:1px solid #D8BE86;

    border-radius:14px;

    background:#fff;

    box-sizing:border-box;
}

/* BUTTON */

.hhc-event-form input[type=submit]{

    width:clamp(230px,14vw,340px);


    max-width:100%;

    height:clamp(47px,3vw,65px);

    border:none;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        #C6942C,
        #E1C067
    );

    color:#fff;

    font-size:clamp(18px,1vw,24px);

    font-weight:600;

    cursor:pointer;

    display:block;

    margin:0 auto !important;
}

/* HONEYPOT */

.hhc-event-form .confirm-email-wrap,
.hhc-event-form .confirm-email-wrap *{

    display:none !important;
}

.hhc-event-form > p,
.hhc-event-form .form-grid > p{

    margin:0 !important;

    width:0 !important;

    height:0 !important;

    overflow:hidden !important;
}

/* CF7 SPINNER */

.hhc-event-form .wpcf7-spinner{

    display:none !important;
}

/* MOBILE */

@media(max-width:767px){

    .hhc-event-form{

        padding:25px;
    }

    .form-grid{

        grid-template-columns:1fr;
    }

    .full-width,
    .submit-wrap{

        grid-column:auto;
    }

    .hhc-event-form input[type=submit]{

        width:100%;
    }
}


/* ===== CF7 Loading ===== */

.cf7-loading-message{

    display:none;

    margin-top:10px;

    justify-content:center;

    align-items:center;

    gap:10px;

    font-size:14px;

    color:#8A8A8A;
}

.cf7-loading-message.active{

    display:flex;
}

.cf7-loading-icon{

    width:16px;

    height:16px;

    border:2px solid #DDD;

    border-top-color:#C6942C;

    border-radius:50%;

    animation:cf7-spin .8s linear infinite;
}

@keyframes cf7-spin{

    to{
        transform:rotate(360deg);
    }
}

.wpcf7-submit.is-loading{

    opacity:.7;

    pointer-events:none;

    cursor:not-allowed;
}

/* =============================================
   HERO SLIDER — WordPress / Elementor
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Fahkwang:wght@400;600&amp;display=swap');

@font-face {
  font-family: 'VEN-DisplayTypeface';
  src: url('../../uploads/2026/05/VEN-DisplayTypeface-VietnameseAoDaiConicalHat.woff2') format('woff2'),
       url('../../uploads/2026/05/VEN-DisplayTypeface-VietnameseAoDaiConicalHat.woff') format('woff'),
       url('../../uploads/2026/05/VEN-DisplayTypeface-VietnameseAoDaiConicalHat.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =============================================
   ELEMENTOR COMPATIBILITY
   ============================================= */

/* Zero out widget container spacing */
.elementor-widget-html .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;   /* remove phantom spacing */
}

/* Ensure Elementor section/column containing the slider has no padding */
.elementor-section:has(.hero-slider-wrapper),
.e-con:has(.hero-slider-wrapper) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.elementor-column:has(.hero-slider-wrapper),
.elementor-col-100:has(.hero-slider-wrapper) {
  padding: 0 !important;
}
/* Flexbox Container (Elementor 3.6+) */
.e-con-inner:has(.hero-slider-wrapper) {
  padding: 0 !important;
}

/* BOXED: override Elementor container max-width
   Elementor container thường bị cap ở ~1140px → slider boxed 1143px trông fullwidth.
   Bung container ra 100% để max-width trên wrapper mới tạo hiệu ứng box thật. */
.elementor-section:has(.hero-slider-wrapper--boxed) .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Flexbox Container (Elementor 3.6+) */
.e-con:has(.hero-slider-wrapper--boxed),
.e-con-inner:has(.hero-slider-wrapper--boxed) {
  max-width: 100% !important;
  width: 100% !important;
  --content-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =============================================
   WRAPPER — controls the viewport height
   ============================================= */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  /* Fallback then svh for iOS safari (excludes address bar) */
  height: 100vh;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
  background: #000;
  /* Reset inherited Elementor typography */
  line-height: 1;
  font-size: 16px;
}

/* =============================================
   SLIDER — fills wrapper absolutely (avoids double-height issue)
   ============================================= */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* =============================================
   SLIDES — explicit props instead of inset:0
   (inset shorthand can be stripped by some WP optimizers)
   ============================================= */
.hero-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transform: translateX(100%);
  will-change: transform, opacity;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

/* ---- Image slides ---- */
/* !important cần thiết vì WP/Elementor theme thường có: img { height: auto !important } */
.hero-slide-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-slide.active .hero-slide-img {
  animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* ---- Video slide ---- */
.hero-slide-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.hero-slide-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  pointer-events: none;
}

/* =============================================
   OVERLAY — chỉ phủ phần dưới
   ============================================= */
.hero-slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 40%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.70) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* =============================================
   CAPTION CỐ ĐỊNH
   ============================================= */
.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 40px 60px 64px;
  color: #fff;
}

.hero-caption h2 {
  font-family: 'VEN-DisplayTypeface', serif;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-caption-label {
  display: inline-block;
  font-family: 'Fahkwang', sans-serif;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e8c96d;
  margin-bottom: 12px;
  background: rgba(0,0,0,0.3);
  padding: 5px 14px;
  border-left: 3px solid #e8c96d;
}

.hero-caption p {
  font-family: 'Fahkwang', sans-serif;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  max-width: 700px;
  opacity: 0.88;
  margin: 0;
  line-height: 1.7;
}

/* =============================================
   NAV ARROWS
   ============================================= */
.hero-nav-prev,
.hero-nav-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 52px !important;
  height: 52px !important;
  background: rgba(255,255,255,0.15) !important;
  border: 2px solid rgba(255,255,255,0.5) !important;
  color: #fff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  outline: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.hero-nav-prev { left: 24px !important; }
.hero-nav-next { right: 24px !important; }

.hero-nav-prev:hover,
.hero-nav-next:hover {
  background: rgba(232, 201, 109, 0.85) !important;
  border-color: #e8c96d !important;
  color: #1a1a1a !important;
}

.hero-nav-prev svg,
.hero-nav-next svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  pointer-events: none;
  display: block !important;
  color: inherit !important;
  stroke: currentColor;
  fill: none;
}

/* =============================================
   DOTS
   ============================================= */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
  outline: none;
}

.hero-dot.active {
  background: #e8c96d;
  width: 26px;
  border-radius: 4px;
}

/* =============================================
   COUNTER
   ============================================= */
.hero-counter {
  position: absolute;
  top: 28px;
  right: 60px;
  z-index: 10;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  pointer-events: none;
}

/* ---- Progress bar ---- */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #e8c96d;
  z-index: 10;
  width: 0%;
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {
  .hero-slider-wrapper {
    height: 100vh;
    height: 100svh;
    min-height: 420px;
  }

  .hero-caption {
    display: none;
  }

  .hero-slider::after {
    display: none;
  }

  .hero-caption h2 {
    font-size: clamp(24px, 7vw, 36px);
    margin: 0 0 8px;
    line-height: 1.1;
  }

  .hero-caption-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    margin-bottom: 7px;
  }

  .hero-caption p {
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.5;
  }

  .hero-nav-prev,
  .hero-nav-next {
    width: 36px;
    height: 36px;
    top: 38%;
  }

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

  .hero-nav-prev svg,
  .hero-nav-next svg {
    width: 16px;
    height: 16px;
  }

  .hero-dots {
    bottom: 12px;
    gap: 8px;
  }

  .hero-dot { width: 6px; height: 6px; }
  .hero-dot.active { width: 20px; }

  .hero-counter {
    right: 14px;
    top: 12px;
    font-size: 11px;
    letter-spacing: 1px;
  }
}

/* =============================================
   BOXED VARIANT — hero-slider-wrapper--boxed
   Dùng thêm class này vào wrapper để có dạng
   không full-width, responsive mọi màn hình.

   Tỉ lệ 16:9, max-width 1600px.
   padding-bottom trick: % tính theo width của
   chính element, nên tự scale đúng ở 2K/4K.
   ============================================= */
.hero-slider-wrapper--boxed {
  /* Màn hình < 2K: max 1143px */
  max-width: 1143px;
  margin-left: auto !important;
  margin-right: auto !important;
  /* aspect-ratio 16:9 — không dùng height:100vh hay padding-bottom trick */
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
}

/* 2K (≥2560px): nới rộng lên 1600px → cao 900px */
@media (min-width: 2560px) {
  .hero-slider-wrapper--boxed {
    max-width: 1600px;
  }
}

/* Mobile: aspect-ratio tự tính theo width, thêm min-height phòng máy nhỏ */
/* 375px → 211px | 428px → 241px — không full height */
@media (max-width: 768px) {
  .hero-slider-wrapper--boxed {
    min-height: 200px !important;
  }

  /* Caption thu gọn cho boxed mobile (slider chỉ cao ~210-240px) */
  .hero-slider-wrapper--boxed .hero-caption {
    padding: 6px 12px 30px;
  }
  .hero-slider-wrapper--boxed .hero-caption h2 {
    font-size: clamp(14px, 4.5vw, 20px);
    margin: 0 0 4px;
    line-height: 1.0;
  }
  .hero-slider-wrapper--boxed .hero-caption-label {
    font-size: 8px !important;
    letter-spacing: 1px;
    padding: 2px 7px;
    margin-bottom: 3px;
  }
  .hero-slider-wrapper--boxed .hero-caption p {
    font-size: 8px;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }

  /* Nav arrows nho hon */
  .hero-slider-wrapper--boxed .hero-nav-prev,
  .hero-slider-wrapper--boxed .hero-nav-next {
    width: 26px !important;
    height: 26px !important;
  }
  .hero-slider-wrapper--boxed .hero-nav-prev svg,
  .hero-slider-wrapper--boxed .hero-nav-next svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Dots va counter compact */
  .hero-slider-wrapper--boxed .hero-dots {
    bottom: 6px;
    gap: 5px;
  }
  .hero-slider-wrapper--boxed .hero-counter {
    top: 5px;
    right: 8px;
    font-size: 9px;
    letter-spacing: 0.5px;
  }
}

/* Fallback cho browser cũ không hỗ trợ aspect-ratio (Safari < 15) */
@supports not (aspect-ratio: 1 / 1) {
  .hero-slider-wrapper--boxed {
    height: 0 !important;
    padding-bottom: 56.25% !important;
  }
  @media (max-width: 768px) {
    .hero-slider-wrapper--boxed {
      height: max(200px, 56.25vw) !important;
      padding-bottom: 0 !important;
    }
  }
}

/* Font scale theo container width (cqw) */
@supports (container-type: inline-size) {
  .hero-slider-wrapper--boxed {
    container-type: inline-size;
  }
  .hero-slider-wrapper--boxed .hero-caption h2 {
    font-size: clamp(28px, 6cqw, 96px);
  }
  .hero-slider-wrapper--boxed .hero-caption-label {
    font-size: clamp(12px, 1.2cqw, 18px);
  }
  .hero-slider-wrapper--boxed .hero-caption p {
    font-size: clamp(13px, 1.4cqw, 21px);
  }
}

/* Ẩn p tag bọc hidden fields của CF7 */
.wpcf7-form p:has(> .wpcf7-hidden) {
  display: none;
  margin: 0;
  padding: 0;
}
/* ẩn spiiner mac dinh contact form 7*/
span.wpcf7-spinner {
  display: none !important;
  visibility: hidden !important;
}