/**
 * Theme Main CSS for Yên Lam Lâm Đồng
 * Version: 1.9.0
 */

/* ==========================================================================
   1. TOP BAR
   ========================================================================== */
.site-wrapper {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

/* Modern News Hub */
.news-hub {
  background:
    linear-gradient(180deg, rgba(234, 245, 238, 0.74), rgba(255, 255, 255, 0) 360px),
    var(--white);
}

.news-hub-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(126, 196, 146, 0.2), transparent 28%),
    linear-gradient(135deg, #0a3821 0%, #164f31 52%, #f7fbf4 52%, #f7fbf4 100%);
}

.news-hub-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: min(46vw, 520px);
  height: min(32vw, 340px);
  background: var(--yl-decorative-bg, none) center/cover no-repeat;
  opacity: 0.13;
  pointer-events: none;
}

.news-hub-hero__inner {
  position: relative;
  z-index: 1;
}

.news-hub-hero__content {
  max-width: 760px;
  color: var(--white);
  padding: 64px 0;
}

.news-hub-eyebrow,
.news-hub-featured__label {
  margin-bottom: 14px;
  color: #bfe8ca;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-hub-hero h1 {
  margin: 0;
  max-width: 700px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.news-hub-hero p:not(.news-hub-eyebrow) {
  margin-top: 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-hub-cats {
  border-bottom: 1px solid rgba(10, 56, 33, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.news-hub-cats__inner {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  padding-top: 18px;
  padding-bottom: 18px;
  scrollbar-width: thin;
}

.news-hub-cat {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid rgba(10, 56, 33, 0.12);
  border-radius: var(--radius-full);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.news-hub-cat:hover,
.news-hub-cat:focus-visible,
.news-hub-cat.is-active {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

.news-hub-section {
  padding: 64px 0 88px;
}

.news-hub-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.news-hub-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(320px, 42fr);
  gap: 34px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(10, 56, 33, 0.1);
}

.news-hub-featured__media,
.news-hub-card__media {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #eaf5ee;
}

.news-hub-featured__media,
.news-hub-card__media {
  aspect-ratio: 16 / 10;
}

.news-hub-card__media {
  margin-bottom: 18px;
}

.news-hub-featured__img,
.news-hub-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-hub-featured:hover .news-hub-featured__img,
.news-hub-card:hover .news-hub-card__img,
.news-hub-featured:hover .news-hub-placeholder,
.news-hub-card:hover .news-hub-placeholder {
  transform: scale(1.025);
}

.news-hub-featured__body,
.news-hub-card__body {
  min-width: 0;
}

.news-hub-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-hub-kicker a {
  color: var(--primary-green);
}

.news-hub-kicker time {
  color: var(--text-muted);
}

.news-hub-featured__label {
  color: var(--primary-dark);
}

.news-hub-featured__title,
.news-hub-card__title {
  margin: 0;
  color: var(--text-dark);
  letter-spacing: 0;
}

.news-hub-featured__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
}

.news-hub-card__title {
  font-size: 1.2rem;
  line-height: 1.38;
}

.news-hub-featured__title a:hover,
.news-hub-card__title a:hover {
  color: var(--primary-green);
}

.news-hub-featured__excerpt,
.news-hub-card__excerpt {
  margin: 14px 0 0;
  color: var(--text-body);
  line-height: 1.75;
}

.news-hub-card__excerpt {
  font-size: 0.95rem;
}

.news-hub-more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: var(--primary-dark);
  font-weight: 800;
}

.news-hub-more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.news-hub-more:hover,
.news-hub-more:focus-visible {
  color: var(--primary-green);
}

.news-hub-more:hover svg,
.news-hub-more:focus-visible svg {
  transform: translateX(3px);
}

.news-hub-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 220px;
  place-items: center;
  color: rgba(10, 56, 33, 0.55);
  background:
    linear-gradient(135deg, rgba(234, 245, 238, 0.95), rgba(247, 251, 244, 0.95)),
    radial-gradient(circle at 75% 20%, rgba(126, 196, 146, 0.22), transparent 34%);
  transition: transform 0.35s ease;
}

.news-hub-placeholder__leaf {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 56, 33, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.news-hub-placeholder__leaf svg {
  width: 42px;
  height: 42px;
}

.news-hub-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 24px;
  border: 1px solid rgba(10, 56, 33, 0.1);
  border-radius: 16px;
  background: #f7fbf4;
  text-align: center;
  color: var(--text-body);
}

.news-hub-pagination {
  margin-top: 52px;
}

.single-article {
  max-width: 820px;
}

.single-article__title {
  letter-spacing: 0;
}

.single-article__body {
  max-width: 780px;
  font-size: 1.04rem;
  line-height: 1.82;
}

.single-article__featured-img {
  max-height: 520px;
  overflow: hidden;
}

.single-article__featured-img img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.sidebar-post-item {
  align-items: flex-start;
}

.sidebar-post-title {
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .news-hub-featured {
    grid-template-columns: 1fr;
  }

  .news-hub-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-hub-hero {
    min-height: 300px;
    background: linear-gradient(145deg, #0a3821 0%, #164f31 100%);
  }

  .news-hub-hero__content {
    padding: 52px 0;
  }

  .news-hub-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-hub-featured {
    gap: 22px;
  }

  .news-hub-section {
    padding: 42px 0 64px;
  }

  .news-hub-cat {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

.site-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: clamp(360px, 25vw, 500px);
  aspect-ratio: 1 / 1;
  background-image: var(--yl-decorative-bg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.site-content,
.site-footer {
  position: relative;
  z-index: 1;
}

.top-bar {
  position: relative;
  z-index: 120;
  background-color: var(--primary-dark);
  color: #d1e2d7;
  font-size: 0.8125rem; /* 13px */
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar__left,
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d1e2d7;
  transition: var(--transition);
}

.top-bar__item:hover,
.top-bar__link:hover {
  color: #ffffff;
}

.top-bar__icon {
  width: 14px;
  height: 14px;
  stroke: #7ec492;
  flex-shrink: 0;
}

.top-bar__link {
  color: #d1e2d7;
  text-decoration: none;
  transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible,
.lang-switcher__current:focus-visible,
.woocommerce a:focus-visible,
.woocommerce button:focus-visible,
.woocommerce input:focus-visible {
  outline: 3px solid rgba(31, 122, 63, 0.55);
  outline-offset: 3px;
}

/* Language Switcher & Polylang Pro Compatibility (v1.9.0) */
.lang-switcher {
  position: relative;
  z-index: 130;
  cursor: pointer;
  padding: 4px 0;
}

.lang-switcher__current {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.8125rem;
  letter-spacing: 0.5px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.current-lang-code {
  font-weight: 700;
}

.lang-code-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

.lang-switcher__arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.lang-switcher:hover .lang-switcher__arrow,
.lang-switcher.is-open .lang-switcher__arrow {
  transform: rotate(180deg);
}

.lang-switcher__dropdown,
.pll-lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2ece5;
  min-width: 160px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 140;
  list-style: none;
}

.lang-switcher:hover .lang-switcher__dropdown,
.lang-switcher:hover .pll-lang-dropdown,
.lang-switcher.is-open .lang-switcher__dropdown,
.lang-switcher.is-open .pll-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__dropdown[hidden],
.pll-lang-dropdown[hidden] {
  display: none;
}

.current-lang-flag img,
.lang-flag img {
  display: block;
  width: 18px;
  height: auto;
}

.lang-switcher__dropdown .lang-item a,
.pll-lang-dropdown .lang-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition);
}

.lang-switcher__dropdown .lang-item .lang-flag,
.pll-lang-dropdown .lang-item .lang-flag,
.lang-switcher__dropdown .lang-item .lang-code-fallback,
.pll-lang-dropdown .lang-item .lang-code-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
}

.lang-switcher__dropdown .lang-item .lang-name,
.pll-lang-dropdown .lang-item .lang-name {
  font-weight: 500;
  flex: 1;
}

.lang-switcher__dropdown .lang-item .lang-code,
.pll-lang-dropdown .lang-item .lang-code {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}

.lang-switcher__dropdown .lang-item.active a,
.lang-switcher__dropdown .lang-item.current-lang a,
.pll-lang-dropdown .lang-item.current-lang a,
.pll-lang-dropdown .lang-item.active a {
  background-color: var(--light-green-bg);
  color: var(--primary-green);
  font-weight: 700;
  border-left: 3px solid var(--primary-green);
}

.lang-switcher__dropdown .lang-item a:hover,
.pll-lang-dropdown .lang-item a:hover {
  background-color: #f4faf6;
  color: var(--primary-dark);
}

/* ==========================================================================
   2. MAIN HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo__wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
}

.brand-logo__title {
  font-size: 1.25rem; /* 20px */
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.brand-logo__subtitle {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: var(--primary-green);
  line-height: 1.1;
}

/* Primary Menu */
.main-navigation .nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-navigation .nav-menu li {
  position: relative;
}

.main-navigation .nav-menu li a {
  display: block;
  padding: 8px 4px;
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.main-navigation .nav-menu li a:hover,
.main-navigation .nav-menu li.current-menu-item > a {
  color: var(--primary-dark);
  font-weight: 600;
}

.main-navigation .nav-menu li.current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 2px;
}

/* Common Section Heading Elements */
.section-heading-wrap {
  position: relative;
  margin-bottom: 28px;
}

.section-heading-wrap.text-center {
  text-align: center;
}

.section-title {
  font-size: 2rem; /* 32px */
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.title-leaf-accent {
  margin-top: 6px;
  display: inline-block;
}

.title-leaf-accent svg {
  width: 28px;
  height: 10px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn__icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn--primary,
.btn--header-cta,
.btn--gallery,
.btn--omm,
.btn--widget-call,
.btn--back-home {
  background-color: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

.btn--primary:hover,
.btn--header-cta:hover,
.btn--gallery:hover,
.btn--omm:hover,
.btn--widget-call:hover,
.btn--back-home:hover {
  background-color: var(--primary-dark-hover);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(10, 56, 33, 0.2);
}

.btn--secondary {
  background-color: var(--white);
  color: var(--text-dark);
  border-color: #d1d5db;
}

.btn--secondary:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  color: var(--primary-dark);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-dark);
  transition: var(--transition);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.section-hero {
  position: relative;
  background-color: transparent;
  padding: 48px 0 40px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  font-size: 2.75rem; /* ~44px */
  line-height: 1.15;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.0625rem; /* 17px */
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f4f8f5;
  border: 1px solid #dbe8e0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--primary-green);
}

.hero-badge-icon svg {
  width: 16px;
  height: 16px;
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn--hero-main {
  padding: 13px 26px;
  font-size: 0.9375rem;
}

.btn--hero-sub {
  padding: 13px 24px;
  font-size: 0.9375rem;
}

/* Hero Visuals with Slanted Cut */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-visual__slanted-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 440px;
  background-color: #e5f0ea;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-paired-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 0.32fr);
  width: 100%;
  height: 100%;
  background-color: #e5f0ea;
}

.hero-paired-slide__image {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.hero-paired-slide__image--left {
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

.hero-paired-slide__image--right {
  margin-left: -12%;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-visual--single .hero-paired-slide {
  display: block;
}

.hero-visual--single .hero-paired-slide__image--left {
  width: 100%;
  height: 100%;
  clip-path: none;
}

.hero-paired-slide__caption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  max-width: min(420px, calc(100% - 44px));
  padding: 8px 12px;
  background: rgba(10, 56, 33, 0.76);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-main-img,
.hero-bg-graphic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Swiper Controls */
.hero-swiper-pagination {
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  transition: all 0.3s ease;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary-green) !important;
  width: 22px;
  border-radius: 4px;
}

.hero-swiper-prev,
.hero-swiper-next {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  background: rgba(10, 56, 33, 0.65);
  backdrop-filter: blur(4px);
  color: var(--white) !important;
  transition: var(--transition);
  z-index: 10;
}

.hero-swiper-prev::after,
.hero-swiper-next::after {
  font-size: 14px !important;
  font-weight: 700;
}

.hero-swiper-prev {
  left: 16px !important;
}

.hero-swiper-next {
  right: 16px !important;
}

.hero-swiper-prev:hover,
.hero-swiper-next:hover {
  background: var(--primary-green);
  transform: scale(1.1);
}

.hero-swiper[data-slide-count="1"] .hero-swiper-pagination,
.hero-swiper[data-slide-count="1"] .hero-swiper-prev,
.hero-swiper[data-slide-count="1"] .hero-swiper-next {
  display: none;
}

.hero-visual__overlay-card {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 180px;
  height: 135px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border: 3px solid var(--white);
  overflow: hidden;
  z-index: 5;
  transition: transform 0.3s ease;
}

.hero-visual__overlay-card:hover {
  transform: scale(1.04);
}

.hero-visual__overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-placeholder-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: var(--white);
  padding: 4px 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 1px solid var(--border-color);
}

.sub-placeholder-badge svg {
  width: 12px;
  height: 12px;
}

.sub-placeholder-graphic {
  flex: 1;
}

.sub-placeholder-graphic svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   4. SECTION 3: THỐNG KÊ (STATISTICS BAR)
   ========================================================================== */
.section-stats {
  padding: 24px 0 48px 0;
  background-color: var(--white);
}

.stats-bar {
  background-color: #fbf9f4;
  border: 1px solid #ede8de;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-right: 1px solid #e5dfd3;
}

.stats-item:last-child {
  border-right: none;
}

.stats-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-item__icon svg {
  width: 100%;
  height: 100%;
}

.stats-item__content {
  display: flex;
  flex-direction: column;
}

.stats-item__number {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.stats-item__label {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================================================
   5. SECTION 4: VỀ YÊN LAM (ABOUT SECTION)
   ========================================================================== */
.section-about {
  padding: 60px 0 80px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 50px;
  align-items: center;
}

.about-content {
  padding-right: 10px;
}

.about-desc-text {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 28px;
}

.btn--about {
  padding: 12px 24px;
  font-size: 0.9375rem;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card {
  background-color: var(--white);
  border: 1px solid #e8ede9;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-card:hover {
  border-color: #c1dec9;
  box-shadow: 0 10px 25px rgba(10, 56, 33, 0.07);
  transform: translateY(-4px);
}

.about-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card__icon svg {
  width: 100%;
  height: 100%;
}

.about-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.about-card__desc {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ==========================================================================
   6. SECTION 5: TẠI SAO CHỌN CHÚNG TÔI (WHY US)
   ========================================================================== */
.section-why-us {
  padding: 70px 0;
  background-color: #fbf9f4;
  border-top: 1px solid #ede8de;
  border-bottom: 1px solid #ede8de;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: 40px;
  align-items: center;
}

.why-us-title {
  font-size: 2.25rem;
  line-height: 1.2;
}

.why-us-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-card {
  background-color: var(--white);
  border: 1px solid #e8e4db;
  border-radius: var(--radius-md);
  padding: 22px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.why-card:hover {
  border-color: #bedbc6;
  box-shadow: 0 8px 20px rgba(10, 56, 33, 0.08);
  transform: translateY(-3px);
}

.why-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-card__icon svg {
  width: 100%;
  height: 100%;
}

.why-card__body {
  flex: 1;
}

.why-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.why-card__desc {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ==========================================================================
   7. SECTION 6: SẢN PHẨM CHỦ LỰC (KEY PRODUCTS)
   ========================================================================== */
.section-products {
  padding: 70px 0 80px 0;
  background-color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(10, 56, 33, 0.12);
  border-color: #bddcc5;
}

.product-card__thumb-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 250px;
  height: auto;
  overflow: hidden;
  position: relative;
  background-color: #f4f8f5;
}

.product-card__thumb,
.product-thumb-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__thumb,
.product-card:hover .product-thumb-svg {
  transform: scale(1.06);
}

.product-card__thumb-fallback,
.product-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__content {
  padding: 14px 12px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.product-card__icon-badge {
  width: 18px;
  height: 18px;
  margin-bottom: 6px;
}

.product-card__icon-badge svg {
  width: 100%;
  height: 100%;
}

.product-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.product-card__title a {
  color: var(--primary-dark);
}

.product-card__title a:hover {
  color: var(--primary-green);
}

.product-card__desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.45;
}

.yenlam-product-b2b {
  margin: 20px 0 0;
  padding: 18px 20px;
  border: 1px solid #dbe8e0;
  border-radius: var(--radius-md);
  background-color: #f8fbf9;
  min-width: 0;
}

.yenlam-product-b2b h2 {
  margin-bottom: 14px;
  font-size: 1.125rem;
  color: var(--primary-dark);
}

.yenlam-product-b2b__list {
  margin: 0;
  min-width: 0;
}

.yenlam-product-b2b__row {
  display: grid;
  grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
  gap: 16px 24px;
  padding: 8px 0;
  border-top: 1px solid #e6efe9;
  min-width: 0;
}

.yenlam-product-b2b__row:first-child {
  border-top: 0;
}

.yenlam-product-b2b dt {
  font-weight: 700;
  color: var(--primary-dark);
  min-width: 0;
}

.yenlam-product-b2b dd {
  margin: 0;
  color: var(--text-body);
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}

.yenlam-product-b2b dd a {
  overflow-wrap: anywhere;
}

.yenlam-product-inquiry {
  margin: 18px 0 0;
}

.yenlam-product-inquiry .btn {
  width: 100%;
}

.yenlam-woocommerce-page {
  padding-top: 42px;
  padding-bottom: 70px;
}

.yenlam-woocommerce-page .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 0.875rem;
}

.yenlam-woocommerce-page .woocommerce-breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
}

.single-product .yenlam-woocommerce-page div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: start;
  width: 100%;
  min-width: 0;
  max-width: 1180px;
  margin: 0 auto;
}

.woocommerce.single-product .yenlam-woocommerce-page div.product div.images,
.woocommerce.single-product .yenlam-woocommerce-page div.product div.summary,
.single-product .yenlam-woocommerce-page div.product div.images,
.single-product .yenlam-woocommerce-page div.product div.summary {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
}

.single-product .woocommerce-product-gallery {
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.single-product .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.woocommerce.single-product .yenlam-woocommerce-page .woocommerce-product-gallery__image {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 600px;
  min-height: 0;
  background: var(--white);
}

.woocommerce.single-product .yenlam-woocommerce-page .woocommerce-product-gallery__image a {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  object-position: center;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
  margin: 10px;
  padding: 0;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: auto;
  float: none;
  list-style: none;
}

.single-product .summary {
  min-width: 0;
  padding: 4px 0 0;
}

.single-product .summary .product_title {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: clamp(1.875rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
}

.single-product .summary .price {
  margin: 0 0 18px;
  color: var(--primary-green);
  font-size: 1.35rem;
  font-weight: 800;
}

.yenlam-price-contact,
.woocommerce .price .yenlam-price-contact {
  color: var(--primary-green);
  font-weight: 800;
}

.woocommerce .button.yenlam-loop-contact-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.single-product .summary .woocommerce-product-details__short-description {
  margin-bottom: 18px;
  color: #4b5563;
  line-height: 1.7;
}

.single-product .summary form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  background-color: var(--white);
}

.single-product .quantity .qty {
  width: 84px;
  height: 44px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-weight: 700;
  text-align: center;
}

.single-product .single_add_to_cart_button,
.single-product .summary .button,
.woocommerce .button {
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius-sm);
  background-color: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: var(--transition);
}

.single-product .single_add_to_cart_button:hover,
.single-product .summary .button:hover,
.woocommerce .button:hover {
  background-color: var(--primary-dark-hover);
  border-color: var(--primary-dark-hover);
  color: var(--white);
}

.single-product .product_meta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.single-product .product_meta a {
  color: var(--primary-green);
  text-decoration: none;
}

.single-product .woocommerce-tabs,
.single-product .related.products {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1180px;
  margin: 42px auto 0;
}

.single-product .woocommerce-tabs {
  padding: 26px 28px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  background-color: var(--white);
}

.single-product .woocommerce-tabs ul.tabs {
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
}

.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 18px 0 0;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
}

.single-product .woocommerce-tabs ul.tabs li a {
  color: var(--primary-dark);
  font-weight: 700;
}

.single-product .related.products > h2 {
  margin-bottom: 22px;
  color: var(--primary-dark);
  font-size: 1.5rem;
}

.single-product .related.products ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.single-product .related.products ul.products li.product {
  width: auto;
  float: none;
  margin: 0;
}

.yenlam-contact-status {
  grid-column: 1 / -1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.yenlam-contact-status--success {
  background-color: #eaf7ee;
  color: var(--primary-dark);
  border: 1px solid #b9dec4;
}

.yenlam-contact-status--error {
  background-color: #fff4ed;
  color: #8a3b12;
  border: 1px solid #f0c7ad;
}

.yenlam-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-product-context {
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid #dbe8e0;
  border-radius: var(--radius-sm);
  background-color: #f8fbf9;
  color: var(--primary-dark);
  font-weight: 600;
}

/* ==========================================================================
   8. SECTION 7: CHUỖI CUNG ỨNG (SUPPLY CHAIN TIMELINE)
   ========================================================================== */
.section-supply-chain {
  padding: 70px 0 80px 0;
  background-color: var(--white);
}

.supply-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.supply-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 12%;
  right: 12%;
  height: 2px;
  border-top: 2px dashed #b7d5c1;
  z-index: 1;
}

.supply-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.supply-step__node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px var(--white);
  border: 2px solid var(--primary-dark);
  transition: var(--transition);
}

.supply-step:hover .supply-step__node {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  transform: scale(1.1);
}

.supply-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.supply-step__desc {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
  padding: 0 4px;
}

/* ==========================================================================
   9. SECTION 8: HÌNH ẢNH THỰC TẾ (GALLERY)
   ========================================================================== */
.section-gallery {
  padding: 70px 0 80px 0;
  background-color: var(--white);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.gallery-title {
  font-size: 2.25rem;
  line-height: 1.15;
}

.btn--gallery {
  padding: 11px 22px;
  font-size: 0.9375rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid--media {
  align-items: stretch;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 220px;
  position: relative;
  background-color: #eaf2ed;
}

.gallery-item__inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-item__img,
.gallery-fallback-graphic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-fallback-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-fallback-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 56, 33, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-zoom-icon {
  width: 32px;
  height: 32px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item__img,
.gallery-item:hover .gallery-fallback-graphic {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-fallback-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-media-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4eee7;
  border-radius: var(--radius-md);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-media-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.gallery-media-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #eaf4ee;
}

.gallery-media-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-media-card:hover .gallery-media-card__img {
  transform: scale(1.05);
}

.gallery-media-card__placeholder,
.album-card__placeholder--media {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(31, 122, 63, 0.12), rgba(126, 196, 146, 0.16)),
    #eaf4ee;
}

.gallery-media-card__badges {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.gallery-media-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 35, 22, 0.76);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.gallery-media-card__badge--video {
  background: rgba(31, 122, 63, 0.88);
}

.gallery-media-card__play,
.album-card__play {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(10, 35, 22, 0.18);
  z-index: 2;
}

.gallery-media-card__body {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 13px 14px 15px;
}

.gallery-media-card__title {
  color: var(--primary-dark);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}

/* ==========================================================================
   10. SECTION 9: DỰ ÁN & KINH NGHIỆM VẬN HÀNH
   ========================================================================== */
.section-lang-omm {
  position: relative;
  padding: 64px 0 70px;
  overflow: hidden;
  background-color: #f8f6ef;
}

.omm-slanted-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(234, 242, 232, 0.78) 52%, rgba(239, 232, 218, 0.8) 100%);
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
  z-index: 1;
}

.omm-container {
  position: relative;
  z-index: 2;
}

.yen-projects__header {
  max-width: 720px;
  margin-bottom: 28px;
}

.yen-projects__header .section-eyebrow {
  margin-bottom: 10px;
}

.omm-title {
  font-size: clamp(1.625rem, 2vw, 2rem);
  line-height: 1.24;
}

.omm-desc {
  max-width: 720px;
  color: #455247;
  font-size: 0.96875rem;
  line-height: 1.68;
  margin: 0;
}

.yen-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.yen-project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(204, 213, 195, 0.8);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 53, 35, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.yen-project-card:hover {
  border-color: rgba(128, 161, 113, 0.85);
  box-shadow: 0 18px 40px rgba(23, 53, 35, 0.13);
  transform: translateY(-4px);
}

.yen-project-card__media {
  position: relative;
  height: clamp(220px, 24vw, 280px);
  overflow: hidden;
  background: #dfe9dd;
}

.yen-project-thumb,
.yen-project-gallery__item {
  appearance: none;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
}

.yen-project-thumb {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

.yen-project-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.yen-project-card:hover .yen-project-card__image {
  transform: scale(1.03);
}

.yen-project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 18px 18px 20px;
}

.yen-project-card__badge {
  align-self: flex-start;
  max-width: 100%;
  padding: 6px 10px;
  color: #205c35;
  background: #eaf4ee;
  border: 1px solid #cfe2d3;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.25;
}

.yen-project-card h3 {
  color: var(--primary-dark);
  font-size: 1.125rem;
  line-height: 1.32;
  margin: 2px 0 0;
}

.yen-project-card p {
  color: #4b5a4e;
  font-size: 0.9375rem;
  line-height: 1.62;
  margin: 0;
}

.yen-project-card__role {
  color: #2f4435;
  font-size: 0.8125rem;
}

.yen-project-card__role strong {
  color: #173c25;
  font-weight: 800;
}

.yen-project-status {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid #edf1e8;
  color: #2d5d39;
  font-weight: 700;
}

.btn--omm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.yen-project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 8px;
  margin-top: 4px;
}

.yen-project-gallery__item {
  position: relative;
  width: 64px;
  height: 50px;
  overflow: hidden;
  background: #eef3ea;
  border: 1px solid #dbe6d7;
  border-radius: 6px;
}

.yen-project-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease, transform 220ms ease;
}

.yen-project-gallery__item:hover .yen-project-gallery__image,
.yen-project-gallery__item:focus-visible .yen-project-gallery__image {
  opacity: 0.82;
  transform: scale(1.03);
}

.yen-project-gallery__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(10, 56, 33, 0.62);
  font-size: 0.8125rem;
  font-weight: 800;
}

.yen-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.yen-project-actions .btn {
  min-height: 42px;
}

.yen-project-lightbox-open {
  overflow: hidden;
}

.yen-project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 24, 14, 0.82);
}

.yen-project-lightbox.is-open {
  display: flex;
}

.yen-project-lightbox__dialog {
  position: relative;
  width: min(100%, 1040px);
  max-height: calc(100vh - 56px);
  padding: 18px;
  background: #fffaf0;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.yen-project-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border-radius: 6px;
  background: #edf2e8;
}

.yen-project-lightbox__caption {
  color: var(--primary-dark);
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 12px 92px 0 0;
}

.yen-project-lightbox__close,
.yen-project-lightbox__nav {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(10, 56, 33, 0.92);
  transition: background 200ms ease, transform 200ms ease;
}

.yen-project-lightbox__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
}

.yen-project-lightbox__nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.35rem;
}

