/*
Theme Name: VoiceChanger
Theme URI: https://example.com/VoiceChanger-theme
Author: Jalent
Description: 专注2-12岁儿童言语语言康复
Version: 0.2.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: VoiceChanger-theme
*/

:root {
  --wpgw-bg: #fafcfb;
  --wpgw-surface: #ffffff;
  --wpgw-surface-alt: #fff3f4;
  --wpgw-text: #30261d;
  --wpgw-text-soft: #504444;
  --wpgw-accent: #ff5a66;
  --wpgw-accent-strong: #e94e5b;
  --wpgw-accent-soft: #ffb3ba;
  --wpgw-highlight: #f9e08e;
  --wpgw-blue: #5168c1;
  --wpgw-blue-soft: #badce6;
  --wpgw-mint: #7adfa9;
  --wpgw-lime: #d3e178;
  --wpgw-orange: #ffc56d;
  --wpgw-accent-rgb: 255, 90, 102;
  --wpgw-highlight-rgb: 249, 224, 142;
  --wpgw-blue-rgb: 81, 104, 193;
  --wpgw-mint-rgb: 122, 223, 169;
  --wpgw-border: rgba(var(--wpgw-accent-rgb), 0.14);
  --wpgw-shadow: 0 24px 60px rgba(105, 64, 55, 0.12);
  --wpgw-radius-lg: 28px;
  --wpgw-radius-md: 20px;
  --wpgw-radius-sm: 14px;
  --wpgw-container: min(1400px, calc(100% - 32px));
  --wpgw-header-height: 86px;
  --wpgw-admin-offset: 0px;
}

/* 2026 concise homepage refresh */
.yg-home {
  --yg-bg: #fffaf7;
  --yg-band: #fff4ee;
  --yg-card: #ffffff;
  --yg-ink: #25212a;
  --yg-muted: #6f6570;
  --yg-coral: #ff5a66;
  --yg-aqua: #badce6;
  --yg-mint: #7adfa9;
  --yg-gold: #ffc56d;
  --yg-lilac: #5168c1;
  background: var(--yg-bg);
}

.yg-home .site-container {
  width: min(1180px, calc(100% - 32px));
}

.yg-home-hero {
  padding: 48px 0 34px;
  background: linear-gradient(180deg, #fff8f4 0%, #fff3ee 100%);
}

.yg-home-hero__slider {
  position: relative;
  overflow: hidden;
}

.yg-home-hero__slide {
  display: none;
}

.yg-home-hero__slide.is-active {
  display: block;
}

.yg-home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: 54px;
  align-items: center;
  min-height: 460px;
}

.yg-home-hero__copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.yg-home-hero__copy h1,
.yg-home-hero__copy .hero-slide__title {
  margin: 0;
  max-width: 11em;
  color: var(--yg-ink);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.yg-home-hero__copy p {
  max-width: 620px;
  margin: 0;
  color: var(--yg-muted);
  font-size: 1.05rem;
}

.yg-home-hero__visual {
  display: grid;
  place-items: center;
  min-height: 330px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 32%, rgba(255, 123, 104, 0.24), transparent 32%),
    linear-gradient(135deg, #ffe9df 0%, #ffcfc0 100%);
  box-shadow: 0 22px 48px rgba(126, 72, 56, 0.12);
  overflow: hidden;
}

.yg-home-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yg-brand-mark {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    conic-gradient(from 220deg, var(--yg-coral), var(--yg-gold), var(--yg-mint), var(--yg-aqua), var(--yg-coral));
  -webkit-mask: radial-gradient(circle at center, transparent 42%, #000 44%);
  mask: radial-gradient(circle at center, transparent 42%, #000 44%);
}

.yg-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: #196a77;
  background: rgba(72, 191, 210, 0.14);
  font-size: 0.86rem;
  font-weight: 700;
}

.yg-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.yg-hero-dots {
  display: flex;
  gap: 8px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.yg-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  text-align: center;
}

.yg-hero-stats article {
  padding: 18px 12px;
}

.yg-hero-stats strong {
  display: block;
  color: var(--yg-coral);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

.yg-hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--yg-muted);
  font-size: 0.9rem;
}

.yg-section {
  padding: 88px 0;
  background: var(--yg-band);
}

.yg-section--white {
  background: #ffffff;
}

.yg-section-heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.yg-section-heading h2 {
  margin: 0;
  color: var(--yg-ink);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.yg-section-heading p {
  margin: 0;
  color: var(--yg-muted);
}

.yg-section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.yg-card-grid {
  display: grid;
  gap: 18px;
}

.yg-card-grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yg-card-grid--programs,
.yg-card-grid--stories,
.yg-card-grid--news {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yg-card-grid--team {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yg-service-card,
.yg-program-card,
.yg-story-card,
.yg-team-card,
.yg-news-card,
.yg-city-card,
.yg-topic-link {
  border: 1px solid rgba(64, 48, 42, 0.07);
  border-radius: 8px;
  background: var(--yg-card);
  box-shadow: 0 14px 30px rgba(78, 54, 44, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.yg-service-card:hover,
.yg-program-card:hover,
.yg-story-card:hover,
.yg-team-card:hover,
.yg-news-card:hover,
.yg-city-card:hover,
.yg-topic-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 104, 0.28);
  box-shadow: 0 20px 42px rgba(78, 54, 44, 0.1);
}

.yg-service-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 26px;
  align-content: start;
}

.yg-service-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: var(--yg-coral);
}

.yg-service-card h3,
.yg-program-card h3,
.yg-story-card h3,
.yg-team-card h3,
.yg-news-card h3,
.yg-timeline h3 {
  margin: 0;
  color: var(--yg-ink);
  font-size: 1.12rem;
  line-height: 1.36;
  letter-spacing: 0;
}

.yg-service-card p,
.yg-program-card p,
.yg-story-card p,
.yg-team-card p,
.yg-news-card p,
.yg-timeline p {
  margin: 0;
  color: var(--yg-muted);
  font-size: 0.94rem;
}

.yg-service-card--aqua {
  background: #eefbfe;
}

.yg-service-card--aqua span {
  background: var(--yg-aqua);
}

.yg-service-card--gold {
  background: #fff8e8;
}

.yg-service-card--gold span {
  background: var(--yg-gold);
}

.yg-service-card--mint {
  background: #f0fbf5;
}

.yg-service-card--mint span {
  background: var(--yg-mint);
}

.yg-service-card--lilac {
  background: #f7f2ff;
}

.yg-service-card--lilac span {
  background: var(--yg-lilac);
}

.yg-program-card {
  overflow: hidden;
}

.yg-program-card__toggle {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 24px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.yg-program-card__toggle span {
  color: var(--yg-aqua);
  font-size: 0.82rem;
  font-weight: 800;
}

.yg-program-card__toggle strong {
  color: var(--yg-ink);
  font-size: 1.22rem;
}

.yg-program-card__content {
  display: none;
  padding: 0 24px 24px;
}

.yg-program-card.is-active .yg-program-card__content {
  display: grid;
  gap: 14px;
}

.yg-program-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.1em;
  color: var(--yg-muted);
  font-size: 0.92rem;
}

.yg-story-card,
.yg-news-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  min-height: 210px;
  align-content: start;
}

.yg-story-card span,
.yg-news-card span {
  color: var(--yg-coral);
  font-size: 0.86rem;
  font-weight: 800;
}

.yg-team-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 248px;
  padding: 28px 20px;
  text-align: center;
}

.yg-team-card strong {
  color: var(--yg-aqua);
  font-size: 0.9rem;
}

.yg-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff2ec;
  color: var(--yg-coral);
  font-weight: 800;
}

.yg-city-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.yg-city-card {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
}

.yg-city-card strong {
  color: var(--yg-ink);
}

.yg-city-card span {
  color: var(--yg-aqua);
  font-size: 0.9rem;
  font-weight: 800;
}

.yg-city-card small {
  color: var(--yg-muted);
  font-size: 0.78rem;
}

.yg-center-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.yg-search-box {
  display: block;
  max-width: 720px;
  margin: 0 auto 24px;
}

.yg-search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(64, 48, 42, 0.08);
  border-radius: 999px;
  outline: 0;
  color: var(--yg-ink);
  background: #fffaf7;
}

.yg-search-box input:focus {
  border-color: rgba(72, 191, 210, 0.5);
  box-shadow: 0 0 0 4px rgba(72, 191, 210, 0.12);
}

.yg-topic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.yg-topic-link {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 16px;
  color: #277486;
  font-size: 0.92rem;
  font-weight: 700;
}

.yg-topic-link.is-hidden {
  display: none;
}

.yg-search-empty {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--yg-muted);
  text-align: center;
}

.yg-city-search-section {
  background: #fff;
}

.yg-city-search-box {
  width: min(760px, 100%);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 125, 102, 0.2);
  border-radius: 999px;
  background: #fffaf7;
  box-shadow: 0 18px 42px rgba(55, 38, 28, 0.06);
}

.yg-city-search-box label {
  display: block;
  min-width: 0;
}

.yg-city-search-box input {
  width: 100%;
  min-height: 3rem;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 1.1rem;
  color: #1b2a41;
  font: inherit;
}

.yg-city-search-box input::placeholder {
  color: #8b98aa;
}

.yg-city-search-box button {
  min-width: 5.6rem;
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a6a 0%, #ff9469 100%);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(255, 90, 106, 0.2);
}

.yg-city-keyword-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.yg-city-keyword-card {
  min-height: 9.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 125, 102, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fffdfb 100%);
  box-shadow: 0 18px 44px rgba(60, 42, 30, 0.07);
}

.yg-city-keyword-card h3 {
  margin: 0 0 0.8rem;
  color: #13233a;
  font-size: 1.05rem;
  line-height: 1.25;
}

.yg-city-keyword-links {
  display: grid;
  gap: 0.38rem;
}

.yg-city-keyword-links a {
  color: #2f8da5;
  font-size: 0.86rem;
  line-height: 1.35;
  text-decoration: none;
}

.yg-city-keyword-links a:hover,
.yg-city-keyword-links a:focus-visible {
  color: #ff5a6a;
  text-decoration: underline;
}

.site-main--city-keyword .city-keyword-detail {
  padding: 3rem 0 4.5rem;
}

.site-main--city-keyword .city-keyword-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.25rem;
}

.site-main--city-keyword .city-keyword-cover {
  margin-bottom: 1.5rem;
  border-radius: 14px;
  overflow: hidden;
}

.site-main--city-keyword .city-keyword-cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.site-main--city-keyword .city-keyword-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.site-main--city-keyword .city-keyword-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #fff0ec;
  color: #ff5a6a;
  font-weight: 700;
}

.site-main--city-keyword .entry-content {
  color: #30415d;
  font-size: 1.05rem;
  line-height: 1.9;
}

.yg-timeline {
  display: grid;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.yg-timeline__item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 28px;
  position: relative;
}

.yg-timeline__item::before {
  content: "";
  position: absolute;
  left: 95px;
  top: 8px;
  bottom: -8px;
  width: 1px;
  background: rgba(255, 123, 104, 0.22);
}

.yg-timeline__item::after {
  content: "";
  position: absolute;
  left: 89px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yg-coral);
}

.yg-timeline__item time {
  color: var(--yg-coral);
  font-weight: 800;
}

.yg-timeline__item div {
  display: grid;
  gap: 8px;
}

.yg-cta {
  padding: 58px 0;
  color: #fff;
  background: linear-gradient(135deg, #ff876e 0%, #49bed0 100%);
}

.yg-cta__inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.yg-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0;
}

.yg-cta p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.yg-cta .section-kicker {
  color: #fff;
}

.yg-cta .button-primary {
  flex: 0 0 auto;
  background: #fff;
  color: #e46352;
  box-shadow: 0 18px 34px rgba(65, 37, 29, 0.16);
}

.yg-home .section-shell--appointment {
  background: #fffaf7;
}

@media (max-width: 1024px) {
  .yg-home-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .yg-card-grid--services,
  .yg-card-grid--programs,
  .yg-card-grid--stories,
  .yg-card-grid--news,
  .yg-card-grid--team,
  .yg-city-grid,
  .yg-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .yg-home-hero,
  .yg-section {
    padding: 56px 0;
  }

  .yg-home-hero__inner {
    gap: 26px;
  }

  .yg-home-hero__visual {
    min-height: 220px;
  }

  .yg-hero-stats,
  .yg-card-grid--services,
  .yg-card-grid--programs,
  .yg-card-grid--stories,
  .yg-card-grid--news,
  .yg-card-grid--team,
  .yg-city-grid,
  .yg-topic-grid {
    grid-template-columns: 1fr;
  }

  .yg-section-heading {
    justify-items: start;
    text-align: left;
  }

  .yg-cta__inner {
    display: grid;
  }

  .yg-timeline__item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
  }

  .yg-timeline__item::before {
    left: 58px;
  }

  .yg-timeline__item::after {
    left: 52px;
  }
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset));
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--wpgw-text);
  background:
    radial-gradient(circle at top left, rgba(var(--wpgw-accent-rgb), 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(var(--wpgw-blue-rgb), 0.12), transparent 28%),
    linear-gradient(180deg, #fff8f4 0%, #fff0e7 40%, #ffffff 100%);
  line-height: 1.7;
}

body.has-mobile-nav-open {
  overflow: hidden;
}

body.admin-bar {
  --wpgw-admin-offset: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-container {
  width: var(--wpgw-container);
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wpgw-accent);
}

.section-kicker::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wpgw-highlight), var(--wpgw-accent));
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.hero-slide__title,
.page-banner .hero-slide__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p,
.hero-slide p,
.page-banner p {
  margin: 0;
  max-width: 62ch;
  color: var(--wpgw-text-soft);
}

.section-heading--light .section-kicker,
.section-heading--light h2,
.section-heading--light p {
  color: #fff8f4;
}

.button-primary,
.button-secondary,
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-primary,
.search-submit {
  background: var(--wpgw-accent);
  color: #fff8f4;
  box-shadow: 0 16px 30px rgba(var(--wpgw-accent-rgb), 0.28);
}

.button-secondary {
  background: rgba(var(--wpgw-blue-rgb), 0.16);
  color: var(--wpgw-text);
}

.button-primary:hover,
.button-secondary:hover,
.search-submit:hover {
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--wpgw-accent);
  font-weight: 600;
}

.text-link::after {
  content: ">";
  font-size: 0.9em;
}

.site-header {
  position: fixed;
  inset: var(--wpgw-admin-offset) 0 auto;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 248, 0.92);
  border-bottom: 1px solid rgba(var(--wpgw-accent-rgb), 0.1);
  box-shadow: 0 12px 28px rgba(105, 64, 55, 0.08);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 86px;
}

.brand-cluster {
  min-width: 0;
}

.brand-mark,
.footer-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark .custom-logo {
  width: auto;
  max-height: 52px;
}

.brand-mark--custom .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand-mark__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--wpgw-accent) 0%, var(--wpgw-orange) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark__badge--image {
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
}

.brand-mark__badge-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark__text {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.brand-mark__text strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand-mark__text span {
  font-size: 0.8rem;
  color: var(--wpgw-text-soft);
}

.primary-nav {
  justify-self: center;
}

.primary-menu,
.primary-menu ul {
  list-style: none;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  font-size: 1rem;
  color: var(--wpgw-text);
}

.primary-menu > li.menu-item-has-children > a::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.12rem);
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  min-width: 220px;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.1);
  border-radius: 18px;
  box-shadow: var(--wpgw-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  color: var(--wpgw-text-soft);
}

.primary-menu .sub-menu a:hover {
  background: rgba(var(--wpgw-accent-rgb), 0.08);
  color: var(--wpgw-accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-toggle,
.language-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.08);
  color: var(--wpgw-accent);
}

.search-toggle {
  border: 0;
  cursor: pointer;
}

.hotline-chip {
  display: inline-grid;
  gap: 0.08rem;
  padding: 0.7rem 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--wpgw-accent-strong) 0%, var(--wpgw-orange) 100%);
  color: #fff;
}

.hotline-chip span {
  font-size: 0.72rem;
  opacity: 0.86;
}

.hotline-chip strong {
  font-size: 1rem;
}

.hotline-chip--mobile {
  display: none;
}

.header-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--wpgw-accent);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-menu-open .header-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .header-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .header-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-search-panel {
  padding: 0 0 1.1rem;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 1rem 0 0;
}

.search-form label {
  min-width: 0;
}

.search-field {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.16);
  border-radius: 999px;
  background: #fff;
}

.site-main {
  display: block;
}

.home .site-main {
  background:
    radial-gradient(circle at 10% 8%, rgba(var(--wpgw-accent-rgb), 0.14), transparent 24%),
    radial-gradient(circle at 90% 8%, rgba(var(--wpgw-blue-rgb), 0.18), transparent 24%),
    radial-gradient(circle at 78% 34%, rgba(var(--wpgw-blue-rgb), 0.1), transparent 18%),
    radial-gradient(circle at 20% 42%, rgba(var(--wpgw-highlight-rgb), 0.12), transparent 26%),
    radial-gradient(circle at 12% 78%, rgba(var(--wpgw-blue-rgb), 0.09), transparent 24%),
    radial-gradient(circle at 84% 68%, rgba(var(--wpgw-accent-rgb), 0.08), transparent 24%),
    linear-gradient(180deg, #fff8f4 0%, #f4fbff 18%, #fff7f2 42%, #f7fbff 68%, #ffffff 100%);
}

.site-main > .hero:first-child {
  margin-top: calc(-1 * (var(--wpgw-header-height) + var(--wpgw-admin-offset)));
}

.site-main > .page-banner:first-child {
  margin-top: calc(-1 * (var(--wpgw-header-height) + var(--wpgw-admin-offset)));
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 2rem;
}

.home .hero {
  padding-bottom: clamp(1.5rem, 3vw, 2.75rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  pointer-events: none;
}

.hero::before {
  inset: auto auto 5% -8%;
  width: 320px;
  height: 320px;
  background: rgba(var(--wpgw-highlight-rgb), 0.34);
}

.hero::after {
  inset: -12% -6% auto auto;
  width: 420px;
  height: 420px;
  background: rgba(var(--wpgw-blue-rgb), 0.18);
}

.hero-shell {
  position: relative;
  margin-top: 1.5rem;
}

.hero-slider,
.page-banner__slider,
.hero-visual,
.service-card,
.program-panel,
.story-card,
.team-card,
.news-card,
.impact-card,
.branch-card,
.post-card,
.entry-card,
.empty-state-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
}

.hero-slider,
.page-banner__slider {
  position: relative;
  min-height: 560px;
  --wpgw-slider-glass-height: 112px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}

.hero-slider::before,
.page-banner__slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.12), transparent 48%),
    radial-gradient(circle at bottom right, rgba(var(--wpgw-highlight-rgb), 0.26), transparent 30%);
  z-index: -1;
  opacity: 0.28;
}

.page-banner__slider {
  min-height: 520px;
  --wpgw-slider-glass-height: 104px;
}

.page-banner__slider::before {
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.14), rgba(var(--wpgw-blue-rgb), 0.16)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.42), transparent 34%);
}

.hero-slide,
.page-banner-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide__content {
  position: relative;
  display: grid;
  align-content: end;
  gap: 1.1rem;
  min-height: inherit;
  height: 100%;
  padding-top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 2.25rem);
  padding-bottom: calc(var(--wpgw-slider-glass-height) + 3rem);
}

.page-banner-slide__content {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1.1rem;
  min-height: inherit;
  height: 100%;
  padding-top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 2.25rem);
  padding-bottom: calc(var(--wpgw-slider-glass-height) + 2.75rem);
}

.hero-slide__intro,
.page-banner-slide__intro {
  display: grid;
  gap: 1rem;
  max-width: min(880px, 72%);
}

.hero-slide::before,
.page-banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 244, 0.68) 0%, rgba(255, 248, 244, 0.3) 38%, rgba(255, 248, 244, 0.06) 62%),
    linear-gradient(180deg, rgba(255, 248, 244, 0.04) 0%, rgba(255, 248, 244, 0.18) 100%),
    var(--hero-slide-image, none);
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 1;
}

.page-banner-slide::before {
  opacity: 1;
}

.hero-slide.is-active,
.page-banner-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-slide__tag {
  justify-self: start;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.72);
  color: var(--wpgw-accent);
  font-size: 0.8rem;
  box-shadow: 0 10px 24px rgba(105, 64, 55, 0.08);
}

.hero-slide__glass,
.page-banner-slide__glass {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  background: rgba(255, 248, 244, 0.68);
  border-top: 1px solid rgba(255, 248, 244, 0.42);
  backdrop-filter: blur(18px);
}

.hero-slide__glass-inner,
.page-banner-slide__glass-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--wpgw-slider-glass-height);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 9rem;
}

.hero-slider--single .hero-slide__glass-inner,
.page-banner__slider--single .page-banner-slide__glass-inner {
  padding-right: 0;
}

.hero-slide__summary {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-slide__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  min-height: 52px;
}

.hero-slide .section-kicker,
.page-banner-slide .section-kicker {
  color: var(--wpgw-accent-strong);
  text-shadow: 0 1px 12px rgba(255, 248, 244, 0.3);
}

.hero-slide__intro .hero-slide__title,
.page-banner-slide__intro .hero-slide__title {
  display: grid;
  gap: 0.08em;
  max-width: 12ch;
  text-shadow: 0 2px 12px rgba(255, 248, 244, 0.34);
}

.hero-slide__title-line {
  display: block;
  max-width: 100%;
  font-weight: inherit;
  white-space: nowrap;
}

.hero-slide__summary p,
.page-banner-slide__glass-inner p {
  margin: 0;
  max-width: 36rem;
  color: var(--wpgw-text);
}

.hero-slide .button-primary,
.page-banner-slide .button-primary {
  background: var(--wpgw-accent);
  color: #fff8f4;
  box-shadow: 0 10px 18px rgba(var(--wpgw-accent-rgb), 0.2);
}

.hero-slide .button-secondary,
.page-banner-slide .button-secondary {
  background: rgba(255, 248, 244, 0.82);
  color: var(--wpgw-text);
  border: 1px solid rgba(49, 38, 29, 0.08);
  box-shadow: 0 8px 16px rgba(49, 38, 29, 0.06);
  backdrop-filter: blur(12px);
}

.hero-dots,
.page-banner__dots {
  display: flex;
  gap: 0.55rem;
}

.hero-dots-shell,
.page-banner__dots-shell {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  pointer-events: none;
}

.hero-dots,
.page-banner__dots {
  position: relative;
  min-height: var(--wpgw-slider-glass-height);
  align-items: center;
  pointer-events: none;
}

.hero-dots,
.page-banner__dots {
  justify-content: flex-end;
}

.hero-dot,
.page-banner__dot {
  width: 14px;
  height: 14px;
  padding: 0;
  pointer-events: auto;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.92);
  box-shadow: 0 10px 24px rgba(49, 38, 29, 0.08);
  cursor: pointer;
}

.hero-dot.is-active,
.page-banner__dot.is-active {
  width: 38px;
  background: var(--wpgw-accent);
  border-color: transparent;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 34px;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -16% -24% auto;
  width: 260px;
  height: 260px;
  border-radius: 44% 56% 52% 48%;
  background: rgba(var(--wpgw-accent-rgb), 0.12);
}

.hero-visual__card,
.metric-card,
.stat-card,
.qr-card,
.network-pill {
  position: relative;
  z-index: 1;
}

.hero-visual__card {
  padding: 1.5rem;
  border-radius: var(--wpgw-radius-lg);
}

.hero-visual__card--primary {
  background: linear-gradient(135deg, #ffffff 0%, #fff5ef 100%);
}

.hero-visual__card--accent {
  background: linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.1) 0%, rgba(var(--wpgw-highlight-rgb), 0.3) 100%);
}

.hero-visual__eyebrow {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--wpgw-accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual__card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.2;
}

.hero-visual__card p {
  margin: 0;
  color: var(--wpgw-text-soft);
}

.hero-visual__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.metric-card {
  padding: 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.08);
}

.metric-card strong,
.stat-card strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.metric-card span,
.stat-card span {
  display: block;
  margin-top: 0.5rem;
  color: var(--wpgw-text-soft);
  font-size: 0.9rem;
}

.section-shell {
  padding: 2rem 0 4rem;
}

