/* HGC v2: global styles. Colours and type come from theme.json presets. Square corners everywhere. */
:root{--hgc-ink:var(--wp--preset--color--ink);--hgc-gold:var(--wp--preset--color--gold);--hgc-gold-text:var(--wp--preset--color--gold-text);--hgc-g7:var(--wp--preset--color--grey-700);--hgc-g6:var(--wp--preset--color--grey-600);--hgc-line:var(--wp--preset--color--line);--hgc-ground:var(--wp--preset--color--ground);--hgc-wa:var(--wp--preset--color--whatsapp-dark);--hgc-wa-hover:#146036;--hgc-head:var(--wp--preset--font-family--heading);--hgc-body:var(--wp--preset--font-family--body);--hgc-zh:var(--wp--preset--font-family--chinese);--hgc-on-dark:#D4D4D4}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:where(.wp-site-blocks) :focus-visible{outline:3px solid var(--hgc-ink);outline-offset:2px}
:where(.is-style-hgc-dark,.hgc-topbar,.hgc-footer--full,.hgc-footer--zh,.wp-block-cover) :focus-visible{outline-color:#fff}
img{max-width:100%;height:auto}
.hgc-zh,[lang="zh-Hans"]{font-family:var(--hgc-zh)}
.hgc-lang-zh{font-family:var(--hgc-zh);line-height:1.75}
.hgc-lang-zh :where(h1,h2,h3){font-family:var(--hgc-zh);line-height:1.3}
.hgc-v2-icon{flex:none}
:where(.wp-site-blocks) a:where(:not(.wp-element-button)){text-underline-offset:.15em}
:where(.wp-site-blocks) a:not([href]){color:inherit;text-decoration:none}
.hgc-editor-note{margin:0;padding:4px 8px;background:var(--hgc-ground);color:var(--hgc-g7);font:400 13px/1.4 var(--hgc-body);border:1px dashed #A3A3A3}

/* No stray gaps between the page's full-width bands */
.wp-site-blocks>*,.wp-site-blocks>*+*{margin-block-start:0}
.wp-block-post-content>.alignfull,.wp-block-post-content>.alignfull+*{margin-block-start:0}
.wp-block-post-content>.wp-block-cover.alignfull+.alignfull{margin-block-start:0}
:where(.hgc-main) p,:where(.hgc-main) :where(h1,h2,h3,h4){margin-block:0}

/* A grid inside a vertical stack needs an explicit width (grid layouts use inline-size containment) */
.is-layout-flex.is-vertical>.is-layout-grid{width:100%;box-sizing:border-box}

/* Main + aside rows that wrap on narrow screens */
.hgc-split>*{min-width:0}
.hgc-split>:first-child{flex:999 1 600px}
.hgc-split>:last-child{flex:1 1 340px}
.hgc-split.hgc-split--even>*{flex:1 1 420px}
.hgc-split.hgc-split--aside-first>:first-child{flex:1 1 320px}
.hgc-split.hgc-split--aside-first>:last-child{flex:999 1 520px}
.hgc-split.is-content-justification-stretch,.hgc-split.is-vertically-aligned-stretch{align-items:stretch}

/* Text styles */
.is-style-hgc-label,h2.is-style-hgc-label{font-family:var(--hgc-body);font-size:16px;font-weight:700;line-height:1.4;color:var(--hgc-gold-text)}
.is-style-hgc-lead{font-size:21px;color:var(--hgc-g7);max-width:40rem}
.is-style-hgc-muted{color:var(--hgc-g7)}
.has-text-align-center.is-style-hgc-lead{margin-inline:auto}
.is-style-hgc-plain{list-style:none;padding-left:0}
.wp-block-image.is-style-hgc-fill,.wp-block-image.is-style-hgc-fill img{width:100%;height:100%}
.wp-block-image.is-style-hgc-fill img{object-fit:cover}

/* Buttons: core button + the theme's .hgc-btn (same look as the sermons plugin) */
.wp-element-button,.wp-block-button__link,.hgc-btn,.hgc-chip,.hgc-mini{box-sizing:border-box}
.wp-element-button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:var(--wp--custom--button-height,48px);border-radius:0;cursor:pointer}
.wp-block-button.is-style-hgc-gold .wp-block-button__link{background:var(--hgc-gold);border-color:var(--hgc-gold);color:var(--hgc-ink)}
.wp-block-button.is-style-hgc-gold .wp-block-button__link:hover{background:#F5C518;border-color:#F5C518;color:var(--hgc-ink)}
.wp-block-button.is-style-hgc-outline .wp-block-button__link,.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;border-color:currentColor;color:var(--hgc-ink)}
.wp-block-button.is-style-hgc-outline .wp-block-button__link:hover,.wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--hgc-ink);border-color:var(--hgc-ink);color:#fff}
.wp-block-button.is-style-hgc-outline-light .wp-block-button__link{background:transparent;border-color:#fff;color:#fff}
.wp-block-button.is-style-hgc-outline-light .wp-block-button__link:hover{background:#fff;color:var(--hgc-ink)}
.wp-block-button.is-style-hgc-whatsapp .wp-block-button__link{background:var(--hgc-wa);border-color:var(--hgc-wa);color:#fff}
.wp-block-button.is-style-hgc-whatsapp .wp-block-button__link:hover{background:var(--hgc-wa-hover);border-color:var(--hgc-wa-hover)}
.wp-block-button.is-style-hgc-link .wp-block-button__link{background:none;border:0;padding:0;min-height:0;color:inherit;text-decoration:underline;text-underline-offset:.15em}
.wp-block-button.is-style-hgc-link .wp-block-button__link:hover{color:var(--hgc-gold-text)}
.hgc-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 24px;border:2px solid transparent;border-radius:0;font:700 17px/1.2 var(--hgc-body);text-decoration:none;cursor:pointer;background:none;color:var(--hgc-ink)}
.hgc-btn:hover{text-decoration:underline;text-underline-offset:.15em}
.hgc-btn--ink{background:var(--hgc-ink);color:#fff}
.hgc-btn--ink:hover{color:#fff}
.hgc-btn--gold{background:var(--hgc-gold);color:var(--hgc-ink)}
.hgc-btn--gold:hover{color:var(--hgc-ink)}
.hgc-btn--outline{border-color:var(--hgc-ink);color:var(--hgc-ink)}
.hgc-btn--outline-light{border-color:#fff;color:#fff}
.hgc-btn--outline-light:hover{color:#fff}
.hgc-btn--wa{background:var(--hgc-wa);color:#fff}
.hgc-btn--wa:hover{background:var(--hgc-wa-hover);color:#fff}
.hgc-btn--wa-outline{border-color:var(--hgc-wa);color:var(--hgc-wa)}
.hgc-btn--full{display:flex;width:100%}
.hgc-link{display:inline-flex;align-items:center;gap:8px;color:inherit}
.hgc-link--bold,.hgc-link--accent{font-weight:700}
.hgc-link--accent{color:var(--hgc-gold-text)}
:where(.is-style-hgc-dark,.hgc-topbar,.hgc-footer--full,.wp-block-cover) .hgc-link--accent{color:var(--hgc-gold)}
.hgc-link:hover{color:var(--hgc-gold-text)}
:where(.is-style-hgc-dark,.hgc-footer--full,.wp-block-cover) .hgc-link:hover{color:#fff}
.hgc-mini{background:none;border:2px solid var(--hgc-ink);color:var(--hgc-ink);font:700 15px/1.2 var(--hgc-body);padding:7px 12px;min-height:40px;cursor:pointer}
.wp-block-buttons{gap:14px}

/* Header */
.wp-site-blocks>header.wp-block-template-part{position:sticky;top:0;z-index:30;background:#fff}
.admin-bar .wp-site-blocks>header.wp-block-template-part{top:32px}
@media (max-width:782px){.admin-bar .wp-site-blocks>header.wp-block-template-part{top:46px}}
@media (max-width:600px){.admin-bar .wp-site-blocks>header.wp-block-template-part{top:0}}
.hgc-header{background:#fff;border-bottom:1px solid var(--hgc-line)}
.hgc-header__row{gap:16px}
.hgc-topbar{background:var(--hgc-ink);color:#fff;font-size:16px}
.hgc-topbar a{color:var(--hgc-gold);font-weight:700}
.hgc-topbar a:hover{color:#fff}
.hgc-topbar .hgc-topbar__zh a,.hgc-topbar a.hgc-topbar__zh{color:#fff;text-decoration:none}
/* "Live only" links (#hgc-live-on, 1.3.19): plain text while the service is not streamed. */
a.hgc-live-on:not([href]){color:inherit;font-weight:inherit;text-decoration:none;cursor:text}
.hgc-topbar .hgc-topbar__zh a:hover{text-decoration:underline}
.hgc-topbar p{margin:0}

/* Logo and name */
.hgc-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--hgc-ink)}
.hgc-brand:hover{color:var(--hgc-ink)}
.hgc-brand__mark{height:52px;width:auto;display:block}
.hgc-brand__names{display:flex;flex-direction:column;line-height:1.1}
.hgc-brand__en{font:700 26px/1.1 var(--hgc-head)}
.hgc-brand__zh{font-size:14px;letter-spacing:.2em;color:var(--hgc-g6);margin-top:2px}
.hgc-brand__zh-big{font:700 24px/1.3 var(--hgc-zh);letter-spacing:.08em}
.hgc-brand__en-small{font-size:14px;color:var(--hgc-g6);font-family:var(--hgc-body)}
.hgc-brand--footer img{display:block;width:210px;height:auto}
@media (max-width:480px){.hgc-brand{gap:10px}.hgc-brand__en{font-size:19px}.hgc-brand__mark{height:40px}.hgc-brand__zh{font-size:12px}.hgc-brand__zh-big{font-size:19px}.hgc-header__row{flex-wrap:nowrap!important}.hgc-nav__toggle{padding:8px 12px}}

/* Menu */
.hgc-nav ul{list-style:none;margin:0;padding:0}
.hgc-nav__desktop ul{display:flex;flex-wrap:wrap;align-items:center;gap:4px 30px;font-size:17px;font-weight:600}
.hgc-nav__desktop a{display:inline-block;padding:10px 0;text-decoration:none;color:var(--hgc-ink);border-bottom:2px solid transparent}
.hgc-nav__desktop a:hover{border-bottom-color:var(--hgc-gold)}
.hgc-nav__desktop a.is-current{border-bottom-color:var(--hgc-ink)}
.hgc-nav__desktop a.hgc-nav__give{background:var(--hgc-gold);padding:10px 24px;border:0}
.hgc-nav__desktop a.hgc-nav__give:hover{background:#F5C518;text-decoration:underline}
.hgc-nav__desktop a.hgc-nav__give.is-current{background:var(--hgc-ink);color:#fff}
.hgc-nav__mobile{display:none}
.hgc-nav__toggle{box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--hgc-ink);font-weight:700;font-size:16px;cursor:pointer;list-style:none;user-select:none}
.hgc-nav__toggle::-webkit-details-marker{display:none}
.hgc-nav__close-label,.hgc-nav__mobile[open] .hgc-nav__open-label{display:none}
.hgc-nav__mobile[open] .hgc-nav__close-label{display:inline}
.hgc-nav__panel{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--hgc-line);box-shadow:0 12px 24px rgba(0,0,0,.08);padding:4px clamp(16px,4vw,24px) 20px;max-height:calc(100vh - 90px);overflow:auto}
.hgc-nav__panel a{display:block;padding:14px 0;border-bottom:1px solid var(--hgc-line);font:700 24px/1.3 var(--hgc-head);text-decoration:none;color:var(--hgc-ink)}
.hgc-nav__panel a.hgc-zh{font:700 20px/1.4 var(--hgc-zh)}
.hgc-nav__panel a.is-current{color:var(--hgc-gold-text)}
.hgc-nav__panel a.hgc-nav__give{color:var(--hgc-gold-text)}
@media (max-width:760px){.hgc-nav__desktop{display:none}.hgc-nav__mobile{display:block}}
.hgc-nav--footer ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px}
.hgc-nav--footer a{color:#fff;text-decoration:none}
.hgc-nav--footer a:hover{text-decoration:underline;color:#fff}

/* Footers */
.hgc-footer--full{background:var(--hgc-ink);color:var(--hgc-on-dark);font-size:16px}
.hgc-footer--full a{color:#fff}
.hgc-footer--full a:hover{color:var(--hgc-gold)}
.hgc-footer--full .hgc-footer__social a{color:var(--hgc-gold);font-weight:700}
.hgc-footer--full .hgc-footer__social a:hover{color:#fff}
.hgc-footer--full .hgc-footer__legal{border-top:1px solid #404040;font-size:14px}
.hgc-footer--full .hgc-footer__legal a{color:var(--hgc-on-dark)}
.hgc-footer--slim{background:#fff;border-top:1px solid var(--hgc-line);color:var(--hgc-g7);font-size:15px}
.hgc-footer--slim a{color:var(--hgc-g7)}
.hgc-footer--slim a:hover{color:var(--hgc-ink)}
.hgc-footer--zh{background:var(--hgc-ink);color:var(--hgc-on-dark);font-size:15px}
.hgc-footer--zh a{color:#fff}
.hgc-footer p{margin:0}

/* Phone quick bar and floating WhatsApp button */
.hgc-quickbar{display:none}
@media (max-width:760px){
	.hgc-quickbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid #D4D4D4;box-shadow:0 -6px 20px rgba(0,0,0,.08);justify-content:space-around;padding:6px 4px calc(10px + env(safe-area-inset-bottom,0px))}
	body:has(.hgc-quickbar){padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}
.hgc-quickbar .hgc-quickbar__item{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:44px;padding:6px 0;font-size:13px;font-weight:700;text-decoration:none;color:var(--hgc-ink)}
.hgc-quickbar .hgc-quickbar__item.is-wa{color:var(--hgc-wa)}
.hgc-quickbar .hgc-quickbar__item.is-current{color:var(--hgc-gold-text)}
.hgc-quickbar .hgc-quickbar__item:hover{text-decoration:underline}
.hgc-footer .hgc-wa-float,.hgc-wa-float{position:fixed;right:24px;bottom:24px;z-index:40;display:flex;align-items:center;gap:10px;background:var(--hgc-wa);color:#fff;text-decoration:none;font-weight:700;padding:14px 22px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.hgc-footer .hgc-wa-float:hover,.hgc-wa-float:hover{background:var(--hgc-wa-hover);color:#fff;text-decoration:underline}
@media (max-width:760px){.hgc-footer .hgc-wa-float,.hgc-wa-float{display:none}}

/* Bands and cards (group styles) */
.is-style-hgc-dark{background:var(--hgc-ink);color:#fff}
.is-style-hgc-dark :where(p,li,dd,figcaption){color:var(--hgc-on-dark)}
.is-style-hgc-dark :where(h1,h2,h3,h4,strong,dt){color:#fff}
.is-style-hgc-dark a:where(:not(.wp-element-button,.hgc-btn)){color:#fff}
.is-style-hgc-dark a:where(:not(.wp-element-button,.hgc-btn)):hover{color:var(--hgc-gold)}
.is-style-hgc-dark .is-style-hgc-label{color:var(--hgc-gold)}
.is-style-hgc-ground{background:var(--hgc-ground)}
.is-style-hgc-fact{background:#fff;border-top:4px solid var(--hgc-gold)}
.is-style-hgc-panel{background:#fff}
.is-style-hgc-dark .is-style-hgc-fact,.is-style-hgc-dark .is-style-hgc-panel{background:#2B2B2B}
.hgc-rule-top{border-top:2px solid var(--hgc-gold)}
.hgc-row-line{border-top:1px solid var(--hgc-line)}
.is-style-hgc-dark .hgc-row-line{border-top-color:#404040}

/* Hero (core/cover) and the slow drift on its photo */
.hgc-hero.wp-block-cover{padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right)}
.hgc-hero .wp-block-cover__inner-container{max-width:1240px;margin-inline:auto}
.hgc-hero .wp-block-cover__inner-container{width:100%}
.hgc-drift .wp-block-cover__image-background{animation:hgc-drift 22s ease-in-out infinite alternate;transform-origin:60% 40%}
@keyframes hgc-drift{from{transform:scale(1)}to{transform:scale(1.07)}}
.hgc-hero .is-style-hgc-label{color:var(--hgc-gold);letter-spacing:.04em}
.hgc-hero p{color:#F0F0F0}
.hgc-hero .hgc-hero__small{color:#D4D4D4;font-size:16px}
.hgc-hero h1{max-width:15ch;text-wrap:balance}
.hgc-hero p:not(.hgc-hero__small){max-width:40rem}

/* Live status */
.hgc-live__dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#EF4444;margin-right:8px;vertical-align:1px;animation:hgc-pulse 1.6s infinite}
@keyframes hgc-pulse{50%{opacity:.35}}
.hgc-live__on{margin:0}
.hgc-live--chip{margin:0}
.hgc-live__chip{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.35);color:#fff;padding:8px 14px;font-size:16px;font-weight:600}
.hgc-live__chip b{color:var(--hgc-gold)}
.hgc-live__chip:empty{display:none}
.hgc-live.is-soon .hgc-live__dot{display:none}
.hgc-live__chip-link{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.hgc-live__chip-link:hover,.hgc-live__chip-link:focus-visible{text-decoration:underline}

/* Add to calendar */
.hgc-cal-link{display:inline-block;align-self:flex-start;font-size:15px;font-weight:700;text-decoration:none;color:var(--hgc-gold-text)}
.hgc-cal-link:hover{text-decoration:underline}
.is-style-hgc-dark .hgc-cal-link{color:var(--hgc-gold)}
.is-style-hgc-dark .hgc-cal-link:hover{color:#fff}

/* Weekly list (Every week at HGC) */
.hgc-week__row{display:flex;flex-direction:column;gap:2px;padding:14px 0;border-bottom:1px solid #404040}
.hgc-week__row:last-child{border-bottom:0}
.hgc-week__row p{margin:0}
.hgc-week__row .hgc-week__note{font-size:15px}
.hgc-week__row .hgc-linkwrap{margin-top:4px}
.hgc-week__row .hgc-linkwrap a{font-size:15px;text-decoration:none}
.hgc-week__row .hgc-linkwrap a:hover{text-decoration:underline}

/* Photo cards ("Find your place", ministries) */
.hgc-photo-card{gap:10px}
.hgc-photo-card .wp-block-image{margin:0}
.hgc-photo-card .wp-block-image img{width:100%;height:240px;object-fit:cover;display:block;background:var(--hgc-line)}
.hgc-photo-card--tall .wp-block-image img{height:260px}
.hgc-photo-card__title{font-size:24px;font-weight:700;line-height:1.25}
.hgc-photo-card__title a,.hgc-more a{text-decoration:none}
.hgc-photo-card__title a:hover,.hgc-more a:hover{text-decoration:underline}
.hgc-more{font-weight:700}
.hgc-photo-card .wp-block-image>a{display:block}
.hgc-photo{margin:0;width:100%}
.hgc-testimony__img img{height:380px}
.hgc-visit-hero__img img{min-height:400px;max-height:560px;object-position:center 35%}
.hgc-ministry__img img{min-height:340px;max-height:480px}
.hgc-family__img img{height:280px}
.hgc-grow__img img{height:220px;box-sizing:border-box}
.hgc-grow__box{min-height:220px;box-sizing:border-box}
.hgc-grow__box p{font-size:16px;line-height:1.5}
.hgc-grow__box,.wp-block-group.hgc-grow__box{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center}
.hgc-pastor__photo img{aspect-ratio:4/5;object-fit:cover;width:100%}
.wp-block-quote cite,.wp-block-quote .wp-block-quote__citation{display:block;margin-top:18px;font:400 18px/1.6 var(--hgc-body);color:var(--hgc-g7);font-style:normal}
.hgc-testimony__quote p{margin:0}
.hgc-voh-home__title{margin:0;font-family:var(--wp--preset--font-family--heading);font-size:clamp(28px,3vw,38px);line-height:1.15}
.hgc-more--gold a{color:var(--hgc-gold-text)}
.hgc-verse{font:600 26px/1.3 var(--hgc-head);color:var(--hgc-gold) !important}
.hgc-story-link a{display:inline-flex;color:var(--hgc-gold);font-weight:700;font-size:18px;text-decoration:none;border-bottom:2px solid var(--hgc-gold);padding-bottom:2px}
.hgc-story-link a:hover{color:#fff;border-color:#fff}
.hgc-cue{font-size:15px;font-weight:700;color:var(--hgc-gold) !important}
.hgc-h1-narrow{max-width:16ch}
.hgc-list-lg{font-size:20px}
.hgc-post-list{list-style:none;margin:0;padding:0}
.hgc-post-row{border-bottom:1px solid var(--hgc-line)}
.hgc-post-row .wp-block-post-title a{text-decoration:none}
.hgc-post-row .wp-block-post-title a:hover{text-decoration:underline}
.hgc-post-row__img{flex:0 0 220px;max-width:100%;margin:0}
.hgc-post-row__img img{display:block;width:100%;height:100%;object-fit:cover;background:var(--hgc-line)}
.hgc-post-row__text{flex:1 1 320px;min-width:0}
.hgc-post-row__text>*{margin:0}
.hgc-post-list--grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:36px 24px}
.hgc-post-list--grid>li{margin:0}
.hgc-post-list--grid .hgc-post-row{flex-direction:column;flex-wrap:nowrap;gap:12px;height:100%;border:0;padding:0!important}
.hgc-post-list--grid .hgc-post-row__img{flex:none;width:100%!important}
.hgc-post-list--grid .hgc-post-row__img img{width:100%!important;aspect-ratio:16/9!important}
.hgc-post-list--grid .hgc-post-row__text{flex:none}
.hgc-post-list--grid .wp-block-post-title{font-size:20px!important}
.hgc-post-list--grid .hgc-post-row:not(:has(.hgc-post-row__img)){background:var(--hgc-ground);padding:24px!important}
.hgc-voh-earlier{margin-top:0}
.hgc-post-meta>*{margin:0}
.hgc-post-share>*{margin:0}
.hgc-back{font-weight:700}
.hgc-back a{color:var(--hgc-gold-text);text-decoration:none}
.hgc-back a:hover{text-decoration:underline}
.hgc-photo-card .wp-block-post-featured-image{margin:0}
.hgc-photo-card .wp-block-post-featured-image img{display:block;width:100%;object-fit:cover;background:var(--hgc-line)}
.hgc-photo-card .wp-block-post-title a{text-decoration:none}
.hgc-photo-card .wp-block-post-title a:hover{text-decoration:underline}
.hgc-watch-read__list{list-style:none;margin:0;padding:0}
/* Voice of Hope newsletters: header as in the prototype; each card is one link (the title's link covers the card) */
.hgc-nowrap{white-space:nowrap}
.hgc-voh-verse{margin:0;max-width:640px;border-left:4px solid var(--hgc-gold);padding:2px 0 2px 22px}
.hgc-voh-verse p,.hgc-voh-verse cite{display:inline}
.hgc-voh-verse p{margin:0;font:600 clamp(24px,2.6vw,32px)/1.35 var(--hgc-head);color:var(--hgc-ink)}
.hgc-voh-verse cite{margin:0 0 0 6px;font:600 16px/1 var(--hgc-body);color:var(--hgc-g6);white-space:nowrap}
.hgc-voh-intro{max-width:640px;color:var(--hgc-g7)}
.hgc-more--underline a{text-decoration:underline;text-underline-offset:4px}
.hgc-voh-issue{position:relative}
.hgc-voh-issue>*{margin:0}
.hgc-voh-cover{margin:0}
.hgc-voh-cover img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:top;border:1px solid var(--hgc-line);background:var(--hgc-ground);transition:transform .2s ease,box-shadow .2s ease}
.hgc-voh-issue__title{font-family:var(--wp--preset--font-family--body);font-size:18px;font-weight:700;line-height:1.3}
.hgc-voh-issue__title a{color:inherit;text-decoration:none}
.hgc-voh-issue__title a::after{content:"";position:absolute;inset:0}
.hgc-voh-issue__title a:focus-visible{outline:none}
.hgc-voh-issue:has(a:focus-visible){outline:3px solid var(--hgc-gold);outline-offset:6px}
.hgc-voh-issue__pdf{font-size:16px;font-weight:700;color:var(--hgc-gold-text)}
.hgc-voh-issue:hover .hgc-voh-cover img{transform:translateY(-4px);box-shadow:0 10px 24px rgba(0,0,0,.14)}
.hgc-voh-issue:hover .hgc-voh-issue__pdf{text-decoration:underline}
@media (prefers-reduced-motion:reduce){.hgc-voh-cover img{transition:none}.hgc-voh-issue:hover .hgc-voh-cover img{transform:none}}
.hgc-chip-link .wp-block-button__link{min-height:40px;padding:8px 18px;font-size:16px;font-weight:600;border-width:1px;border-color:#A3A3A3}
.hgc-photo img{width:100%;object-fit:cover;display:block}

/* Visit: fact cards, timeline, families, FAQ */
.hgc-fact__label{display:flex;align-items:center;gap:10px}
.hgc-fact__label .hgc-v2-icon{color:var(--hgc-gold-text)}
.hgc-fact__big{font-size:24px;font-weight:700;line-height:1.25}
.hgc-timeline>.hgc-timeline__row{padding:22px 0;border-top:1px solid var(--hgc-line);margin:0}
.hgc-timeline>.hgc-timeline__row:last-child{border-bottom:1px solid var(--hgc-line)}
.hgc-timeline .hgc-timeline__time{flex:0 0 92px;font-size:20px;font-weight:700;color:var(--hgc-gold-text)}
.hgc-timeline .hgc-timeline__what{flex:1 1 auto;min-width:0}
.hgc-timeline .hgc-timeline__title{font-size:20px}
@media (max-width:480px){.hgc-timeline .hgc-timeline__row{gap:16px}.hgc-timeline .hgc-timeline__time{flex-basis:72px;font-size:18px}}
.wp-block-details summary{font-weight:700;font-size:20px;cursor:pointer}
.wp-block-details summary::marker{color:var(--hgc-gold-text)}
.wp-block-details > :not(summary){margin-top:12px;color:var(--hgc-g7)}
.hgc-faq .wp-block-details:last-child{border-bottom:1px solid var(--hgc-line)}
.is-style-hgc-ground .hgc-faq .wp-block-details{border-top-color:#D4D4D4}
.is-style-hgc-ground .hgc-faq .wp-block-details:last-child{border-bottom-color:#D4D4D4}

/* Chips (plan a visit, give) */
.hgc-chiprow{display:flex;flex-direction:column;gap:8px}
.hgc-chiprow__label{font-weight:700;font-size:16px}
.hgc-chips{display:flex;flex-wrap:wrap;gap:8px}
.hgc-chips[hidden]{display:none}
.hgc-chip{border:1.5px solid #D4D4D4;background:#fff;color:var(--hgc-ink);padding:8px 14px;font:600 16px/1.2 var(--hgc-body);cursor:pointer;min-height:44px}
.hgc-chip:hover{border-color:var(--hgc-ink)}
.hgc-chip[aria-pressed="true"]{background:var(--hgc-ink);border-color:var(--hgc-ink);color:#fff}

/* Plan a visit */
.hgc-plan-visit{display:flex;flex-direction:column;gap:16px}
.hgc-plan-visit__controls{display:flex;flex-direction:column;gap:14px}
.hgc-plan-visit__controls[hidden]{display:none}
.hgc-plan-visit__preview{margin:0;background:var(--hgc-ground);padding:18px 20px;font-size:17px;color:var(--hgc-g7)}
.hgc-plan-visit__send{align-self:flex-start;padding:16px 28px}

/* Serve picker */
.hgc-serve{display:flex;flex-wrap:wrap;gap:48px}
.hgc-serve__intro{flex:1 1 320px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.hgc-serve__intro p{margin:0;color:var(--hgc-g7)}
.hgc-serve__heading{font-size:clamp(34px,4vw,50px)}
.hgc-serve__hint{font-size:15px;color:var(--hgc-g6) !important}
.hgc-serve__msg{background:#fff;border-left:4px solid var(--hgc-wa);padding:12px 14px;font-size:16px}
.hgc-serve__send{margin-top:8px}
.hgc-serve__teams{flex:2 1 560px;min-width:0;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px}
.hgc-serve__team{position:relative;display:flex;flex-direction:column;gap:4px;width:100%;height:100%;text-align:left;background:#fff;border:0;padding:22px 56px 22px 24px;font:inherit;color:var(--hgc-ink);outline:2px solid transparent;outline-offset:-2px;transition:outline-color .12s}
.hgc-serve__team strong{font-size:20px}
.hgc-serve__team span{color:var(--hgc-g7);font-size:17px}
.hgc-serve__team:disabled{cursor:default;opacity:1}
.is-ready .hgc-serve__team{cursor:pointer}
.is-ready .hgc-serve__team:hover{outline-color:#D4D4D4}
.is-ready .hgc-serve__team::after{content:"";position:absolute;top:18px;right:18px;width:22px;height:22px;border:2px solid #A3A3A3;background:#fff}
.is-ready .hgc-serve__team[aria-pressed="true"]{outline:3px solid var(--hgc-gold);outline-offset:-3px}
.is-ready .hgc-serve__team[aria-pressed="true"]::after{content:"✓";background:var(--hgc-gold);border-color:var(--hgc-gold);color:var(--hgc-ink);font:700 15px/22px sans-serif;text-align:center}
.is-ready .hgc-serve__team:focus-visible{outline:3px solid var(--hgc-ink);outline-offset:-3px}

/* Give panel */
.hgc-give{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:24px}
.hgc-give__card{padding:36px;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.hgc-give__card h2{margin:0;font:700 24px/1.3 var(--hgc-body)}
.hgc-give__card p{margin:0}
.hgc-give__card--qr{background:var(--hgc-ink);color:#fff}
.hgc-give__card--qr p{color:var(--hgc-on-dark);font-size:17px}
.hgc-give__qr{width:200px;height:200px;object-fit:contain;background:#fff;padding:8px}
.hgc-give__card--bank{border:1px solid var(--hgc-line)}
.hgc-give__dl{margin:0;display:grid;grid-template-columns:max-content 1fr;gap:8px 20px;font-size:17px}
.hgc-give__dl dt{color:var(--hgc-g6)}
.hgc-give__dl dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.hgc-give__funds{border-top:1px solid var(--hgc-line);padding-top:16px;display:flex;flex-direction:column;gap:10px;width:100%;font-size:17px}
.hgc-give__ref{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0}
.hgc-give__ref[hidden],.hgc-give__ref-all[hidden],.hgc-copy[hidden]{display:none}
.hgc-give__code{font:700 19px ui-monospace,"SF Mono",Menlo,Consolas,monospace;background:#fff;padding:6px 10px;border:1px solid var(--hgc-line)}
.hgc-give__ref-all{color:var(--hgc-g7)}
.hgc-give__status{font-weight:700;color:var(--hgc-wa);min-height:1.5em}
.hgc-give--empty{display:block;margin:0;color:var(--hgc-g7)}

/* Story scroller */
.hgc-story__progress{position:fixed;top:0;left:0;right:0;height:4px;background:var(--hgc-gold);transform:scaleX(0);transform-origin:0 50%;z-index:50}
.hgc-story__wrap{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px}
.hgc-story__figure{position:sticky;top:96px;height:calc(100vh - 140px);min-height:420px;margin:48px 0;background:var(--hgc-ink)}
.hgc-story__figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .4s ease}
.hgc-story__figure img.is-on{opacity:1}
.hgc-story__year{position:absolute;left:0;bottom:0;background:var(--hgc-ink);color:var(--hgc-gold);font:700 clamp(40px,5vw,72px)/1 var(--hgc-head);padding:14px 22px}
.hgc-story__steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hgc-story__step{min-height:62vh;display:flex;flex-direction:column;justify-content:center;gap:16px;padding:48px 0}
.hgc-story.is-active .hgc-story__step{opacity:.28;transition:opacity .4s ease}
.hgc-story.is-active .hgc-story__step.is-on{opacity:1}
.hgc-story__step p{margin:0;color:var(--hgc-g7);font-size:19px;max-width:34rem}
.hgc-story__step h2{font-size:clamp(34px,4vw,52px);text-wrap:balance}
.hgc-story__step blockquote{margin:0;border-left:4px solid var(--hgc-gold);padding:4px 0 4px 18px;font:700 26px/1.3 var(--hgc-head)}
.hgc-story__step p.hgc-story__cap{font-size:14px;color:var(--hgc-g6);font-style:italic}
.hgc-story__step{scroll-margin-top:96px}
.hgc-story__yr{font-size:16px;font-weight:700;color:var(--hgc-gold-text);letter-spacing:.04em}
.hgc-story__m-img{display:none;width:100%;aspect-ratio:4/3;object-fit:cover}
@media (max-width:900px){
	.hgc-story__wrap{grid-template-columns:1fr;gap:0}
	.hgc-story__figure{display:none}
	.hgc-story__step,.hgc-story.is-active .hgc-story__step{min-height:auto;opacity:1;padding:40px 0;border-top:1px solid var(--hgc-line)}
	.hgc-story__m-img{display:block}
}
.hgc-story-editor .hgc-story__step{min-height:0;padding:24px 0;border-top:1px solid var(--hgc-line)}
.hgc-story-editor .hgc-story__m-img{display:block;max-width:320px}

/* Light motion: fade up as sections scroll into view */
.hgc-reveal.is-waiting{opacity:0;transform:translateY(28px)}
.hgc-reveal{transition:opacity .8s ease,transform .8s ease}
.hgc-reveal.is-waiting.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
	.hgc-reveal,.hgc-reveal.is-waiting{opacity:1;transform:none;transition:none}
	.hgc-drift .wp-block-cover__image-background,.hgc-live__dot{animation:none}
	.hgc-story__figure img,.hgc-story.is-active .hgc-story__step,.hgc-serve__team{transition:none}
	html{scroll-behavior:auto}
}
html{scroll-behavior:smooth}
:target,[id]{scroll-margin-top:96px}

/* 404 */
.hgc-tile{position:relative;background:var(--hgc-ground);height:100%;box-sizing:border-box}
.hgc-tile:hover{background:#E9EBEE}
.hgc-tile .hgc-tile__title{font-size:20px;font-weight:700}
.hgc-tile .hgc-tile__title a{text-decoration:none;color:var(--hgc-ink)}
.hgc-tile .hgc-tile__title a::after{content:"";position:absolute;inset:0}
.hgc-tile .hgc-tile__title a:hover{text-decoration:underline}
.hgc-tile .hgc-tile__text{color:var(--hgc-g7);font-size:16px}
.hgc-tile .hgc-tile__title a:not([href]){color:var(--hgc-g6)}

/* Breadcrumb */
.hgc-crumbs{font-size:16px;color:var(--hgc-g6)}
.hgc-crumbs a{color:var(--hgc-ink)}
.hgc-footer--slim .hgc-link{font-weight:400;text-decoration:underline}
.hgc-linkwrap{display:block}
.hgc-linkwrap--full{width:100%}
.is-style-hgc-dark .hgc-link--accent{color:var(--hgc-gold)}
.is-style-hgc-dark .hgc-link--accent:hover{color:#fff}
.is-style-hgc-dark .hgc-upcoming--list .hgc-upcoming__items{border-top-color:#404040}
.is-style-hgc-dark .hgc-upcoming--list .hgc-upcoming__item{color:#fff;border-bottom-color:#404040}
.is-style-hgc-dark .hgc-upcoming--list .hgc-upcoming__date,.is-style-hgc-dark .hgc-upcoming--list .hgc-upcoming__more{color:var(--hgc-gold)}
.is-style-hgc-dark .hgc-upcoming--list .hgc-upcoming__blurb{color:var(--hgc-on-dark)}
.is-style-hgc-dark .hgc-upcoming__all a{color:var(--hgc-gold)}
.hgc-h-body{font-family:var(--hgc-body)}
.is-style-hgc-fact.hgc-fact--ground{background:var(--hgc-ground)}
/* Core YouTube embed (event recaps, testimonies, ministry videos): 16:9, square corners */
.wp-block-embed-youtube .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9;background:var(--hgc-ink,#1C1C1C)}
.wp-block-embed-youtube .wp-block-embed__wrapper::before{content:none;padding:0}
.wp-block-embed-youtube iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0}
.wp-block-embed-youtube,.wp-block-embed-youtube .wp-block-embed__wrapper{border-radius:0}

/* Voice of Hope on Home: featured story, with up to two cards beside it (under it on phones) */
.hgc-voh-home__wrap:has(.hgc-voh-more){display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:start}
.hgc-voh-home__wrap:has(.hgc-voh-more) .hgc-voh-home__feat{flex-direction:column;align-items:stretch;gap:24px}
.hgc-voh-home__wrap:has(.hgc-voh-more) .hgc-voh-home__feat>*{flex-basis:auto}
.hgc-voh-home__wrap:has(.hgc-voh-more) .hgc-testimony__img img{height:360px}
.hgc-voh-more .wp-block-query,.hgc-voh-more__list{margin:0}
.hgc-voh-more__list{list-style:none;padding:0;display:flex;flex-direction:column;gap:20px}
.hgc-voh-card{border-top:2px solid var(--hgc-gold);padding-top:16px}
.hgc-voh-card>*{margin:0}
.hgc-voh-card__img img,.hgc-voh-card__ph{display:block;width:100%;height:170px;object-fit:cover;margin-bottom:6px}
.hgc-voh-card__ph{background:var(--hgc-line);color:var(--hgc-g6);font-weight:700;display:flex;align-items:center;justify-content:center;text-decoration:none}
.hgc-voh-card__meta,.hgc-voh-card__meta a{font-size:15px;font-weight:700;color:var(--hgc-gold-text);text-decoration:none}
.hgc-voh-card__title{font-size:21px;line-height:1.3;font-weight:700}
.hgc-voh-card__title a{text-decoration:none}
.hgc-voh-card__title a:hover{color:var(--hgc-gold-text)}
.hgc-voh-card__date{font-size:16px}
@media (max-width:900px){.hgc-voh-home__wrap:has(.hgc-voh-more){grid-template-columns:1fr;gap:40px}}

/* Ministry page: "When we meet" rows */
.hgc-meet__row{margin:0;font-size:17px;color:var(--hgc-g7);display:grid;grid-template-columns:7.5em 1fr;gap:18px}
.hgc-meet__row strong{color:var(--hgc-ink)}

/* Map, tap to load (hgc/map) */
.hgc-map{display:flex;flex-direction:column;gap:14px;align-items:flex-start;width:100%}
.hgc-map__box{position:relative;width:100%;max-width:100%;aspect-ratio:400/260;background:#EDEEF0;overflow:hidden}
.hgc-map__art{position:absolute;inset:0;width:100%;height:100%;display:block}
.hgc-map__box iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.hgc-map__go{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;background:var(--hgc-ink);color:#fff;text-decoration:none;font-weight:700;padding:12px 22px;white-space:nowrap}
.hgc-map__go:hover{background:#000;color:#fff}
.hgc-map__go small{font-weight:400;font-size:13px;color:var(--hgc-on-dark)}
.hgc-plan-visit__first{margin:0;font-size:16px;font-weight:700;color:var(--hgc-gold-text)}
.hgc-footer--slim .hgc-nav--footer{margin-top:20px;padding-top:20px;border-top:1px solid var(--hgc-line)}
.hgc-footer--slim .hgc-nav--footer ul{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px 24px;list-style:none;margin:0;padding:0}
.hgc-footer--slim .hgc-nav--footer a,.hgc-footer--slim .hgc-nav--footer a:hover{color:var(--hgc-ink)}
.hgc-footer__hours{margin:0}
.hgc-voh-card__meta .wp-block-post-terms__prefix{white-space:pre}
.hgc-voh-home__wrap:has(.hgc-voh-more) .hgc-testimony__img img{width:100%;object-fit:cover}

/* 1.3.0: About (jump buttons, milestones on the dark band, pastors), opening hours, Little Lighthouse */
.hgc-jump{gap:10px}
.is-style-hgc-dark .hgc-tile{background:#2B2B2B}
.is-style-hgc-dark .hgc-tile:hover{background:#353535}
.is-style-hgc-dark .hgc-tile .hgc-tile__title{font:700 30px/1.1 var(--hgc-head)}
.is-style-hgc-dark .hgc-tile .hgc-tile__title a{color:var(--hgc-gold)}
.is-style-hgc-dark .hgc-tile .hgc-tile__text{color:var(--hgc-on-dark)}
.hgc-milestones{margin-top:40px}
.is-style-hgc-dark .hgc-hero__small{color:#D4D4D4;font-size:16px}
.hgc-pastor__ph{display:grid;place-items:center;width:100%;aspect-ratio:4/5;flex:none;box-sizing:border-box;background:var(--hgc-ground)}
.hgc-pastor__initials{font:700 64px/1 var(--hgc-head);color:#A3A3A3;margin:0}
.hgc-pastor__role{font-size:16px;margin-top:-4px}
.hgc-hours table{border-collapse:collapse;width:100%}
.hgc-hours td{border:0;border-top:1px solid var(--hgc-line);border-bottom:1px solid var(--hgc-line);padding:14px 0;font-size:20px}
.hgc-hours td:first-child{font-weight:700}
.hgc-llh__logo img{width:120px;height:auto}
@media (max-width:600px){
	.wp-block-group.hgc-pastors{display:flex;flex-direction:column;gap:16px}
	.hgc-pastors .wp-block-group.hgc-pastor{display:grid;grid-template-columns:96px 1fr;column-gap:16px;row-gap:2px;align-content:center}
	.hgc-pastors .hgc-pastor>:first-child{grid-row:1/span 2;margin:0}
	.hgc-pastors .hgc-pastor>:nth-child(2){align-self:end;margin:0}
	.hgc-pastors .hgc-pastor>:nth-child(2):last-child{grid-row:1/span 2;align-self:center}
	.hgc-pastors .hgc-pastor__role{margin:0;align-self:start}
	.hgc-pastors .hgc-pastor__initials{font-size:32px}
}
/* 1.3.1 */
.hgc-expect__img{margin-top:10px}
.hgc-expect__img img{aspect-ratio:3/2;object-fit:cover;width:100%}

/* Events (theme 1.3.8): space between the blocks of an event's own text (description, poster, "Photos from the day"). */
body .hgc-ev-content>*+*{margin-block-start:24px}
body .hgc-ev-content>*+:is(h2,h3){margin-block-start:48px}
/* Featured event card: the photo fills the card's height when it sits beside the text (240px when on its own row). */
.hgc-upcoming .hgc-upcoming__img{height:auto;min-height:240px;contain:size;align-self:stretch}
/* Latest sermon (theme 1.3.9): photo and text side by side when there is room. The plugin's flex rule only applies on its own sermon pages (.hgc-page). */
.hgc-latest{display:flex;flex-wrap:wrap}
/* "This Sunday's message" on Home (theme 1.3.10): the video in its own 16:9 shape above the text, never cropped tall.
   YouTube's hqdefault thumbnail is 4:3 with black bars; a 16:9 frame with object-fit:cover crops exactly those bars. */
.hgc-latest.hgc-latest--card{flex-direction:column;flex-wrap:nowrap}
.hgc-latest--card .hgc-latest__media{flex:none;width:100%;min-height:0;aspect-ratio:16/9}
.hgc-latest--card .hgc-latest__body{flex:1 1 auto}
/* Home, "This Sunday's message" row (theme 1.3.11): about 60/40 between the sermon card and "Every week at HGC", so the video is smaller and the box wider.
   Only the row holding the card layout; other .hgc-split rows keep their widths. */
.hgc-split:has(>.hgc-latest--card)>:first-child{flex:3 1 520px}
.hgc-split:has(>.hgc-latest--card)>:last-child{flex:2 1 340px}