.yen-project-lightbox__nav:hover,
.yen-project-lightbox__nav:focus-visible,
.yen-project-lightbox__close:hover,
.yen-project-lightbox__close:focus-visible {
  background: #1f7a3f;
  transform: translateY(-1px);
}

.yen-project-lightbox__controls {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   11. SECTION 10: TIN TỨC & CẬP NHẬT (NEWS & UPDATES)
   ========================================================================== */
.section-news {
  padding: 70px 0 80px 0;
  background-color: #fbf9f4;
  border-top: 1px solid #ede8de;
  border-bottom: 1px solid #ede8de;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background-color: var(--white);
  border: 1px solid #e8e4db;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  min-height: 130px;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(10, 56, 33, 0.08);
  border-color: #bedbc6;
}

.news-card__thumb-col {
  width: 125px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-color: #13432a;
}

.news-card__thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card__thumb,
.news-card__thumb-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card__thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card:hover .news-card__thumb,
.news-card:hover .news-card__thumb-fallback {
  transform: scale(1.06);
}

.news-card__body-col {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.news-card__category {
  margin-bottom: 6px;
}

.news-cat-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #1f7a3f;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid #1f7a3f;
  padding-bottom: 1px;
  display: inline-block;
}

.news-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.news-card__title a {
  color: var(--text-dark);
  transition: var(--transition);
}

.news-card__title a:hover {
  color: var(--primary-green);
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: auto;
  padding-top: 4px;
}

.news-card__date {
  color: #6b7280;
  font-weight: 500;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.75rem;
  transition: var(--transition);
}

.news-more-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.news-card__more:hover {
  color: var(--primary-green);
}

.news-card__more:hover .news-more-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   12. SECTION 11: FORM LIÊN HỆ (CONTACT SECTION)
   ========================================================================== */
.section-contact {
  padding: 50px 0 20px 0;
  background-color: var(--white);
}

.contact-box-wrapper {
  background-color: #fbf9f4;
  border: 1px solid #ede8de;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.contact-info-panel {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
}

.contact-handshake-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
}