.home .hero + .section-shell {
  padding-top: clamp(0.35rem, 1vw, 0.75rem);
}

.home .site-main > .section-shell:not(.section-shell--accent),
.home .site-main > .hero-shell,
.home .site-main > .cta-band {
  position: relative;
  isolation: isolate;
  background: transparent;
}

.home .site-main > .section-shell:not(.section-shell--accent)::before,
.home .site-main > .hero-shell::before,
.home .site-main > .cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.home .site-main > .section-shell:not(.section-shell--soft):not(.section-shell--muted):not(.section-shell--accent)::before,
.home .site-main > .hero-shell::before,
.home .site-main > .cta-band::before {
  background:
    radial-gradient(circle at 82% 28%, rgba(var(--wpgw-blue-rgb), 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(var(--wpgw-blue-rgb), 0.06) 18%, rgba(var(--wpgw-accent-rgb), 0.04) 52%, rgba(var(--wpgw-highlight-rgb), 0.05) 82%, rgba(255, 255, 255, 0) 100%);
}

.home .site-main > .section-shell:not(.section-shell--accent) > .site-container,
.home .site-main > .cta-band > .site-container,
.home .site-main > .hero-shell > * {
  position: relative;
  z-index: 1;
}

.home .site-main > .hero-shell::before {
  background:
    radial-gradient(circle at 16% 32%, rgba(var(--wpgw-accent-rgb), 0.1), transparent 24%),
    radial-gradient(circle at 84% 24%, rgba(var(--wpgw-blue-rgb), 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(var(--wpgw-highlight-rgb), 0.08) 24%, rgba(var(--wpgw-accent-rgb), 0.05) 64%, rgba(255, 255, 255, 0) 100%);
}

.home .site-main > .cta-band::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(var(--wpgw-accent-rgb), 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(var(--wpgw-accent-rgb), 0.05) 22%, rgba(var(--wpgw-highlight-rgb), 0.04) 78%, rgba(255, 255, 255, 0) 100%);
}

.section-shell--soft {
  background:
    linear-gradient(180deg, rgba(var(--wpgw-accent-rgb), 0.05), rgba(255, 255, 255, 0)),
    transparent;
}

.home .site-main > #services {
  background: linear-gradient(135deg, var(--wpgw-accent-strong) 0%, var(--wpgw-accent) 62%, var(--wpgw-orange) 100%);
}

.home .site-main > #news {
  background: linear-gradient(135deg, var(--wpgw-accent-strong) 0%, var(--wpgw-accent) 62%, var(--wpgw-orange) 100%);
}

.home .site-main > #services::before {
  content: none;
}

.home .site-main > #news::before {
  content: none;
}

.home .site-main > #services .section-kicker,
.home .site-main > #services .section-heading h2,
.home .site-main > #services .section-heading p {
  color: #fff8f4;
}

.home .site-main > #news .section-kicker,
.home .site-main > #news .section-heading h2,
.home .site-main > #news .section-heading p {
  color: #fff8f4;
}

.home .site-main > #services .service-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
}

.home .site-main > .section-shell.section-shell--soft::before {
  background:
    radial-gradient(circle at 88% 26%, rgba(var(--wpgw-blue-rgb), 0.1), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(var(--wpgw-blue-rgb), 0.08) 20%, rgba(var(--wpgw-accent-rgb), 0.05) 52%, rgba(var(--wpgw-blue-rgb), 0.05) 82%, rgba(255, 255, 255, 0) 100%);
}

.home .site-main > .section-shell.section-shell--muted::before {
  background:
    radial-gradient(circle at 12% 26%, rgba(var(--wpgw-blue-rgb), 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(var(--wpgw-blue-rgb), 0.11) 18%, rgba(var(--wpgw-highlight-rgb), 0.08) 52%, rgba(var(--wpgw-blue-rgb), 0.05) 82%, rgba(255, 255, 255, 0) 100%);
}

.section-shell--muted {
  background: linear-gradient(180deg, rgba(var(--wpgw-blue-rgb), 0.08), rgba(255, 255, 255, 0));
}

.section-shell--accent {
  background: linear-gradient(135deg, var(--wpgw-accent-strong) 0%, var(--wpgw-accent) 62%, var(--wpgw-orange) 100%);
}

.section-shell--appointment {
  padding-top: 1rem;
}

.appointment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.appointment-copy,
.appointment-card,
.appointment-note {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
  border-radius: 32px;
}

.appointment-copy {
  padding: 2rem;
}

.appointment-copy__cards {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.appointment-note {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem 1.25rem;
}

.appointment-note strong {
  color: var(--wpgw-text);
}

.appointment-note a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wpgw-accent);
}

.appointment-note span {
  color: var(--wpgw-text-soft);
}

.appointment-card {
  padding: 2rem;
}

.appointment-status {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  font-size: 0.95rem;
}

.appointment-status--success {
  background: rgba(var(--wpgw-mint-rgb), 0.22);
  color: var(--wpgw-text);
}

.appointment-status--error {
  background: rgba(179, 68, 49, 0.1);
  color: #9f3b2d;
}

.appointment-result {
  display: grid;
  gap: 1rem;
}

.appointment-result .appointment-status {
  margin-bottom: 0;
}

.appointment-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.floating-consult-modal--result .floating-consult-modal__panel {
  width: min(640px, calc(100vw - 2rem));
}

.appointment-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.5rem;
}

.field-group--full {
  grid-column: 1 / -1;
}

.field-group span {
  font-size: 0.94rem;
  color: var(--wpgw-text);
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.field-label__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.45rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.1);
  color: var(--wpgw-accent-strong);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.04em;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.14);
  border-radius: 18px;
  background: #fff;
  color: var(--wpgw-text);
  font: inherit;
}

.field-group textarea {
  min-height: 140px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: 0;
  border-color: rgba(var(--wpgw-accent-rgb), 0.45);
  box-shadow: 0 0 0 4px rgba(var(--wpgw-accent-rgb), 0.08);
}

.field-group select:disabled {
  cursor: not-allowed;
  background: rgba(232, 240, 237, 0.7);
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--wpgw-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(90, 58, 43, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.custom-select__trigger.is-placeholder,
.custom-select:not(.has-value) .custom-select__trigger {
  color: var(--wpgw-text-soft);
}

.custom-select__trigger:focus-visible,
.custom-select.is-open .custom-select__trigger {
  outline: 0;
  border-color: rgba(var(--wpgw-accent-rgb), 0.45);
  box-shadow: 0 0 0 4px rgba(var(--wpgw-accent-rgb), 0.08);
}

.custom-select.is-disabled .custom-select__trigger {
  cursor: not-allowed;
  background: rgba(232, 240, 237, 0.7);
  color: var(--wpgw-text-soft);
  box-shadow: none;
}

.custom-select.is-invalid .custom-select__trigger {
  border-color: rgba(179, 68, 49, 0.45);
  box-shadow: 0 0 0 4px rgba(179, 68, 49, 0.08);
}

.custom-select__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__icon {
  flex: 0 0 auto;
  margin-left: 0.9rem;
  color: var(--wpgw-accent);
  font-size: 0.82rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.custom-select.is-open .custom-select__icon {
  transform: rotate(180deg);
  color: var(--wpgw-accent-strong);
}

.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0.5rem;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 249, 245, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 20px 48px rgba(90, 58, 43, 0.12);
  backdrop-filter: blur(16px);
}

.custom-select__dropdown--portal {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  z-index: 180;
}

.custom-select__options {
  display: grid;
  gap: 0.3rem;
  max-height: 16rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.custom-select__options::-webkit-scrollbar {
  width: 8px;
}

.custom-select__options::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.18);
}

.custom-select__option {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--wpgw-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  outline: 0;
  background: rgba(var(--wpgw-accent-rgb), 0.08);
}

.custom-select__option.is-selected {
  background: rgba(var(--wpgw-highlight-rgb), 0.22);
  color: var(--wpgw-accent-strong);
}

.custom-select__option.is-placeholder {
  color: var(--wpgw-text-soft);
}

.custom-select__option:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.appointment-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.appointment-form__footer p {
  margin: 0;
  color: var(--wpgw-text-soft);
}

.appointment-card--modal {
  padding: 1.5rem;
  box-shadow: none;
}

body.has-modal-open {
  overflow: hidden;
}

.floating-consult-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(49, 38, 29, 0.24);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  overflow-y: auto;
}

.floating-consult-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.floating-consult-modal__backdrop {
  position: fixed;
  inset: 0;
}

.floating-consult-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 2rem));
  padding: 1.6rem;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 250, 246, 0.98), rgba(249, 255, 255, 0.96));
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
  box-shadow: 0 32px 80px rgba(49, 38, 29, 0.2);
}

.floating-consult-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.08);
  color: var(--wpgw-text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-consult-modal__close:hover,
.floating-consult-modal__close:focus-visible {
  transform: scale(1.04);
  background: rgba(var(--wpgw-accent-rgb), 0.14);
  outline: 0;
}

.floating-consult-modal__header {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-right: 3.25rem;
}

.floating-consult-modal__header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.floating-consult-modal__header p {
  margin: 0;
  max-width: 56rem;
  color: var(--wpgw-text-soft);
}

.brand-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1rem;
  align-items: stretch;
}

.brand-intro__main,
.brand-intro__side {
  min-width: 0;
}

.brand-intro__main,
.brand-intro__side,
.brand-intro__metrics {
  display: grid;
  gap: 1rem;
}

.brand-intro__side {
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto auto;
}

.brand-intro__card {
  padding: 1.75rem;
  border-radius: 32px;
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
}

.brand-intro__card--primary {
  background: linear-gradient(135deg, #ffffff 0%, #fff5ef 100%);
}

.brand-intro__card--accent {
  display: grid;
  height: 100%;
  align-content: start;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 255, 255, 0.86) 58%, rgba(var(--wpgw-blue-rgb), 0.12) 100%);
  border-color: rgba(var(--wpgw-accent-rgb), 0.12);
  box-shadow:
    0 24px 60px rgba(105, 64, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.brand-intro__card--accent .hero-visual__eyebrow {
  color: var(--wpgw-accent-strong);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand-intro__card--accent h3 {
  color: #2b2119;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand-intro__card--accent p {
  color: #6a584f;
  font-weight: 500;
}

.brand-intro__card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1.22;
}

.brand-intro__card-media {
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 24px;
}

.brand-intro__card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.65 / 0.62;
  object-fit: cover;
}

.brand-intro__card p {
  margin: 0.85rem 0 0;
  color: var(--wpgw-text-soft);
  font-size: 1.04rem;
  line-height: 1.8;
}

.brand-intro__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-intro__metrics--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-intro__metric {
  min-height: 128px;
  align-content: center;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
  box-shadow:
    0 18px 36px rgba(105, 64, 55, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.brand-intro__metric strong {
  color: var(--wpgw-text);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-intro__metric span {
  color: #6f5d54;
  font-weight: 500;
}

.brand-intro__metric--peach {
  background: linear-gradient(180deg, rgba(255, 248, 244, 0.96), rgba(255, 239, 230, 0.88));
}

.brand-intro__metric--peach strong {
  color: #f1a93d;
}

.brand-intro__metric--blue {
  background: linear-gradient(180deg, rgba(244, 252, 255, 0.96), rgba(219, 243, 252, 0.92));
}

.brand-intro__metric--blue strong {
  color: #4c8ff0;
}

.brand-intro__metric--gold {
  background: linear-gradient(180deg, rgba(255, 252, 240, 0.97), rgba(255, 245, 210, 0.9));
}

.brand-intro__metric--gold strong {
  color: #dd9d2f;
}

.service-grid,
.story-grid,
.team-grid,
.news-grid,
.impact-grid,
.post-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.story-card,
.team-card,
.impact-card,
.branch-card,
.post-card,
.entry-card,
.empty-state-card {
  border-radius: var(--wpgw-radius-lg);
}

.service-card {
  position: relative;
  padding: 1.6rem;
  overflow: hidden;
}

.service-card__index {
  position: absolute;
  right: 1.2rem;
  top: 1.1rem;
  color: rgba(var(--wpgw-accent-rgb), 0.12);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 700;
}

.service-card h3,
.story-card h2,
.story-card h3,
.team-card h3,
.impact-card h3,
.branch-card h3,
.post-card h2,
.news-card h3,
.entry-card h1 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.service-card p,
.story-card p,
.team-card p,
.impact-card p,
.branch-card p,
.news-card p,
.post-card p {
  margin: 0;
  color: var(--wpgw-text-soft);
}

.service-card ul,
.program-panel__content ul,
.footer-nav-group ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.service-card li,
.program-panel__content li,
.footer-nav-group li {
  position: relative;
  padding-left: 1rem;
  color: var(--wpgw-text-soft);
}

.service-card li::before,
.program-panel__content li::before,
.footer-nav-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--wpgw-highlight);
}

.program-panels {
  display: flex;
  gap: 1rem;
}

.program-panel {
  flex: 1 1 0;
  min-width: 0;
  padding: 1.4rem;
  border-radius: 32px;
  transition: flex 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.program-panel.is-active {
  flex: 1.4 1 0;
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.08), rgba(var(--wpgw-highlight-rgb), 0.18)),
    #fff;
}

.program-panel__toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.program-panel__title {
  display: block;
  margin-top: 0.8rem;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--wpgw-text);
}

.program-panel__content {
  display: block;
  margin-top: 1rem;
}

.program-panel__media {
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 20px;
}

.program-panel__media img {
  width: 100%;
  aspect-ratio: 1.3 / 0.76;
  object-fit: cover;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  padding: 1.5rem;
}

.story-card--with-media {
  padding: 0;
  overflow: hidden;
}

.story-card__media {
  display: block;
  aspect-ratio: 1.25 / 0.86;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.16), rgba(var(--wpgw-highlight-rgb), 0.24)),
    #fff4ea;
  color: var(--wpgw-accent);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.story-card__body {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
}

.story-card__body h2,
.story-card__body h3 {
  margin: 0;
}

.story-card__body p {
  margin: 0;
}

.story-card__meta {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.08);
  color: var(--wpgw-accent);
  font-size: 0.82rem;
}

.story-card__body .story-card__meta {
  margin-bottom: 0;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.05rem;
  row-gap: 4.1rem;
  padding-top: 1.35rem;
}

.archive-group--team .team-grid {
  padding-top: 2.75rem;
}

.archive-group--team-featured .team-grid--featured {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.3rem;
  padding-top: 0.9rem;
}

.team-card {
  position: relative;
  min-height: 204px;
  padding: 0;
  overflow: visible;
  isolation: isolate;
  background: linear-gradient(96deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 248, 0.97) 34%, rgba(245, 252, 255, 0.96) 62%, rgba(255, 250, 234, 0.94) 100%);
  border-color: rgba(var(--wpgw-accent-rgb), 0.08);
  box-shadow: 0 18px 38px rgba(92, 66, 55, 0.08);
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 67% 22%, rgba(var(--wpgw-blue-rgb), 0.2), transparent 24%),
    radial-gradient(circle at 77% 78%, rgba(var(--wpgw-highlight-rgb), 0.16), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 28%, rgba(var(--wpgw-blue-rgb), 0.05) 54%, rgba(var(--wpgw-highlight-rgb), 0.08) 100%);
  z-index: 0;
}

.team-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.64rem;
  min-height: 100%;
  padding: 0.86rem 43% 0.68rem 0.9rem;
}

.team-card__role {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--wpgw-accent);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.team-card__role::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8c062, rgba(var(--wpgw-accent-rgb), 0.72));
}

.team-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #eff8f4 0%, #dff1ea 100%);
  color: var(--wpgw-accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.team-card__media {
  position: absolute;
  inset: 0 0 0 50%;
  min-height: 0;
  padding: 0 0.35rem 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: none;
  pointer-events: none;
  z-index: 1;
}

.team-card__media::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: 10px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
  opacity: 0.8;
}

.team-card__media img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: none;
  height: calc(100% + 52px);
  max-height: none;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 18px 28px rgba(44, 33, 28, 0.15));
  transform: translateX(2%);
}

.team-card--featured {
  width: min(100%, calc((100% - 1.05rem) * 0.6667 + 1.05rem));
  min-height: 248px;
  margin-inline: auto;
}

.team-card--featured .team-card__body {
  padding-right: 39%;
}

.team-card--featured .team-card__media {
  inset: 0 0 0 47%;
}

.team-card--featured .team-card__media::before {
  display: none;
}

.team-card__media--placeholder {
  inset: auto 1.2rem 1.2rem auto;
  width: auto;
  height: auto;
  padding: 0;
}

.team-card__media-avatar {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--wpgw-accent);
  font-size: 1.9rem;
  font-weight: 700;
  box-shadow: 0 16px 26px rgba(95, 73, 62, 0.1);
}

.team-card h2,
.team-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.5vw, 1.9rem);
  line-height: 1.12;
  word-break: break-word;
}

.team-card h2 a,
.team-card h3 a {
  color: inherit;
}

.team-card p {
  margin: 0;
  color: var(--wpgw-text-soft);
  font-size: 0.95rem;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-card .text-link {
  margin-top: auto;
  position: relative;
  z-index: 2;
  font-size: 0.94rem;
  font-weight: 700;
}

@media (min-width: 1480px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 3.4rem;
    padding-top: 1.05rem;
  }

  .archive-group--team .team-grid {
    padding-top: 2.4rem;
  }

  .archive-group--team-featured .team-grid--featured {
    padding-top: 0.8rem;
  }

  .archive-group--team .team-grid {
    padding-top: 2.45rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card strong,
.stat-card span {
  color: #fff;
}

.branch-section {
  --wpgw-branch-card-height: 176px;
  --wpgw-branch-scroll-gap: 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.branch-visual,
.branch-list {
  min-width: 0;
}

.branch-visual,
.branch-list[data-branch-selector] {
  height: 100%;
}

.branch-list[data-branch-selector] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.1);
  box-shadow: var(--wpgw-shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.branch-visual {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.08), rgba(var(--wpgw-highlight-rgb), 0.16)),
    #fff;
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
}

.branch-map {
  flex: 1 1 auto;
  position: relative;
  min-height: 360px;
  margin-top: 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 30%, rgba(var(--wpgw-accent-rgb), 0.16), transparent 16%),
    radial-gradient(circle at 58% 46%, rgba(var(--wpgw-blue-rgb), 0.18), transparent 18%),
    linear-gradient(135deg, #fff8f2, #fff0e6);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.branch-map__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.branch-map__canvas .amap-logo,
.branch-map__canvas .amap-copyright {
  opacity: 0.92 !important;
}

.branch-map__state {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
  box-shadow: 0 18px 40px rgba(90, 58, 43, 0.08);
  color: var(--wpgw-text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  backdrop-filter: blur(12px);
}

.branch-map.has-state::before,
.branch-map.has-state::after {
  content: "";
  position: absolute;
  border-radius: 36% 64% 46% 54%;
  background: rgba(var(--wpgw-accent-rgb), 0.09);
  z-index: 0;
}

.branch-map.has-state::before {
  inset: 18% auto auto 12%;
  width: 220px;
  height: 140px;
}

.branch-map.has-state::after {
  inset: auto 10% 18% auto;
  width: 180px;
  height: 120px;
}

.branch-map__marker-pin {
  display: block;
  position: relative;
  width: 26px;
  height: 26px;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wpgw-accent-strong) 0%, var(--wpgw-orange) 100%);
  box-shadow: 0 10px 22px rgba(var(--wpgw-accent-rgb), 0.26);
}

.branch-map__marker-pin::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  transform: translate(-50%, -50%);
}

.branch-map__info {
  min-width: min(260px, calc(100vw - 64px));
  display: grid;
  gap: 0.65rem;
  color: var(--wpgw-text);
}

.branch-map__info strong {
  font-size: 1rem;
  line-height: 1.35;
}

.branch-map__info p {
  margin: 0;
  color: var(--wpgw-text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.branch-map__info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.branch-map__info-button,
.branch-map__info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.branch-map__info-button {
  background: linear-gradient(135deg, var(--wpgw-accent-strong) 0%, var(--wpgw-orange) 100%);
  color: #fff;
}

.branch-map__info-link {
  background: rgba(var(--wpgw-accent-rgb), 0.08);
  color: var(--wpgw-accent-strong);
}

.branch-map__info-button:hover,
.branch-map__info-button:focus-visible,
.branch-map__info-link:hover,
.branch-map__info-link:focus-visible {
  transform: translateY(-1px);
}

.branch-selector {
  display: grid;
  gap: 0.95rem;
}

.branch-selector__meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.branch-selector__meta strong {
  color: var(--wpgw-text);
  font-size: 1rem;
}

.branch-selector__meta span {
  color: var(--wpgw-text-soft);
  font-size: 0.92rem;
  white-space: nowrap;
}

.branch-selector__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.branch-selector__field {
  display: grid;
  gap: 0.45rem;
}

.branch-selector__field-label {
  color: var(--wpgw-text-soft);
  font-size: 0.88rem;
}

.branch-selector__field select {
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--wpgw-text);
  font: inherit;
}

.branch-selector__field select:focus {
  outline: 0;
  border-color: rgba(var(--wpgw-accent-rgb), 0.45);
  box-shadow: 0 0 0 4px rgba(var(--wpgw-accent-rgb), 0.08);
}

.branch-selector__field select:disabled {
  cursor: not-allowed;
  background: rgba(232, 240, 237, 0.7);
}

.branch-selector__field .custom-select__trigger {
  background: rgba(255, 255, 255, 0.98);
}

.branch-list__scroll {
  display: grid;
  grid-auto-rows: var(--wpgw-branch-card-height);
  flex: 0 0 calc((var(--wpgw-branch-card-height) * 3) + (var(--wpgw-branch-scroll-gap) * 2));
  gap: var(--wpgw-branch-scroll-gap);
  min-height: calc((var(--wpgw-branch-card-height) * 3) + (var(--wpgw-branch-scroll-gap) * 2));
  max-height: calc((var(--wpgw-branch-card-height) * 3) + (var(--wpgw-branch-scroll-gap) * 2));
  align-content: start;
  justify-items: stretch;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-gutter: auto;
}

.branch-list__scroll::-webkit-scrollbar {
  width: 8px;
}

.branch-list__scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.2);
}

.branch-list__empty {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(var(--wpgw-blue-rgb), 0.08);
  color: var(--wpgw-text-soft);
}

.branch-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1.25rem;
  align-items: start;
}

.branch-archive-groups {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.branch-group {
  scroll-margin-top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 1.5rem);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.branch-group__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
}

.branch-group__header h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
}

.branch-group__count {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(var(--wpgw-highlight-rgb), 0.22);
  color: var(--wpgw-accent-strong);
  font-size: 0.88rem;
  white-space: nowrap;
}

.branch-list--archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.branch-city-nav {
  position: sticky;
  top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 1.5rem);
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
}

.branch-city-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.branch-city-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.08);
  color: var(--wpgw-accent-strong);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.branch-city-nav__link:hover,
.branch-city-nav__link:focus-visible {
  background: rgba(var(--wpgw-accent-rgb), 0.16);
  transform: translateY(-1px);
}

.branch-card {
  padding: 1.2rem 1.3rem;
}

.branch-list__scroll .branch-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: var(--wpgw-branch-card-height);
  border-radius: var(--wpgw-radius-lg);
  box-shadow: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.branch-list__scroll .branch-card[hidden] {
  display: none !important;
}

.branch-card__city {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  margin-bottom: 0.75rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: rgba(var(--wpgw-highlight-rgb), 0.24);
  color: var(--wpgw-accent-strong);
  font-size: 0.82rem;
}

.branch-card__phone,
.branch-card__hours {
  margin-top: 0.8rem;
  color: var(--wpgw-accent);
  font-size: 0.92rem;
}

.branch-card__address {
  margin-top: 0;
}

.branch-address-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.2rem;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.branch-address-link:hover,
.branch-address-link:focus-visible {
  color: var(--wpgw-accent);
}

.branch-address-link.is-pending {
  opacity: 0.7;
  pointer-events: none;
}

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

.news-card {
  overflow: hidden;
  border-radius: 28px;
}

.news-card__media,
.post-card__media,
.impact-card__media {
  display: block;
  aspect-ratio: 1.25 / 0.86;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.news-card__media--placeholder,
.post-card__media--placeholder,
.impact-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.16), rgba(var(--wpgw-highlight-rgb), 0.24)),
    #fff4ea;
  color: var(--wpgw-accent);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card__body,
