/* Minh Tâm Bảo brand ecosystem — clean editorial layout based on the approved mockup.
   This is the page-specific stylesheet for he-sinh-thai.php only. */
.mtb-eco-showcase {
  --eco-showcase-ink: #201f1d;
  --eco-showcase-muted: #596074;
  --eco-showcase-red: #ed3741;
  --eco-showcase-hover: #a52e35;
  --eco-showcase-line: #d5d0cc;
  --eco-showcase-paper: #fff;
  width: 100%;
  background: var(--eco-showcase-paper);
  color: var(--eco-showcase-ink);
  overflow: clip;
}

/* The image-backed intro keeps its curated photographic text treatment.
   Brand surfaces and interactions inherit the five published Admin
   Appearance > Ecosystem colors whenever the site theme is enabled. */
html[data-mtb-theme="enabled"] body .mtb-eco-showcase {
  --eco-showcase-ink: var(--mtb-theme-ecosystem-primary);
  --eco-showcase-muted: var(--mtb-theme-ecosystem-text);
  --eco-showcase-red: var(--mtb-theme-ecosystem-accent);
  --eco-showcase-hover: var(--mtb-theme-ecosystem-secondary);
  --eco-showcase-line: color-mix(in srgb, var(--mtb-theme-ecosystem-primary) 16%, transparent);
  --eco-showcase-paper: var(--mtb-theme-ecosystem-background);
}

.mtb-eco-showcase,
.mtb-eco-showcase * {
  box-sizing: border-box;
}

.mtb-eco-showcase__layout {
  width: min(100%, 1720px);
  min-height: clamp(640px, 58vw, 820px);
  display: grid;
  grid-template-columns: minmax(0, 41%) minmax(0, 59%);
  margin-inline: auto;
}

.mtb-eco-showcase__intro {
  min-width: 0;
  min-height: inherit;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #faf9f6;
}

.mtb-eco-showcase__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.mtb-eco-showcase__intro-copy {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 9vw, 132px) clamp(24px, 3.6vw, 64px) 24px clamp(28px, 5.2vw, 90px);
}

.mtb-eco-showcase__intro h1 {
  max-width: 510px;
  margin: 0 0 15px;
  font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.12;
  color: #161616;
}

.mtb-eco-showcase__intro h1 span {
  display: block;
}

.mtb-eco-showcase__intro p {
  max-width: 470px;
  margin: 0;
  font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(1rem, 1.25vw, 1.27rem);
  line-height: 1.55;
  color: #555d73;
}

.mtb-eco-showcase__brands {
  display: grid;
  scroll-margin-top: 95px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 70px);
  min-width: 0;
  padding: clamp(56px, 7vw, 104px) clamp(28px, 4.2vw, 72px) clamp(48px, 5.7vw, 86px) clamp(22px, 2.9vw, 50px);
}

.mtb-eco-showcase__brand-column {
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.mtb-eco-showcase__brand-column--second {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.mtb-eco-showcase__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px 3px 16px;
  border-top: 1px solid var(--eco-showcase-line);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, color .18s ease;
}

.mtb-eco-showcase__brand:hover,
.mtb-eco-showcase__brand:focus-visible {
  color: var(--eco-showcase-hover);
  border-color: var(--eco-showcase-red);
  text-decoration: none;
}

.mtb-eco-showcase__brand:focus-visible {
  outline: 2px solid var(--eco-showcase-red);
  outline-offset: 3px;
}

.mtb-eco-showcase__brand h2 {
  margin: 0 0 7px;
  font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.55rem, 2.15vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.16;
  color: inherit;
  white-space: normal;
}

.mtb-eco-showcase__brand p {
  margin: 0 0 12px;
  font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(.94rem, 1.15vw, 1.19rem);
  line-height: 1.4;
  color: var(--eco-showcase-muted);
}

.mtb-eco-showcase__arrow {
  display: inline-block;
  margin-top: auto;
  font-family: Arial, sans-serif;
  font-size: 1.9rem;
  line-height: 1.05;
  font-weight: 400;
  color: var(--eco-showcase-red);
  transition: transform .18s ease;
}

.mtb-eco-showcase__brand:hover .mtb-eco-showcase__arrow,
.mtb-eco-showcase__brand:focus-visible .mtb-eco-showcase__arrow {
  transform: translateX(5px);
}

@media (max-width: 1199px) and (min-width: 961px) {
  .mtb-eco-showcase__layout {
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  }
  .mtb-eco-showcase__brands {
    gap: 23px;
    padding-inline: 22px;
  }
  .mtb-eco-showcase__intro-copy {
    padding-left: 30px;
  }
  .mtb-eco-showcase__brand h2 {
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  }
}

@media (max-width: 960px) {
  .mtb-eco-showcase__layout {
    display: block;
    min-height: 0;
  }
  .mtb-eco-showcase__intro {
    min-height: 440px;
    width: 100%;
  }
  .mtb-eco-showcase__photo {
    object-position: center 65%;
  }
  .mtb-eco-showcase__intro-copy {
    padding: 55px clamp(22px, 6vw, 54px) 30px;
  }
  .mtb-eco-showcase__intro h1 {
    max-width: 420px;
    font-size: clamp(2.6rem, 5.4vw, 3.65rem);
  }
  .mtb-eco-showcase__intro p {
    max-width: 400px;
    font-size: 1.08rem;
  }
  .mtb-eco-showcase__brands {
    gap: clamp(20px, 4vw, 48px);
    padding: 42px clamp(20px, 5vw, 58px) 52px;
  }
  .mtb-eco-showcase__brand-column {
    grid-template-rows: none;
    align-content: start;
  }
  .mtb-eco-showcase__brand {
    min-height: 160px;
    padding: 18px 2px;
  }
}

@media (max-width: 575px) {
  .mtb-eco-showcase__intro {
    min-height: 370px;
  }
  .mtb-eco-showcase__photo {
    object-position: center 66%;
  }
  .mtb-eco-showcase__intro-copy {
    padding: 43px 20px 20px;
  }
  .mtb-eco-showcase__intro h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
    max-width: 340px;
  }
  .mtb-eco-showcase__intro p {
    max-width: 315px;
    font-size: .98rem;
  }
  .mtb-eco-showcase__brands {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px 23px 38px;
  }
  .mtb-eco-showcase__brand {
    min-height: 0;
    padding: 19px 0 20px;
  }
  .mtb-eco-showcase__brand h2 {
    font-size: 1.85rem;
  }
  .mtb-eco-showcase__brand p {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mtb-eco-showcase__brand,
  .mtb-eco-showcase__arrow {
    transition: none;
  }
}