.contact-handshake-icon svg {
  width: 100%;
  height: 100%;
}

.contact-panel-title {
  font-size: 1.3125rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-panel-desc {
  font-size: 0.875rem;
  color: #c5d7cd;
  line-height: 1.5;
  margin-bottom: 28px;
}

.contact-panel-details {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-panel-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: #dbe8e0;
}

.contact-detail-icon {
  width: 16px;
  height: 16px;
  stroke: #7ec492;
  flex-shrink: 0;
}

.contact-form-panel {
  padding: 36px 36px;
  background-color: #fbf9f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-shortcode-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.yenlam-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row--3cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-label .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  height: 42px;
  padding: 8px 14px;
  background-color: var(--white);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(31, 122, 63, 0.15);
}

.form-control:focus-visible {
  outline: 3px solid rgba(31, 122, 63, 0.45);
  outline-offset: 2px;
}

.form-row--submit {
  margin-top: 4px;
}

.btn--submit-full {
  width: 100%;
  height: 44px;
  background-color: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
}

.btn--submit-full:hover {
  background-color: var(--primary-dark-hover);
  box-shadow: 0 4px 14px rgba(10, 56, 33, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   Contact Form 7 (CF7) Plugin Compatibility (v1.7.0)
   -------------------------------------------------------------------------- */
.contact-shortcode-wrapper .wpcf7 {
  width: 100%;
}

.contact-shortcode-wrapper .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-shortcode-wrapper .wpcf7 form p {
  margin: 0;
}

.contact-shortcode-wrapper .wpcf7-form-control-wrap {
  display: block;
  position: relative;
  width: 100%;
}

.contact-shortcode-wrapper .wpcf7-form-control.wpcf7-text,
.contact-shortcode-wrapper .wpcf7-form-control.wpcf7-email,
.contact-shortcode-wrapper .wpcf7-form-control.wpcf7-tel,
.contact-shortcode-wrapper .wpcf7-form-control.wpcf7-textarea,
.contact-shortcode-wrapper .wpcf7-form-control.wpcf7-select {
  width: 100%;
  height: 42px;
  padding: 8px 14px;
  background-color: var(--white);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-dark);
  font-family: inherit;
  transition: var(--transition);
}

.contact-shortcode-wrapper .wpcf7-form-control.wpcf7-textarea {
  height: 90px;
  resize: vertical;
}

.contact-shortcode-wrapper .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(31, 122, 63, 0.15);
}

/* CF7 Submit Button */
.contact-shortcode-wrapper .wpcf7-submit {
  width: 100%;
  height: 44px;
  background-color: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  margin-top: 4px;
}

.contact-shortcode-wrapper .wpcf7-submit:hover {
  background-color: var(--primary-dark-hover);
  box-shadow: 0 4px 14px rgba(10, 56, 33, 0.25);
}

/* CF7 Spinner */
.contact-shortcode-wrapper .wpcf7-spinner {
  margin: 8px auto 0;
  display: block;
}

/* CF7 Validation Errors & Warnings */
.contact-shortcode-wrapper .wpcf7-not-valid {
  border-color: #ef4444 !important;
  background-color: #fff8f8 !important;
}

.contact-shortcode-wrapper .wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
  display: block;
  font-weight: 500;
  line-height: 1.3;
}

