@import url('/assets/fonts/fonts-754d6fa4065c4e88.css');

/* Shared visual rules. Page grids and photograph framing stay in their templates. */
@media screen {
  :root {
    --gd-forest: #102019;
    --gd-ink: #203c2e;
    --gd-muted: #66756c;
    --gd-mint: #f0f5eb;
    --gd-line: #dce5da;
    --gd-gutter: clamp(20px, 2.1vw, 32px);
    --gd-home-width: 1540px;
    --gd-control-radius: 10px;
    --display: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', Arial, sans-serif;
    --site-button-start: #99f85b;
    --site-button-end: #76e842;
    --site-button-text: #193624;
  }

  :root body {
    --forest: var(--gd-forest);
    --ink: var(--gd-ink);
    --muted: var(--gd-muted);
    --school-green: var(--gd-forest);
    --school-wine: #315943;
    font-family: var(--sans);
    font-size: 16px;
  }

  :root body :is(h1, h2) {
    font-family: var(--display) !important;
    font-weight: 500;
  }

  :root body.document-page h2,
  :root body .school-documents h3,
  :root body :is(button, input, textarea, select) {
    font-family: var(--sans) !important;
  }

  :root body .catalog-sidebar .category-heading h2 {
    font-family: var(--display) !important;
  }

  /* Every lower home section shares the logo's left and right guide lines. */
  :root body.home-page .header-inner.shell,
  :root body.home-page [data-site-section] > .shell,
  :root body.home-page .site-footer .shell,
  :root body.home-page .site-footer .footer-legal-links {
    width: min(calc(100% - 2 * var(--gd-gutter)), var(--gd-home-width)) !important;
    max-width: var(--gd-home-width) !important;
    margin-inline: auto !important;
  }

  :root body.home-page .header-inner,
  :root body.home-page [data-site-section] > .shell {
    padding-inline: 0 !important;
  }

  :root body.home-page .map-section-interactive .map-layout {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  :root body.home-page .map-section-interactive .map-copy {
    left: max(var(--gd-gutter), calc((100% - var(--gd-home-width)) / 2)) !important;
  }

  :root body.home-page :is(.formats-heading, .reviews-heading, .section-heading) {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  /* Keep the transparent home header and the light headers on interior pages. */
  :root body .site-header,
  :root body .document-header {
    height: 88px !important;
    min-height: 88px !important;
    border-bottom: 0 !important;
  }

  :root body[class] .site-header .header-inner,
  :root body.school-page .site-header.gd-nav-collapsed .header-inner {
    display: flex !important;
    align-items: center !important;
    height: 88px !important;
    min-height: 88px !important;
    grid-template-rows: 1fr !important;
    gap: clamp(10px, 1.2vw, 22px);
  }

  :root body .site-header-light,
  :root body.about-page .site-header,
  :root body .document-header {
    background-color: #fff;
    border-bottom-color: var(--gd-line);
    color: var(--gd-ink);
  }

  :root body .site-header .brand {
    justify-content: flex-start !important;
  }

  :root body .site-header .brand-logo-image,
  :root body .document-brand img {
    width: 46px !important;
    height: 64px !important;
    max-height: 64px !important;
    object-fit: contain;
    flex: none;
  }

  :root body .site-header .brand-name-copy strong,
  :root body .document-brand > span {
    font-family: var(--display) !important;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.05;
  }

  :root body .site-header .brand-name-copy small,
  :root body .document-brand small {
    font-family: var(--sans) !important;
    font-size: 8px;
    line-height: 1.4;
    letter-spacing: .13em;
  }

  :root body .site-header .main-nav {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    gap: clamp(10px, 1vw, 20px);
  }

  :root body .site-header .header-social > span {
    font-size: 12px;
  }

  :root body .document-header > .document-shell {
    min-height: 88px;
    align-items: center;
    padding-block: 8px;
  }

  :root body .document-header nav a {
    color: var(--gd-ink);
    font-size: 14px;
    font-weight: 500;
  }

  :root body :is(.button, .header-cta, .school-wine-btn, .tour-book-submit, .tour-footer-cta) {
    min-height: 48px !important;
    border-radius: var(--gd-control-radius) !important;
    font-family: var(--sans) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
  }

  :root body[class][data-button-theme] .site-header .header-inner .header-cta {
    min-height: 48px !important;
    border-radius: var(--gd-control-radius) !important;
    font-size: 14px !important;
    padding-inline: 20px !important;
    gap: 14px;
  }

  :root body.home-page .hero-title {
    font-weight: 400;
  }

  :root body :is(.catalog-filter, .catalog-sort, .catalog-mobile-controls select, .tour-book-field select, .document-content) {
    border-color: var(--gd-line);
  }

  :root body :is(.school-class, .school-documents, .school-collection-summary, .tour-facts > div) {
    border-color: var(--gd-line);
  }

  :root body :is(.school-class, .school-documents, .school-collection-summary) {
    background-color: var(--gd-mint);
  }

  :root body .school-class.is-active,
  :root body .school-card-tag {
    background: var(--gd-forest) !important;
    border-color: var(--gd-forest) !important;
    color: #fffdf4 !important;
  }

  :root body .school-hero :is(.school-breadcrumb, h1, .school-lead, .school-hero-details, .school-reward-hook) {
    margin-left: 0 !important;
  }

  :root body .program-timeline::before,
  :root body .school-process li::before {
    background: var(--gd-forest);
  }

  :root body .program-dot {
    background: var(--gd-forest);
    box-shadow: 0 0 0 1px var(--gd-forest);
  }

  :root body .school-process ol::before {
    border-top-color: #31594380;
  }

  :root body :is(.school-topic-icon, .tour-fact-icon) {
    stroke-width: 1.8;
  }

  :root body :is(.site-footer, .school-footer, .gd-about-footer, .document-footer) {
    background-color: var(--gd-forest);
    color: #f5f0e3;
    font-family: var(--sans);
  }

  :root body :is(.site-footer, .school-footer, .gd-about-footer, .document-footer) nav a {
    font-family: var(--sans);
    font-size: 14px !important;
    line-height: 1.6;
    color: inherit;
  }

  :root body :is(.site-footer, .school-footer, .gd-about-footer, .document-footer) .footer-legal-links {
    border-top-color: #ffffff30;
  }

  :root body :is(.site-footer, .school-footer, .gd-about-footer, .document-footer) .footer-legal-links a {
    font-size: 13px !important;
    color: #e3ebde;
    text-underline-offset: 4px;
  }

  :root body :is(.site-footer, .school-footer, .gd-about-footer, .document-footer) .footer-contact-socials a {
    font-size: 14px !important;
    line-height: 1.5;
  }

  :root body :is(.site-footer, .school-footer, .gd-about-footer, .document-footer) .social-brand-icon {
    width: 32px;
    height: 32px;
    flex: none;
  }

  :root body.document-page {
    background: #f6f8f2;
    color: var(--gd-ink);
    line-height: 1.75;
  }

  :root body.document-page h1,
  :root body.document-page h2 {
    color: var(--gd-forest);
  }

  :root body.document-page :is(.document-version, .document-breadcrumb) {
    color: var(--gd-muted);
  }

  @media (max-width: 900px) {
    :root {
      --gd-gutter: 20px;
    }

    :root body .site-header,
    :root body .document-header {
      height: 72px !important;
      min-height: 72px !important;
    }

    :root body[class] .site-header .header-inner,
    :root body.school-page .site-header.gd-nav-collapsed .header-inner {
      height: 72px !important;
      min-height: 72px !important;
      padding-block: 6px !important;
      gap: 10px;
    }

    :root body .site-header .brand-logo-image,
    :root body .document-brand img {
      width: 40px !important;
      height: 56px !important;
      max-height: 56px !important;
    }

    :root body .site-header .brand-name-copy,
    :root body .document-brand > span {
      display: none !important;
    }

    :root body .document-header > .document-shell {
      min-height: 72px;
      padding-block: 8px;
      flex-wrap: nowrap;
      gap: 16px;
    }

    :root body .document-header nav {
      gap: 4px 12px;
      justify-content: flex-end;
    }

    :root body .document-header nav a {
      font-size: 13px;
    }

    :root body .site-header .header-actions {
      gap: 8px;
    }

    :root body .site-header .header-social {
      gap: 8px;
    }

    :root body[class] .site-header .header-social .social-channel-link {
      display: grid;
      place-items: center;
      width: 36px !important;
      min-width: 36px !important;
      height: 44px !important;
      flex: 0 0 36px;
    }

    :root body[class] .site-header .menu-toggle {
      width: 40px !important;
      min-width: 40px !important;
      height: 44px !important;
      flex: 0 0 40px;
    }

    :root body .site-header .social-brand-icon {
      width: 30px !important;
      height: 30px !important;
    }

    :root body .site-header .header-cta {
      display: none !important;
    }
  }

  @media (max-width: 380px) {
    :root body .site-header .header-social {
      gap: 6px;
    }

    :root body[class] .site-header .header-social .social-channel-link {
      width: 32px !important;
      min-width: 32px !important;
      flex-basis: 32px;
    }

    :root body .site-header .social-brand-icon {
      width: 28px !important;
      height: 28px !important;
    }
  }
}
