/* Kindy Holiday block theme — shared design system */
:root {
      --green: #087b49;
      --green-deep: #123c2d;
      --green-dark: #0c2d22;
      --yellow: #f2c43a;
      --cream: #f7f7f1;
      --paper: #fffefa;
      --ink: #182c23;
      --muted: #69776e;
      --line: #e4e9e2;
      --shadow: 0 24px 70px rgba(19, 54, 38, .12);
      --radius: 22px;
      --width: 1240px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    .wrap { width: min(var(--width), calc(100% - 48px)); margin-inline: auto; }
    .eyebrow { margin: 0 0 15px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
    .topline { background: var(--green-deep); color: #e8f1e9; font-size: 12px; }
    .topline__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 18px; }
    .topline strong { color: #fff; font-weight: 650; }
    .topline__right { color: #cbdacf; }
    .header { position: sticky; top: 0; z-index: 10; background: rgba(255,254,250,.95); border-bottom: 1px solid rgba(18,60,45,.09); backdrop-filter: blur(14px); }
    .header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; }
    .brand { display: flex; align-items: center; flex: 0 0 auto; }
    .brand img { width: 156px; height: 62px; object-fit: contain; }
    .nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 31px); color: #33473c; font-size: 14px; font-weight: 650; }
    .nav a:not(.button):hover { color: var(--green); }
    .header__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
    .nav-toggle { display: none; min-height: 43px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--green-deep); font: inherit; font-size: 12px; font-weight: 750; }
    .button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; background: var(--green); color: white; font-size: 14px; font-weight: 750; transition: .18s ease; }
    .button:hover { background: var(--green-deep); transform: translateY(-1px); }
    .button--light { border-color: rgba(255,255,255,.46); background: rgba(255,255,255,.08); color: #fff; }
    .button--light:hover { background: rgba(255,255,255,.18); }
    .button--yellow { background: var(--yellow); color: var(--green-dark); }
    .button--yellow:hover { background: #ffda63; }
    .hero { position: relative; overflow: hidden; padding: 65px 0 44px; background: var(--cream); }
    .hero::before { position: absolute; top: -210px; right: -125px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(242,196,58,.17), rgba(242,196,58,0) 69%); content: ""; }
    .hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
    .hero__copy { padding: 22px 0 26px; }
    .hero__copy h1 { max-width: 680px; margin: 0; color: var(--green-dark); font-size: clamp(46px, 5.5vw, 72px); line-height: 1.04; letter-spacing: -.055em; font-weight: 760; }
    .hero__copy h1 span { color: var(--green); }
    .hero__lead { max-width: 570px; margin: 22px 0 27px; color: #52635a; font-size: 18px; line-height: 1.68; }
    .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
    .text-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 8px; color: var(--green-deep); font-size: 14px; font-weight: 750; }
    .text-link span { font-size: 18px; }
    .hero__proof { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 31px; color: #53655a; font-size: 13px; font-weight: 650; }
    .hero__proof span::before { display: inline-grid; width: 19px; height: 19px; margin-right: 8px; place-items: center; border-radius: 50%; background: #e1eee5; color: var(--green); content: "✓"; font-size: 12px; }
    .hero__visual { position: relative; min-height: 520px; }
    .hero__photo { position: absolute; inset: 0 35px 29px 0; overflow: hidden; border-radius: 32px 150px 32px 32px; box-shadow: var(--shadow); background: #59755f; }
    .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
    .hero__photo::after { position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(7,35,24,.54)); content: ""; }
    .photo-caption { position: absolute; z-index: 1; right: 25px; bottom: 51px; left: 25px; color: white; }
    .photo-caption strong { display: block; font-size: 17px; line-height: 1.3; }
    .photo-caption span { color: #e7eee8; font-size: 12px; }
    .hero__badge { position: absolute; right: 0; bottom: 0; z-index: 2; width: 174px; padding: 20px 19px; border: 6px solid var(--cream); border-radius: 19px; background: var(--yellow); color: var(--green-dark); box-shadow: 0 16px 34px rgba(27,48,34,.12); }
    .hero__badge b { display: block; font-size: 15px; line-height: 1.25; }
    .hero__badge small { display: block; margin-top: 6px; font-size: 11px; line-height: 1.4; }
    .quick-nav { position: relative; z-index: 2; margin-top: -2px; }
    .quick-nav__inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 19px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 10px 28px rgba(19,54,38,.055); }
    .quick-nav a { padding: 9px 16px; border-radius: 999px; background: #f2f6f1; color: #355342; font-size: 13px; font-weight: 700; }
    .quick-nav a:hover { background: #e2eee5; color: var(--green); }
    .section { padding: 95px 0; }
    .section--white { background: var(--paper); }
    .section--soft { background: #f5f7f1; }
    .section__head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
    .section__head h2 { max-width: 650px; margin: 0; color: var(--green-dark); font-size: clamp(34px, 4vw, 49px); line-height: 1.1; letter-spacing: -.045em; }
    .section__head p { max-width: 425px; margin: 0; color: var(--muted); }
    .adventure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .adventure { overflow: hidden; border: 1px solid #e8ebe5; border-radius: var(--radius); background: white; box-shadow: 0 9px 28px rgba(19,54,38,.05); transition: .2s ease; }
    .adventure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .adventure__image { position: relative; height: 240px; overflow: hidden; background: #dbe7df; }
    .adventure__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
    .adventure:hover .adventure__image img { transform: scale(1.035); }
    .adventure__tag { position: absolute; top: 15px; left: 15px; padding: 7px 11px; border-radius: 999px; background: rgba(255,254,250,.94); color: var(--green-deep); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
    .adventure__body { padding: 22px 23px 24px; }
    .adventure__body h3 { margin: 0 0 9px; color: var(--green-dark); font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
    .adventure__body p { min-height: 53px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
    .adventure__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--green); font-size: 14px; font-weight: 800; }
    .adventure__link span { font-size: 18px; }
    .trust { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 78px; }
    .trust__copy h2 { margin: 0; color: var(--green-dark); font-size: clamp(36px,4vw,50px); line-height: 1.08; letter-spacing: -.045em; }
    .trust__copy > p:not(.eyebrow) { margin: 18px 0 22px; color: var(--muted); font-size: 16px; }
    .trust__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .trust__item { min-height: 150px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
    .trust__icon { display: grid; width: 36px; height: 36px; margin-bottom: 13px; place-items: center; border-radius: 12px; background: #e7f0e8; color: var(--green); font-size: 17px; font-weight: 800; }
    .trust__item h3 { margin: 0 0 5px; color: var(--green-dark); font-size: 15px; }
    .trust__item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
    .featured { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; min-height: 445px; border-radius: 28px; background: var(--green-deep); color: white; }
    .featured__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 49px; }
    .featured__copy .eyebrow { color: var(--yellow); }
    .featured__copy h2 { color: #fff; margin: 0; font-size: clamp(34px,4vw,47px); line-height: 1.08; letter-spacing: -.04em; }
    .featured__copy p:not(.eyebrow) { margin: 17px 0 22px; color: #d3e0d6; }
    .featured__photo { min-height: 390px; }
    .featured__photo img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
    .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
    .step { padding: 24px 21px; border-top: 2px solid #d8e3d8; }
    .step::before { display: block; margin-bottom: 15px; color: var(--green); content: "0" counter(step); counter-increment: step; font-size: 13px; font-weight: 850; letter-spacing: .12em; }
    .step h3 { margin: 0 0 7px; color: var(--green-dark); font-size: 18px; }
    .step p { margin: 0; color: var(--muted); font-size: 14px; }
    .cta { position: relative; overflow: hidden; padding: 62px 0; background: var(--green); color: white; }
    .cta::after { position: absolute; top: -170px; right: -70px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.045), 0 0 0 95px rgba(255,255,255,.035); content: ""; }
    .cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
    .cta h2 { color: #fff; max-width: 680px; margin: 0; font-size: clamp(31px,4vw,45px); line-height: 1.13; letter-spacing: -.04em; }
    .cta p { margin: 11px 0 0; color: #e0efe4; }
    .footer { padding: 54px 0 24px; background: var(--green-dark); color: #dce8df; }
    .footer__top { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 38px; padding-bottom: 38px; }
    .footer__brand img { width: 150px; height: 60px; object-fit: contain; filter: brightness(0) invert(1); }
    .footer__brand p { max-width: 300px; color: #bdcfc2; font-size: 14px; }
    .footer h3 { margin: 0 0 13px; color: white; font-size: 14px; }
    .footer__links { display: grid; gap: 9px; color: #bdcfc2; font-size: 13px; }
    .footer__links a:hover { color: var(--yellow); }
    .footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: #adc1b3; font-size: 12px; }
    @media (max-width: 930px) {
      .nav { gap: 14px; font-size: 13px; }
      .nav .nav__optional { display: none; }
      .hero__grid { gap: 30px; }
      .hero__visual { min-height: 440px; }
      .trust { gap: 38px; }
      .footer__top { grid-template-columns: 1.3fr 1fr 1fr; }
      .footer__brand { grid-column: 1 / -1; }
    }
    @media (max-width: 680px) {
      .wrap { width: min(var(--width), calc(100% - 34px)); }
      .topline__inner { justify-content: center; min-height: 32px; }
      .topline__right { display: none; }
      .header__inner { min-height: 70px; gap: 10px; }
      .brand img { width: 128px; height: 55px; }
      .nav { position: absolute; top: 62px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
      .nav.is-open { display: flex; }
      .nav a:not(.button) { display: block; padding: 9px 2px; }
      .header__actions .button { min-height: 42px; padding-inline: 13px; font-size: 11px; }
      .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
      .hero { padding: 42px 0 31px; }
      .hero__grid { grid-template-columns: 1fr; gap: 25px; }
      .hero__copy { padding: 7px 0 0; }
      .hero__copy h1 { font-size: clamp(44px, 13vw, 60px); }
      .hero__lead { margin: 16px 0 21px; font-size: 16px; }
      .hero__proof { gap: 10px 15px; margin-top: 21px; font-size: 12px; }
      .hero__visual { min-height: 370px; }
      .hero__photo { inset: 0 23px 22px 0; border-radius: 24px 100px 24px 24px; }
      .hero__badge { width: 150px; padding: 14px; border-width: 4px; }
      .quick-nav__inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 13px; }
      .quick-nav a { flex: 0 0 auto; }
      .section { padding: 65px 0; }
      .section__head { display: block; margin-bottom: 24px; }
      .section__head p { margin-top: 13px; }
      .adventure-grid { grid-template-columns: 1fr; gap: 15px; }
      .adventure__image { height: 230px; }
      .adventure__body p { min-height: 0; }
      .trust { grid-template-columns: 1fr; gap: 25px; }
      .trust__items { gap: 10px; }
      .trust__item { min-height: 144px; padding: 17px; }
      .featured { grid-template-columns: 1fr; }
      .featured__copy { padding: 30px 25px; }
      .featured__photo,.featured__photo img { min-height: 260px; }
      .steps { grid-template-columns: 1fr 1fr; gap: 8px; }
      .step { padding: 17px 12px; }
      .cta { padding: 44px 0; }
      .cta__inner { align-items: flex-start; flex-direction: column; }
      .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
      .footer__brand { grid-column: 1 / -1; }
      .footer__bottom { flex-direction: column; gap: 6px; }
    }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* WordPress block theme integration */
body.kh-theme { background: var(--paper); }
.wp-site-blocks { overflow: clip; }
.kh-header { position: sticky; top: 0; z-index: 20; background: rgba(255,254,250,.96); border-bottom: 1px solid rgba(18,60,45,.09); backdrop-filter: blur(14px); }
.kh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(var(--width), calc(100% - 48px)); min-height: 82px; margin: 0 auto; }
.kh-header .wp-block-site-logo { flex: 0 0 auto; margin: 0; }
.kh-header .wp-block-site-logo img { width: 156px; max-height: 62px; object-fit: contain; }
.kh-nav { margin-left: auto; color: #33473c; font-size: 14px; font-weight: 650; }
.kh-nav .wp-block-navigation__container { gap: clamp(16px, 2vw, 28px); }
.kh-nav .wp-block-navigation-item__content:hover { color: var(--green); }
.kh-header__actions { flex: 0 0 auto; margin: 0; }
.kh-header__actions .wp-block-button__link { display: inline-flex; align-items: center; min-height: 47px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-size: 13px; font-weight: 750; }
.kh-footer .wp-block-site-logo img { width: 150px; max-height: 60px; filter: brightness(0) invert(1); object-fit: contain; }
.kh-page-shell { width: min(var(--width), calc(100% - 48px)); margin: 0 auto; padding: 70px 0 95px; }
.kh-page-shell > .wp-block-post-title { margin: 0 0 35px; color: var(--green-dark); font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.kh-page-shell .wp-block-post-content { max-width: 850px; margin-inline: auto; color: #35473d; }
.kh-page-shell .wp-block-post-content h2 { margin-top: 1.9em; color: var(--green-dark); font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.kh-page-shell .wp-block-post-content h3 { margin-top: 1.5em; color: var(--green-deep); font-size: 23px; }
.kh-page-shell .wp-block-post-content p, .kh-page-shell .wp-block-post-content li { color: #52635a; font-size: 16px; line-height: 1.78; }
.kh-page-shell .wp-block-post-content a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kh-page-shell .wp-block-post-content img { border-radius: 18px; }
.kh-content-shell { width: min(var(--width), calc(100% - 48px)); margin: 0 auto; padding: 70px 0 95px; }
.kh-content-shell .wp-block-post-title { max-width: 850px; margin: 0 auto 35px; color: var(--green-dark); font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.kh-content-shell .wp-block-post-content { max-width: 850px; margin-inline: auto; color: #35473d; }
.kh-content-shell .wp-block-post-content h2 { margin-top: 1.9em; color: var(--green-dark); font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.kh-content-shell .wp-block-post-content h3 { color: var(--green-deep); }
.kh-content-shell .wp-block-post-content p, .kh-content-shell .wp-block-post-content li { color: #52635a; line-height: 1.78; }
.kh-content-shell .wp-block-post-content a { color: var(--green); text-underline-offset: 3px; }
.kh-content-shell .wp-block-post-content img { border-radius: 18px; }
.kh-card { overflow: hidden; height: 100%; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 9px 28px rgba(19,54,38,.05); }
.kh-card .wp-block-post-featured-image { margin: 0; }
.kh-card .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kh-card .wp-block-post-title, .kh-card .wp-block-post-excerpt, .kh-card .wp-block-read-more { margin-inline: 20px; }
.kh-card .wp-block-post-title { margin-top: 18px; font-size: 20px; line-height: 1.3; }
.kh-card .wp-block-post-title a { color: var(--green-dark); text-decoration: none; }
.kh-card .wp-block-post-excerpt { color: var(--muted); font-size: 14px; }
.kh-card .wp-block-read-more { display: inline-block; margin-bottom: 20px; color: var(--green); font-weight: 750; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 28px; background: var(--paper); color: var(--green-dark); }
@media (max-width: 782px) {
  .kh-header__inner { width: calc(100% - 34px); min-height: 72px; }
  .kh-header .wp-block-site-logo img { width: 130px; max-height: 56px; }
  .kh-header__actions { display: none; }
  .kh-content-shell, .kh-page-shell { width: calc(100% - 34px); padding: 50px 0 70px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* Editorial layouts for existing WordPress pages and posts */
.kh-page-shell,
.kh-content-shell { max-width: var(--width); }
.kh-page-shell > .kh-page-intro,
.kh-page-shell > .kh-page-content,
.kh-article > .kh-article-intro,
.kh-article > .kh-article-body { width: 100%; max-width: none; }
.kh-page-intro,
.kh-archive-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 auto 42px;
  padding: clamp(38px, 6vw, 72px) clamp(22px, 5vw, 68px);
  border: 1px solid rgba(18,60,45,.06);
  border-radius: 28px;
  background: var(--cream);
  text-align: center;
}
.kh-page-intro::after,
.kh-archive-intro::after {
  position: absolute;
  z-index: -1;
  top: -205px;
  right: -90px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,196,58,.18), rgba(242,196,58,0) 70%);
  content: "";
}
.kh-eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.kh-page-intro > .kh-eyebrow,
.kh-archive-intro > .kh-eyebrow { position: relative; z-index: 1; }
.kh-page-intro .wp-block-post-title,
.kh-archive-intro .wp-block-query-title {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  color: var(--green-dark);
  font-size: clamp(35px, 5.2vw, 58px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.kh-page-content { margin-inline: auto; }
.kh-page-shell .wp-block-post-content { width: 100%; max-width: 1080px; margin-inline: auto; }
.kh-page-shell .wp-block-post-content > p,
.kh-page-shell .wp-block-post-content > ul,
.kh-page-shell .wp-block-post-content > ol { max-width: 850px; margin-right: auto; margin-left: auto; }
.kh-page-shell .wp-block-post-content > h2,
.kh-page-shell .wp-block-post-content > h3 { max-width: 900px; margin-right: auto; margin-left: auto; }
.kh-page-shell .wp-block-post-content h2 { margin-top: 1.8em; font-size: clamp(27px, 3vw, 37px); }
.kh-page-shell .wp-block-post-content h3 { font-size: 22px; line-height: 1.24; letter-spacing: -.025em; }
.kh-page-shell .wp-block-post-content p,
.kh-page-shell .wp-block-post-content li { font-size: 16px; line-height: 1.8; }
.kh-page-shell .wp-block-post-content img { border-radius: 18px; }
.kh-page-shell .wp-block-post-content .wp-block-buttons { margin-top: 22px; }
.kh-page-shell .wp-block-post-content .wp-block-button__link { min-height: 46px; padding: 11px 20px; border-radius: 999px; background: var(--green); color: #fff; font-size: 14px; font-weight: 750; }

.kh-article { padding-top: 55px; }
.kh-article-intro {
  margin: 0 auto 34px;
  text-align: center;
}
.kh-article-intro .wp-block-post-title {
  width: 100%;
  max-width: 970px;
  margin: 0 auto 18px;
  color: var(--green-dark);
  font-size: clamp(36px, 5.1vw, 59px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.kh-article .kh-post-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.kh-article-cover {
  width: min(1000px, calc(100vw - 48px));
  max-width: none;
  margin: 0 auto 48px;
}
.kh-article-cover img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  object-fit: cover;
}
.kh-article-body { margin-inline: auto; }
.kh-article .wp-block-post-content {
  width: 100%;
  max-width: 850px;
  margin-inline: auto;
  color: #35473d;
}
.kh-article .wp-block-post-content p,
.kh-article .wp-block-post-content li { color: #52635a; font-size: 16px; line-height: 1.82; }
.kh-article .wp-block-post-content h2 { margin-top: 2em; color: var(--green-dark); font-size: clamp(27px, 3.4vw, 38px); line-height: 1.14; letter-spacing: -.035em; scroll-margin-top: 110px; }
.kh-article .wp-block-post-content h3 { margin-top: 1.55em; color: var(--green-deep); font-size: 23px; line-height: 1.24; letter-spacing: -.025em; scroll-margin-top: 110px; }
.kh-article .wp-block-post-content a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kh-article .wp-block-post-content img { max-width: 100%; height: auto; border-radius: 18px; }
.kh-article .wp-block-post-content figure { margin-block: 30px; }
.kh-article .wp-block-post-content blockquote { margin-inline: 0; padding: 18px 24px; border-left: 3px solid var(--yellow); border-radius: 0 14px 14px 0; background: #f6f7f1; color: var(--green-deep); }
.kh-article .wpj-jtoc { margin: 30px 0 42px; padding: 22px 25px; border: 1px solid var(--line); border-radius: 18px; background: #f7f8f3; }
.kh-article .wpj-jtoc a { text-decoration: none; }

.kh-archive-intro { margin-bottom: 38px; }
.kh-archive-intro .wp-block-query-title { max-width: 860px; }
.kh-archive-intro .kh-archive-title { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; color: var(--green-dark); font-size: clamp(35px, 5.2vw, 58px); font-weight: 760; line-height: 1.08; letter-spacing: -.05em; text-wrap: balance; }
.kh-archive-intro .kh-archive-description { position: relative; z-index: 1; max-width: 590px; margin: 17px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.kh-post-archive { width: 100%; max-width: none; }
.kh-post-archive .wp-block-post-template,
.kh-page-shell .wp-block-post-content .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kh-post-archive .wp-block-post-template > li,
.kh-page-shell .wp-block-post-content .wp-block-post-template > li {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 9px 28px rgba(19,54,38,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.kh-post-archive .wp-block-post-template > li:hover,
.kh-page-shell .wp-block-post-content .wp-block-post-template > li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kh-post-archive .wp-block-post-featured-image,
.kh-page-shell .wp-block-post-content .wp-block-post-featured-image { margin: 0; }
.kh-post-archive .wp-block-post-featured-image img,
.kh-page-shell .wp-block-post-content .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kh-post-archive .kh-card > :not(.wp-block-post-featured-image),
.kh-page-shell .wp-block-post-content .wp-block-post-template > li > :not(.wp-block-post-featured-image) { margin-right: 20px; margin-left: 20px; }
.kh-post-archive .kh-card .kh-card__date,
.kh-page-shell .wp-block-post-content .kh-card__date { margin-top: 17px; margin-bottom: -10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.kh-post-archive .kh-card .wp-block-post-title,
.kh-page-shell .wp-block-post-content .wp-block-post-template .wp-block-post-title { margin-top: 18px; margin-bottom: 9px; font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }
.kh-post-archive .kh-card .wp-block-post-title a,
.kh-page-shell .wp-block-post-content .wp-block-post-template .wp-block-post-title a { color: var(--green-dark); text-decoration: none; }
.kh-post-archive .kh-card .wp-block-post-excerpt,
.kh-page-shell .wp-block-post-content .wp-block-post-template .wp-block-post-excerpt { margin-top: 0; margin-bottom: 12px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.kh-post-archive .kh-card .wp-block-read-more,
.kh-page-shell .wp-block-post-content .wp-block-post-template .wp-block-read-more { display: inline-block; margin-top: 0; margin-bottom: 20px; color: var(--green); font-size: 13px; font-weight: 800; }
.kh-page-shell .wp-block-post-content .wp-block-post-template > li .wp-block-post-date,
.kh-page-shell .wp-block-post-content .wp-block-post-template > li .wp-block-post-title,
.kh-page-shell .wp-block-post-content .wp-block-post-template > li .wp-block-post-excerpt,
.kh-page-shell .wp-block-post-content .wp-block-post-template > li .wp-block-read-more { margin-right: 20px; margin-left: 20px; }
.kh-page-shell .wp-block-post-content .wp-block-post-template > li .wp-block-post-date { margin-top: 17px; margin-bottom: -10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.kh-content-shell .wp-block-query-pagination { gap: 12px; margin-top: 34px; color: var(--green); font-size: 14px; font-weight: 700; }
.kh-content-shell .wp-block-query-pagination a { color: var(--green); }
.kh-empty-state { max-width: 850px; margin: 30px auto; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); color: var(--muted); text-align: center; }
.kh-404-card { max-width: 850px; margin: 10px auto 30px; padding: clamp(38px, 6vw, 72px); border: 1px solid var(--line); border-radius: 26px; background: var(--cream); text-align: center; }
.kh-404-card h1 { margin: 0 0 14px; color: var(--green-dark); font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.05em; }
.kh-404-card > p:not(.kh-eyebrow) { color: var(--muted); }
.kh-404-card .wp-block-buttons { justify-content: center; margin-top: 24px; }

@media (max-width: 782px) {
  .kh-page-intro, .kh-archive-intro { margin-bottom: 30px; border-radius: 22px; }
  .kh-page-intro .wp-block-post-title, .kh-archive-intro .wp-block-query-title { font-size: clamp(33px, 8vw, 44px); }
  .kh-archive-intro .kh-archive-title { font-size: clamp(33px, 8vw, 44px); }
  .kh-page-shell .wp-block-post-content { max-width: 100%; }
  .kh-article { padding-top: 36px; }
  .kh-article-intro { margin-bottom: 27px; }
  .kh-article-intro .wp-block-post-title { font-size: clamp(33px, 8vw, 46px); }
  .kh-article-cover { width: calc(100vw - 34px); margin-bottom: 34px; }
  .kh-article-cover img { border-radius: 19px; }
  .kh-post-archive .wp-block-post-template,
  .kh-page-shell .wp-block-post-content .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .kh-post-archive .kh-card > :not(.wp-block-post-featured-image),
  .kh-page-shell .wp-block-post-content .wp-block-post-template > li > :not(.wp-block-post-featured-image) { margin-right: 15px; margin-left: 15px; }
}
@media (max-width: 560px) {
  .kh-page-intro, .kh-archive-intro { padding: 38px 20px; }
  .kh-post-archive .wp-block-post-template,
  .kh-page-shell .wp-block-post-content .wp-block-post-template { grid-template-columns: 1fr; gap: 15px; }
  .kh-post-archive .kh-card .wp-block-post-title,
  .kh-page-shell .wp-block-post-content .wp-block-post-template .wp-block-post-title { font-size: 19px; }
}