/* CF7 Response Output Box */
.contact-shortcode-wrapper .wpcf7-response-output {
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  padding: 12px 16px !important;
  margin: 16px 0 0 0 !important;
  line-height: 1.5;
  font-weight: 500;
}

.contact-shortcode-wrapper .wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #1f7a3f !important;
  background-color: #f0fdf4 !important;
  color: #166534 !important;
}

.contact-shortcode-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.contact-shortcode-wrapper .wpcf7 form.unaccepted .wpcf7-response-output {
  border: 1px solid #ef4444 !important;
  background-color: #fef2f2 !important;
  color: #991b1b !important;
}

.contact-shortcode-wrapper .wpcf7 form.spam .wpcf7-response-output,
.contact-shortcode-wrapper .wpcf7 form.aborted .wpcf7-response-output {
  border: 1px solid #f59e0b !important;
  background-color: #fffbeb !important;
  color: #92400e !important;
}

/* ==========================================================================
   13. INNER PAGES & LAYOUTS (v1.4.0 & v1.5.0)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #124027 100%);
  color: var(--white);
  padding: 48px 0 36px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header--compact {
  padding: 20px 0;
  background: #f4f8f5;
  border-bottom: 1px solid #e2ede6;
  text-align: left;
}

.page-header__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.page-header__title span {
  color: #7ec492;
}

.page-header--compact .breadcrumbs {
  margin-top: 0;
  color: #4b5563;
}

.page-header--compact .breadcrumbs a {
  color: var(--primary-dark);
}

.breadcrumbs {
  margin-top: 14px;
  font-size: 0.875rem;
  color: #a3c4b0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-header--compact .breadcrumbs {
  justify-content: flex-start;
}

.breadcrumbs a {
  color: #d1e8da;
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs__sep {
  opacity: 0.5;
}

.breadcrumbs__current {
  color: var(--white);
  font-weight: 600;
}

.page-header--compact .breadcrumbs__current {
  color: var(--primary-green);
}

/* Inner Page Container */
.inner-page-layout {
  padding-top: 50px;
  padding-bottom: 80px;
}