.post-card__body,
.impact-card__body {
  padding: 1.25rem;
}

.news-card__meta,
.post-card__meta,
.impact-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--wpgw-text-soft);
  font-size: 0.86rem;
}

.impact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-card {
  overflow: hidden;
}

.network-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.course-list-grid {
  display: grid;
  gap: 1.2rem;
}

.course-list-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
}

.course-list-card__media {
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.12), rgba(var(--wpgw-highlight-rgb), 0.2)),
    #fff4ea;
}

.course-list-card__media a {
  display: block;
  height: 100%;
}

.course-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-list-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  color: var(--wpgw-accent);
  letter-spacing: 0.1em;
}

.course-list-card__body {
  padding: 1.6rem;
}

.detail-shell {
  padding-top: 1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 1.25rem;
}

.detail-main,
.detail-sidebar {
  min-width: 0;
}

.detail-sidebar {
  display: grid;
  gap: 1rem;
}

.detail-card {
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(var(--wpgw-accent-rgb), 0.04);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.08);
}

.detail-card h2,
.detail-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.detail-card p,
.detail-card blockquote {
  margin: 0;
  color: var(--wpgw-text-soft);
}

.detail-card--quote blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--wpgw-highlight);
}

.key-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.key-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--wpgw-text-soft);
}

.key-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--wpgw-highlight);
}

.key-list--ordered {
  counter-reset: detail-list;
}

.key-list--ordered li {
  padding-left: 2rem;
}

.key-list--ordered li::before {
  counter-increment: detail-list;
  content: counter(detail-list);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  top: 0.15rem;
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.12);
  color: var(--wpgw-accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-shell {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "intro"
    "content";
}

.profile-shell--has-cover {
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  grid-template-areas:
    "cover intro"
    "cover content";
}

.profile-shell--has-sidebar {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  grid-template-areas:
    "intro ."
    "content sidebar";
}

.profile-shell--has-cover.profile-shell--has-sidebar {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.08fr) minmax(260px, 0.72fr);
  grid-template-areas:
    "cover intro ."
    "cover content sidebar";
}

.profile-cover {
  grid-area: cover;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.12), rgba(var(--wpgw-highlight-rgb), 0.22)),
    #fff4ea;
}

.profile-cover img {
  width: 100%;
  aspect-ratio: 0.85 / 1;
  object-fit: cover;
}

.profile-summary__intro {
  grid-area: intro;
}

.profile-summary__intro h2 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.profile-summary__intro,
.profile-summary__content,
.profile-sidebar,
.profile-expertise {
  min-width: 0;
}

.profile-summary__content {
  grid-area: content;
}

.profile-sidebar {
  grid-area: sidebar;
  display: grid;
  gap: 1rem;
  align-self: start;
}

.branch-contact-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.branch-contact-list__link {
  font-weight: 500;
}

.related-posts-card {
  margin-top: 0;
}

.related-post-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.related-post-list li {
  display: grid;
  gap: 0.2rem;
}

.related-post-list a {
  color: var(--wpgw-text);
  font-weight: 700;
}

.related-post-list span,
.related-post-list p {
  color: var(--wpgw-text-soft);
  font-size: 0.94rem;
}

.related-post-list p {
  margin: 0;
}

.map-embed {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 24px;
}

.map-embed iframe,
.map-embed img {
  width: 100%;
  display: block;
}

.network-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.1);
  color: var(--wpgw-accent);
}

.cta-band {
  padding: 0 0 4rem;
}

.cta-band__shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(135deg, #bd4f58 0%, var(--wpgw-accent) 52%, var(--wpgw-orange) 100%);
  color: #fff;
  box-shadow: 0 30px 70px rgba(var(--wpgw-accent-rgb), 0.24);
}

.cta-band__shell h2,
.cta-band__shell p {
  margin: 0;
}

.cta-band__shell .section-kicker,
.cta-band__shell .section-kicker::before {
  color: #fff;
}

.cta-band__shell p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 2.75rem 0 1.25rem;
  background: linear-gradient(180deg, #31261d 0%, #4b332c 100%);
  color: #fff7f2;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand__text,
.footer-address,
.footer-bottom p,
.footer-nav-group a {
  color: rgba(255, 247, 242, 0.76);
}

.footer-hotline {
  display: grid;
  gap: 0.25rem;
  margin: 0.75rem 0;
}

.footer-hotline a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.footer-nav-group h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.footer-qrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 112px));
  gap: 0.9rem 1rem;
  align-items: start;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.qr-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 96px;
  height: 96px;
  padding: 6px;
  border-radius: 18px;
  background: #fff7f2;
  color: #fff;
  box-shadow: 0 16px 30px rgba(18, 10, 8, 0.14);
}

.qr-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.qr-card__visual--placeholder {
  padding: 0;
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.78), rgba(var(--wpgw-blue-rgb), 0.5)),
    #5a3933;
  letter-spacing: 0.08em;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom__copyright {
  margin: 0;
}

.footer-compliance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  max-width: min(100%, 820px);
}

.footer-compliance__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 247, 242, 0.78);
  text-decoration: none;
  line-height: 1.5;
}

.footer-compliance__item:hover {
  color: #fff7f2;
}

.footer-compliance__icon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom__links a {
  color: rgba(255, 247, 242, 0.82);
}

.floating-sidebar {
  position: fixed;
  top: 65%;
  right: clamp(0.85rem, 2vw, 2rem);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 10vh, 5rem);
  transform: translateY(-50%);
  pointer-events: none;
}

.floating-sidebar__links,
.floating-sidebar__backtotop {
  pointer-events: auto;
}

.floating-sidebar__links {
  display: grid;
  gap: 1rem;
}

.floating-sidebar__item {
  position: relative;
  display: flex;
  justify-content: center;
}

.floating-sidebar__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 72px;
  height: 72px;
  padding: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.08);
  box-shadow: 0 24px 44px rgba(49, 38, 29, 0.12);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-sidebar__trigger:hover,
.floating-sidebar__item.is-active .floating-sidebar__trigger {
  transform: translateX(-4px) scale(1.04);
  box-shadow: 0 28px 54px rgba(49, 38, 29, 0.16);
}

.floating-sidebar__trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-sidebar__trigger--placeholder {
  padding: 0 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.02em;
}

.floating-sidebar__trigger--wechat.floating-sidebar__trigger--placeholder {
  background: linear-gradient(135deg, #2dc653 0%, #1b9c46 100%);
}

.floating-sidebar__trigger--xiaohongshu.floating-sidebar__trigger--placeholder {
  background: linear-gradient(135deg, #ff2442 0%, #ff5f76 100%);
}

.floating-sidebar__trigger--douyin.floating-sidebar__trigger--placeholder {
  background: linear-gradient(135deg, #10141c 0%, #2c2f38 100%);
}

.floating-sidebar__trigger--dianping.floating-sidebar__trigger--placeholder {
  background: linear-gradient(135deg, #ff7a45 0%, #ff9a62 100%);
}

.floating-sidebar__trigger--consult.floating-sidebar__trigger--placeholder {
  background: linear-gradient(135deg, #ec666a 0%, #ff9b71 100%);
}

.floating-sidebar__item--pulse {
  transform-origin: center;
  animation: floating-sidebar-breathe var(--floating-pulse-duration, 2.25s) ease-in-out infinite;
}

@keyframes floating-sidebar-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.floating-sidebar__qr {
  position: absolute;
  top: 50%;
  right: calc(100% + 16px);
  display: grid;
  gap: 0.45rem;
  width: 148px;
  padding: 0.85rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.1);
  box-shadow: 0 24px 48px rgba(49, 38, 29, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(10px, -50%);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.floating-sidebar__qr::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-right: 1px solid rgba(var(--wpgw-accent-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--wpgw-accent-rgb), 0.1);
  transform: translateY(-50%) rotate(-45deg);
}

.floating-sidebar__item:hover .floating-sidebar__qr,
.floating-sidebar__item:focus-within .floating-sidebar__qr,
.floating-sidebar__item.is-active .floating-sidebar__qr {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.floating-sidebar__qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.floating-sidebar__qr span {
  font-size: 0.82rem;
  color: var(--wpgw-text-soft);
  text-align: center;
}

.floating-sidebar__backtotop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9b71 0%, #ffb38d 100%);
  color: #fff;
  box-shadow: 0 24px 44px rgba(236, 102, 106, 0.26);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-sidebar__backtotop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-sidebar__backtotop:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 28px 50px rgba(236, 102, 106, 0.32);
}

.floating-sidebar__backtotop svg {
  width: 28px;
  height: 28px;
}

.floating-sidebar__trigger:focus-visible,
.floating-sidebar__backtotop:focus-visible {
  outline: 3px solid rgba(var(--wpgw-blue-rgb), 0.35);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .floating-sidebar__item--pulse {
    animation: none;
  }
}

.site-main--inner {
  padding-bottom: 4rem;
}

.page-banner {
  padding: 0 0 2rem;
}

.page-banner__shell {
  display: grid;
  gap: 1rem;
  padding: 2.25rem;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.08), rgba(var(--wpgw-highlight-rgb), 0.16)),
    #fff;
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
}

.page-banner__slider .hero-slide__title {
  max-width: 14ch;
}

.page-banner__slider p {
  max-width: 58ch;
}

.archive-shell,
.article-shell {
  padding-top: 1rem;
}

.article-shell__heading {
  margin-bottom: 1.25rem;
}

.page-template-template-about .article-shell__story-text,
.page-template-template-about .article-shell__story-text p {
  width: 100%;
  max-width: none;
}

.page-template-template-about .article-shell + .section-shell--accent {
  margin-top: 1.8rem;
}

.page-template-template-about .about-team-section__heading {
  margin-bottom: 3.4rem;
}

.page-template-template-about .about-team-section .team-grid {
  padding-top: 0;
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  overflow: hidden;
}

.post-card__media img,
.entry-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-card {
  padding: 2rem;
}

.entry-cover {
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 24px;
}

.entry-content .plyr,
.entry-cover .plyr,
.wpgw-video-player {
  margin: 1.5rem 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--wpgw-shadow);
}

.wpgw-video-player {
  --wpgw-video-mobile-width: auto;
  --wpgw-video-mobile-max-height: none;
  --wpgw-video-desktop-width: auto;
  --wpgw-video-desktop-max-height: 720px;
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  vertical-align: top;
  width: fit-content;
}

.wpgw-video-player .plyr {
  --plyr-color-main: var(--wpgw-accent);
  --plyr-control-radius: 18px;
  --plyr-video-control-color: #fffaf6;
  --plyr-video-control-color-hover: #fffaf6;
  --plyr-video-control-background-hover: var(--wpgw-accent-strong);
  --plyr-video-controls-background: linear-gradient(180deg, rgba(49, 38, 29, 0.04), rgba(49, 38, 29, 0.82));
  --plyr-menu-background: rgba(255, 250, 246, 0.98);
  --plyr-menu-color: var(--wpgw-text);
  --plyr-tooltip-background: rgba(49, 38, 29, 0.92);
  --plyr-tooltip-color: #fffaf6;
  display: inline-block;
  max-width: 100%;
  width: auto;
}

.entry-content .plyr:first-child,
.entry-cover .plyr:first-child,
.wpgw-video-player:first-child {
  margin-top: 0;
}

.entry-content .plyr--video,
.entry-cover .plyr--video,
.wpgw-video-player .plyr--video,
.entry-content .plyr__video-wrapper,
.entry-cover .plyr__video-wrapper,
.wpgw-video-player .plyr__video-wrapper,
.entry-content .plyr__poster,
.entry-cover .plyr__poster,
.wpgw-video-player .plyr__poster,
.entry-content .plyr video,
.entry-cover .plyr video,
.wpgw-video-player video {
  border-radius: inherit;
}

.entry-content .plyr--video,
.entry-cover .plyr--video,
.wpgw-video-player .plyr--video,
.entry-content .plyr__video-wrapper,
.entry-cover .plyr__video-wrapper,
.wpgw-video-player .plyr__video-wrapper {
  overflow: hidden;
}

.entry-content .plyr__video-wrapper,
.entry-cover .plyr__video-wrapper,
.wpgw-video-player .plyr__video-wrapper,
.wpgw-video-player .plyr,
.wpgw-video-player .plyr__poster,
.entry-content .plyr video,
.entry-cover .plyr video,
.wpgw-video-player video {
  background: #111;
  display: block;
  height: auto;
  width: 100%;
}

.wpgw-video-player .plyr,
.wpgw-video-player .plyr__video-wrapper,
.wpgw-video-player .plyr__poster,
.wpgw-video-player .plyr video,
.wpgw-video-player video {
  max-height: var(--wpgw-video-mobile-max-height);
  max-width: 100%;
  width: var(--wpgw-video-mobile-width);
}

.wpgw-video-player .plyr__video-wrapper {
  cursor: pointer;
  touch-action: manipulation;
}

.wpgw-video-player .plyr__controls,
.wpgw-video-player .plyr__control,
.wpgw-video-player .plyr__menu {
  cursor: auto;
}

.wpgw-video-player--enhanced .plyr__poster,
.wpgw-video-player--enhanced .plyr video,
.wpgw-video-player--enhanced .wpgw-video-player__native {
  pointer-events: none;
}

.wpgw-video-player .plyr__controls,
.wpgw-video-player .plyr__control,
.wpgw-video-player .plyr__menu,
.wpgw-video-player .plyr__menu__container {
  pointer-events: auto;
}

.wpgw-video-player .plyr__control--overlaid {
  background: linear-gradient(135deg, var(--wpgw-accent) 0%, #ff976d 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 38px rgba(var(--wpgw-accent-rgb), 0.34);
}

.wpgw-video-player .plyr__control--overlaid:hover,
.wpgw-video-player .plyr__control--overlaid:focus-visible {
  background: linear-gradient(135deg, var(--wpgw-accent-strong) 0%, #ff815f 100%);
  box-shadow: 0 20px 42px rgba(var(--wpgw-accent-rgb), 0.4);
}

.wpgw-video-player .plyr__controls {
  padding: 0.85rem;
}

.wpgw-video-player .plyr__menu__container {
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
  box-shadow: 0 16px 34px rgba(49, 38, 29, 0.14);
}

.wpgw-video-player--enhanced .wpgw-video-player__native::-webkit-media-controls,
.wpgw-video-player--enhanced .wpgw-video-player__native::-webkit-media-controls-enclosure,
.wpgw-video-player--enhanced .wpgw-video-player__native::-webkit-media-controls-panel,
.wpgw-video-player--enhanced .wpgw-video-player__native::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

@media (min-width: 901px) {
  .wpgw-video-player .plyr,
  .wpgw-video-player .plyr__video-wrapper,
  .wpgw-video-player .plyr__poster,
  .wpgw-video-player .plyr video,
  .wpgw-video-player video {
    max-height: var(--wpgw-video-desktop-max-height);
    width: var(--wpgw-video-desktop-width);
  }
}

.entry-content .plyr--video,
.entry-cover .plyr--video,
.wpgw-video-player .plyr--video {
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.08);
}

.entry-content .plyr--full-ui input[type="range"],
.entry-cover .plyr--full-ui input[type="range"],
.wpgw-video-player .plyr--full-ui input[type="range"] {
  color: var(--wpgw-accent-strong);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--wpgw-text);
}

.entry-content a {
  color: var(--wpgw-accent);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.entry-content .wpgw-gallery-slider {
  margin: 1.75rem 0;
}

.entry-content .wpgw-gallery-slider:first-child {
  margin-top: 0;
}

.wpgw-gallery-slider {
  display: grid;
  gap: 1rem;
}

.wpgw-gallery-slider__stage {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 248, 244, 0.08), rgba(49, 38, 29, 0.12)),
    linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.08), rgba(var(--wpgw-highlight-rgb), 0.24)),
    #fff4ea;
  box-shadow: var(--wpgw-shadow);
  isolation: isolate;
}

.wpgw-gallery-slider__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.wpgw-gallery-slider__slide {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wpgw-gallery-slider__slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.wpgw-gallery-slider__slide img,
.wpgw-gallery-slider__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wpgw-gallery-slider__nav,
.wpgw-gallery-slider__thumb-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpgw-gallery-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 62px;
  height: 84px;
  border-radius: 22px;
  background: rgba(49, 38, 29, 0.26);
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
}

.wpgw-gallery-slider__nav--prev {
  left: 1rem;
}

.wpgw-gallery-slider__nav--next {
  right: 1rem;
}

.wpgw-gallery-slider__nav:hover,
.wpgw-gallery-slider__nav:focus-visible,
.wpgw-gallery-slider__thumb-nav:hover,
.wpgw-gallery-slider__thumb-nav:focus-visible {
  background: rgba(var(--wpgw-accent-rgb), 0.86);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 30px rgba(var(--wpgw-accent-rgb), 0.22);
  outline: none;
}

.wpgw-gallery-slider__nav:active,
.wpgw-gallery-slider__thumb-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.wpgw-gallery-slider__thumb-nav:active {
  transform: scale(0.96);
}

.wpgw-gallery-slider__nav-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.wpgw-gallery-slider__nav-icon--prev {
  transform: rotate(-135deg);
}

.wpgw-gallery-slider__nav-icon--next {
  transform: rotate(45deg);
}

.wpgw-gallery-slider--single .wpgw-gallery-slider__nav,
.wpgw-gallery-slider--single .wpgw-gallery-slider__thumb-shell {
  display: none;
}

.wpgw-gallery-slider__meta {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.wpgw-gallery-slider__title,
.wpgw-gallery-slider__count {
  margin: 0;
}

.wpgw-gallery-slider__count--overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(14px);
}

.wpgw-gallery-slider__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(100%, 36rem);
  padding: 0.85rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 248, 244, 0.14)),
    rgba(77, 53, 42, 0.28);
  margin-inline: auto;
  color: #fffaf6;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.5;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow:
    0 18px 42px rgba(49, 38, 29, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 8px rgba(49, 38, 29, 0.28);
}

.wpgw-gallery-slider__title[hidden] {
  display: none;
}

.wpgw-gallery-slider__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
  color: var(--wpgw-text-soft);
  font-size: 0.82rem;
  box-shadow: 0 12px 24px rgba(49, 38, 29, 0.06);
}

.wpgw-gallery-slider__count [data-gallery-current] {
  color: var(--wpgw-accent);
  font-weight: 700;
}

.wpgw-gallery-slider__count-separator {
  opacity: 0.56;
}

.wpgw-gallery-slider__thumb-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--wpgw-border);
  box-shadow: 0 16px 36px rgba(49, 38, 29, 0.08);
}

.wpgw-gallery-slider__thumb-nav {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(49, 38, 29, 0.58);
}

.wpgw-gallery-slider__thumb-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 240px);
  gap: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.wpgw-gallery-slider__thumb-track::-webkit-scrollbar {
  display: none;
}

.wpgw-gallery-slider__thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 20px;
  background: rgba(var(--wpgw-accent-rgb), 0.06);
  box-shadow: inset 0 0 0 1px rgba(var(--wpgw-accent-rgb), 0.06);
  aspect-ratio: 1.5 / 1;
  cursor: pointer;
  opacity: 0.76;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpgw-gallery-slider__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(49, 38, 29, 0.14));
  pointer-events: none;
}

.wpgw-gallery-slider__thumb:hover,
.wpgw-gallery-slider__thumb:focus-visible,
.wpgw-gallery-slider__thumb.is-active {
  opacity: 1;
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(255, 197, 110, 0.92);
  box-shadow: 0 16px 32px rgba(var(--wpgw-accent-rgb), 0.16);
}

.wpgw-gallery-slider__thumb.is-active::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(var(--wpgw-accent-rgb), 0.08));
}

.pagination-wrap {
  padding-top: 2rem;
}

.news-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1.25rem;
  align-items: start;
}

.news-archive-groups {
  display: grid;
  gap: 1.6rem;
  min-width: 0;
}

.news-category-group {
  scroll-margin-top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 1rem);
  display: grid;
  gap: 1rem;
  position: relative;
}

.news-category-group::before,
.archive-group::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--wpgw-accent-rgb), 0.16), rgba(255, 248, 244, 0));
}

.news-category-group__header {
  display: grid;
  gap: 0.4rem;
  padding: 0.3rem 0 0.1rem;
}

.news-category-group__header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  line-height: 1.08;
}

.news-category-group__header p {
  margin: 0;
  max-width: 44rem;
  color: var(--wpgw-text-soft);
}

.news-category-nav {
  position: sticky;
  top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 1.5rem);
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
}

.news-category-nav strong {
  color: var(--wpgw-text);
  font-size: 0.96rem;
}

.news-category-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.news-category-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(var(--wpgw-accent-rgb), 0.08);
  color: var(--wpgw-accent-strong);
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.news-category-nav__link:hover,
.news-category-nav__link:focus-visible {
  background: rgba(var(--wpgw-accent-rgb), 0.16);
  transform: translateY(-1px);
}

.archive-groups {
  display: grid;
  gap: 1.6rem;
}

.archive-group {
  display: grid;
  gap: 1rem;
  position: relative;
}

.archive-group__header {
  display: grid;
  gap: 0.4rem;
  padding: 0.3rem 0 0.1rem;
}

.archive-group__header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  line-height: 1.08;
}

.archive-group__header p {
  margin: 0;
  max-width: 44rem;
  color: var(--wpgw-text-soft);
}

.pagination {
  display: flex;
  gap: 0.75rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
}

.pagination .current {
  background: var(--wpgw-highlight);
}

.empty-state-card {
  padding: 2.5rem;
  text-align: center;
}

.company-history-page {
  overflow: hidden;
}

.history-summary-section {
  padding-top: 0.6rem;
  padding-bottom: 1.25rem;
}

.history-hero__panel {
  position: relative;
  z-index: 1;
  border-radius: 34px;
  border: 1px solid var(--wpgw-border);
  box-shadow: var(--wpgw-shadow);
  backdrop-filter: blur(16px);
}

.history-hero__panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.4rem;
  padding: clamp(1.6rem, 2.4vw, 2.35rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(var(--wpgw-blue-rgb), 0.08)),
    rgba(255, 255, 255, 0.9);
}

.history-hero__panel-copy {
  display: grid;
  gap: 0.95rem;
  max-width: 68rem;
}

.history-hero__panel-kicker {
  margin: 0;
  color: var(--wpgw-accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.history-hero__panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.history-hero__panel-copy p {
  margin: 0;
  color: var(--wpgw-text-soft);
}

.history-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  align-self: stretch;
  width: 100%;
  padding-top: 0.15rem;
}

.history-hero__stat {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
  background: rgba(255, 255, 255, 0.84);
}

.history-hero__stat strong {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.history-hero__stat span {
  color: var(--wpgw-text-soft);
  font-size: 0.92rem;
}

.history-timeline-section {
  padding-top: 0.5rem;
}

.history-timeline-section__heading {
  margin-bottom: 2.4rem;
}

.company-history-page .history-timeline-section__heading p {
  max-width: none;
  width: 100%;
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 1.75rem;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 8px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(var(--wpgw-accent-rgb), 0.16), rgba(var(--wpgw-blue-rgb), 0.18), rgba(var(--wpgw-highlight-rgb), 0.16));
}

.history-node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
}

.history-node__rail {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 3;
  width: 100%;
  height: 0;
  align-self: center;
}

.history-node__year {
  position: absolute;
  left: 50%;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 52px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 32px rgba(105, 64, 55, 0.12);
  color: var(--wpgw-accent-strong);
  font-weight: 700;
  transform: translate(-50%, calc(-100% - 1rem));
}

.history-node__dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--wpgw-accent);
  box-shadow:
    0 0 0 10px rgba(var(--wpgw-accent-rgb), 0.12),
    0 0 0 20px rgba(var(--wpgw-accent-rgb), 0.06);
  transform: translate(-50%, -50%);
}

.history-node__media,
.history-node__content {
  min-width: 0;
  position: relative;
  grid-row: 1;
  z-index: 2;
  align-self: center;
}

.history-node--left .history-node__media {
  grid-column: 1;
}

.history-node--left .history-node__content {
  grid-column: 3;
}

.history-node--right .history-node__content {
  grid-column: 1;
}

.history-node--right .history-node__media {
  grid-column: 3;
}

