/* Gateway to Heaven — modern responsive layer.
   The archived theme remains the desktop stylesheet; these rules improve
   phones and tablets without rewriting the original site design. */
:root { --g2h-green:#3e6553; --g2h-green-dark:#29483b; --g2h-ink:#332c2a; --g2h-cream:#f8f7f3; }
*, *::before, *::after { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.g2h-brand-link { position:absolute;inset:0;display:block;z-index:2; }
.g2h-brand-link:focus-visible { outline:3px solid #82ae94;outline-offset:-4px; }
.g2h-nav-toggle, .g2h-mobile-page-title, .g2h-mobile-photo-grid { display:none; }
.g2h-postcontent img { max-width:100%;height:auto; }
.g2h-postcontent iframe,.g2h-postcontent video { max-width:100%; }
.g2h-postcontent { overflow-wrap:break-word; }
.g2h-footer-inner { box-sizing:border-box; }
.g2h-footer-inner > span { display:none; }
.g2h-postcontent table { max-width:100%; }
.g2h-postcontent a:focus-visible, .g2h-footer a:focus-visible, .g2h-hmenu a:focus-visible { outline:2px solid #71947b;outline-offset:3px; }

/* The archived theme imposes a 900px minimum body width. Undo that once
   there is less than enough space for the original fixed-width design. */
@media (max-width:980px) {
  html, body, #g2h-main { width:100%;min-width:0!important;max-width:100%; }
  .g2h-sheet { width:calc(100% - 48px)!important;max-width:900px!important; }
  .g2h-layout-wrapper,.g2h-content-layout,.g2h-content-layout-row,.g2h-layout-cell,.g2h-content { max-width:100%!important; }
  .g2h-footer-inner { width:min(100%,900px)!important;max-width:100%!important; padding:24px!important; }
  .g2h-nav-inner { width:100%!important; }
}

/* Tablet and phone: a compact brand header, large readable text, and
   a full-width mobile menu, rather than a scaled-down desktop layout. */
@media (max-width:840px) {
  html { scroll-padding-top:12px; }
  body { background:#fff!important;min-width:0!important;overflow-x:clip; }
  #g2h-main { font-family:Arial,Helvetica,sans-serif!important;line-height:1.65!important;min-width:0!important; }

  .g2h-header {
    height:116px!important;min-height:0!important;
    background:#fff!important;border-bottom:1px solid #e5e0da;
    margin:0!important;width:100%!important;
  }
  .g2h-shapes { inset:0!important; }
  .g2h-object1428161765 {
    position:absolute!important;left:50%!important;top:0!important;
    margin-left:0!important;width:min(440px, calc(100% - 40px))!important;
    height:100%!important;transform:translateX(-50%)!important;
    background-image:url('asset-12.png')!important;
    background-position:center!important;background-size:contain!important;
    background-repeat:no-repeat!important;
  }
  .g2h-nav { position:relative!important;min-height:0!important;background:var(--g2h-green-dark)!important;z-index:100!important; }
  .g2h-nav-inner { width:100%!important;padding:0!important;max-width:100%!important;text-align:left!important; }
  .g2h-nav-toggle {
    width:100%;min-height:54px;display:flex!important;align-items:center;justify-content:space-between;
    gap:16px;padding:12px clamp(18px,5vw,32px)!important;margin:0!important;
    color:#fff!important;background:transparent!important;border:0!important;
    font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:13px;line-height:1.2;
    letter-spacing:.13em;text-transform:uppercase;cursor:pointer;text-align:left;
  }
  .g2h-nav-toggle:focus-visible { outline:2px solid #fff;outline-offset:-5px; }
  .g2h-nav-toggle-label { display:inline-flex;align-items:center;gap:10px; }
  .g2h-nav-toggle-label::before { content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#e5c9a1; }
  .g2h-nav-toggle-icon { position:relative;display:block;width:23px;height:18px;flex:none; }
  .g2h-nav-toggle-icon::before,.g2h-nav-toggle-icon::after,.g2h-nav-toggle-icon span {
    content:'';position:absolute;left:0;width:100%;height:2px;border-radius:2px;
    background:currentColor;transition:transform .18s ease, top .18s ease,opacity .18s ease;
  }
  .g2h-nav-toggle-icon::before { top:1px; }
  .g2h-nav-toggle-icon span { top:8px; }
  .g2h-nav-toggle-icon::after { top:15px; }
  .g2h-nav.menu-open .g2h-nav-toggle-icon::before { top:8px;transform:rotate(45deg); }
  .g2h-nav.menu-open .g2h-nav-toggle-icon span { opacity:0; }
  .g2h-nav.menu-open .g2h-nav-toggle-icon::after { top:8px;transform:rotate(-45deg); }
  .g2h-nav .g2h-hmenu {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    width:100%!important;margin:0!important;padding:5px 0 10px!important;
    list-style:none!important;background:#315442!important;
    border-top:1px solid rgba(255,255,255,.16)!important;
    float:none!important;clear:both!important;
  }
  .js .g2h-nav:not(.menu-open) .g2h-hmenu { display:none!important; }
  .g2h-nav .g2h-hmenu > li {
    display:block!important;float:none!important;width:100%!important;
    margin:0!important;padding:0!important;border:0!important;
  }
  .g2h-nav .g2h-hmenu > li::before { display:none!important; }
  .g2h-nav .g2h-hmenu > li > a,
  .g2h-nav .g2h-hmenu > li > a:link,
  .g2h-nav .g2h-hmenu > li > a:visited,
  .g2h-nav .g2h-hmenu > li > a.active {
    display:flex!important;align-items:center!important;width:100%!important;
    min-height:48px!important;height:auto!important;line-height:1.35!important;
    text-align:left!important;margin:0!important;
    padding:11px clamp(18px,5vw,32px)!important;
    font-family:Arial,Helvetica,sans-serif!important;font-variant:normal!important;
    text-transform:none!important;letter-spacing:.01em!important;
    font-weight:500!important;font-size:16px!important;color:#fff!important;
    text-decoration:none!important;background:transparent!important;
    border-left:4px solid transparent!important;
  }
  .g2h-nav .g2h-hmenu > li > a:hover,.g2h-nav .g2h-hmenu > li > a:focus-visible {
    background:rgba(255,255,255,.1)!important;
  }
  .g2h-nav .g2h-hmenu > li > a.active,.g2h-nav .g2h-hmenu > li.active > a {
    background:rgba(255,255,255,.13)!important;border-left-color:#e2cda5!important;
    font-weight:700!important;
  }

  .g2h-sheet { width:100%!important;max-width:720px!important;margin:0 auto!important;padding:0 clamp(20px,5vw,36px)!important; }
  .g2h-layout-wrapper,.g2h-content-layout,.g2h-content-layout-row,.g2h-layout-cell,.g2h-content {
    display:block!important;width:100%!important;max-width:100%!important;
    float:none!important;margin:0!important;padding:0!important;
  }
  .g2h-post { width:100%!important;margin:0!important;padding:0!important; }
  .g2h-postcontent {
    width:100%!important;max-width:100%!important;
    padding:22px 0 32px!important;margin:0!important;
    color:var(--g2h-ink)!important;
    font-family:Arial,Helvetica,sans-serif!important;font-size:16px!important;
    font-weight:400!important;line-height:1.72!important;
    overflow-wrap:break-word;word-break:normal;
  }
  .g2h-postcontent p,.g2h-postcontent li,.g2h-postcontent table,.g2h-postcontent td,
  .g2h-postcontent a,.g2h-postcontent a:link,.g2h-postcontent a:visited,
  .g2h-postcontent blockquote,.g2h-postcontent em,.g2h-postcontent strong {
    font-size:inherit!important;line-height:inherit!important;
  }
  .g2h-postcontent p,.g2h-postcontent p[style*="justify"] { text-align:left!important;margin:0 0 17px!important; }
  .g2h-postcontent h1,.g2h-postcontent h2,.g2h-postcontent h3,
  .g2h-postcontent h1 a,.g2h-postcontent h2 a,.g2h-postcontent h3 a {
    max-width:100%;font-family:Georgia,'Times New Roman',serif!important;
    color:#473934!important;font-weight:700!important;
    text-transform:none!important;letter-spacing:0!important;
    text-align:left!important;font-variant:normal!important;line-height:1.27!important;
    overflow-wrap:normal;
  }
  .g2h-postcontent h1,.g2h-postcontent h1 a { font-size:clamp(23px,4.5vw,30px)!important; }
  .g2h-postcontent h2,.g2h-postcontent h2 a { font-size:22px!important; }
  .g2h-postcontent h3,.g2h-postcontent h3 a { font-size:19px!important; }
  .g2h-postcontent h1 { margin:24px 0 17px!important; }
  .g2h-postcontent h2 { margin:28px 0 13px!important; }
  .g2h-postcontent h3 { margin:24px 0 12px!important; }
  .g2h-postcontent > h1:first-child,.g2h-postcontent > h2:first-child { margin-top:0!important; }
  .g2h-postcontent h1 br { display:none; }
  .g2h-postcontent a:not(.g2h-plain-image-link) { text-underline-offset:3px; }
  .g2h-postcontent a:not(:has(img)) { text-decoration:underline!important; }
  .g2h-postcontent img {
    display:block;max-width:100%!important;height:auto!important;
    object-fit:contain;float:none!important;
    margin:18px auto!important;
  }
  .g2h-postcontent img.alignright,.g2h-postcontent img.alignleft,
  .g2h-postcontent img[style*="margin"],.g2h-postcontent img[align] {
    display:block!important;float:none!important;margin:20px auto 24px!important;
  }
  .g2h-postcontent .wp-caption {
    float:none!important;width:fit-content!important;max-width:100%!important;
    margin:22px auto 24px!important;padding:0!important;text-align:center!important;
  }
  .g2h-postcontent .wp-caption img { margin:0 auto 8px!important; }
  .g2h-postcontent .wp-caption-text,.g2h-postcontent .wp-caption p {
    font-size:13px!important;line-height:1.45!important;color:#655b57!important;
    text-align:center!important;margin:6px auto 0!important;
  }
  .g2h-postcontent blockquote {
    margin:20px 0 25px!important;padding:16px 18px!important;
    border-left:3px solid #608976;background:var(--g2h-cream);
  }
  .g2h-postcontent blockquote p { margin:0 0 12px!important; }
  .g2h-postcontent blockquote p:last-child { margin-bottom:0!important; }
  .g2h-mobile-page-title {
    display:block!important;font-family:Georgia,'Times New Roman',serif!important;
    font-size:29px!important;color:#473934!important;line-height:1.2!important;
    font-weight:700!important;margin:0 0 20px!important;
    padding-bottom:12px;border-bottom:2px solid #ded7cf;
  }

  .g2h-footer { margin-top:16px!important;padding:0!important; }
  .g2h-footer-inner {
    width:100%!important;max-width:720px!important;margin:0 auto!important;
    padding:24px clamp(20px,5vw,36px) 26px!important;
    font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;
    line-height:1.7!important;
  }
  .g2h-footer-inner p { line-height:1.65!important;margin:0 0 12px!important;overflow-wrap:anywhere; }
  .g2h-footer-inner a,.g2h-footer-inner a:link,.g2h-footer-inner a:visited {
    font-size:13px!important;line-height:1.6!important;text-decoration:underline!important;
    text-underline-offset:3px;
  }
  .g2h-footer-inner p:last-child { margin-top:20px!important;opacity:.86; }
  .g2h-footer-inner > span { display:none!important; }

  /* A chapter becomes one legible, softly separated block rather than
     a four-column table that requires horizontal scrolling. */
  .g2h-postcontent table.g2h-chapters-table {
    display:block!important;width:100%!important;max-width:100%!important;
    border:0!important;margin:14px 0 26px!important;
  }
  .g2h-chapters-table tbody { display:block!important; }
  .g2h-chapters-table tr:not(.g2h-chapter-spacer) {
    display:grid!important;grid-template-columns:30px minmax(0,1fr);
    gap:4px 10px;margin-bottom:12px;padding:14px 15px;
    border:1px solid #e8e7e2;border-radius:5px;
    background:#fbfaf8;
  }
  .g2h-chapters-table td {
    display:block!important;padding:0!important;margin:0!important;
    width:auto!important;max-width:100%!important;vertical-align:top!important;
    border:0!important;
  }
  .g2h-chapters-table tr td:first-child { grid-column:1;grid-row:1;color:var(--g2h-green);font-weight:bold; }
  .g2h-chapters-table tr td:nth-child(2) { grid-column:2;grid-row:1;line-height:1.42!important; }
  .g2h-chapters-table tr td:nth-child(3)[rowspan] { display:none!important; }
  .g2h-chapters-table tr td:last-child:not(:first-child):not(:nth-child(2)) { grid-column:2;grid-row:2;color:#615d58;font-size:14px!important;line-height:1.52!important; }
  .g2h-chapters-table tr td:nth-child(3):last-child { grid-column:2;grid-row:2;color:#615d58;font-size:14px!important;line-height:1.52!important; }
  .g2h-chapter-spacer { display:none!important; }

  .g2h-postcontent table.g2h-play-table { display:none!important; }
  .g2h-mobile-photo-grid { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:16px 0 26px; }
  .g2h-mobile-photo-grid figure { margin:0!important;padding:11px;background:#faf9f7;border:1px solid #eae7e1;border-radius:5px; }
  .g2h-mobile-photo-grid img { width:100%;max-height:260px;object-fit:contain;display:block;margin:0 auto 10px!important; }
  .g2h-mobile-photo-grid figcaption { font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.45;color:#574b47;text-align:center; }
}
@media(max-width:520px) {
 .g2h-header { height:101px!important; }
 .g2h-sheet { padding-left:20px!important;padding-right:20px!important; }
 .g2h-postcontent { font-size:16px!important;line-height:1.68!important;padding-top:20px!important; }
 .g2h-postcontent h1,.g2h-postcontent h1 a { font-size:24px!important; }
 .g2h-mobile-photo-grid { grid-template-columns:1fr;gap:12px; }
 .g2h-mobile-photo-grid figure { padding:14px; }
 .g2h-mobile-photo-grid img { max-height:310px; }
 .g2h-footer-inner { padding:24px 20px!important; }
}
@media(max-width:340px) {
 .g2h-header { height:88px!important; }
 .g2h-sheet { padding-left:15px!important;padding-right:15px!important; }
 .g2h-postcontent h1,.g2h-postcontent h1 a { font-size:22px!important; }
 .g2h-chapters-table tr { padding:12px!important; }
}
@media(prefers-reduced-motion:reduce) {
 .g2h-nav-toggle-icon::before,.g2h-nav-toggle-icon::after,.g2h-nav-toggle-icon span { transition:none!important; }
}