.inner-layout-grid {
  display: grid;
  gap: 40px;
}

.inner-layout-grid--sidebar-left {
  grid-template-columns: 280px 1fr;
}

.inner-layout-grid--sidebar-right {
  grid-template-columns: 1fr 300px;
}

/* Static Page Container */
.static-page-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--white);
  padding: 10px 0;
}

.static-page-featured-img {
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.static-page-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sidebar Widgets */
.inner-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.sidebar-widget__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f2eb;
  position: relative;
}

.sidebar-widget__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-green);
}

.taxonomy-filter-list li {
  margin-bottom: 8px;
}

.taxonomy-filter-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.taxonomy-filter-list li a:hover,
.taxonomy-filter-list li.is-active a {
  background-color: var(--light-green-bg);
  color: var(--primary-green);
  font-weight: 600;
}

.item-count {
  font-size: 0.75rem;
  background-color: #e5e7eb;
  color: #4b5563;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.taxonomy-filter-list li.is-active .item-count,
.taxonomy-filter-list li a:hover .item-count {
  background-color: var(--primary-green);
  color: var(--white);
}

.sidebar-widget--highlight {
  background: linear-gradient(135deg, #0a3821 0%, #154e2f 100%);
  color: var(--white);
  border: none;
  text-align: center;
  padding: 28px 20px;
}

.support-widget-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ec492;
}

.support-widget-icon svg {
  width: 22px;
  height: 22px;
}

.support-widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.support-widget-text {
  font-size: 0.8125rem;
  color: #c5d7cd;
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn--widget-call {
  width: 100%;
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn--widget-call:hover {
  background-color: #176031;
}

/* Sidebar Latest Posts */
.sidebar-latest-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sidebar-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.sidebar-post-title a {
  color: var(--text-dark);
}

.sidebar-post-title a:hover {
  color: var(--primary-green);
}

.sidebar-post-date {
  font-size: 0.6875rem;
  color: #9ca3af;
}

/* Typography & Content Layout */
.typography-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
}

.typography-content p {
  margin-bottom: 20px;
}

.typography-content h2 {
  font-size: 1.625rem;
  color: var(--primary-dark);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.typography-content h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-top: 28px;
  margin-bottom: 14px;
  font-weight: 700;
}

.typography-content h4 {
  font-size: 1.0625rem;
  color: var(--primary-dark);
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 700;
}

.typography-content ul,
.typography-content ol {
  margin-bottom: 22px;
  padding-left: 26px;
}

.typography-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.typography-content ol li {
  list-style: decimal;
  margin-bottom: 8px;
}

.typography-content blockquote {
  border-left: 4px solid var(--primary-green);
  padding: 16px 24px;
  background-color: #f4f8f5;
  margin: 28px 0;
  font-style: italic;
  color: #2c4a37;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.typography-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}

.typography-content table th,
.typography-content table td {
  border: 1px solid #e5e7eb;
  padding: 12px 16px;
  text-align: left;
}

.typography-content table th {
  background-color: #f4f8f5;
  color: var(--primary-dark);
  font-weight: 700;
}

/* Single Article */
.single-article__header {
  margin-bottom: 24px;
}

.single-article__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-top: 12px;
  margin-bottom: 14px;
}

.single-article__meta {
  display: flex;
  gap: 20px;
  font-size: 0.8125rem;
  color: #6b7280;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-icon {
  width: 15px;
  height: 15px;
  stroke: #7ec492;
}

.single-article__featured-img {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.single-article__featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

.single-article__footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.single-article__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tags-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.tag-pill {
  font-size: 0.8125rem;
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.tag-pill:hover {
  background-color: var(--light-green-bg);
  color: var(--primary-green);
}

.post-navigation-links {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-green);
}

/* News Archive & Search Grid */
.news-archive-grid,
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card--archive {
  flex-direction: column;
}

.news-card--archive .news-card__thumb-col {
  width: 100%;
  height: 180px;
}

.news-card__excerpt {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 14px;
}

.search-results-meta {
  margin-bottom: 24px;
  font-size: 1rem;
  color: #4b5563;
}

/* Standard Search Form */
.search-form {
  width: 100%;
}

.search-form__group {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.search-form__group:focus-within {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(31, 122, 63, 0.15);
}

.search-form__input {
  flex: 1;
  height: 44px;
  padding: 8px 16px;
  border: none;
  outline: none;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.search-form__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  background-color: var(--primary-dark);
  color: var(--white);
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-form__button:hover {
  background-color: var(--primary-dark-hover);
}

.search-icon {
  width: 16px;
  height: 16px;
}

/* 404 Not Found Page */
.not-found-page-wrapper {
  padding: 80px 20px 100px;
  display: flex;
  justify-content: center;
}

.not-found-content {
  max-width: 600px;
  text-align: center;
}

.not-found-badge {
  margin-bottom: 20px;
}

.not-found-number {
  font-size: 6.5rem; /* ~104px */
  font-weight: 900;
  line-height: 1;
  color: var(--primary-dark);
  letter-spacing: -2px;
}

.not-found-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.not-found-desc {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 32px;
}

.not-found-search {
  max-width: 480px;
  margin: 0 auto 32px;
}

.btn--back-home {
  padding: 13px 28px;
}

/* Search Empty State */
.search-no-results {
  padding: 60px 24px;
}

.search-empty-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
}

.search-empty-icon svg {
  width: 100%;
  height: 100%;
}

.search-no-results h2 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* Theme Pagination */
.theme-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.theme-pagination .nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.theme-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  border: 1px solid #e5e7eb;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.theme-pagination .page-numbers:hover,
.theme-pagination .page-numbers.current {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.theme-pagination .page-numbers svg {
  width: 16px;
  height: 16px;
}

/* No Results Box */
.no-results-box {
  background-color: #fbf9f4;
  border: 1px solid #ede8de;
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  color: #6b7280;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #c5d7cd;
  padding: 60px 0 24px 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.brand-logo__wrap--light .brand-logo__title {
  color: var(--white);
}

.brand-logo__wrap--light .brand-logo__subtitle {
  color: #7ec492;
}

.footer-desc {
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #c5d7cd;
}

/* Social media buttons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: var(--transition);
}

.social-btn:hover {
  background-color: var(--primary-green);
  transform: translateY(-2px);
}

/* Footer Titles & Menus */
.footer-title {
  font-size: 1.0625rem; /* 17px */
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu li a {
  font-size: 0.875rem;
  color: #c5d7cd;
  transition: var(--transition);
}

.footer-menu li a:hover {
  color: var(--white);
  padding-left: 3px;
}

/* Footer Contact List */
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: #c5d7cd;
}

.footer-contact-list li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.footer-contact-list li a:hover {
  color: var(--white);
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  stroke: #7ec492;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Certifications Grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cert-item {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-align: center;
  transition: var(--transition);
}

.cert-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.cert-badge--global .cert-badge__main {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0d47a1;
  letter-spacing: -0.3px;
}

.cert-badge--global .cert-badge__sub {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #2e7d32;
}

.cert-badge--vietgap .cert-badge__main {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #2e7d32;
}

.cert-badge--iso .cert-badge__main {
  font-size: 0.875rem;
  font-weight: 800;
  color: #0a3821;
}

.cert-badge--iso .cert-badge__sub {
  font-size: 0.625rem;
  font-weight: 700;
  color: #0d47a1;
}

.cert-badge--haccp .cert-badge__main {
  font-size: 0.875rem;
  font-weight: 800;
  color: #0288d1;
}

.cert-badge--haccp .cert-badge__sub {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #0288d1;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #8da495;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom__legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom__legal a {
  color: #8da495;
}

.footer-bottom__legal a:hover {
  color: var(--white);
}

.footer-bottom__legal .divider {
  color: rgba(255, 255, 255, 0.2);
}

/* Utility Helpers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus,
.skip-link:focus-visible {
  clip: auto;
  clip-path: none;
  top: 12px;
  left: 12px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.text-white {
  color: var(--white) !important;
}

.text-light-green {
  color: #7ec492 !important;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-visual__slanted-wrapper {
    clip-path: none;
    height: 380px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    padding: 24px;
  }

  .stats-item:nth-child(2) {
    border-right: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .supply-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  .supply-timeline::before {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yen-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-box-wrapper {
    grid-template-columns: 1fr;
  }

  .inner-layout-grid--sidebar-left,
  .inner-layout-grid--sidebar-right {
    grid-template-columns: 1fr;
  }

  .single-product .yenlam-woocommerce-page div.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .woocommerce.single-product .yenlam-woocommerce-page .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image img {
    max-height: 520px;
  }

  .single-product .woocommerce-tabs,
  .single-product .related.products {
    margin-top: 32px;
  }

  .single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-archive-grid,
  .search-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .site-wrapper::before {
    width: clamp(220px, 32vw, 360px);
    top: 0;
    right: -36px;
    opacity: 0.85;
  }
}

@media (max-width: 768px) {
  .site-wrapper::before {
    width: 150px;
    top: 0;
    right: -64px;
    opacity: 0.35;
  }

  .top-bar__left {
    display: none;
  }

  .top-bar__inner {
    justify-content: flex-end;
  }

  .site-header__inner {
    height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-navigation__menu-wrapper {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background-color: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 99;
  }

  .main-navigation.is-active .main-navigation__menu-wrapper {
    transform: translateX(0);
  }

  .main-navigation .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .main-navigation .nav-menu li a {
    font-size: 1.125rem;
    padding: 6px 0;
  }

  /* 1. Hero Mobile Audit */
  .section-hero {
    padding: 32px 0 40px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 1.875rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-badges {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }

  .hero-badge-item {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn--hero-main,
  .btn--hero-sub {
    width: 100%;
    justify-content: center;
  }

  .hero-visual__slanted-wrapper {
    clip-path: none;
    height: 280px;
    border-radius: 12px;
  }

  .hero-paired-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-paired-slide__image--left,
  .hero-paired-slide__image--right {
    clip-path: none;
    margin-left: 0;
  }

  .hero-paired-slide__image--right {
    display: none;
  }

  .hero-visual__overlay-card {
    position: static;
    width: 100%;
    height: 90px;
    margin-top: 12px;
    box-shadow: var(--shadow-sm);
  }

  /* 2. Stats Bar Mobile Audit */
  .section-stats {
    padding: 16px 0 36px 0;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 16px;
  }

  .stats-item {
    border-right: none;
    padding: 6px 4px;
    gap: 12px;
  }

  .stats-item__number {
    font-size: 1.25rem;
  }

  .stats-item__label {
    font-size: 0.75rem;
  }

  /* 3. About & Why Us Mobile Audit */
  .section-about,
  .section-why-us {
    padding: 48px 0 54px 0;
  }

  .about-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-cards-grid,
  .why-us-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 4. Products Grid Mobile Audit */
  .section-products {
    padding: 48px 0 54px 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-card__thumb-wrap {
    min-height: 220px;
  }

  /* 5. Supply Chain Vertical Timeline Mobile Audit */
  .section-supply-chain {
    padding: 48px 0 54px 0;
  }

  .supply-timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    padding-left: 20px;
    margin-top: 32px;
  }

  .supply-timeline::before {
    left: 37px;
    top: 18px;
    bottom: 18px;
    right: auto;
    width: 2px;
    height: calc(100% - 36px);
    border-left: 2px dashed #b7d5c1;
    border-top: none;
    transform: none;
  }

  .supply-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
    padding: 0;
  }

  .supply-step__node {
    margin-bottom: 0;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--white);
  }

  .supply-step__title {
    font-size: 1rem;
    margin-top: 2px;
    margin-bottom: 4px;
  }

  .supply-step__desc {
    font-size: 0.8125rem;
    padding: 0;
  }

  /* 6. Gallery Mobile Audit */
  .section-gallery {
    padding: 48px 0 54px 0;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* 7. Projects Mobile Audit */
  .section-lang-omm {
    padding: 50px 0 54px 0;
  }

  .omm-slanted-bg {
    clip-path: none;
  }

  .yen-projects__header {
    margin-bottom: 24px;
  }

  .yen-projects__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .yen-project-card__body {
    padding: 18px;
  }

  .yen-project-card__media {
    height: 220px;
  }

  .yen-project-actions,
  .yen-project-actions .btn {
    width: 100%;
  }

  .yen-project-lightbox {
    padding: 14px;
  }

  .yen-project-lightbox__dialog {
    max-height: calc(100vh - 28px);
    padding: 12px;
  }

  .yen-project-lightbox__image {
    max-height: calc(100vh - 150px);
  }

  .yen-project-lightbox__caption {
    margin-right: 0;
    padding-right: 84px;
  }

  /* 8. News Mobile Audit */
  .section-news {
    padding: 48px 0 54px 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-archive-grid,
  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .single-article__title {
    font-size: 1.75rem;
  }

  .not-found-number {
    font-size: 4.5rem;
  }

  .not-found-title {
    font-size: 1.5rem;
  }

  /* 9. Contact Form Mobile Audit */
  .section-contact {
    padding: 40px 0 20px 0;
  }

  .contact-box-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    padding: 28px 20px;
  }

  .contact-form-panel {
    padding: 28px 20px;
  }

  .form-row--3cols {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 10. Footer Mobile Audit */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.625rem;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 14px;
  }

  .stats-item {
    border-bottom: 1px solid #ede8de;
    padding-bottom: 12px;
  }

  .stats-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card__thumb-wrap {
    min-height: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    flex-direction: column;
  }

  .news-card__thumb-col {
    width: 100%;
    height: 140px;
  }

  .yenlam-woocommerce-page {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .woocommerce.single-product .yenlam-woocommerce-page .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image img {
    max-height: 70vh;
  }

  .single-product .summary form.cart {
    padding: 14px;
  }

  .single-product .single_add_to_cart_button,
  .single-product .summary .button,
  .woocommerce .button,
  .yenlam-product-inquiry .btn {
    width: 100%;
    justify-content: center;
  }

  .single-product .quantity {
    width: 100%;
  }

  .single-product .quantity .qty {
    width: 100%;
  }

  .yenlam-product-b2b__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .single-product .woocommerce-tabs {
    padding: 20px 18px;
  }

  .single-product .related.products ul.products {
    grid-template-columns: 1fr;
  }

  .search-form__group {
    flex-direction: column;
  }

  .search-form__input,
  .search-form__button {
    width: 100%;
  }
}

/* ==========================================================================
   16. ALBUMS & GALLERY SYSTEM (v1.10.0)
   ========================================================================== */
.product-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 4px;
  line-height: 1.3;
}

.product-card__price del {
  color: #9ca3af;
  font-weight: 400;
  margin-right: 6px;
  font-size: 0.8125rem;
}

.product-card__price ins {
  text-decoration: none;
}

/* Albums Grid & Cards */
.archive-thuvien-page {
  padding-top: 40px;
  padding-bottom: 60px;
}

.page-header__desc {
  max-width: 650px;
  margin: 12px auto 0;
  color: #d1e2d7;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.albums-grid--related {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.album-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eef3f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.album-card__thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #eaf4ee;
}

.album-card__thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

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

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

.album-card__placeholder,
.album-card__graphic-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 67, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album-card:hover .album-card__overlay {
  opacity: 1;
}

.album-card__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--white);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.album-card__badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 35, 22, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 2;
}

.album-card__icon {
  width: 16px;
  height: 16px;
}

.album-card__content {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.album-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.album-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.album-card__title a:hover {
  color: var(--primary-green);
}

.album-card__desc {
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

/* Single Album Page */
.single-album-page {
  padding-top: 40px;
  padding-bottom: 70px;
}

.album-header {
  margin-bottom: 36px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.album-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: #6b7280;
}

.album-header__badge {
  background-color: var(--light-green-bg);
  color: var(--primary-green);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.album-header__date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.album-header__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.album-header__desc {
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-top: 14px;
}

/* Album Photos Grid */
.album-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.album-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.album-photo-item,
.album-media-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #eaf4ee;
}

.album-photo-item {
  height: 240px;
}

.album-media-item--image {
  aspect-ratio: 4 / 3;
}

.album-media-item--video {
  grid-column: span 2;
  background-color: var(--white);
}

.album-photo-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.album-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.album-photo-item:hover .album-photo-img {
  transform: scale(1.08);
}

.album-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 67, 42, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album-photo-item:hover .album-photo-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
}

.album-photo-caption {
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 8px;
  text-align: center;
  line-height: 1.3;
}

.album-media-item__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #07170e;
}

.album-media-item__frame iframe,
.album-media-item__video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.album-media-item__video {
  object-fit: contain;
  background-color: #07170e;
}

.album-media-item__external {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.album-media-item__caption {
  margin: 0;
  padding: 12px 14px;
  color: var(--text-body);
  font-size: 0.875rem;
  line-height: 1.45;
}

.album-single-photo-wrap {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.album-single-photo-wrap .album-photo-img {
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.empty-album-notice {
  padding: 40px 20px;
  border-radius: var(--radius-md);
  background-color: var(--light-green-bg);
  text-align: center;
}

.empty-album-notice p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 600;
}

.album-actions-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.related-albums-section {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.related-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .albums-grid,
  .album-photos-grid,
  .albums-grid--related {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .album-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .albums-grid,
  .album-photos-grid,
  .albums-grid--related {
    grid-template-columns: 1fr;
  }

  .album-header__title {
    font-size: 1.625rem;
  }

  .album-photo-item {
    height: 210px;
  }

  .album-media-grid {
    grid-template-columns: 1fr;
  }

  .album-media-item--video {
    grid-column: auto;
  }

  .album-actions-footer {
    flex-direction: column;
    gap: 12px;
  }

  .album-actions-footer .btn {
    width: 100%;
  }
}

/* =========================================================
   YEN LAM - CONTACT FORM 7 FLAT
   ========================================================= */

.contact-form-panel .wpcf7,
.contact-shortcode-wrapper .wpcf7 {
  width: 100%;
}

.contact-form-panel .wpcf7-form,
.contact-shortcode-wrapper .wpcf7-form {
  margin: 0;
}

.yl-contact-flat {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 1.25fr)
    auto;
  gap: 12px;
  align-items: start;
  width: 100%;
}

.contact-form-panel .yl-contact-flat,
.contact-shortcode-wrapper .yl-contact-flat {
  width: 100%;
}

.yl-contact-flat__field,
.yl-contact-flat__submit {
  min-width: 0;
}

.yl-contact-flat .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.yl-contact-flat input[type="text"],
.yl-contact-flat input[type="tel"],
.yl-contact-flat input[type="email"] {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #dbe5df;
  border-radius: 7px;
  background: #ffffff;
  color: #173027;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  box-shadow: none;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.yl-contact-flat input::placeholder {
  color: #88958e;
  opacity: 1;
}

.yl-contact-flat input:hover {
  border-color: #b8c9bf;
}

.yl-contact-flat input:focus {
  border-color: #0b4a31;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 74, 49, 0.08);
}

.yl-contact-flat .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid #0b4a31;
  border-radius: 7px;
  background: #0b4a31;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.yl-contact-flat .wpcf7-submit:hover {
  background: #073d29;
  border-color: #073d29;
}

.yl-contact-flat .wpcf7-submit:active {
  transform: translateY(1px);
}

.yl-contact-flat .wpcf7-submit:focus-visible {
  outline: 3px solid rgba(168, 212, 50, 0.45);
  outline-offset: 3px;
}

.yl-contact-flat .wpcf7-not-valid {
  border-color: #b42318 !important;
}

.yl-contact-flat .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.yl-contact-flat + .wpcf7-response-output,
.contact-form-panel .wpcf7 form .yl-contact-flat ~ .wpcf7-response-output,
.contact-shortcode-wrapper .wpcf7 form .yl-contact-flat ~ .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-width: 1px;
  border-radius: 7px;
  font-size: 13px;
}

.yl-contact-flat .wpcf7-spinner {
  position: absolute;
  margin: 12px 0 0 -36px;
}

@media (max-width: 1400px) {
  .contact-form-panel .yl-contact-flat,
  .contact-shortcode-wrapper .yl-contact-flat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form-panel .yl-contact-flat__submit,
  .contact-shortcode-wrapper .yl-contact-flat__submit {
    grid-column: 1 / -1;
  }

  .contact-form-panel .yl-contact-flat .wpcf7-submit,
  .contact-shortcode-wrapper .yl-contact-flat .wpcf7-submit {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .yl-contact-flat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yl-contact-flat__submit {
    grid-column: 1 / -1;
  }

  .yl-contact-flat .wpcf7-submit {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .yl-contact-flat {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .yl-contact-flat__submit {
    grid-column: auto;
  }

  .yl-contact-flat input[type="text"],
  .yl-contact-flat input[type="tel"],
  .yl-contact-flat input[type="email"],
  .yl-contact-flat .wpcf7-submit {
    height: 46px;
  }
}

/* =========================================================
   YEN LAM - CONTACT FORM 7 / 2x2 GRID
   ========================================================= */

.yl-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.yl-contact-grid__field,
.yl-contact-grid__submit {
  min-width: 0;
}

.yl-contact-grid .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.yl-contact-grid input[type="text"],
.yl-contact-grid input[type="tel"],
.yl-contact-grid input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #d7e0da;
  border-radius: 8px;
  background: #ffffff;
  color: #173027;
  font: inherit;
  font-size: 15px;
  box-shadow: none;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.yl-contact-grid input::placeholder {
  color: #8a9790;
  opacity: 1;
}

.yl-contact-grid input:hover {
  border-color: #b8c8be;
}

.yl-contact-grid input:focus {
  border-color: #0b4a31;
  box-shadow: 0 0 0 3px rgba(11, 74, 49, 0.08);
}

.yl-contact-grid__submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.yl-contact-grid .wpcf7-submit {
  min-width: 190px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid #0b4a31;
  border-radius: 8px;
  background: #0b4a31;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.yl-contact-grid .wpcf7-submit:hover {
  background: #073d29;
  border-color: #073d29;
}

.yl-contact-grid .wpcf7-submit:active {
  transform: translateY(1px);
}

.yl-contact-grid .wpcf7-submit:focus-visible {
  outline: 3px solid rgba(168, 212, 50, 0.42);
  outline-offset: 3px;
}

.yl-contact-grid .wpcf7-not-valid {
  border-color: #b42318 !important;
}

.yl-contact-grid .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.contact-shortcode-wrapper .wpcf7 form .yl-contact-grid ~ .wpcf7-response-output,
.contact-form-panel .wpcf7 form .yl-contact-grid ~ .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 10px 14px !important;
  border-width: 1px !important;
  border-radius: 8px;
  font-size: 13px;
}

.yl-contact-grid .wpcf7-spinner {
  align-self: center;
  margin: 12px 0 0 10px;
}

@media (max-width: 900px) {
  .contact-shortcode-wrapper {
    max-width: 100%;
  }

  .yl-contact-grid {
    gap: 12px;
  }

  .yl-contact-grid input[type="text"],
  .yl-contact-grid input[type="tel"],
  .yl-contact-grid input[type="email"] {
    height: 50px;
  }
}

@media (max-width: 640px) {
  .yl-contact-grid {
    grid-template-columns: 1fr;
  }

  .yl-contact-grid__submit {
    grid-column: auto;
  }

  .yl-contact-grid .wpcf7-submit {
    width: 100%;
  }
}

/* ==========================================================================
   CORPORATE PAGES - ABOUT / SERVICES / CONTACT
   ========================================================================== */

.yl-corporate-page {
  color: #173027;
  background: #ffffff;
}

.yl-page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.yl-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 61, 41, 0.95) 0%, rgba(11, 74, 49, 0.82) 42%, rgba(11, 74, 49, 0.16) 100%),
    linear-gradient(0deg, rgba(7, 61, 41, 0.3), rgba(7, 61, 41, 0.08));
}

.yl-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.yl-page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yl-page-hero__inner {
  width: 100%;
}

.yl-page-hero__content {
  max-width: 680px;
  padding: 86px 0 72px;
}

.yl-page-eyebrow {
  margin: 0 0 14px;
  color: #a8d432;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.yl-page-hero h1,
.yl-section-heading h2,
.yl-story-copy h2,
.yl-vision-box h2,
.yl-final-cta h2,
.yl-contact-info h2,
.yl-cf7-box h2,
.yl-buyer-copy h2 {
  color: inherit;
  letter-spacing: 0;
}

.yl-page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 850;
}

.yl-page-hero h1 em,
.yl-section-heading h2 em,
.yl-vision-box h2 em {
  color: #d9f27a;
  font-style: italic;
}

.yl-page-hero p:not(.yl-page-eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.75;
}

.yl-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.78);
}

.yl-story-section,
.yl-ecosystem-section,
.yl-value-section,
.yl-omm-section,
.yl-timeline-section,
.yl-showcase-section,
.yl-workflow-section,
.yl-contact-page-section,
.yl-buyer-section {
  padding: 82px 0;
}

.yl-story-section,
.yl-showcase-section,
.yl-buyer-section {
  background: #f7f6ef;
}

.yl-story-grid,
.yl-omm-grid,
.yl-buyer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.yl-story-copy h2,
.yl-section-heading h2,
.yl-vision-box h2,
.yl-final-cta h2,
.yl-contact-info h2,
.yl-cf7-box h2,
.yl-buyer-copy h2 {
  margin: 0;
  color: #0b4a31;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.12;
  font-weight: 850;
}

.yl-story-copy p:not(.yl-page-eyebrow),
.yl-section-heading p:not(.yl-page-eyebrow),
.yl-vision-box p,
.yl-final-cta p,
.yl-contact-info p,
.yl-cf7-box p,
.yl-buyer-copy p {
  color: #68766f;
  font-size: 1rem;
  line-height: 1.8;
}

.yl-layered-media {
  position: relative;
  min-height: 520px;
}

.yl-layered-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(10, 56, 33, 0.14);
}