.history-node__figure,
.history-node__content {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.95rem;
  padding: 1.2rem;
  border-radius: 32px;
  border: 1px solid rgba(var(--wpgw-accent-rgb), 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--wpgw-shadow);
}

.history-node__figure::after,
.history-node__content::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  z-index: -1;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--wpgw-highlight-rgb), 0.18), rgba(var(--wpgw-blue-rgb), 0.12));
  filter: blur(18px);
  opacity: 0.7;
}

.history-node__image-shell {
  display: grid;
  place-items: center;
  min-height: 18rem;
  overflow: hidden;
  border-radius: 26px;
  background: #f7efe9;
  aspect-ratio: 1 / 0.82;
}

.history-node__image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-node__caption {
  margin: 0;
  color: var(--wpgw-text-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.history-node__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--wpgw-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.history-node__eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wpgw-highlight), var(--wpgw-accent));
}

.history-node__content h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.1vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.history-node__summary {
  display: grid;
  gap: 0.75rem;
}

.history-node__summary p {
  margin: 0;
  color: var(--wpgw-text-soft);
}

.history-node__highlights {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.history-node__highlights li {
  position: relative;
  padding-left: 1rem;
  color: var(--wpgw-text);
}

.history-node__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--wpgw-accent);
  box-shadow: 0 0 0 5px rgba(var(--wpgw-accent-rgb), 0.12);
  transform: translateY(-50%);
}

.history-node--current .history-node__figure,
.history-node--current .history-node__content {
  border-color: rgba(var(--wpgw-accent-rgb), 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(var(--wpgw-highlight-rgb), 0.12));
}

.history-node--current .history-node__year {
  background: linear-gradient(135deg, rgba(var(--wpgw-accent-rgb), 0.12), rgba(var(--wpgw-highlight-rgb), 0.24));
}

.history-closer {
  position: relative;
  margin-top: 1.25rem;
  padding-left: calc(50% - 56px);
}

.history-closer__line {
  display: block;
  width: 2px;
  height: 84px;
  margin: 0 0 0 55px;
  background: linear-gradient(180deg, rgba(var(--wpgw-accent-rgb), 0.28), rgba(var(--wpgw-accent-rgb), 0));
}

.history-closer__card {
  max-width: 32rem;
  padding: 1.6rem 1.8rem;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(49, 38, 29, 0.96), rgba(84, 56, 48, 0.94));
  color: #fff8f4;
  box-shadow: 0 30px 60px rgba(49, 38, 29, 0.22);
}

.history-closer__card .section-kicker {
  color: #fff8f4;
}