.yl-layered-media__main {
  aspect-ratio: 4 / 5;
}

.yl-layered-media__float {
  position: absolute;
  right: -18px;
  bottom: 30px;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 8px solid #f7f6ef;
}

.yl-section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.yl-section-heading p:not(.yl-page-eyebrow) {
  margin: 16px 0 0;
}

.yl-ecosystem-grid,
.yl-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.yl-eco-card,
.yl-value-item {
  min-width: 0;
  padding: 26px;
  border: 1px solid #dfe9e3;
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.yl-eco-card:hover,
.yl-value-item:hover,
.yl-timeline-item:hover,
.yl-product-card:hover {
  transform: translateY(-4px);
}

.yl-eco-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef5f0;
  color: #0b4a31;
  font-weight: 850;
}

.yl-eco-card:hover span {
  background: #a8d432;
}

.yl-eco-card h3,
.yl-value-item h3,
.yl-timeline-copy h3,
.yl-product-card h3 {
  margin: 18px 0 10px;
  color: #0b4a31;
  font-size: 1.18rem;
  line-height: 1.25;
}

.yl-eco-card p,
.yl-value-item p,
.yl-timeline-copy p,
.yl-product-card p {
  margin: 0;
  color: #68766f;
  line-height: 1.7;
}

.yl-value-section {
  background: #ffffff;
}

.yl-value-item {
  border-top: 4px solid #a8d432;
}

.yl-vision-section,
.yl-final-cta {
  padding: 76px 0;
  background: #073d29;
  color: #ffffff;
}

.yl-vision-box,
.yl-final-cta .container {
  max-width: 900px;
}

.yl-vision-box h2,
.yl-final-cta h2 {
  color: #ffffff;
}

.yl-vision-box p,
.yl-final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.yl-omm-section {
  background: #ffffff;
}

.yl-omm-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yl-omm-collage img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

.yl-omm-collage__wide {
  grid-column: 1 / -1;
  height: 270px !important;
}

.yl-timeline-section {
  background: #ffffff;
}

.yl-capability-timeline {
  display: grid;
  gap: 22px;
}

.yl-timeline-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
  border: 1px solid #dfe9e3;
  border-radius: 22px;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yl-timeline-number {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0b4a31;
  color: #ffffff;
  font-weight: 850;
}

.yl-timeline-item:hover .yl-timeline-number {
  background: #a8d432;
  color: #0b4a31;
}

.yl-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.yl-chip-row span,
.yl-buyer-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef5f0;
  color: #0b4a31;
  font-size: 0.82rem;
  font-weight: 700;
}

.yl-timeline-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.yl-product-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.yl-product-card {
  position: relative;
  grid-column: span 5;
  min-height: 310px;
  overflow: hidden;
  border-radius: 22px;
  background: #0b4a31;
  transition: transform 0.25s ease;
}