.history-closer__card .section-kicker::before {
  background: linear-gradient(90deg, #ffe090, #fff8f4);
}

.history-closer__card h2 {
  margin: 0.3rem 0 0.6rem;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.history-closer__card p {
  margin: 0;
  color: rgba(255, 248, 244, 0.82);
}

@media (max-width: 1200px) {
  .history-hero__panel {
    grid-template-columns: 1fr;
  }

  .history-node {
    grid-template-columns: minmax(0, 1fr) 118px minmax(0, 1fr);
  }

  .history-closer {
    padding-left: calc(50% - 42px);
  }

  .history-closer__line {
    margin-left: 41px;
  }
}

@media (max-width: 900px) {
  .history-hero__panel {
    border-radius: 28px;
  }

  .history-hero__panel {
    padding: 1.5rem;
  }

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

  .history-timeline::before {
    left: 28px;
    transform: none;
    width: 6px;
  }

  .history-node {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .history-node__rail {
    display: grid;
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-items: center;
    align-content: start;
    gap: 0.85rem;
    align-self: stretch;
    width: auto;
    height: auto;
    padding-top: 1.1rem;
  }

  .history-node__year,
  .history-node__dot {
    position: static;
    left: auto;
    top: auto;
    transform: none;
  }

  .history-node__media,
  .history-node__content {
    grid-column: 2 !important;
  }

  .history-node__media {
    grid-row: 1;
  }

  .history-node__content {
    grid-row: 2;
  }

  .history-node__year {
    min-width: 0;
    width: 72px;
    min-height: 0;
    height: auto;
    padding: 0.65rem 0.5rem;
    font-size: 0.88rem;
    align-self: start;
  }

  .history-node__figure,
  .history-node__content {
    padding: 1rem;
    border-radius: 26px;
  }

  .history-node__image-shell {
    min-height: 13.5rem;
  }

  .history-closer {
    padding-left: 72px;
  }

  .history-closer__line {
    margin-left: 0.2rem;
  }

  .history-closer__card {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .history-hero__stats {
    grid-template-columns: 1fr;
  }

  .history-node__content h3 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .history-node__figure,
  .history-node__content {
    padding: 0.9rem;
  }

  .history-node__image-shell {
    min-height: 11.5rem;
  }

  .history-closer__card {
    padding: 1.35rem 1.25rem;
  }
}

@media (max-width: 1200px) {
  .profile-shell,
  .profile-shell--has-cover,
  .profile-shell--has-sidebar,
  .profile-shell--has-cover.profile-shell--has-sidebar {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .profile-cover,
  .profile-summary__intro,
  .profile-summary__content,
  .profile-sidebar,
  .profile-expertise {
    grid-area: auto;
  }

  .header-shell {
    grid-template-columns: auto auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .primary-menu {
    justify-content: space-between;
  }

  .hero-shell,
  .brand-intro__layout,
  .branch-section,
  .news-archive-layout,
  .branch-archive-layout,
  .footer-grid,
  .profile-shell {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .team-grid,
  .news-grid,
  .impact-grid,
  .post-grid,
  .course-list-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 3.4rem;
    padding-top: 1.05rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-intro__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-intro__metrics--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .branch-city-nav {
    top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 1rem);
  }

  .news-category-nav {
    top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 1rem);
  }

  .news-category-nav__list,
  .branch-city-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }
}

@media (max-width: 900px) {
  .floating-consult-modal {
    padding: 1rem;
  }

  .floating-consult-modal__panel {
    width: min(100%, calc(100vw - 1.25rem));
    padding: 1.1rem;
    border-radius: 26px;
  }

  .floating-consult-modal__header {
    gap: 0.65rem;
    margin-bottom: 0.95rem;
    padding-right: 2.8rem;
  }

  .floating-consult-modal__close {
    top: 0.8rem;
    right: 0.8rem;
    width: 38px;
    height: 38px;
    font-size: 1.45rem;
  }

  .floating-sidebar {
    top: auto;
    right: 0.65rem;
    bottom: max(0.75rem, calc(env(safe-area-inset-bottom) + 0.2rem));
    gap: 0.7rem;
    transform: none;
  }

  .floating-sidebar__links {
    gap: 0.55rem;
  }

  .floating-sidebar__trigger {
    width: 44px;
    height: 44px;
    padding: 8px;
  }

  .floating-sidebar__trigger--placeholder {
    padding: 0 6px;
    font-size: 0.62rem;
  }

  .floating-sidebar__qr {
    width: 144px;
    padding: 0.825rem;
    border-radius: 16px;
    right: calc(100% + 8px);
  }

  .floating-sidebar__backtotop {
    width: 44px;
    height: 44px;
  }

  .floating-sidebar__backtotop svg {
    width: 20px;
    height: 20px;
  }

  .header-shell {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
  }

  .header-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    padding-bottom: 1rem;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(var(--wpgw-accent-rgb), 0.1);
    max-height: min(70vh, calc(100vh - 140px));
    overflow-y: auto;
  }

  .primary-menu > li > a {
    min-height: 0;
    padding: 0.9rem 0;
  }

  .primary-menu .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0.8rem 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
  }

  .header-tools {
    display: none;
  }

  .language-chip,
  .header-tools .hotline-chip {
    display: none;
  }

  .hotline-chip--mobile {
    display: inline-grid;
    justify-self: end;
    gap: 0.02rem;
    padding: 0.48rem 0.78rem 0.52rem;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(var(--wpgw-accent-rgb), 0.2);
  }

  .hotline-chip--mobile span {
    font-size: 0.54rem;
    line-height: 1.15;
  }

  .hotline-chip--mobile strong {
    font-size: 0.84rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .hero-visual,
  .branch-visual,
  .branch-list,
  .entry-card,
  .cta-band__shell,
  .appointment-copy,
  .appointment-card {
    padding: 1.5rem;
  }

  .news-category-group__header,
  .archive-group__header {
    padding: 0.3rem 0 0.1rem;
  }

  .wpgw-gallery-slider__nav {
    width: 56px;
    height: 76px;
  }

  .wpgw-gallery-slider__count--overlay {
    top: 0.9rem;
    left: 0.9rem;
  }

  .wpgw-gallery-slider__meta {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .wpgw-gallery-slider__thumb-track {
    grid-auto-columns: minmax(148px, 210px);
  }

  .hero-slider,
  .page-banner__slider {
    --wpgw-slider-glass-height: 136px;
    min-height: 520px;
  }

  .hero-slider--no-actions.hero-slider--no-dots,
  .page-banner__slider--no-actions.page-banner__slider--no-dots {
    --wpgw-slider-glass-height: 88px;
  }

  .hero-slider--no-glass.hero-slider--no-dots,
  .page-banner__slider--no-glass.page-banner__slider--no-dots {
    --wpgw-slider-glass-height: 0px;
    min-height: 480px;
  }

  .hero-slide__content {
    padding-top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 1.5rem);
    padding-bottom: calc(var(--wpgw-slider-glass-height) + 2.25rem);
  }

  .page-banner-slide__content {
    padding-top: calc(var(--wpgw-header-height) + var(--wpgw-admin-offset) + 1.75rem);
    padding-bottom: calc(var(--wpgw-slider-glass-height) + 2rem);
  }

  .hero-slider--no-actions.hero-slider--no-dots .hero-slide__content,
  .page-banner__slider--no-actions.page-banner__slider--no-dots .page-banner-slide__content {
    padding-bottom: calc(var(--wpgw-slider-glass-height) + 1.1rem);
  }

  .hero-slider--no-glass.hero-slider--no-dots .hero-slide__content,
  .page-banner__slider--no-glass.page-banner__slider--no-dots .page-banner-slide__content {
    padding-bottom: 1.5rem;
  }

  .hero-slide__intro,
  .page-banner-slide__intro {
    max-width: 100%;
  }

  .hero-slide__glass-inner,
  .page-banner-slide__glass-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-right: 1rem;
  }

  .hero-slider--no-actions.hero-slider--no-dots .hero-slide__glass-inner,
  .page-banner__slider--no-actions.page-banner__slider--no-dots .page-banner-slide__glass-inner {
    min-height: var(--wpgw-slider-glass-height);
    gap: 0.55rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    padding-right: 0;
  }

  .hero-slide__summary,
  .hero-slide__actions,
  .page-banner-slide__glass-inner > * {
    width: 100%;
  }

  .hero-slide__actions {
    justify-content: flex-start;
  }

  .hero-slider:not(.hero-slider--single) .hero-slide__actions,
  .page-banner__slider:not(.page-banner__slider--single) .hero-slide__actions {
    padding-right: 5.5rem;
  }

  .hero-dots-shell,
  .page-banner__dots-shell {
    inset: auto 0 1rem;
  }

  .hero-dots,
  .page-banner__dots {
    min-height: 52px;
    justify-content: flex-end;
  }

  .hero-visual__metrics,
  .stats-grid,
  .service-grid,
  .team-grid,
  .news-grid,
  .impact-grid,
  .post-grid,
  .branch-list--archive-grid,
  .footer-nav-columns,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .course-list-card,
  .team-card,
  .detail-grid,
  .profile-shell,
  .appointment-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    order: -1;
  }

  .detail-main {
    order: 1;
  }

  .team-card {
    min-height: 212px;
  }

  .team-grid {
    row-gap: 2.9rem;
    padding-top: 0.85rem;
  }

  .archive-group--team .team-grid {
    padding-top: 2.05rem;
  }

  .team-card__body {
    padding: 0.82rem 43% 0.68rem 0.88rem;
  }

  .team-card__media {
    inset: 0 0 0 50%;
    order: initial;
    min-height: 0;
    padding: 0 0.3rem 0 0;
  }

  .team-card__media::before {
    top: 0.72rem;
  }

  .team-card__media img {
    height: calc(100% + 42px);
    transform: translateX(3%);
  }

  .team-card--featured {
    width: min(100%, 760px);
    min-height: 228px;
  }

  .team-card--featured .team-card__body {
    padding-right: 41%;
  }

  .program-panels {
    flex-direction: column;
  }

  .program-panel,
  .program-panel.is-active {
    flex: 1 1 auto;
  }

  .cta-band__shell,
  .footer-bottom,
  .appointment-form__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-category-nav {
    width: 100%;
  }

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

  .branch-list__scroll {
    flex: 0 1 auto;
    max-height: none;
    min-height: auto;
    overflow: visible;
    padding: 0;
    scrollbar-gutter: auto;
  }

  .branch-map {
    min-height: 320px;
  }

  .branch-map__state {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .branch-list[data-branch-selector]:not(.is-branch-selector-ready) [data-branch-card] {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --wpgw-header-height: 72px;
  }

  .appointment-card--modal {
    padding: 1rem;
    border-radius: 24px;
  }

  .floating-consult-modal {
    padding: 0.7rem;
  }

  .floating-consult-modal__panel {
    width: min(100%, calc(100vw - 0.5rem));
    padding: 0.9rem;
    border-radius: 22px;
  }

  .floating-consult-modal__header {
    margin-bottom: 0.8rem;
    padding-right: 2.4rem;
  }

  .floating-consult-modal__header h2 {
    font-size: 1.45rem;
  }

  .floating-consult-modal__header p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .floating-sidebar {
    right: 0.45rem;
    bottom: max(0.6rem, calc(env(safe-area-inset-bottom) + 0.15rem));
    gap: 0.55rem;
  }

  .floating-sidebar__links {
    gap: 0.45rem;
  }

  .floating-sidebar__trigger {
    width: 36px;
    height: 36px;
    padding: 6px;
    box-shadow: 0 14px 24px rgba(49, 38, 29, 0.1);
  }

  .floating-sidebar__trigger--placeholder {
    padding: 0 4px;
    font-size: 0.52rem;
  }

  .floating-sidebar__qr {
    width: 126px;
    padding: 0.675rem;
    right: calc(100% + 6px);
  }

  .floating-sidebar__qr span {
    font-size: 0.66rem;
  }

  .floating-sidebar__backtotop {
    width: 36px;
    height: 36px;
    box-shadow: 0 14px 24px rgba(236, 102, 106, 0.22);
  }

  .floating-sidebar__backtotop svg {
    width: 16px;
    height: 16px;
  }

  .wpgw-gallery-slider {
    gap: 0.85rem;
  }

  .wpgw-gallery-slider__viewport {
    aspect-ratio: 4 / 3;
  }

  .wpgw-gallery-slider__nav {
    width: 46px;
    height: 62px;
    border-radius: 18px;
  }

  .wpgw-gallery-slider__nav--prev {
    left: 0.7rem;
  }

  .wpgw-gallery-slider__nav--next {
    right: 0.7rem;
  }

  .wpgw-gallery-slider__count--overlay {
    top: 0.75rem;
    left: 0.75rem;
  }

  .wpgw-gallery-slider__meta {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .wpgw-gallery-slider__title {
    font-size: 0.98rem;
    padding: 0.72rem 1rem;
    border-radius: 18px;
  }

  .wpgw-gallery-slider__thumb-shell {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .wpgw-gallery-slider__thumb-nav {
    display: none;
  }

  .wpgw-gallery-slider__thumb-track {
    grid-auto-columns: minmax(132px, 72%);
  }
  .site-container {
    width: min(100% - 20px, 100%);
  }

  .site-footer .site-container {
    padding-left: 0.85rem;
  }

  .header-shell {
    min-height: 72px;
    gap: 0.75rem;
  }

  .hotline-chip--mobile {
    padding: 0.42rem 0.68rem 0.46rem;
    border-radius: 16px;
  }

  .hotline-chip--mobile span {
    font-size: 0.5rem;
  }

  .hotline-chip--mobile strong {
    font-size: 0.78rem;
  }

  .brand-mark__text span {
    display: none;
  }

  .hero-slider {
    min-height: 500px;
  }

  .hero-slider,
  .page-banner__slider {
    --wpgw-slider-glass-height: 154px;
    min-height: 540px;
  }

  .hero-slider--no-actions.hero-slider--no-dots,
  .page-banner__slider--no-actions.page-banner__slider--no-dots {
    --wpgw-slider-glass-height: 72px;
  }

  .hero-slider--no-glass.hero-slider--no-dots,
  .page-banner__slider--no-glass.page-banner__slider--no-dots {
    --wpgw-slider-glass-height: 0px;
    min-height: 430px;
  }

  .hero-slide__glass-inner,
  .page-banner-slide__glass-inner {
    padding-right: 0;
  }

  .hero-slide__intro,
  .page-banner-slide__intro {
    gap: 0.75rem;
  }

  .hero-slide__summary p,
  .page-banner-slide__glass-inner p {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero-slide__actions {
    gap: 0.7rem;
  }

  .hero-slider:not(.hero-slider--single) .hero-slide__actions,
  .page-banner__slider:not(.page-banner__slider--single) .hero-slide__actions {
    padding-right: 4.75rem;
  }

  .hero-dots-shell,
  .page-banner__dots-shell {
    inset: auto 0 0.95rem;
  }

  .hero-dots,
  .page-banner__dots {
    min-height: 46px;
  }

  .hero-slide .button-primary,
  .hero-slide .button-secondary {
    min-height: 46px;
    padding: 0 1rem;
  }

  .section-shell,
  .cta-band {
    padding: 1.5rem 0 3rem;
  }

  .section-heading h2,
  .hero-slide__title,
  .page-banner .hero-slide__title,
  .page-banner-slide .hero-slide__title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .brand-intro__card {
    padding: 1.35rem;
  }

  .brand-intro__card h3 {
    font-size: clamp(1.5rem, 8vw, 2.3rem);
  }

  .brand-intro__metrics,
  .brand-intro__metrics--compact {
    grid-template-columns: 1fr;
  }

  .team-card__body {
    gap: 0.8rem;
    padding: 0.72rem 44% 0.6rem 0.78rem;
  }

  .team-card {
    min-height: 186px;
  }

  .team-grid {
    row-gap: 2.35rem;
    padding-top: 0.65rem;
  }

  .archive-group--team .team-grid,
  .archive-group--team-featured .team-grid--featured {
    padding-top: 1.55rem;
  }

  .team-card__role {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .team-card__role::before {
    width: 24px;
  }

  .team-card h2,
  .team-card h3 {
    font-size: clamp(1.28rem, 8vw, 1.6rem);
  }

  .team-card p {
    font-size: 0.88rem;
    line-height: 1.46;
    -webkit-line-clamp: 3;
  }

  .team-card .text-link {
    font-size: 0.96rem;
  }

  .team-card__media {
    inset: 0 0 0 49%;
    padding-right: 0.12rem;
    min-height: 0;
  }

  .team-card__media::before {
    top: 0.6rem;
    right: 8px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .team-card__media img {
    height: calc(100% + 30px);
    transform: translateX(4%);
  }

  .team-card--featured {
    width: 100%;
    min-height: 204px;
  }

  .team-card--featured .team-card__body {
    padding-right: 44%;
  }

  .team-card__media-avatar {
    width: 104px;
    height: 104px;
    border-radius: 28px;
    font-size: 1.95rem;
  }

  .news-category-nav,
  .branch-selector__meta,
  .branch-selector__controls {
    grid-template-columns: 1fr;
  }

  .news-category-nav {
    position: static;
  }

  .branch-selector__meta {
    display: grid;
    align-items: start;
  }

  .branch-map {
    min-height: 280px;
  }

  .branch-map__info {
    min-width: min(220px, calc(100vw - 88px));
  }
}

.post-card {
  padding: 1.5rem;
}

.post-card h2 {
  margin-top: 0;
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
}

@media (max-width: 782px) {
  body.admin-bar {
    --wpgw-admin-offset: 46px;
  }
}

/* 2026 JIEEN reference homepage UI */
.yg-home--jieen {
  --yg-coral: #ff5a66;
  --yg-coral-dark: #e94e5b;
  --yg-ink: #152033;
  --yg-muted: #667085;
  --yg-line: #edf0f5;
  --yg-blue: #5168c1;
  --yg-mint: #7adfa9;
  --yg-gold: #ffc56d;
  --yg-lilac: #5168c1;
  --yg-cream: #fafcfb;
  --yg-card: #ffffff;
  background: linear-gradient(180deg, #fff8f3 0, #ffffff 9%, #fffaf6 44%, #ffffff 72%, #fff8f3 100%);
  color: var(--yg-ink);
  letter-spacing: 0;
}

.yg-home--jieen .site-container {
  width: min(1180px, calc(100% - 48px));
}

.yg-home--jieen .yg-home-hero {
  padding: 0 0 38px;
  background:
    radial-gradient(circle at 72% 15%, rgba(255, 198, 169, 0.34), transparent 31%),
    linear-gradient(180deg, #fff8f2 0%, #fffaf7 62%, #ffffff 100%);
  overflow: hidden;
}

.yg-home--jieen .yg-home-hero__slider {
  min-height: 520px;
}

.yg-home--jieen .yg-home-hero__slide {
  min-height: 520px;
  padding: 74px 0 92px;
}

.yg-home--jieen .yg-home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.yg-home--jieen .yg-home-hero__copy {
  max-width: 540px;
}

.yg-home--jieen .section-kicker,
.yg-home--jieen .yg-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 107, 74, 0.1);
  color: var(--yg-coral);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 14px;
  letter-spacing: 0;
}

.yg-home--jieen .yg-home-hero__copy h1,
.yg-home--jieen .yg-home-hero__copy .hero-slide__title {
  margin: 20px 0 18px;
  color: var(--yg-ink);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.yg-home--jieen .yg-home-hero__copy p {
  max-width: 470px;
  color: #41516a;
  font-size: 18px;
  line-height: 1.8;
}

.yg-home--jieen .yg-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.yg-home--jieen .button-primary,
.yg-home--jieen .button-secondary,
.yg-home--jieen .text-link {
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.yg-home--jieen .button-primary {
  background: linear-gradient(135deg, var(--yg-coral), #ff865f);
  box-shadow: 0 14px 28px rgba(255, 107, 74, 0.24);
}

.yg-home--jieen .button-secondary {
  background: #ffffff;
  border: 1px solid var(--yg-line);
  color: var(--yg-ink);
  box-shadow: 0 12px 30px rgba(21, 32, 51, 0.07);
}

.yg-home--jieen .button-primary:hover,
.yg-home--jieen .button-secondary:hover,
.yg-home--jieen .text-link:hover {
  transform: translateY(-2px);
}

.yg-home--jieen .yg-home-hero__visual {
  position: relative;
  min-height: 390px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.yg-home--jieen .yg-home-hero__visual img,
.yg-home--jieen .yg-hero-scene {
  width: min(100%, 590px);
  height: 385px;
  margin-left: auto;
  border-radius: 36px;
  object-fit: cover;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,233,220,0.74)),
    linear-gradient(135deg, #fff2e7, #ffe0d4);
  box-shadow: 0 30px 80px rgba(255, 107, 74, 0.18);
}

.yg-home--jieen .yg-hero-scene {
  position: relative;
  overflow: hidden;
}

.yg-home--jieen .yg-hero-scene::before {
  content: "";
  position: absolute;
  inset: 36px 70px 90px 190px;
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff, #f2f4f7);
  box-shadow: inset 0 0 0 10px rgba(21, 32, 51, 0.05), 0 18px 38px rgba(21, 32, 51, 0.08);
}

.yg-home--jieen .yg-hero-scene__board {
  position: absolute;
  right: 116px;
  bottom: 128px;
  display: flex;
  align-items: end;
  gap: 14px;
  height: 130px;
}

.yg-home--jieen .yg-hero-scene__board span {
  display: block;
  width: 34px;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #8ecae6, #5ca9c4);
}

.yg-home--jieen .yg-hero-scene__board span:nth-child(1) { height: 46px; background: #ffb05f; }
.yg-home--jieen .yg-hero-scene__board span:nth-child(2) { height: 68px; background: #ff8066; }
.yg-home--jieen .yg-hero-scene__board span:nth-child(3) { height: 92px; background: #8cc9df; }
.yg-home--jieen .yg-hero-scene__board span:nth-child(4) { height: 122px; background: #6fb8d2; }

.yg-home--jieen .yg-hero-scene__board::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 4px;
  width: 150px;
  height: 86px;
  border-top: 8px solid var(--yg-coral);
  border-right: 8px solid var(--yg-coral);
  transform: skewY(-24deg) rotate(-2deg);
  border-radius: 0 14px 0 0;
}

.yg-home--jieen .yg-hero-scene__plant,
.yg-home--jieen .yg-hero-scene__book,
.yg-home--jieen .yg-hero-scene__rainbow {
  position: absolute;
}

.yg-home--jieen .yg-hero-scene__plant {
  left: 78px;
  bottom: 135px;
  width: 70px;
  height: 92px;
  border-radius: 50% 50% 10px 10px;
  background: radial-gradient(circle at 36% 18%, #85b979 0 18%, transparent 19%), radial-gradient(circle at 64% 20%, #6faa74 0 19%, transparent 20%), linear-gradient(#ffffff, #ffffff);
  box-shadow: inset 0 -28px 0 #f1b27d;
}

.yg-home--jieen .yg-hero-scene__book {
  left: 86px;
  right: 148px;
  bottom: 58px;
  height: 64px;
  border-radius: 10px 10px 28px 28px;
  background: linear-gradient(100deg, #ffffff 0 48%, #f4f6f8 49% 100%);
  box-shadow: 0 16px 26px rgba(21, 32, 51, 0.08);
}

.yg-home--jieen .yg-hero-scene__rainbow {
  right: 48px;
  bottom: 44px;
  width: 120px;
  height: 72px;
  border-radius: 90px 90px 0 0;
  border: 18px solid #ff9f86;
  border-bottom: 0;
  box-shadow: inset 0 0 0 14px #82d4bb, inset 0 0 0 28px #f7cd70;
}

.yg-home--jieen .yg-floating-label {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--yg-coral);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(255, 107, 74, 0.14);
}

.yg-home--jieen .yg-floating-label--one { left: 60px; top: 68px; }
.yg-home--jieen .yg-floating-label--two { right: -4px; top: 130px; }
.yg-home--jieen .yg-floating-label--three { right: 118px; bottom: 92px; }

.yg-home--jieen .yg-hero-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -62px;
  padding: 0;
  border: 1px solid rgba(237, 240, 245, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 54px rgba(21, 32, 51, 0.08);
  backdrop-filter: blur(12px);
}

.yg-home--jieen .yg-hero-stats article {
  min-height: 96px;
  padding: 24px 28px;
  border-right: 1px solid var(--yg-line);
}

.yg-home--jieen .yg-hero-stats article:last-child {
  border-right: 0;
}

.yg-home--jieen .yg-hero-stats strong {
  color: var(--yg-coral);
  font-size: 34px;
  line-height: 1;
}

.yg-home--jieen .yg-hero-stats span {
  color: var(--yg-muted);
  font-size: 14px;
}

.yg-home--jieen .yg-section {
  padding: 74px 0;
  background: transparent;
}

.yg-home--jieen .yg-section--white {
  background: rgba(255, 255, 255, 0.72);
}

.yg-home--jieen .yg-section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.yg-home--jieen .yg-section-heading h2 {
  margin: 12px 0 12px;
  color: var(--yg-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
}

.yg-home--jieen .yg-section-heading p {
  margin: 0 auto;
  color: var(--yg-muted);
  line-height: 1.8;
}

.yg-home--jieen .yg-card-grid {
  display: grid;
  gap: 18px;
}

.yg-home--jieen .yg-card-grid--services {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.yg-home--jieen .yg-card-grid--programs,
.yg-home--jieen .yg-card-grid--stories,
.yg-home--jieen .yg-card-grid--news {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yg-home--jieen .yg-card-grid--team {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yg-home--jieen .yg-service-card,
.yg-home--jieen .yg-program-card,
.yg-home--jieen .yg-story-card,
.yg-home--jieen .yg-team-card,
.yg-home--jieen .yg-news-card,
.yg-home--jieen .yg-city-card,
.yg-home--jieen .yg-topic-link {
  border: 1px solid var(--yg-line);
  border-radius: 12px;
  background: var(--yg-card);
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.yg-home--jieen .yg-service-card:hover,
.yg-home--jieen .yg-program-card:hover,
.yg-home--jieen .yg-story-card:hover,
.yg-home--jieen .yg-team-card:hover,
.yg-home--jieen .yg-news-card:hover,
.yg-home--jieen .yg-city-card:hover,
.yg-home--jieen .yg-topic-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 74, 0.34);
  box-shadow: 0 20px 46px rgba(21, 32, 51, 0.09);
}

.yg-home--jieen .yg-service-card {
  min-height: 210px;
  padding: 24px;
  color: var(--yg-ink);
  text-decoration: none;
}

.yg-home--jieen .yg-service-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 10px;
  background: var(--yg-coral);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.yg-home--jieen .yg-service-card h3,
.yg-home--jieen .yg-program-card strong,
.yg-home--jieen .yg-story-card h3,
.yg-home--jieen .yg-team-card h3,
.yg-home--jieen .yg-news-card h3 {
  color: var(--yg-ink);
  letter-spacing: 0;
}

.yg-home--jieen .yg-service-card p,
.yg-home--jieen .yg-program-card p,
.yg-home--jieen .yg-story-card p,
.yg-home--jieen .yg-team-card p,
.yg-home--jieen .yg-news-card p,
.yg-home--jieen .yg-city-card small {
  color: var(--yg-muted);
  line-height: 1.75;
}

.yg-home--jieen .yg-service-card--coral { background: linear-gradient(145deg, #fff1eb, #ffffff); }
.yg-home--jieen .yg-service-card--aqua { background: linear-gradient(145deg, #eaf8fb, #ffffff); }
.yg-home--jieen .yg-service-card--gold { background: linear-gradient(145deg, #fff6e6, #ffffff); }
.yg-home--jieen .yg-service-card--mint { background: linear-gradient(145deg, #ecf8f0, #ffffff); }
.yg-home--jieen .yg-service-card--lilac { background: linear-gradient(145deg, #f4efff, #ffffff); }

.yg-home--jieen .yg-program-card,
.yg-home--jieen .yg-story-card,
.yg-home--jieen .yg-news-card {
  padding: 26px;
}

.yg-home--jieen .yg-program-card__toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.yg-home--jieen .yg-program-card__toggle span,
.yg-home--jieen .yg-story-card span,
.yg-home--jieen .yg-news-card span {
  color: var(--yg-coral);
  font-size: 13px;
  font-weight: 800;
}

.yg-home--jieen .yg-program-card__content {
  margin-top: 14px;
}

.yg-home--jieen .yg-program-card:not(.is-active) .yg-program-card__content ul {
  display: none;
}

.yg-home--jieen .yg-team-card {
  min-height: 190px;
  padding: 28px 22px;
  text-align: center;
}

.yg-home--jieen .yg-avatar {
  display: inline-flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff1eb;
  color: var(--yg-coral);
  font-size: 24px;
  font-weight: 800;
}

.yg-home--jieen .yg-section-action,
.yg-home--jieen .yg-center-action {
  margin-top: 30px;
  text-align: center;
}

.yg-home--jieen .yg-branch-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 36px;
  align-items: center;
}

.yg-home--jieen .yg-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.yg-home--jieen .yg-city-card {
  min-height: 74px;
  padding: 15px 18px 14px 42px;
  position: relative;
  text-decoration: none;
}

.yg-home--jieen .yg-city-card::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 21px;
  width: 13px;
  height: 13px;
  border: 3px solid #7d8da6;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.yg-home--jieen .yg-city-card strong,
.yg-home--jieen .yg-city-card span {
  display: block;
}

.yg-home--jieen .yg-city-card span {
  color: var(--yg-blue);
  font-size: 13px;
}

.yg-home--jieen .yg-map-card {
  position: relative;
  min-height: 310px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 45%, rgba(255, 107, 74, 0.25) 0 3px, transparent 4px),
    radial-gradient(circle at 46% 40%, rgba(255, 107, 74, 0.22) 0 3px, transparent 4px),
    radial-gradient(circle at 60% 52%, rgba(255, 107, 74, 0.2) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 61%, rgba(255, 107, 74, 0.22) 0 3px, transparent 4px),
    linear-gradient(145deg, #eaf6fb, #f8fcff);
  box-shadow: inset 0 0 0 1px #d9edf4;
  overflow: hidden;
}

.yg-home--jieen .yg-map-card::before {
  content: "";
  position: absolute;
  inset: 44px 38px 34px;
  border-radius: 48% 54% 46% 58%;
  background: rgba(201, 231, 241, 0.76);
  clip-path: polygon(8% 46%, 18% 28%, 35% 24%, 47% 34%, 61% 22%, 82% 32%, 92% 48%, 80% 66%, 62% 74%, 47% 66%, 30% 76%, 16% 66%);
}

.yg-home--jieen .yg-map-dot {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yg-coral);
  box-shadow: 0 0 0 5px rgba(255, 107, 74, 0.16);
}

.yg-home--jieen .yg-map-dot span {
  position: absolute;
  left: 50%;
  top: -30px;
  display: none;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 999px;
  background: #ffffff;
  color: var(--yg-ink);
  padding: 5px 10px;
  box-shadow: 0 10px 24px rgba(21, 32, 51, 0.12);
  font-size: 12px;
}

.yg-home--jieen .yg-map-dot:hover span {
  display: block;
}

.yg-map-dot--1 { left: 64%; top: 45%; }
.yg-map-dot--2 { left: 70%; top: 42%; }
.yg-map-dot--3 { left: 63%; top: 57%; }
.yg-map-dot--4 { left: 59%; top: 50%; }
.yg-map-dot--5 { left: 68%; top: 53%; }
.yg-map-dot--6 { left: 60%; top: 66%; }
.yg-map-dot--7 { left: 74%; top: 60%; }
.yg-map-dot--8 { left: 56%; top: 58%; }
.yg-map-dot--9 { left: 66%; top: 69%; }
.yg-map-dot--10 { left: 52%; top: 44%; }
.yg-map-dot--11 { left: 71%; top: 68%; }
.yg-map-dot--12 { left: 49%; top: 61%; }
.yg-map-dot--13 { left: 77%; top: 51%; }
.yg-map-dot--14 { left: 44%; top: 49%; }
.yg-map-dot--15 { left: 58%; top: 36%; }
.yg-map-dot--16 { left: 73%; top: 34%; }
.yg-map-dot--17 { left: 54%; top: 70%; }
.yg-map-dot--18 { left: 81%; top: 63%; }

.yg-home--jieen .yg-search-box {
  display: flex;
  width: min(680px, 100%);
  margin: 0 auto 18px;
  border: 1px solid var(--yg-line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(21, 32, 51, 0.05);
}

.yg-home--jieen .yg-search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  outline: none;
  color: var(--yg-ink);
}

.yg-home--jieen .yg-topic-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 24px;
}

.yg-home--jieen .yg-topic-tab {
  min-width: 74px;
  height: 38px;
  border: 1px solid var(--yg-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--yg-ink);
  cursor: pointer;
}

.yg-home--jieen .yg-topic-tab:hover,
.yg-home--jieen .yg-topic-tab.is-active {
  border-color: rgba(255, 107, 74, 0.45);
  color: var(--yg-coral);
}

.yg-home--jieen .yg-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.yg-home--jieen .yg-topic-link {
  padding: 14px 18px;
  color: var(--yg-blue);
  text-decoration: none;
}

.yg-home--jieen .yg-topic-link.is-hidden {
  display: none;
}

.yg-home--jieen .yg-city-search-section {
  background: #ffffff;
}

.yg-home--jieen .yg-city-search-box {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 107, 74, 0.18);
  border-radius: 999px;
  background: #fffaf7;
  box-shadow: 0 18px 42px rgba(55, 38, 28, 0.06);
}

.yg-home--jieen .yg-city-search-box label {
  display: block;
  min-width: 0;
}

.yg-home--jieen .yg-city-search-box input {
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: transparent;
  color: var(--yg-ink);
  font: inherit;
}

.yg-home--jieen .yg-city-search-box button {
  min-width: 88px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yg-coral), #ff9469);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(255, 90, 106, 0.2);
}

.yg-home--jieen .yg-city-keyword-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.yg-home--jieen .yg-city-keyword-card {
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(255, 107, 74, 0.15);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
  box-shadow: 0 18px 44px rgba(60, 42, 30, 0.07);
}

.yg-home--jieen .yg-city-keyword-card h3 {
  margin: 0 0 12px;
  color: var(--yg-ink);
  font-size: 18px;
  line-height: 1.25;
}

.yg-home--jieen .yg-city-keyword-links {
  display: grid;
  gap: 7px;
}

.yg-home--jieen .yg-city-keyword-links a {
  color: #2f8da5;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.yg-home--jieen .yg-city-keyword-links a:hover,
.yg-home--jieen .yg-city-keyword-links a:focus-visible {
  color: var(--yg-coral);
  text-decoration: underline;
}

.yg-home--jieen .yg-history-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.yg-home--jieen .yg-timeline {
  position: relative;
  display: grid;
  gap: 28px;
  padding-left: 34px;
}

.yg-home--jieen .yg-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #ffd3c6;
}

.yg-home--jieen .yg-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
}

.yg-home--jieen .yg-timeline__item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yg-coral);
  box-shadow: 0 0 0 5px #fff1eb;
}

.yg-home--jieen .yg-timeline__item time {
  color: var(--yg-coral);
  font-weight: 800;
}

.yg-home--jieen .yg-history-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 170px 145px;
  gap: 14px;
}

.yg-home--jieen .yg-history-collage img,
.yg-home--jieen .yg-history-collage__placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 14px;
  object-fit: cover;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(21, 32, 51, 0.08);
}

.yg-home--jieen .yg-history-collage img:first-child,
.yg-home--jieen .yg-history-collage__placeholder:first-child {
  grid-column: 1 / -1;
}

.yg-home--jieen .yg-history-collage__placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff0e9, #eaf8fb);
  color: var(--yg-coral);
  font-size: 30px;
  font-weight: 800;
}

.yg-home--jieen .yg-cta {
  padding: 52px 0;
  background: linear-gradient(135deg, #fff3ed, #ffffff 48%, #eef9fb);
}

.yg-home--jieen .yg-cta__inner,
.yg-home--jieen .section-shell--appointment .site-container,
.yg-home--jieen .appointment-layout {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 54px rgba(21, 32, 51, 0.08);
}

.yg-home--jieen .yg-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 42px;
}

.yg-home--jieen .yg-cta h2 {
  margin: 10px 0;
  color: var(--yg-ink);
  font-size: 32px;
  letter-spacing: 0;
}

.yg-home--jieen .section-shell--appointment {
  padding: 72px 0;
  background: #fff8f3;
}

.yg-home--jieen .section-shell--appointment .site-container {
  padding: 0;
}

.yg-home--jieen .appointment-layout {
  padding: 36px;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .yg-home--jieen .yg-card-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .yg-home--jieen .yg-home-hero__inner,
  .yg-home--jieen .yg-branch-showcase,
  .yg-home--jieen .yg-history-layout {
    grid-template-columns: 1fr;
  }

  .yg-home--jieen .yg-home-hero__visual img,
  .yg-home--jieen .yg-hero-scene {
    margin-right: auto;
  }
}

@media (max-width: 860px) {
  .yg-home--jieen .site-container {
    width: min(100% - 28px, 680px);
  }

  .yg-home--jieen .yg-home-hero__slide {
    padding: 44px 0 86px;
  }

  .yg-home--jieen .yg-home-hero__inner,
  .yg-home--jieen .yg-history-layout {
    gap: 30px;
  }

  .yg-home--jieen .yg-home-hero__copy h1,
  .yg-home--jieen .yg-home-hero__copy .hero-slide__title {
    font-size: 38px;
  }

  .yg-home--jieen .yg-home-hero__visual {
    min-height: 270px;
  }

  .yg-home--jieen .yg-home-hero__visual img,
  .yg-home--jieen .yg-hero-scene {
    height: 270px;
    border-radius: 24px;
  }

  .yg-home--jieen .yg-floating-label {
    display: none;
  }

  .yg-home--jieen .yg-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -44px;
  }

  .yg-home--jieen .yg-hero-stats article {
    min-height: 86px;
    padding: 20px;
  }

  .yg-home--jieen .yg-hero-stats article:nth-child(2) {
    border-right: 0;
  }

  .yg-home--jieen .yg-hero-stats strong {
    font-size: 28px;
  }

  .yg-home--jieen .yg-section {
    padding: 56px 0;
  }

  .yg-home--jieen .yg-card-grid--services,
  .yg-home--jieen .yg-card-grid--programs,
  .yg-home--jieen .yg-card-grid--stories,
  .yg-home--jieen .yg-card-grid--team,
  .yg-home--jieen .yg-card-grid--news,
  .yg-home--jieen .yg-city-grid,
  .yg-home--jieen .yg-topic-grid,
  .yg-home--jieen .yg-city-keyword-grid {
    grid-template-columns: 1fr;
  }

  .yg-home--jieen .yg-city-search-box {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .yg-home--jieen .yg-city-search-box button {
    width: 100%;
  }

  .yg-home--jieen .yg-map-card {
    min-height: 230px;
  }

  .yg-home--jieen .yg-history-collage {
    grid-template-rows: 150px 120px;
  }

  .yg-home--jieen .yg-cta__inner {
    display: grid;
    padding: 28px;
  }
}

/* Reference density correction */
@media (min-width: 861px) {
  .yg-home--jieen .yg-section,
  .yg-home--jieen #services,
  .yg-home--jieen #programs,
  .yg-home--jieen #stories,
  .yg-home--jieen #team,
  .yg-home--jieen #news,
  .yg-home--jieen #branches,
  .yg-home--jieen #geo-search,
  .yg-home--jieen #brand-history {
    min-height: 0 !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .yg-home--jieen #services { height: 320px !important; }
  .yg-home--jieen #programs { height: 310px !important; }
  .yg-home--jieen #stories { height: 300px !important; }
  .yg-home--jieen #team { height: 270px !important; }
  .yg-home--jieen #news { height: 330px !important; overflow: hidden !important; }
  .yg-home--jieen #branches { height: 360px !important; }
  .yg-home--jieen #geo-search {
    height: auto !important;
    overflow: visible !important;
  }
  .yg-home--jieen #brand-history { height: 430px !important; overflow: hidden !important; }

  .yg-home--jieen .yg-section-heading {
    margin-bottom: 16px !important;
  }

  .yg-home--jieen .yg-section-heading h2 {
    font-size: 26px !important;
  }

  .yg-home--jieen .yg-service-card {
    min-height: 138px !important;
    padding: 16px !important;
  }

  .yg-home--jieen .yg-service-card span {
    margin-bottom: 10px !important;
  }

  .yg-home--jieen .yg-program-card,
  .yg-home--jieen .yg-story-card,
  .yg-home--jieen .yg-news-card {
    min-height: 96px !important;
    padding: 16px 18px !important;
  }

  .yg-home--jieen .yg-news-card,
  .yg-home--jieen .yg-news-card * {
    max-height: none !important;
  }

  .yg-home--jieen .yg-news-card img,
  .yg-home--jieen .yg-news-card figure,
  .yg-home--jieen .yg-news-card picture,
  .yg-home--jieen .yg-news-card .post-card__media,
  .yg-home--jieen .yg-news-card .news-card__media,
  .yg-home--jieen .yg-news-card .card-media,
  .yg-home--jieen #news img,
  .yg-home--jieen #news figure,
  .yg-home--jieen #news picture {
    display: none !important;
  }

  .yg-home--jieen .yg-team-card {
    min-height: 92px !important;
    padding: 14px 16px !important;
  }

  .yg-home--jieen .yg-team-card .yg-avatar {
    width: 50px !important;
    height: 50px !important;
    font-size: 18px !important;
  }

  .yg-home--jieen .yg-branch-showcase {
    gap: 18px !important;
  }

  .yg-home--jieen .yg-map-card {
    min-height: 190px !important;
  }

  .yg-home--jieen .yg-topic-grid {
    max-height: 190px !important;
    overflow: hidden !important;
  }

  .yg-home--jieen .yg-city-keyword-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .yg-home--jieen .yg-history-collage {
    grid-template-rows: 132px 94px !important;
  }

  .yg-home--jieen .yg-timeline {
    gap: 12px !important;
  }

  .yg-home--jieen .yg-timeline__item p {
    -webkit-line-clamp: 1 !important;
  }

  .yg-home--jieen .yg-section-action,
  .yg-home--jieen .yg-center-action {
    margin-top: 12px !important;
  }

  .yg-home--jieen #appointment-cta {
    height: 150px !important;
    padding: 24px 0 !important;
  }

  .yg-home--jieen .yg-cta__inner {
    min-height: 80px !important;
    padding: 18px 28px !important;
  }

  .yg-home--jieen .section-shell--appointment {
    height: 470px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 24px 0 !important;
  }

  .yg-home--jieen .section-shell--appointment .appointment-layout {
    min-height: 0 !important;
    padding: 22px 28px !important;
    gap: 20px !important;
  }

  .yg-home--jieen .appointment-copy h2 {
    font-size: 22px !important;
  }

  .yg-home--jieen .appointment-copy p,
  .yg-home--jieen .appointment-note,
  .yg-home--jieen .appointment-form label,
  .yg-home--jieen .appointment-form input,
  .yg-home--jieen .appointment-form select,
  .yg-home--jieen .appointment-form textarea {
    font-size: 12px !important;
  }

  .yg-home--jieen .appointment-form input,
  .yg-home--jieen .appointment-form select {
    min-height: 38px !important;
  }

  .yg-home--jieen .appointment-form textarea {
    min-height: 70px !important;
  }
}

/* Homepage news: independent compact cards, no legacy media placeholders */
.yg-home--jieen #news .yg-news-list-compact {
  width: min(1060px, 100%) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 auto !important;
}

.yg-home--jieen #news .yg-news-tile {
  position: relative !important;
  display: flex !important;
  min-height: 168px !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 24px 26px !important;
  border: 1px solid var(--yg-line) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.05) !important;
  color: var(--yg-ink) !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transform: none !important;
}

.yg-home--jieen #news .yg-news-tile::before,
.yg-home--jieen #news .yg-news-tile::after,
.yg-home--jieen #news .yg-news-tile img,
.yg-home--jieen #news .yg-news-tile figure,
.yg-home--jieen #news .yg-news-tile picture {
  display: none !important;
  content: none !important;
}

.yg-home--jieen #news .yg-news-tile:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 107, 74, 0.34) !important;
  box-shadow: 0 20px 46px rgba(21, 32, 51, 0.09) !important;
}

.yg-home--jieen #news .yg-news-tile span {
  display: inline-flex !important;
  width: fit-content !important;
  margin: 0 0 10px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 107, 74, 0.1) !important;
  color: var(--yg-coral) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.yg-home--jieen #news .yg-news-tile h3 {
  margin: 0 0 10px !important;
  color: var(--yg-ink) !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

.yg-home--jieen #news .yg-news-tile p {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
  color: var(--yg-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

@media (max-width: 860px) {
  .yg-home--jieen #news .yg-news-list-compact {
    grid-template-columns: 1fr !important;
  }
}

/* Keep the dense reference style without clipping content */
@media (min-width: 861px) {
  .yg-home--jieen #services,
  .yg-home--jieen #programs,
  .yg-home--jieen #stories,
  .yg-home--jieen #team,
  .yg-home--jieen #news,
  .yg-home--jieen #branches,
  .yg-home--jieen #geo-search,
  .yg-home--jieen #brand-history,
  .yg-home--jieen #appointment-cta,
  .yg-home--jieen .section-shell--appointment {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .yg-home--jieen #services,
  .yg-home--jieen #programs,
  .yg-home--jieen #stories,
  .yg-home--jieen #team,
  .yg-home--jieen #news,
  .yg-home--jieen #branches,
  .yg-home--jieen #geo-search,
  .yg-home--jieen #brand-history {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .yg-home--jieen #news .yg-card-grid--news {
    align-items: stretch !important;
  }

.yg-home--jieen .yg-topic-grid {
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Fill rows when a homepage module has fewer cards than the reference mockup */
.yg-home--jieen .yg-card-grid--services {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

@media (min-width: 861px) {
  .yg-home--jieen #services .yg-card-grid--services {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Real hero illustration asset */
.yg-home--jieen .yg-home-hero__visual {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.yg-home--jieen .yg-home-hero__visual::before,
.yg-home--jieen .yg-home-hero__visual::after {
  display: none !important;
}

.yg-home--jieen .yg-home-hero__visual img.yg-home-hero__illustration {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: min(100%, 640px) !important;
  height: auto !important;
  max-height: 430px !important;
  margin: 0 !important;
  border-radius: 34px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 28px 78px rgba(255, 107, 74, 0.16) !important;
}

.yg-home--jieen .yg-home-hero__visual .yg-floating-label {
  z-index: 2 !important;
}

.yg-home--jieen .yg-home-hero__visual .yg-floating-label--one {
  left: 120px !important;
  top: 76px !important;
}

.yg-home--jieen .yg-home-hero__visual .yg-floating-label--two {
  right: 24px !important;
  top: 150px !important;
}

.yg-home--jieen .yg-home-hero__visual .yg-floating-label--three {
  right: 170px !important;
  bottom: 78px !important;
}

@media (max-width: 860px) {
  .yg-home--jieen .yg-home-hero__visual {
    justify-content: center !important;
  }

  .yg-home--jieen .yg-home-hero__visual img.yg-home-hero__illustration {
    max-height: 270px !important;
    border-radius: 24px !important;
  }
}

/* Final homepage news layout override */
.yg-home--jieen #news .yg-news-list-compact {
  width: min(1060px, 100%) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin: 0 auto !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile {
  display: flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  grid-area: auto !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  translate: none !important;
  transform: none !important;
  min-height: 288px !important;
  flex-direction: column !important;
  padding: 24px 26px !important;
  border: 1px solid var(--yg-line) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.05) !important;
  text-decoration: none !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile .yg-news-tile__media {
  display: block !important;
  width: 100% !important;
  height: 132px !important;
  margin: 0 0 16px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff4ee !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile .yg-news-tile__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile + .yg-news-tile {
  margin-left: 0 !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile:nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile:nth-child(3) {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile::before,
.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile::after {
  display: none !important;
  content: none !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile figure,
.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile picture,
.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile img {
  content: normal !important;
}

.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile span,
.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile h3,
.yg-home--jieen #news .yg-news-list-compact > .yg-news-tile p {
  position: static !important;
  inset: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

@media (max-width: 860px) {
  .yg-home--jieen #news .yg-news-list-compact {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .yg-home--jieen #news .yg-news-list-compact > .yg-news-tile,
  .yg-home--jieen #news .yg-news-list-compact > .yg-news-tile + .yg-news-tile {
    width: 100% !important;
    margin-top: 14px !important;
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

.yg-home--jieen #services,
.yg-home--jieen #stories,
.yg-home--jieen #news,
.yg-home--jieen #geo-search {
  background: rgba(255, 255, 255, 0.94) !important;
}

.yg-home--jieen #programs,
.yg-home--jieen #team,
.yg-home--jieen #branches,
.yg-home--jieen #brand-history {
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfd 100%) !important;
}

.yg-home--jieen .yg-home-hero__visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  top: 0;
  width: min(100%, 590px);
  height: 385px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,233,220,0.74)),
    linear-gradient(135deg, #fff2e7, #ffe0d4);
  box-shadow: 0 30px 80px rgba(255, 107, 74, 0.18);
}

.yg-home--jieen .yg-home-hero__visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 72px;
  bottom: 54px;
  width: 410px;
  height: 250px;
  border-radius: 30px;
  background:
    linear-gradient(110deg, transparent 0 47%, rgba(232,235,239,0.9) 48% 52%, transparent 53%),
    linear-gradient(100deg, #ffffff 0 50%, #f6f8fa 51% 100%);
  box-shadow: 0 20px 46px rgba(21, 32, 51, 0.08);
  clip-path: polygon(0 58%, 46% 34%, 100% 58%, 100% 100%, 0 100%);
}

.yg-home--jieen .yg-home-hero__visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: 330px;
  height: 214px;
  margin: 74px 88px 0 auto;
  border-radius: 30px;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.72) brightness(1.16);
  box-shadow: none;
}

.yg-home--jieen .yg-home-hero__visual:has(img) .yg-hero-scene {
  display: none;
}

.yg-home--jieen .yg-home-hero__visual .yg-floating-label {
  z-index: 4;
}

.yg-home--jieen .yg-home-hero__visual:has(img) {
  background:
    radial-gradient(circle at 72% 62%, #ff9f86 0 7px, transparent 8px),
    radial-gradient(circle at 66% 54%, #f7cd70 0 12px, transparent 13px),
    radial-gradient(circle at 58% 66%, #82d4bb 0 10px, transparent 11px);
}

.yg-home--jieen .yg-home-hero__visual:has(img) .yg-floating-label--one { left: 70px; top: 76px; }
.yg-home--jieen .yg-home-hero__visual:has(img) .yg-floating-label--two { right: 16px; top: 144px; }
.yg-home--jieen .yg-home-hero__visual:has(img) .yg-floating-label--three { right: 132px; bottom: 88px; }

.yg-home--jieen #services .yg-section-heading h2,
.yg-home--jieen #programs .yg-section-heading h2,
.yg-home--jieen #stories .yg-section-heading h2,
.yg-home--jieen #team .yg-section-heading h2,
.yg-home--jieen #news .yg-section-heading h2,
.yg-home--jieen #branches .yg-section-heading h2,
.yg-home--jieen #geo-search .yg-section-heading h2,
.yg-home--jieen #brand-history .yg-section-heading h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* High similarity pass for the provided homepage reference */
.yg-home--jieen {
  background: #fffaf6 !important;
}

.yg-home--jieen .yg-home-hero {
  min-height: 642px !important;
  padding-bottom: 0 !important;
}

.yg-home--jieen .yg-home-hero__slider,
.yg-home--jieen .yg-home-hero__slide {
  min-height: 560px !important;
}

.yg-home--jieen .yg-home-hero__slide {
  padding: 76px 0 96px !important;
}

.yg-home--jieen .yg-home-hero__inner {
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: 72px !important;
}

.yg-home--jieen .yg-home-hero__copy h1,
.yg-home--jieen .yg-home-hero__copy .hero-slide__title {
  max-width: 560px !important;
  font-size: 58px !important;
  line-height: 1.12 !important;
  margin: 18px 0 20px !important;
}

.yg-home--jieen .yg-home-hero__copy p {
  max-width: 520px !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

.yg-home--jieen .yg-home-hero__visual {
  min-height: 405px !important;
}

.yg-home--jieen .yg-home-hero__visual::before {
  width: 620px !important;
  height: 392px !important;
  right: 0 !important;
  top: 0 !important;
}

.yg-home--jieen .yg-home-hero__visual::after {
  right: 122px !important;
  bottom: 42px !important;
  width: 410px !important;
  height: 132px !important;
  border-radius: 16px 16px 38px 38px !important;
  clip-path: polygon(0 52%, 48% 20%, 100% 52%, 100% 100%, 0 100%) !important;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(222, 226, 232, 0.9) 48% 52%, transparent 53%),
    linear-gradient(100deg, #ffffff 0 50%, #f7f8fa 51% 100%) !important;
}

.yg-home--jieen .yg-home-hero__visual img {
  opacity: 0 !important;
}

.yg-home--jieen .yg-home-hero__visual .yg-floating-label {
  opacity: 1 !important;
}

.yg-home--jieen .yg-home-hero__visual:has(img)::before {
  background:
    radial-gradient(circle at 22% 58%, #8fbd78 0 11px, transparent 12px),
    radial-gradient(circle at 26% 50%, #79af70 0 10px, transparent 11px),
    radial-gradient(circle at 33% 60%, #f4a36f 0 7px, transparent 8px),
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,236,226,0.78)),
    linear-gradient(135deg, #fff2e7, #ffe0d4) !important;
}

.yg-home--jieen .yg-home-hero__visual:has(img)::after {
  box-shadow:
    178px -188px 0 -104px #ffffff,
    178px -188px 0 -94px rgba(21,32,51,0.05),
    280px -94px 0 -116px #ffb05f,
    326px -104px 0 -112px #ff8066,
    370px -122px 0 -108px #8cc9df,
    414px -142px 0 -104px #6fb8d2,
    500px -28px 0 -86px #ff9f86,
    500px -28px 0 -68px #f7cd70,
    500px -28px 0 -50px #82d4bb,
    0 18px 42px rgba(21,32,51,0.08) !important;
}

.yg-home--jieen .yg-hero-stats {
  max-width: 1140px !important;
  margin-top: -72px !important;
  border-radius: 18px !important;
}

.yg-home--jieen .yg-hero-stats article {
  min-height: 92px !important;
  padding: 22px 34px !important;
}

.yg-home--jieen .yg-section {
  padding: 42px 0 !important;
}

.yg-home--jieen .yg-section-heading {
  margin-bottom: 22px !important;
}

.yg-home--jieen .yg-section-heading h2 {
  font-size: 30px !important;
  line-height: 1.25 !important;
  margin: 8px 0 8px !important;
}

.yg-home--jieen .yg-section-heading p {
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.yg-home--jieen .section-kicker,
.yg-home--jieen .yg-pill {
  padding: 6px 12px !important;
  font-size: 12px !important;
}

.yg-home--jieen .yg-card-grid {
  gap: 16px !important;
}

.yg-home--jieen .yg-card-grid--services {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.yg-home--jieen .yg-service-card {
  min-height: 176px !important;
  padding: 20px 18px !important;
  border-radius: 14px !important;
}

.yg-home--jieen .yg-service-card span {
  width: 30px !important;
  height: 30px !important;
  margin-bottom: 20px !important;
  border-radius: 9px !important;
}

.yg-home--jieen .yg-service-card h3 {
  margin: 0 0 8px !important;
  font-size: 17px !important;
}

.yg-home--jieen .yg-service-card p {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 13px !important;
}

.yg-home--jieen .yg-card-grid--programs,
.yg-home--jieen .yg-card-grid--stories,
.yg-home--jieen .yg-card-grid--news {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

.yg-home--jieen .yg-program-card,
.yg-home--jieen .yg-story-card,
.yg-home--jieen .yg-news-card {
  min-height: 108px !important;
  padding: 20px 24px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

.yg-home--jieen .yg-program-card::before,
.yg-home--jieen .yg-program-card::after,
.yg-home--jieen .yg-story-card::before,
.yg-home--jieen .yg-story-card::after,
.yg-home--jieen .yg-news-card::before,
.yg-home--jieen .yg-news-card::after {
  display: none !important;
}

.yg-home--jieen .yg-program-card h3,
.yg-home--jieen .yg-program-card strong,
.yg-home--jieen .yg-story-card h3,
.yg-home--jieen .yg-news-card h3 {
  margin: 6px 0 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.yg-home--jieen .yg-program-card p,
.yg-home--jieen .yg-story-card p,
.yg-home--jieen .yg-news-card p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
  font-size: 13px !important;
}

.yg-home--jieen .yg-program-card ul,
.yg-home--jieen .yg-program-card .text-link {
  display: none !important;
}

.yg-home--jieen .yg-card-grid--team {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

.yg-home--jieen .yg-team-card {
  min-height: 118px !important;
  display: grid !important;
  grid-template-columns: 58px 1fr !important;
  grid-template-rows: auto auto auto !important;
  column-gap: 14px !important;
  align-items: center !important;
  padding: 18px 20px !important;
  text-align: left !important;
}

.yg-home--jieen .yg-team-card .yg-avatar {
  grid-row: 1 / 4 !important;
  width: 58px !important;
  height: 58px !important;
  margin: 0 !important;
  font-size: 22px !important;
}

.yg-home--jieen .yg-team-card h3 {
  margin: 0 !important;
  font-size: 16px !important;
}

.yg-home--jieen .yg-team-card strong,
.yg-home--jieen .yg-team-card p {
  display: block !important;
  margin: 3px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.yg-home--jieen .yg-team-card p {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.yg-home--jieen .yg-section-action,
.yg-home--jieen .yg-center-action {
  margin-top: 18px !important;
}

.yg-home--jieen .button-primary,
.yg-home--jieen .button-secondary {
  min-height: 38px !important;
  padding: 10px 22px !important;
  font-size: 14px !important;
}

.yg-home--jieen .yg-branch-showcase {
  grid-template-columns: 0.95fr 0.95fr !important;
  max-width: 1060px !important;
  margin: 0 auto !important;
  gap: 28px !important;
}

.yg-home--jieen .yg-city-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.yg-home--jieen .yg-city-card {
  min-height: 46px !important;
  padding: 10px 12px 9px 36px !important;
  border-radius: 8px !important;
}

.yg-home--jieen .yg-city-card strong {
  font-size: 14px !important;
}

.yg-home--jieen .yg-city-card span,
.yg-home--jieen .yg-city-card small {
  display: none !important;
}

.yg-home--jieen .yg-city-card::before {
  top: 15px !important;
  left: 14px !important;
  width: 10px !important;
  height: 10px !important;
  border-width: 2px !important;
}

.yg-home--jieen .yg-map-card {
  min-height: 240px !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  background: transparent !important;
}

.yg-home--jieen .yg-map-card::before {
  inset: 14px 0 8px !important;
  background: #e7f5fb !important;
}

.yg-home--jieen .yg-topic-tabs {
  width: min(1100px, 100%) !important;
  margin: 0 auto 18px !important;
  padding: 8px !important;
  border: 1px solid var(--yg-line) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.06) !important;
  gap: 4px !important;
}

.yg-home--jieen .yg-topic-tab {
  flex: 1 1 74px !important;
  min-width: 0 !important;
  height: 34px !important;
  border: 0 !important;
  background: transparent !important;
  font-weight: 700 !important;
}

.yg-home--jieen .yg-search-box {
  width: min(640px, 100%) !important;
  height: 50px !important;
  margin-bottom: 16px !important;
}

.yg-home--jieen .yg-topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  gap: 9px !important;
}

.yg-home--jieen .yg-topic-link {
  padding: 9px 14px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
}

.yg-home--jieen .yg-history-layout {
  grid-template-columns: 0.9fr 1.1fr !important;
  max-width: 1060px !important;
  margin: 0 auto !important;
  gap: 42px !important;
}

.yg-home--jieen .yg-timeline {
  gap: 18px !important;
}

.yg-home--jieen .yg-timeline__item {
  grid-template-columns: 62px 1fr !important;
  gap: 14px !important;
}

.yg-home--jieen .yg-timeline__item h3 {
  margin: 0 0 4px !important;
  font-size: 15px !important;
}

.yg-home--jieen .yg-timeline__item p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.yg-home--jieen .yg-history-collage {
  grid-template-rows: 160px 118px !important;
  gap: 12px !important;
}

.yg-home--jieen .yg-cta {
  padding: 38px 0 !important;
}

.yg-home--jieen .yg-cta__inner {
  max-width: 1060px !important;
  min-height: 92px !important;
  padding: 24px 34px !important;
}

.yg-home--jieen .yg-cta h2 {
  font-size: 24px !important;
}

.yg-home--jieen .yg-cta p {
  margin: 0 !important;
}

.yg-home--jieen .section-shell--appointment {
  padding: 34px 0 44px !important;
}

.yg-home--jieen .section-shell--appointment .appointment-layout {
  max-width: 1060px !important;
  display: grid !important;
  grid-template-columns: 0.72fr 1.28fr !important;
  gap: 28px !important;
  padding: 28px 34px !important;
  border-radius: 18px !important;
}

.yg-home--jieen .appointment-copy,
.yg-home--jieen .appointment-card {
  padding: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.yg-home--jieen .appointment-copy h2 {
  font-size: 26px !important;
  line-height: 1.25 !important;
}

.yg-home--jieen .appointment-copy__cards {
  display: grid !important;
  gap: 12px !important;
}

.yg-home--jieen .appointment-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 18px !important;
}

.yg-home--jieen .appointment-form__footer {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.yg-home--jieen .appointment-form button,
.yg-home--jieen .appointment-submit {
  min-width: 260px !important;
  border-radius: 999px !important;
}

@media (max-width: 1180px) {
  .yg-home--jieen .yg-card-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .yg-home--jieen .yg-card-grid--team {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .yg-home--jieen .yg-home-hero {
    min-height: auto !important;
  }

  .yg-home--jieen .yg-home-hero__inner,
  .yg-home--jieen .yg-branch-showcase,
  .yg-home--jieen .yg-history-layout,
  .yg-home--jieen .section-shell--appointment .appointment-layout {
    grid-template-columns: 1fr !important;
  }

  .yg-home--jieen .yg-home-hero__copy h1,
  .yg-home--jieen .yg-home-hero__copy .hero-slide__title {
    font-size: 38px !important;
  }

  .yg-home--jieen .yg-card-grid--services,
  .yg-home--jieen .yg-card-grid--programs,
  .yg-home--jieen .yg-card-grid--stories,
  .yg-home--jieen .yg-card-grid--news,
  .yg-home--jieen .yg-card-grid--team,
  .yg-home--jieen .yg-city-grid,
  .yg-home--jieen .yg-topic-grid,
  .yg-home--jieen .appointment-form {
    grid-template-columns: 1fr !important;
  }

  .yg-home--jieen .yg-topic-tabs {
    border-radius: 16px !important;
  }
}

/* Fix sparse team and news layouts on the redesigned homepage */
@media (min-width: 861px) {
  .yg-home--jieen #team .yg-card-grid--team {
    width: min(720px, 100%) !important;
    max-width: 720px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: center !important;
    justify-items: stretch !important;
    margin: 0 auto !important;
  }

  .yg-home--jieen #team .yg-team-card {
    min-height: 134px !important;
    padding: 22px 26px !important;
    border-radius: 14px !important;
  }

  .yg-home--jieen #team .yg-section-action {
    margin-top: 22px !important;
  }

  .yg-home--jieen #news .yg-card-grid--news {
    width: min(1060px, 100%) !important;
    max-width: 1060px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
    margin: 0 auto !important;
  }

  .yg-home--jieen #news .yg-news-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 174px !important;
    padding: 24px 26px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    transform: none !important;
    inset: auto !important;
  }

  .yg-home--jieen #news .yg-news-card::before,
  .yg-home--jieen #news .yg-news-card::after,
  .yg-home--jieen #news .yg-news-card > figure,
  .yg-home--jieen #news .yg-news-card > picture,
  .yg-home--jieen #news .yg-news-card > img,
  .yg-home--jieen #news .yg-news-card .post-card__media,
  .yg-home--jieen #news .yg-news-card .news-card__media,
  .yg-home--jieen #news .yg-news-card .card-media,
  .yg-home--jieen #news .yg-news-card .entry-thumbnail {
    display: none !important;
  }

  .yg-home--jieen #news .yg-news-card span,
  .yg-home--jieen #news .yg-news-card h3,
  .yg-home--jieen #news .yg-news-card p {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }

  .yg-home--jieen #news .yg-news-card h3 {
    margin: 10px 0 10px !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .yg-home--jieen #news .yg-news-card p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}


.yg-home--jieen .branch-map--homepage {
  flex: 1 1 520px;
  min-height: 360px;
  margin-top: 0;
  border-radius: 32px;
  background: #eef8fb;
  box-shadow: 0 28px 70px rgba(43, 79, 112, 0.12);
}

.yg-home--jieen .branch-map--homepage .branch-map__state {
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
}

.branch-home-data[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .yg-home--jieen .branch-map--homepage {
    min-height: 320px;
    flex-basis: 100%;
  }
}


/* Homepage real AMap replacement for the old decorative map. */
.yg-home--jieen .yg-branch-showcase {
  grid-template-columns: minmax(540px, 0.92fr) minmax(560px, 1.08fr);
  align-items: stretch;
}

.yg-home--jieen .branch-map--homepage {
  width: 100%;
  min-width: 0;
  min-height: 390px;
  height: 100%;
  margin: 0;
  border-radius: 28px;
  background: #eef8fb;
  box-shadow: 0 28px 70px rgba(43, 79, 112, 0.12);
}

.yg-home--jieen .branch-map--homepage .branch-map__canvas {
  min-height: 390px;
}

.branch-home-data[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .yg-home--jieen .yg-branch-showcase {
    grid-template-columns: 1fr;
  }

  .yg-home--jieen .branch-map--homepage,
  .yg-home--jieen .branch-map--homepage .branch-map__canvas {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .yg-home--jieen .branch-map--homepage,
  .yg-home--jieen .branch-map--homepage .branch-map__canvas {
    min-height: 280px;
    border-radius: 18px;
  }
}


.yg-home--jieen .yg-home-branch-section {
  display: block;
}

.yg-home--jieen .yg-branch-showcase.branch-section {
  display: grid;
  width: min(1180px, 100%);
  max-width: none;
  margin: 0 auto;
  grid-template-columns: minmax(500px, 0.9fr) minmax(560px, 1.1fr);
  gap: 36px;
  align-items: stretch;
}

@media (max-width: 1180px) {
  .yg-home--jieen .yg-branch-showcase.branch-section {
    grid-template-columns: 1fr;
  }
}


/* VI alignment 2026-07-31: standard logo lockup and official brand colors. */
.brand-mark__image,
.footer-brand__mark .brand-mark__image,
.wpgw-login-brand .brand-mark__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 238px;
  max-height: 62px;
  object-fit: contain;
}

.footer-brand__mark .brand-mark__image {
  max-width: 220px;
}

.wpgw-login-brand .brand-mark__image {
  max-width: 210px;
}

@media (max-width: 640px) {
  .brand-mark__image {
    max-width: 184px;
    max-height: 52px;
  }
}


/* Footer brand logo contrast fix 2026-07-31. */
.site-footer .footer-brand__mark {
  display: inline-flex;
  width: fit-content;
  max-width: min(320px, 100%);
  margin-bottom: 2rem;
}

.site-footer .footer-brand__logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(320px, 100%);
  max-height: 96px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .site-footer .footer-brand__mark,
  .site-footer .footer-brand__logo-image {
    max-width: min(260px, 100%);
  }
}


/* Footer logo uses the original color lockup on a light plate. */
.site-footer .footer-brand__mark {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.site-footer .footer-brand__logo-image {
  max-width: min(300px, 100%);
  max-height: 88px;
}

@media (max-width: 640px) {
  .site-footer .footer-brand__mark {
    padding: 10px 12px;
  }

  .site-footer .footer-brand__logo-image {
    max-width: min(240px, 100%);
  }
}


/* Primary navigation fit for 2026 menu expansion. */
.primary-menu {
  gap: clamp(0.8rem, 1.25vw, 1.45rem);
}

.primary-menu > li > a {
  white-space: nowrap;
  word-break: keep-all;
}

@media (max-width: 1380px) and (min-width: 1025px) {
  .header-shell {
    gap: 0.8rem;
  }

  .brand-mark__image {
    max-width: 200px;
    max-height: 58px;
  }

  .primary-menu {
    gap: 0.86rem;
  }

  .primary-menu > li > a {
    font-size: 0.94rem;
  }

  .primary-menu > li.menu-item-has-children > a::after {
    width: 0.45rem;
    height: 0.45rem;
    margin-left: 0.4rem;
  }

  .hotline-chip {
    padding-inline: 0.78rem;
  }
}


/* Homepage history timeline dot overlap fix. */
.yg-home--jieen .yg-timeline__item::after {
  content: none !important;
  display: none !important;
}

.yg-home--jieen .yg-timeline__item > div {
  min-width: 0;
}


/* Inner page UI alignment with the 2026 homepage style. */
body:not(.home) {
  background:
    linear-gradient(180deg, #fff8f4 0, #ffffff 22%, #fff8f3 62%, #ffffff 100%);
}

body:not(.home) .site-main--inner {
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 90, 102, 0.08), transparent 28%),
    radial-gradient(circle at 86% 34%, rgba(186, 220, 230, 0.22), transparent 32%),
    linear-gradient(180deg, #fffaf8 0%, #ffffff 48%, #fff8f3 100%);
  color: var(--wpgw-text);
}

body:not(.home) .site-main--inner > .site-container,
body:not(.home) .archive-content,
body:not(.home) .page-content,
body:not(.home) .entry-content {
  width: min(1180px, calc(100% - 48px));
}

body:not(.home) .section-kicker,
body:not(.home) .archive-kicker,
body:not(.home) .entry-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 90, 102, 0.1);
  color: var(--wpgw-accent);
  font-weight: 700;
  letter-spacing: 0;
}

body:not(.home) .section-kicker::before,
body:not(.home) .archive-kicker::before,
body:not(.home) .entry-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--wpgw-accent);
}

body:not(.home) h1,
body:not(.home) .entry-card h1,
body:not(.home) .archive-header h1,
body:not(.home) .page-header h1 {
  color: #152033;
  font-size: clamp(2.25rem, 4vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body:not(.home) .archive-header,
body:not(.home) .page-header,
body:not(.home) .entry-header {
  border: 0;
}

body:not(.home) .post-card,
body:not(.home) .course-list-card,
body:not(.home) .story-card,
body:not(.home) .team-card,
body:not(.home) .branch-card,
body:not(.home) .entry-card,
body:not(.home) .detail-card,
body:not(.home) .branch-group,
body:not(.home) .empty-state-card,
body:not(.home) .stat-card,
body:not(.home) .history-node__figure,
body:not(.home) .history-node__content {
  border: 1px solid rgba(255, 90, 102, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(105, 64, 55, 0.09);
}

body:not(.home) .post-card,
body:not(.home) .course-list-card,
body:not(.home) .story-card,
body:not(.home) .team-card,
body:not(.home) .branch-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body:not(.home) .post-card:hover,
body:not(.home) .course-list-card:hover,
body:not(.home) .story-card:hover,
body:not(.home) .team-card:hover,
body:not(.home) .branch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 102, 0.26);
  box-shadow: 0 28px 68px rgba(105, 64, 55, 0.14);
}

body:not(.home) .post-card__media,
body:not(.home) .story-card__media,
body:not(.home) .course-list-card__media,
body:not(.home) .team-card__media {
  background: linear-gradient(135deg, #fff3f4, #edf9fb);
}

body:not(.home) .post-card__media img,
body:not(.home) .story-card__media img,
body:not(.home) .course-list-card__media img,
body:not(.home) .team-card__media img,
body:not(.home) .entry-card img {
  transition: transform 0.28s ease;
}

body:not(.home) .post-card:hover .post-card__media img,
body:not(.home) .story-card:hover .story-card__media img,
body:not(.home) .course-list-card:hover .course-list-card__media img,
body:not(.home) .team-card:hover .team-card__media img {
  transform: scale(1.025);
}

body:not(.home) .post-card h2,
body:not(.home) .post-card h3,
body:not(.home) .course-list-card h2,
body:not(.home) .course-list-card h3,
body:not(.home) .story-card h2,
body:not(.home) .story-card h3,
body:not(.home) .team-card h2,
body:not(.home) .team-card h3,
body:not(.home) .branch-card h3,
body:not(.home) .detail-card h2,
body:not(.home) .detail-card h3 {
  color: #152033;
  letter-spacing: 0;
}

body:not(.home) .post-card p,
body:not(.home) .course-list-card p,
body:not(.home) .story-card p,
body:not(.home) .team-card p,
body:not(.home) .branch-card p,
body:not(.home) .detail-card p,
body:not(.home) .entry-card p {
  color: #56647a;
}

body:not(.home) .post-card__meta,
body:not(.home) .story-card__meta,
body:not(.home) .team-card__role,
body:not(.home) .branch-card__city,
body:not(.home) .branch-group__count {
  color: var(--wpgw-accent);
  background: rgba(255, 90, 102, 0.09);
  border-radius: 999px;
}

body:not(.home) .button-primary,
body:not(.home) .wp-block-button__link,
body:not(.home) .course-list-card .text-link,
body:not(.home) .post-card .text-link,
body:not(.home) .story-card .text-link,
body:not(.home) .team-card .text-link {
  color: var(--wpgw-accent);
}

body:not(.home) .branch-city-nav,
body:not(.home) .archive-sidebar,
body:not(.home) .quick-nav,
body:not(.home) .category-jump {
  border: 1px solid rgba(255, 90, 102, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(105, 64, 55, 0.09);
}

body:not(.home) .branch-city-nav__link {
  border-radius: 999px;
  background: rgba(255, 90, 102, 0.08);
  color: var(--wpgw-accent);
}

body:not(.home) .branch-city-nav__link:hover,
body:not(.home) .branch-city-nav__link:focus-visible {
  background: var(--wpgw-accent);
  color: #fff;
}

body:not(.home) .branch-map,
body:not(.home) .branch-map__canvas {
  border-radius: 24px;
}

body:not(.home) .entry-card,
body:not(.home) .detail-card {
  padding: clamp(1.4rem, 2.4vw, 2.4rem);
}

body:not(.home) .entry-content a,
body:not(.home) .detail-card a,
body:not(.home) .branch-address-link {
  color: var(--wpgw-accent);
  text-underline-offset: 0.18em;
}

@media (min-width: 1181px) {
  body:not(.home) .branch-city-nav,
  body:not(.home) .archive-sidebar,
  body:not(.home) .quick-nav,
  body:not(.home) .category-jump {
    margin-right: 84px;
  }
}

@media (max-width: 900px) {
  body:not(.home) .site-main--inner > .site-container,
  body:not(.home) .archive-content,
  body:not(.home) .page-content,
  body:not(.home) .entry-content {
    width: min(100% - 32px, 1180px);
  }

  body:not(.home) h1,
  body:not(.home) .entry-card h1,
  body:not(.home) .archive-header h1,
  body:not(.home) .page-header h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  body:not(.home) .post-card,
  body:not(.home) .course-list-card,
  body:not(.home) .story-card,
  body:not(.home) .team-card,
  body:not(.home) .branch-card,
  body:not(.home) .entry-card,
  body:not(.home) .detail-card,
  body:not(.home) .branch-group {
    border-radius: 18px;
  }
}


/* Inner UI button readability fix. */
body:not(.home) .button-primary,
body:not(.home) .page-banner__slider .button-primary,
body:not(.home) .hero-slider .button-primary {
  color: #fff !important;
}

body:not(.home) .button-secondary,
body:not(.home) .text-link,
body:not(.home) .course-list-card .text-link,
body:not(.home) .post-card .text-link,
body:not(.home) .story-card .text-link,
body:not(.home) .team-card .text-link {
  color: var(--wpgw-accent) !important;
}

body:not(.home) .page-banner__dots-shell {
  pointer-events: none;
}

body:not(.home) .page-banner__dots {
  gap: 10px;
  justify-content: flex-end;
  padding-right: 82px;
  pointer-events: none;
}

body:not(.home) .page-banner__dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  min-height: 9px;
  padding: 0;
  pointer-events: auto;
}

body:not(.home) .page-banner__dot.is-active {
  width: 24px;
}

/* Public Gutenberg archive/page repair: keep editor-managed pages readable on the front end. */
body:not(.home) .site-main--gutenberg-page {
  background:
    radial-gradient(circle at 88% 12%, rgba(249, 224, 142, 0.22), transparent 24rem),
    linear-gradient(180deg, #fffaf7 0%, #fffdfb 48%, #ffffff 100%);
  overflow-x: hidden;
}

body:not(.home) .entry-content--gutenberg-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

body:not(.home) .entry-content--gutenberg-page > .wp-block-group {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(56px, 7vw, 96px) 0;
}

body:not(.home) .entry-content--gutenberg-page > .wp-block-group.page-banner {
  padding: clamp(72px, 8vw, 118px) 0 clamp(52px, 6vw, 82px);
}

body:not(.home) .entry-content--gutenberg-page .site-container,
body:not(.home) .entry-content--gutenberg-page .wp-block-group.site-container,
body:not(.home) .entry-content--gutenberg-page > .site-container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

body:not(.home) .page-banner__inner {
  display: grid;
  gap: 22px;
  align-content: center;
}

body:not(.home) .page-banner__inner h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.9rem);
  line-height: 1.08;
}

body:not(.home) .page-banner__inner p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: #5e6a7c;
  font-size: 1rem;
  line-height: 1.9;
}

body:not(.home) .page-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

body:not(.home) .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

body:not(.home) .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: linear-gradient(135deg, #ff5366, #ffb35f);
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(255, 90, 102, 0.2);
}

body:not(.home) .wp-block-button.is-style-outline .wp-block-button__link {
  border: 1px solid rgba(21, 32, 51, 0.12);
  background: #fff;
  color: #152033 !important;
}

body:not(.home) .section-heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

body:not(.home) .section-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.18;
}

body:not(.home) .section-heading p {
  margin: 0;
  color: #5e6a7c;
  line-height: 1.8;
}

body:not(.home) .wpgw-content-list-grid,
body:not(.home) .post-grid,
body:not(.home) .story-grid,
body:not(.home) .team-grid,
body:not(.home) .course-list-grid,
body:not(.home) .branch-list--archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

body:not(.home) .wpgw-content-list-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body:not(.home) .post-card,
body:not(.home) .story-card,
body:not(.home) .course-list-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  min-width: 0;
  min-height: 0;
}

body:not(.home) .post-card__media,
body:not(.home) .story-card__media,
body:not(.home) .course-list-card__media,
body:not(.home) .course-list-card__media a {
  display: grid;
  width: 100%;
  height: 220px;
  overflow: hidden;
  place-items: center;
}

body:not(.home) .post-card__media img,
body:not(.home) .story-card__media img,
body:not(.home) .course-list-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.home) .post-card__media span,
body:not(.home) .story-card__media span,
body:not(.home) .course-list-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--wpgw-accent);
  background: linear-gradient(135deg, #fff3f4, #edf9fb);
  font-weight: 800;
}

body:not(.home) .post-card__body,
body:not(.home) .story-card__body,
body:not(.home) .course-list-card__body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

body:not(.home) .post-card h2,
body:not(.home) .post-card h3,
body:not(.home) .story-card h2,
body:not(.home) .story-card h3,
body:not(.home) .course-list-card h2,
body:not(.home) .course-list-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
}

body:not(.home) .post-card p,
body:not(.home) .story-card p,
body:not(.home) .course-list-card p {
  margin: 0;
  line-height: 1.8;
}

body:not(.home) .team-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 20px;
  align-items: center;
  min-height: 188px;
  padding: 26px;
}

body:not(.home) .team-card__body {
  min-width: 0;
}

body:not(.home) .team-card__body h2,
body:not(.home) .team-card__body h3 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
}

body:not(.home) .team-card__body p {
  margin: 0 0 10px;
  line-height: 1.75;
}

body:not(.home) .team-card__media {
  width: 92px;
  height: 92px;
  min-height: 92px;
  border-radius: 26px;
  overflow: hidden;
}

body:not(.home) .team-card__media img,
body:not(.home) .team-card__media-avatar {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  object-fit: cover;
}

body:not(.home) .branch-archive-layout,
body:not(.home) .branch-city-groups {
  width: 100%;
}

body:not(.home) .branch-city-groups {
  display: grid;
  gap: 36px;
}

body:not(.home) .branch-city-group {
  display: grid;
  gap: 18px;
}

body:not(.home) .branch-city-group__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

body:not(.home) .branch-city-group__header h2 {
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

body:not(.home) .branch-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  padding: 24px;
}

body:not(.home) .branch-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

body:not(.home) .branch-card p {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 980px) {
  body:not(.home) .wpgw-content-list-grid,
  body:not(.home) .post-grid,
  body:not(.home) .story-grid,
  body:not(.home) .team-grid,
  body:not(.home) .course-list-grid,
  body:not(.home) .branch-list--archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body:not(.home) .entry-content--gutenberg-page .site-container,
  body:not(.home) .entry-content--gutenberg-page .wp-block-group.site-container,
  body:not(.home) .entry-content--gutenberg-page > .site-container {
    width: min(100% - 28px, 1180px);
  }

  body:not(.home) .wpgw-content-list-grid,
  body:not(.home) .post-grid,
  body:not(.home) .story-grid,
  body:not(.home) .team-grid,
  body:not(.home) .course-list-grid,
  body:not(.home) .branch-list--archive-grid {
    grid-template-columns: 1fr;
  }

  body:not(.home) .post-card,
  body:not(.home) .story-card,
  body:not(.home) .course-list-card {
    grid-template-rows: 190px 1fr;
  }

  body:not(.home) .post-card__media,
  body:not(.home) .story-card__media,
  body:not(.home) .course-list-card__media,
  body:not(.home) .course-list-card__media a {
    height: 190px;
  }

body:not(.home) .team-card {
    grid-template-columns: 1fr;
  }
}

body:not(.home) .site-main--gutenberg-page .post-card,
body:not(.home) .site-main--gutenberg-page .story-card,
body:not(.home) .site-main--gutenberg-page .course-list-card {
  grid-template-columns: 1fr !important;
}

body:not(.home) .site-main--gutenberg-page .post-card__media,
body:not(.home) .site-main--gutenberg-page .story-card__media,
body:not(.home) .site-main--gutenberg-page .course-list-card__media,
body:not(.home) .site-main--gutenberg-page .course-list-card__media a {
  width: 100% !important;
}

body:not(.home) .about-story-flow {
  max-width: 1400px;
  margin: 0 auto;
}

body:not(.home) .about-story-flow > .wp-block-group__inner-container {
  display: block;
  max-width: none !important;
}

body:not(.home) .about-story-flow p {
  margin: 0 0 28px;
  color: #2f261d;
  font-size: clamp(1.08rem, 1.45vw, 1.55rem);
  line-height: 1.92;
  letter-spacing: 0;
}

body:not(.home) .about-story-flow strong {
  color: #2f261d;
  font-weight: 900;
}

body:not(.home) .about-story-flow .about-story-inline-image {
  width: min(620px, 80%);
  margin: 34px auto 34px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body:not(.home) .about-story-flow .about-story-inline-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

body:not(.home) .about-story-grid,
body:not(.home) .about-principle-grid,
body:not(.home) .about-stats-grid {
  display: block !important;
}

body:not(.home) .about-story-grid > .wp-block-group__inner-container {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

body:not(.home) .about-story-grid > .wp-block-group__inner-container,
body:not(.home) .about-principle-grid > .wp-block-group__inner-container,
body:not(.home) .about-stats-grid > .wp-block-group__inner-container {
  display: grid;
  gap: 28px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body:not(.home) .about-copy-card,
body:not(.home) .about-principle-card,
body:not(.home) .about-stat-card {
  border: 1px solid rgba(255, 90, 102, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(105, 64, 55, 0.09);
}

body:not(.home) .about-copy-card {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 46px);
}

body:not(.home) .about-copy-card p,
body:not(.home) .about-principle-card p {
  margin: 0;
  color: #56647a;
  font-size: 1rem;
  line-height: 1.95;
}

body:not(.home) .about-story-image {
  overflow: hidden;
  border-radius: 24px;
  min-height: 360px;
  box-shadow: 0 22px 54px rgba(105, 64, 55, 0.09);
}

body:not(.home) .about-story-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

body:not(.home) .about-principle-grid > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:not(.home) .about-principle-card {
  padding: 26px;
}

body:not(.home) .about-principle-card h3 {
  margin: 0 0 14px;
  color: #152033;
  font-size: 1.35rem;
  line-height: 1.35;
}

body:not(.home) .about-principle-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.1em;
  color: #56647a;
  line-height: 1.8;
}

body:not(.home) .about-stats-grid > .wp-block-group__inner-container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body:not(.home) .about-stat-card {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 150px;
  padding: 24px 18px;
  text-align: center;
}

body:not(.home) .about-stat-card strong {
  color: var(--wpgw-accent);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1;
}

body:not(.home) .about-stat-card span {
  color: #56647a;
  font-weight: 700;
}

@media (max-width: 980px) {
  body:not(.home) .about-story-grid,
  body:not(.home) .about-principle-grid,
  body:not(.home) .about-stats-grid,
  body:not(.home) .about-story-grid > .wp-block-group__inner-container,
  body:not(.home) .about-principle-grid > .wp-block-group__inner-container,
  body:not(.home) .about-stats-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr 1fr;
  }

  body:not(.home) .about-story-grid .about-copy-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body:not(.home) .about-story-grid,
  body:not(.home) .about-principle-grid,
  body:not(.home) .about-stats-grid,
  body:not(.home) .about-story-grid > .wp-block-group__inner-container,
  body:not(.home) .about-principle-grid > .wp-block-group__inner-container,
  body:not(.home) .about-stats-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }
}

body:not(.home) .about-story-grid > .wp-block-group__inner-container > .about-copy-card,
body:not(.home) .about-story-grid > .wp-block-group__inner-container > .about-story-image,
body:not(.home) .about-principle-grid > .wp-block-group__inner-container > .about-principle-card,
body:not(.home) .about-stats-grid > .wp-block-group__inner-container > .about-stat-card {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.page-id-12 .wpgw-content-list-grid--cols-4.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

body.page-id-12 .team-card {
  grid-template-columns: minmax(0, 1fr) 82px;
  min-height: 210px;
  padding: 24px;
}

body.page-id-12 .team-card__media {
  width: 82px;
  height: 82px;
  min-height: 82px;
}

body.post-type-archive-team_member .archive-groups--team-levels,
body.page-id-408 .archive-groups--team-levels {
  display: grid;
  gap: clamp(44px, 5vw, 72px);
}

body.post-type-archive-team_member .archive-group--team,
body.page-id-408 .archive-group--team {
  display: grid;
  gap: 26px;
  padding: clamp(30px, 4vw, 52px) 0;
  border-top: 1px solid rgba(255, 90, 102, 0.16);
  border-bottom: 1px solid rgba(255, 90, 102, 0.12);
}

body.post-type-archive-team_member .archive-group__header,
body.page-id-408 .archive-group__header {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

body.post-type-archive-team_member .archive-group__header h2,
body.page-id-408 .archive-group__header h2 {
  margin: 0;
  color: #2f261d;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.12;
}

body.post-type-archive-team_member .archive-group__header p,
body.page-id-408 .archive-group__header p {
  margin: 0;
  color: #56647a;
  line-height: 1.8;
}

body.post-type-archive-team_member .team-grid,
body.page-id-408 .team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

body.post-type-archive-team_member .team-grid--featured,
body.page-id-408 .team-grid--featured {
  grid-template-columns: minmax(0, 1fr);
}

body.post-type-archive-team_member .team-card--featured,
body.page-id-408 .team-card--featured {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  min-height: 360px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 34%, rgba(122, 223, 169, 0.18), transparent 28%),
    linear-gradient(110deg, #ffffff 0%, #ffffff 54%, #f4fbfd 100%);
}

body.post-type-archive-team_member .team-card--featured .team-card__body,
body.page-id-408 .team-card--featured .team-card__body {
  align-self: center;
}

body.post-type-archive-team_member .team-card--featured .team-card__media,
body.page-id-408 .team-card--featured .team-card__media {
  width: 100%;
  height: 320px;
  min-height: 320px;
  align-self: end;
  border-radius: 0;
  background: transparent;
}

body.post-type-archive-team_member .team-card--featured .team-card__media img,
body.page-id-408 .team-card--featured .team-card__media img {
  object-fit: contain;
  object-position: center bottom;
}

@media (max-width: 1180px) {
  body.post-type-archive-team_member .team-grid,
  body.page-id-408 .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.post-type-archive-team_member .team-grid--featured,
  body.page-id-408 .team-grid--featured {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  body.post-type-archive-team_member .team-grid,
  body.page-id-408 .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.post-type-archive-team_member .team-card--featured,
  body.page-id-408 .team-card--featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  body.post-type-archive-team_member .team-grid,
  body.page-id-408 .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  body.page-id-12 .wpgw-content-list-grid--cols-4.team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.page-id-12 .wpgw-content-list-grid--cols-4.team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body:not(.home) .page-banner__dots {
    justify-content: center;
    padding-right: 0;
  }
}

/* Audit hardening: keep featured teacher media inside its card on archive/team pages. */
body.post-type-archive-team_member .team-card__media,
body.page-id-408 .team-card__media,
body:not(.home) .team-card__media {
  position: static !important;
  inset: auto !important;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

body.post-type-archive-team_member .team-card__media img,
body.page-id-408 .team-card__media img,
body:not(.home) .team-card__media img {
  max-width: 100%;
  min-width: 0;
}

/* Audit hardening: long page-banner title lines must wrap on narrow screens. */
.page-banner .hero-slide__title,
.page-banner-slide .hero-slide__title,
.page-banner .hero-slide__title-line,
.page-banner-slide .hero-slide__title-line {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 680px) {
  body:not(.home) .page-banner-slide__intro,
  body:not(.home) .page-banner .hero-slide__title,
  body:not(.home) .page-banner-slide .hero-slide__title,
  body:not(.home) .page-banner .hero-slide__title-line,
  body:not(.home) .page-banner-slide .hero-slide__title-line {
    display: block;
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    box-sizing: border-box;
    white-space: normal !important;
  }
}


/* Inner UI branch page refinement. */
body:not(.home) .branch-city-nav .section-kicker {
  white-space: nowrap;
  min-width: max-content;
  padding-inline: 12px;
}

body:not(.home) .branch-city-nav .section-kicker::before {
  width: 28px;
  flex: 0 0 28px;
}

body:not(.home) .branch-card__address,
body:not(.home) .branch-card__address-link,
body:not(.home) .branch-address-link {
  color: #56647a !important;
  text-decoration: none;
}

body:not(.home) .branch-address-link:hover,
body:not(.home) .branch-address-link:focus-visible {
  color: var(--wpgw-accent) !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}


/* Editable Gutenberg homepage. */
.site-main--editable-home {
  background: linear-gradient(180deg, #fffaf8 0%, #f7fcfb 42%, #fff 100%);
}

.entry-content--editable-home > .wpgw-gutenberg-home {
  max-width: none;
  margin: 0;
}

.wpgw-gutenberg-home {
  color: #30261d;
}

.wpgw-gutenberg-home .wp-block-cover.wpgw-edit-hero {
  padding: clamp(96px, 10vw, 150px) 24px clamp(80px, 8vw, 120px);
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}

.wpgw-gutenberg-home .wpgw-edit-hero .wp-block-cover__inner-container,
.wpgw-gutenberg-home .wpgw-edit-section,
.wpgw-gutenberg-home .wpgw-edit-stats {
  width: min(1180px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

.wpgw-gutenberg-home .wpgw-edit-hero h1 {
  max-width: 780px;
  margin: 16px 0 22px;
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
  color: #fff;
}

.wpgw-gutenberg-home .wpgw-edit-hero p:not(.wpgw-edit-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.75;
}

.wpgw-edit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #ff5a66;
  font-weight: 800;
}

.wpgw-edit-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: #f9e08e;
}

.wpgw-gutenberg-home .wp-block-button__link {
  border-radius: 999px;
  padding: 14px 26px;
  background: #ff5a66;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(255, 90, 102, 0.24);
}

.wpgw-gutenberg-home .is-style-outline .wp-block-button__link {
  background: #fff;
  color: #30261d;
  border: 1px solid rgba(48, 38, 29, 0.14);
  box-shadow: 0 14px 34px rgba(48, 38, 29, 0.08);
}

.wpgw-edit-stats {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  margin-bottom: 42px;
}

.wpgw-edit-stats .wp-block-columns,
.wpgw-edit-section .wp-block-columns {
  gap: 18px;
}

.wpgw-edit-stat,
.wpgw-edit-card {
  height: 100%;
  padding: 28px;
  border: 1px solid rgba(80, 68, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px rgba(48, 38, 29, 0.08);
}

.wpgw-edit-stat h3,
.wpgw-edit-card h3 {
  margin: 0 0 10px;
  color: #ff5a66;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
}

.wpgw-edit-card h3 {
  color: #30261d;
  font-size: clamp(22px, 2vw, 30px);
}

.wpgw-edit-card h3 a {
  color: inherit;
  text-decoration: none;
}

.wpgw-edit-stat p,
.wpgw-edit-card p,
.wpgw-edit-section__heading p:not(.wpgw-edit-kicker) {
  color: #5d6b86;
  line-height: 1.75;
}

.wpgw-edit-card__meta {
  color: #ff5a66 !important;
  font-weight: 800;
}

.wpgw-edit-section {
  padding: clamp(54px, 7vw, 96px) 0;
}

.wpgw-edit-section--services,
.wpgw-edit-section--stories,
.wpgw-edit-section--news,
.wpgw-edit-section--cta {
  width: 100% !important;
  max-width: none !important;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 246, 242, 0.72);
}

.wpgw-edit-section__heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.wpgw-edit-section__heading .wpgw-edit-kicker {
  justify-content: center;
}

.wpgw-edit-section h2 {
  margin: 0 0 16px;
  color: #081a33;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.15;
  letter-spacing: 0;
}

.wpgw-edit-city-buttons .wp-block-button__link {
  min-width: 112px;
}

@media (max-width: 782px) {
  .wpgw-gutenberg-home .wp-block-cover.wpgw-edit-hero {
    min-height: 560px !important;
    padding-top: 82px;
    border-radius: 0 0 24px 24px;
  }

  .wpgw-edit-stats {
    margin-top: 18px;
  }

  .wpgw-edit-stat,
  .wpgw-edit-card {
    padding: 22px;
  }

  .wpgw-edit-section {
    padding: 50px 20px;
  }
}


/* Editable homepage hero uses stable core Group/Columns blocks. */
.wpgw-gutenberg-home > .wpgw-edit-hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  padding: clamp(96px, 10vw, 150px) max(20px, calc((100vw - 1180px) / 2)) clamp(74px, 8vw, 112px);
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at 78% 18%, rgba(249, 224, 142, 0.42), transparent 28%),
    linear-gradient(135deg, #30261d 0%, #5b3a35 48%, #badce6 100%);
  color: #fff;
  overflow: hidden;
}

.wpgw-gutenberg-home > .wpgw-edit-hero .wpgw-edit-hero__columns {
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: clamp(28px, 5vw, 72px);
}

.wpgw-gutenberg-home > .wpgw-edit-hero h1 {
  max-width: 780px;
  margin: 16px 0 22px;
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
  color: #fff;
}

.wpgw-gutenberg-home > .wpgw-edit-hero p:not(.wpgw-edit-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.75;
}

.wpgw-edit-hero__image {
  margin: 0;
}

.wpgw-edit-hero__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(8, 26, 51, 0.28);
}

@media (max-width: 782px) {
  .wpgw-gutenberg-home > .wpgw-edit-hero {
    padding-top: 82px;
    border-radius: 0 0 24px 24px;
  }
}

/* Editable homepage layout correction: keep block editing while restoring the original front-page rhythm. */
.site-main--editable-home {
  padding-top: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #fff8f5 0%, #f7fcfb 46%, #fff 100%);
}

.site-main--editable-home .entry-content--editable-home {
  margin: 0;
}

.wpgw-gutenberg-home > .wpgw-edit-hero {
  min-height: clamp(640px, 72vh, 820px);
  padding-top: clamp(150px, 15vh, 190px) !important;
  padding-bottom: clamp(120px, 13vh, 170px) !important;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 90% 8%, rgba(249, 224, 142, 0.34), transparent 26%),
    radial-gradient(circle at 12% 18%, rgba(255, 179, 186, 0.42), transparent 30%),
    linear-gradient(135deg, #fff7f3 0%, #f6e9ee 42%, #e9f7f7 100%) !important;
  color: #081a33;
}

.wpgw-gutenberg-home > .wpgw-edit-hero .wpgw-edit-hero__columns {
  align-items: center !important;
  min-height: 420px;
}

.wpgw-gutenberg-home > .wpgw-edit-hero h1 {
  max-width: 760px;
  margin: 14px 0 22px;
  color: #081a33 !important;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1.08;
}

.wpgw-gutenberg-home > .wpgw-edit-hero p:not(.wpgw-edit-kicker) {
  max-width: 720px;
  color: #53637c !important;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.8;
}

.wpgw-gutenberg-home > .wpgw-edit-hero .wp-block-buttons {
  margin-top: 34px;
  gap: 14px;
}

.wpgw-edit-hero__image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(48, 38, 29, 0.16);
}

.wpgw-edit-stats {
  width: min(1180px, calc(100vw - 80px)) !important;
  margin-top: clamp(-88px, -6vw, -56px) !important;
  margin-bottom: clamp(64px, 7vw, 96px) !important;
  position: relative;
  z-index: 4;
}

.wpgw-edit-stats .wp-block-columns {
  gap: clamp(18px, 2vw, 28px) !important;
  align-items: stretch !important;
}

.wpgw-edit-stat {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3vw, 42px) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 70px rgba(48, 38, 29, 0.12);
}

.wpgw-edit-stat h3 {
  font-size: clamp(42px, 4.2vw, 64px) !important;
  color: #ff5a66 !important;
}

.wpgw-edit-stat p {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 22px);
  color: #53637c !important;
}

.wpgw-edit-section:first-of-type,
.wpgw-edit-section--brand {
  padding-top: clamp(56px, 7vw, 92px) !important;
}

@media (max-width: 1024px) {
  .wpgw-gutenberg-home > .wpgw-edit-hero {
    min-height: auto;
    padding-top: 132px !important;
    padding-bottom: 92px !important;
  }

  .wpgw-edit-stats {
    width: min(720px, calc(100vw - 40px)) !important;
    margin-top: 28px !important;
    margin-bottom: 58px !important;
  }
}

@media (max-width: 782px) {
  .wpgw-gutenberg-home > .wpgw-edit-hero {
    padding-top: 112px !important;
    padding-bottom: 60px !important;
  }

  .wpgw-gutenberg-home > .wpgw-edit-hero h1 {
    font-size: 40px;
  }

  .wpgw-edit-stats {
    width: min(100%, calc(100vw - 32px)) !important;
    margin-top: 22px !important;
  }

  .wpgw-edit-stat {
    min-height: 150px;
  }
}

/* Editable homepage hero container alignment fix. */
.wpgw-gutenberg-home > .wpgw-edit-hero {
  box-sizing: border-box;
  padding-left: max(24px, calc((100vw - 1180px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1180px) / 2)) !important;
}

.wpgw-gutenberg-home > .wpgw-edit-hero .wpgw-edit-hero__columns {
  width: 100% !important;
  max-width: 1180px !important;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wpgw-gutenberg-home > .wpgw-edit-hero .wp-block-column,
.wpgw-gutenberg-home > .wpgw-edit-hero .wpgw-edit-hero__copy {
  min-width: 0;
}

@media (max-width: 782px) {
  .wpgw-gutenberg-home > .wpgw-edit-hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Direct selector fix for WordPress block layout wrappers on editable home. */
.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-hero.wp-block-group {
  padding-left: max(24px, calc((100vw - 1180px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1180px) / 2)) !important;
}

.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-hero__columns.wp-block-columns {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-hero .wp-block-column:first-child {
  padding-left: 0 !important;
}

@media (max-width: 782px) {
  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-hero.wp-block-group {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Final scoped fix for the editable homepage stats band. */
.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats.wp-block-group {
  width: min(1120px, calc(100vw - 160px)) !important;
  max-width: 1120px !important;
  box-sizing: border-box !important;
  margin: 40px auto 84px !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 2 !important;
  transform: none !important;
}

.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wp-block-columns.wpgw-edit-columns {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
}

.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wp-block-column {
  min-width: 0 !important;
  flex-basis: auto !important;
  margin: 0 !important;
}

.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wpgw-edit-stat.wp-block-group {
  min-height: 0 !important;
  height: 176px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 28px 30px !important;
  border: 1px solid rgba(80, 68, 68, 0.08) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 18px 44px rgba(48, 38, 29, 0.08) !important;
  backdrop-filter: blur(10px);
  overflow: hidden !important;
}

.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wpgw-edit-stat h3.wp-block-heading {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #ff5a66 !important;
  font-size: clamp(38px, 3.1vw, 52px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: nowrap !important;
}

.entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wpgw-edit-stat p {
  width: 100% !important;
  margin: 0 !important;
  color: #53637c !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  word-break: normal !important;
}

@media (max-width: 1500px) {
  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats.wp-block-group {
    width: min(1040px, calc(100vw - 190px)) !important;
    max-width: 1040px !important;
    margin-top: 36px !important;
  }

  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wp-block-columns.wpgw-edit-columns {
    gap: 18px !important;
  }

  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wpgw-edit-stat.wp-block-group {
    height: 164px !important;
    padding: 24px 26px !important;
  }

  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wpgw-edit-stat h3.wp-block-heading {
    font-size: clamp(34px, 3vw, 46px) !important;
  }
}

@media (max-width: 1180px) {
  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats.wp-block-group {
    width: min(720px, calc(100vw - 48px)) !important;
    margin: 34px auto 68px !important;
  }

  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wp-block-columns.wpgw-edit-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats.wp-block-group {
    width: min(100%, calc(100vw - 32px)) !important;
    margin: 24px auto 52px !important;
  }

  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wp-block-columns.wpgw-edit-columns {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wpgw-edit-stat.wp-block-group {
    height: auto !important;
    min-height: 126px !important;
    padding: 22px 24px !important;
  }

  .entry-content--editable-home .wpgw-gutenberg-home .wpgw-edit-stats .wpgw-edit-stat h3.wp-block-heading {
    font-size: 40px !important;
  }
}


/* Editable inner pages and dynamic content lists. */
.site-main--editable-page {
  background: linear-gradient(180deg, #fff8f5 0%, #f7fcfb 48%, #fff 100%);
  overflow-x: hidden;
}

.entry-content--editable-page,
.entry-content--editable-page > .wpgw-editable-page {
  max-width: none;
  margin: 0;
}

.wpgw-editable-page {
  color: #30261d;
}

.wpgw-editable-page-hero {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: clamp(132px, 14vw, 188px) max(24px, calc((100vw - 1180px) / 2)) clamp(70px, 8vw, 110px) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(249, 224, 142, 0.34), transparent 24%),
    radial-gradient(circle at 14% 18%, rgba(255, 179, 186, 0.38), transparent 28%),
    linear-gradient(135deg, #fff7f3 0%, #f4eef2 54%, #eefafa 100%);
}

.wpgw-editable-page-hero > * {
  max-width: 860px;
}

.wpgw-editable-page-hero h1 {
  margin: 14px 0 20px;
  color: #081a33;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: 0;
}

.wpgw-editable-page-hero p:not(.wpgw-edit-kicker),
.wpgw-editable-section__heading p:not(.wpgw-edit-kicker) {
  color: #53637c;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.8;
}

.wpgw-editable-page .wp-block-button__link {
  border-radius: 999px;
  padding: 13px 25px;
  background: #ff5a66;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(255, 90, 102, 0.22);
}

.wpgw-editable-page .is-style-outline .wp-block-button__link {
  background: #fff;
  color: #30261d;
  border: 1px solid rgba(48, 38, 29, 0.14);
  box-shadow: 0 14px 34px rgba(48, 38, 29, 0.08);
}

.wpgw-editable-section {
  width: min(1180px, calc(100vw - 48px));
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(58px, 7vw, 96px) 0;
}

.wpgw-editable-section__heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.wpgw-editable-section__heading .wpgw-edit-kicker {
  justify-content: center;
}

.wpgw-editable-section h2 {
  margin: 0 0 16px;
  color: #081a33;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.16;
  letter-spacing: 0;
}

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

.wpgw-editable-list--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wpgw-editable-list-card {
  overflow: hidden;
  border: 1px solid rgba(80, 68, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(48, 38, 29, 0.08);
}

.wpgw-editable-list-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff1ec;
}

.wpgw-editable-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wpgw-editable-list-card__body {
  padding: 24px;
}

.wpgw-editable-list-card__body span {
  color: #ff5a66;
  font-weight: 800;
}

.wpgw-editable-list-card__body h3 {
  margin: 10px 0 12px;
  color: #081a33;
  font-size: 24px;
  line-height: 1.28;
}

.wpgw-editable-list-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.wpgw-editable-list-card__body p {
  margin: 0;
  color: #53637c;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .wpgw-editable-list,
  .wpgw-editable-list--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wpgw-editable-page-hero {
    padding: 108px 20px 56px !important;
  }

  .wpgw-editable-page-hero h1 {
    font-size: 40px;
  }

  .wpgw-editable-section {
    width: min(100%, calc(100vw - 32px));
    padding: 52px 0;
  }

  .wpgw-editable-list,
  .wpgw-editable-list--cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Pure Gutenberg migration: keep legacy front-end layout classes usable from blocks. */
.site-main--gutenberg-home .entry-content--gutenberg-home > .wp-block-group,
.site-main--gutenberg-page .entry-content--gutenberg-page > .wp-block-group {
    max-width: none;
    margin: 0;
}

.site-main--gutenberg-home .wp-block-group,
.site-main--gutenberg-page .wp-block-group {
    box-sizing: border-box;
}

.site-main--gutenberg-home .wp-block-columns {
    margin-bottom: 0;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero {
    overflow: visible;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__slide {
    display: block;
    opacity: 1;
    position: relative;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__columns {
    align-items: center !important;
    gap: clamp(32px, 5vw, 72px);
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy > .wp-block-group__inner-container,
.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual > .wp-block-group__inner-container {
    display: contents;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual figure,
.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual .wp-block-image {
    margin: 0;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual img {
    display: block;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats {
    position: relative;
    z-index: 4;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats article {
    margin: 0;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats h3 {
    margin: 0 0 18px;
    color: var(--color-coral);
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats p {
    margin: 0;
    color: var(--color-ink-muted);
    font-size: 18px;
}

.entry-content--gutenberg-home .wp-block-buttons,
.entry-content--gutenberg-page .wp-block-buttons {
    gap: 14px;
}

.entry-content--gutenberg-home .wp-block-button__link,
.entry-content--gutenberg-page .wp-block-button__link {
    border-radius: 999px;
    padding: 14px 28px;
    background: var(--color-coral);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.entry-content--gutenberg-home .is-style-outline .wp-block-button__link,
.entry-content--gutenberg-page .is-style-outline .wp-block-button__link {
    background: #fff;
    color: var(--color-ink);
    border: 1px solid rgba(13, 30, 52, .1);
}

.ygt-edit-section .section-heading {
    margin-bottom: 32px;
}

.wpgw-content-list-grid {
    display: grid;
    gap: 24px;
}

.wpgw-content-list-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wpgw-content-list-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wpgw-content-list-grid--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .wpgw-content-list-grid,
    .wpgw-content-list-grid--cols-2,
    .wpgw-content-list-grid--cols-3,
    .wpgw-content-list-grid--cols-4 {
        grid-template-columns: 1fr;
    }

    .yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__columns {
        display: block;
    }
}/* Fix Gutenberg-rendered homepage hero so it keeps the original two-column front-end composition. */
.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__inner > .yg-home-hero__columns {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    display: grid !important;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    align-items: center !important;
    gap: clamp(36px, 5vw, 80px);
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__columns > .wp-block-column {
    flex-basis: auto !important;
    min-width: 0;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy {
    width: 100%;
    max-width: 640px;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy h1 {
    max-width: 640px;
    font-size: clamp(48px, 5vw, 76px);
    line-height: 1.08;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy p:not(.section-kicker) {
    max-width: 620px;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy .wp-block-buttons {
    flex-direction: row;
    flex-wrap: wrap;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy .wp-block-button:first-child .wp-block-button__link {
    background: var(--color-coral);
    color: #fff;
    box-shadow: 0 18px 40px rgba(255, 93, 108, .28);
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual {
    width: 100%;
    max-width: 560px;
    min-height: 520px;
    justify-self: end;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual .wp-block-image.yg-home-hero__illustration {
    width: min(100%, 560px);
    max-width: 560px;
    margin: 0;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual .wp-block-image.yg-home-hero__illustration img {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__inner > .yg-home-hero__columns {
        display: block !important;
    }

    .yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy,
    .yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy h1 {
        max-width: 100%;
    }

    .yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual {
        min-height: 360px;
        margin-top: 28px;
    }
}
/* WordPress adds an inner container to Group blocks; make the hero content span the legacy grid. */
.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__inner > .wp-block-group__inner-container {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__inner > .wp-block-group__inner-container > .yg-home-hero__columns {
    width: 100%;
    max-width: none;
    display: grid !important;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    align-items: center !important;
    gap: clamp(36px, 5vw, 80px);
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__inner > .wp-block-group__inner-container > .yg-home-hero__columns > .wp-block-column {
    width: auto !important;
    flex-basis: auto !important;
}

@media (max-width: 900px) {
    .yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__inner > .wp-block-group__inner-container > .yg-home-hero__columns {
        display: block !important;
    }
}

/* Keep Gutenberg stat cards in the same horizontal card row as the legacy homepage. */
.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats article.wp-block-group {
    min-height: 190px;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy .wp-block-buttons > .wp-block-button:first-child .wp-block-button__link,
.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__copy .wp-block-buttons > .wp-block-button:first-of-type .wp-block-button__link {
    background: var(--color-coral) !important;
    color: #fff !important;
    border-color: var(--color-coral) !important;
}

@media (max-width: 900px) {
    .yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats > .wp-block-group__inner-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }
}/* Final homepage Gutenberg layout normalization. */
.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats.wp-block-group {
    display: block !important;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats.wp-block-group > .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats.wp-block-group article.wp-block-group {
    width: auto !important;
    min-width: 0 !important;
}

.yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats.wp-block-group article.wp-block-group > .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;
}

.site-main--gutenberg-home .entry-content--gutenberg-home .yg-home-hero__copy .wp-block-buttons .wp-block-button:first-child > a.wp-block-button__link {
    background: #ff5b6d !important;
    background-color: #ff5b6d !important;
    color: #fff !important;
    border-color: #ff5b6d !important;
}

@media (max-width: 900px) {
    .yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats.wp-block-group > .wp-block-group__inner-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .yg-home--jieen .entry-content--gutenberg-home .yg-hero-stats.wp-block-group > .wp-block-group__inner-container {
        grid-template-columns: 1fr !important;
    }
}
.yg-home--jieen .entry-content--gutenberg-home .yg-home-hero__visual .wp-block-image.yg-home-hero__illustration img {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Inner pages: remove top banner action buttons while keeping homepage actions intact. */
body:not(.home) .page-banner__actions,
body:not(.home) .page-banner .wp-block-buttons.page-banner__actions,
body:not(.home) .page-banner-slide .hero-actions,
body:not(.home) .page-banner-slide .button-primary,
body:not(.home) .page-banner-slide .button-secondary {
    display: none !important;
}

/* Homepage brand history: remove empty year-only collage and keep the timeline readable. */
.yg-home--jieen #brand-history .yg-history-layout {
    display: block !important;
    max-width: 980px;
    margin: 0 auto;
}

.yg-home--jieen #brand-history .yg-timeline {
    max-width: 900px;
    margin: 0 auto;
}

/* Boss 2026-08 homepage refinements: lighter pink background, real imagery, FAQ and clearer mid-page modules. */
.yg-home--jieen {
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 204, 210, 0.36), transparent 28%),
        radial-gradient(circle at 88% 22%, rgba(255, 233, 188, 0.34), transparent 30%),
        #fffaf8;
}

.yg-home--jieen .yg-home-hero,
.yg-home--jieen .yg-about-workshop,
.yg-home--jieen .yg-why {
    position: relative;
    overflow: hidden;
}

.yg-home--jieen .yg-home-hero::after,
.yg-home--jieen .yg-about-workshop::after,
.yg-home--jieen .yg-why::after {
    content: "";
    position: absolute;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(255, 90, 102, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.yg-home--jieen .yg-home-hero::after {
    right: 9%;
    bottom: 58px;
}

.yg-home--jieen .yg-about-workshop::after {
    right: 6%;
    top: 58px;
}

.yg-home--jieen .yg-why::after {
    left: 7%;
    bottom: 44px;
}

.yg-home--jieen .yg-home-hero__visual--gallery {
    min-height: 430px;
    background: linear-gradient(135deg, rgba(255, 245, 240, 0.94), rgba(237, 249, 250, 0.86));
    border: 1px solid rgba(255, 90, 102, 0.16);
}

.yg-hero-photo-stack {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 560px);
    height: 380px;
}

.yg-hero-photo {
    position: static;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(105, 64, 55, 0.13);
}

.yg-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.yg-home--jieen .yg-home-hero__visual--gallery .yg-hero-photo img {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.yg-hero-photo--1 {
    grid-row: 1 / 3;
}

.yg-hero-photo--2 {
    grid-column: 2;
    grid-row: 1;
}

.yg-hero-photo--3 {
    grid-column: 2;
    grid-row: 2;
}

.yg-hero-photo--4 {
    display: none;
}

.yg-hero-bubble-card {
    position: absolute;
    left: 34px;
    bottom: 32px;
    z-index: 5;
    display: grid;
    gap: 4px;
    max-width: 240px;
    padding: 16px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(105, 64, 55, 0.13);
}

.yg-hero-bubble-card span {
    color: var(--yg-coral);
    font-size: 13px;
    font-weight: 800;
}

.yg-hero-bubble-card strong {
    color: var(--yg-ink);
    font-size: 18px;
    line-height: 1.35;
}

.yg-about-workshop__grid,
.yg-why__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: clamp(32px, 5vw, 78px);
}

.yg-about-workshop__copy,
.yg-why__copy {
    max-width: 760px;
}

.yg-about-workshop__copy h2,
.yg-why__copy h2 {
    margin: 16px 0 18px;
    color: var(--yg-ink);
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.12;
}

.yg-about-workshop__copy p,
.yg-why__copy p {
    color: var(--yg-muted);
    font-size: 18px;
    line-height: 1.9;
}

.yg-about-workshop__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.yg-about-workshop__metrics article {
    padding: 20px;
    border: 1px solid rgba(255, 90, 102, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
}

.yg-about-workshop__metrics strong {
    display: block;
    color: var(--yg-coral);
    font-size: 30px;
    line-height: 1;
}

.yg-about-workshop__metrics span {
    display: block;
    margin-top: 8px;
    color: var(--yg-muted);
    font-size: 14px;
}

.yg-about-workshop__media {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(105, 64, 55, 0.14);
}

.yg-about-workshop__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

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

.yg-advantage-grid article,
.yg-why__compare article,
.yg-faq-list details {
    border: 1px solid rgba(255, 90, 102, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 48px rgba(105, 64, 55, 0.08);
}

.yg-advantage-grid article {
    padding: 26px;
}

.yg-advantage-grid span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fff0f1;
    color: var(--yg-coral);
    font-weight: 900;
}

.yg-advantage-grid h3,
.yg-why__compare strong,
.yg-faq-list summary {
    color: var(--yg-ink);
}

.yg-advantage-grid h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.yg-advantage-grid p {
    margin: 0;
    color: var(--yg-muted);
    line-height: 1.75;
}

.yg-why__compare {
    display: grid;
    gap: 18px;
}

.yg-why__compare article {
    padding: 24px 26px;
}

.yg-why__compare strong {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
}

.yg-why__compare ul {
    margin: 0;
    padding-left: 20px;
    color: var(--yg-muted);
    line-height: 1.85;
}

.yg-faq-list {
    display: grid;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}

.yg-faq-list details {
    padding: 0;
}

.yg-faq-list summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 28px;
    font-size: 20px;
    font-weight: 900;
}

.yg-faq-list summary::-webkit-details-marker {
    display: none;
}

.yg-faq-list summary::after {
    content: "+";
    float: right;
    color: var(--yg-coral);
}

.yg-faq-list details[open] summary::after {
    content: "-";
}

.yg-faq-list p {
    margin: 0;
    padding: 0 28px 24px;
    color: var(--yg-muted);
    font-size: 17px;
    line-height: 1.85;
}

.yg-home--jieen .yg-hero-dots {
    display: none;
}

.yg-home--jieen .yg-hero-stats article {
    box-shadow: none;
    border-color: transparent;
    background: transparent;
}

@media (max-width: 980px) {
    .yg-about-workshop__grid,
    .yg-why__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .yg-home--jieen .yg-home-hero__visual--gallery {
        min-height: 320px;
    }

    .yg-hero-photo-stack {
        height: 285px;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .yg-hero-bubble-card {
        left: 18px;
        bottom: 18px;
        max-width: 210px;
    }

    .yg-about-workshop__metrics,
    .yg-advantage-grid {
        grid-template-columns: 1fr;
    }

    .yg-about-workshop__copy h2,
    .yg-why__copy h2 {
        font-size: 34px;
    }
}