.yl-product-card__large {
  grid-column: span 7;
}

.yl-product-card__wide {
  grid-column: 1 / -1;
  min-height: 360px;
}

.yl-product-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.yl-product-card:hover img {
  transform: scale(1.04);
}

.yl-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 61, 41, 0.04) 0%, rgba(7, 61, 41, 0.86) 100%);
}

.yl-product-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 24px;
  color: #ffffff;
}

.yl-product-card__overlay span {
  color: #d9f27a;
  font-weight: 850;
}

.yl-product-card h3,
.yl-product-card p {
  color: #ffffff;
}

.yl-workflow-section {
  background: #ffffff;
}

.yl-workflow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  counter-reset: none;
}

.yl-workflow-list li {
  position: relative;
  padding: 0 18px;
}

.yl-workflow-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 56px;
  right: -20px;
  height: 1px;
  background: #dfe9e3;
}

.yl-workflow-list li:last-child::before {
  display: none;
}

.yl-workflow-list span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef5f0;
  color: #0b4a31;
  font-weight: 850;
}

.yl-workflow-list strong {
  display: block;
  margin: 16px 0 8px;
  color: #0b4a31;
}

.yl-workflow-list p {
  margin: 0;
  color: #68766f;
  font-size: 0.9rem;
  line-height: 1.65;
}

.yl-contact-page-section {
  background: #f7f6ef;
}

.yl-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 0.65fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #dfe9e3;
  border-radius: 22px;
  background: #ffffff;
}

.yl-contact-info {
  padding: 38px 32px;
  background: #073d29;
  color: #ffffff;
}

.yl-contact-info h2 {
  color: #ffffff;
}

.yl-contact-info p {
  color: rgba(255, 255, 255, 0.78);
}

.yl-contact-info ul {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.yl-contact-info li span {
  display: block;
  color: #a8d432;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.yl-contact-info li a,
.yl-contact-info li strong {
  display: inline-block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1rem;
}

.yl-cf7-box {
  padding: 38px 42px;
}

.yl-cf7-box .contact-shortcode-wrapper {
  max-width: 800px;
  margin-top: 22px;
}

.yl-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.yl-cf7-field {
  min-width: 0;
}

.yl-cf7-grid .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.yl-cf7-grid input[type="text"],
.yl-cf7-grid input[type="tel"],
.yl-cf7-grid input[type="email"] {
  width: 100% !important;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #d7e0da;
  border-radius: 8px;
  background: #ffffff;
  color: #173027;
  font: inherit;
}

.yl-cf7-grid input:focus {
  outline: none;
  border-color: #0b4a31;
  box-shadow: 0 0 0 3px rgba(11, 74, 49, 0.08);
}

.yl-cf7-submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.yl-cf7-grid input[type="submit"] {
  min-width: 190px;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #0b4a31;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.yl-cf7-grid input[type="submit"]:focus-visible {
  outline: 3px solid rgba(168, 212, 50, 0.42);
  outline-offset: 3px;
}

.yl-buyer-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.yl-buyer-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
}

.yl-buyer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.yl-reveal {
  opacity: 1;
  transform: none;
}

.js .yl-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .yl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .yl-ecosystem-grid,
  .yl-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yl-timeline-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .yl-timeline-media {
    grid-column: 2;
  }

  .yl-workflow-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .yl-workflow-list li {
    padding-left: 70px;
  }

  .yl-workflow-list li::before {
    top: 52px;
    left: 22px;
    right: auto;
    bottom: -28px;
    width: 1px;
    height: auto;
  }

  .yl-workflow-list span {
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media (max-width: 900px) {
  .yl-page-hero {
    min-height: 480px;
  }

  .yl-page-hero::before {
    background: linear-gradient(90deg, rgba(7, 61, 41, 0.94) 0%, rgba(7, 61, 41, 0.72) 100%);
  }

  .yl-story-grid,
  .yl-omm-grid,
  .yl-buyer-grid,
  .yl-contact-layout {
    grid-template-columns: 1fr;
  }

  .yl-layered-media {
    min-height: 420px;
  }

  .yl-product-card,
  .yl-product-card__large,
  .yl-product-card__wide {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .yl-page-hero {
    min-height: 420px;
  }

  .yl-page-hero__content {
    padding: 64px 0 56px;
  }

  .yl-story-section,
  .yl-ecosystem-section,
  .yl-value-section,
  .yl-omm-section,
  .yl-timeline-section,
  .yl-showcase-section,
  .yl-workflow-section,
  .yl-contact-page-section,
  .yl-buyer-section {
    padding: 56px 0;
  }

  .yl-ecosystem-grid,
  .yl-value-grid,
  .yl-product-showcase,
  .yl-cf7-grid {
    grid-template-columns: 1fr;
  }

  .yl-product-card,
  .yl-product-card__large,
  .yl-product-card__wide {
    grid-column: auto;
    min-height: 280px;
  }

  .yl-layered-media {
    min-height: auto;
  }

  .yl-layered-media__main {
    aspect-ratio: 4 / 3;
  }

  .yl-layered-media__float {
    position: relative;
    right: auto;
    bottom: auto;
    width: 72%;
    margin: -54px 0 0 auto;
  }

  .yl-timeline-item {
    grid-template-columns: 1fr;
  }

  .yl-timeline-media {
    grid-column: auto;
  }

  .yl-contact-info,
  .yl-cf7-box {
    padding: 28px 22px;
  }

  .yl-cf7-submit-row {
    grid-column: auto;
  }

  .yl-cf7-grid input[type="submit"] {
    width: 100%;
  }
}
