/*
 * Saugeen Hospice custom overrides
 *
 * Add your own classes and overrides below. This stylesheet loads last so its
 * rules can intentionally override Bootstrap, styles.css and blockstyles.css.
 */

/* Current page in the main menu */
.nav a[aria-current]{color:var(--teal);font-weight:700}
.nav .donate-small[aria-current]{color:#fff}
.site-header .nav a.donate-small,.site-header .nav a.donate-small:visited,.site-header .nav a.donate-small:hover,.site-header .nav a.donate-small:focus,.site-header .nav a.donate-small:focus-visible,.site-header .nav a.donate-small:active{color:#fff}   /* the button keeps white text on hover (the link-hover colour made it vanish) */
.site-header .nav a.donate-small:hover,.site-header .nav a.donate-small:focus-visible{filter:brightness(.88)}

/* Dropdown sub-menus in the main menu */
.nav .nav-drop{position:relative;display:flex;align-items:center;gap:2px}
.nav .nav-drop>a{font-family:var(--open);font-size:0.875rem;color:#334347}
.nav .nav-drop>a:hover{color:var(--teal)}
.nav-drop-toggle{border:0;background:none;color:#334347;padding:4px 5px;font-size:0.75rem;line-height:1}
.nav-drop-toggle:hover,.nav-drop-toggle:focus-visible{color:var(--teal)}
.nav-drop-menu{list-style:none;margin:0;padding:8px 0;position:absolute;top:100%;left:-14px;min-width:230px;background:#fff;border-top:3px solid var(--gold);box-shadow:0 16px 30px color-mix(in srgb,var(--navy) 13%,transparent);display:none;z-index:120}
.nav-drop-menu a{display:block;padding:9px 18px;font-size:0.8125rem;color:#334347;white-space:nowrap}
.nav-drop-menu a:hover{color:var(--teal);background:#f3f8f7}
.nav-drop.open .nav-drop-menu{display:block}
@media(hover:hover) and (min-width:901px){.nav-drop:hover .nav-drop-menu,.nav-drop:focus-within .nav-drop-menu{display:block}}
@media(max-width:900px){
  .nav .nav-drop{flex-wrap:wrap}
  .nav .nav-drop>a{flex:1}
  .nav-drop-menu{position:static;width:100%;box-shadow:none;border-top:0;padding:0 0 6px 14px}
  .nav-drop-menu a{white-space:normal}
}

/* Picture beside the text: left as well as right */
.content-template .article-content .figure-left{float:left;width:44%;margin:7px 30px 18px 0}
@media(max-width:550px){.content-template .article-content .figure-left{float:none;width:100%;margin:25px 0}}

/* Sidebar link inside a text block */
.article-aside .aside-link{color:#086c60;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Home page hero: tabs follow the number of slides, and hidden parts stay hidden */
.hero-three [hidden]{display:none!important}
.hero-story-nav{grid-template-columns:repeat(var(--slides,3),1fr)}
@media(max-width:575.98px){.hero-story-nav{grid-template-columns:1fr}}

/* Eyebrow inside article text: the eyebrow carries the section spacing, so the heading under it sits close (as in the design).
   styles.css only zeroes the top margin of an h2 that is :first-child, which an eyebrow in front defeats. */
.content-template .article-content .eyebrow{margin:48px 0 14px}
.content-template .article-content .eyebrow:first-child,.content-template .article-content figure+.eyebrow{margin-top:0}
.content-template .article-content .eyebrow+h2,.content-template .article-content .eyebrow+h3{margin-top:0}

/* List blocks: FAQ, News list, Sponsors */
.list-block-head{margin-bottom:34px}
.list-block-head .lead{margin:16px 0 0;max-width:760px}
.faq-group{margin:42px 0 4px;font-size:1.25rem}
.faq-group:first-child{margin-top:0}
.faq-list details>div>:last-child{margin-bottom:0}
.faq-list summary:focus-visible{outline:3px solid color-mix(in srgb,var(--gold) 50%,transparent);outline-offset:2px}
.news-listing.list-block{padding-bottom:0}
.news-card>.news-card-image img{display:block;width:100%;height:220px;object-fit:cover}
.news-card.featured>.news-card-image{height:100%}
.news-card.featured>.news-card-image img{height:100%;min-height:430px}
.news-card h3{font-size:1.6875rem;margin:18px 0}
.news-card.featured h3{font-size:2.25rem}
.news-card h3 a{color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}   /* the title link keeps the heading's size (blockstyles .news-card a is 13px, meant for the Read more link) */
.news-card h3 a:hover,.news-card h3 a:focus-visible{color:var(--teal)}
.sponsor-grid .sponsor-item{background:#fff;border:1px solid var(--c-border);min-height:155px;padding:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center}
.sponsor-grid a.sponsor-item:hover,.sponsor-grid a.sponsor-item:focus-visible{border-color:var(--teal);box-shadow:0 12px 30px color-mix(in srgb,var(--navy) 7%,transparent)}
.sponsor-item>span{font-family:var(--open);font-size:1.625rem;color:#9badab;letter-spacing:.15em}
.sponsor-item img{max-width:100%;max-height:72px;object-fit:contain}
/* Sponsor logos: every logo sits in the same 4:3 box (the 800 x 600 shape), scaled to fit, grayscale until hover or focus.
   To show logos in full colour all the time, delete the filter/opacity lines below. */
.sponsor-item .sponsor-logo{position:relative;width:100%;aspect-ratio:4/3}
.sponsor-item .sponsor-logo img{position:absolute;inset:4%;width:92%;height:92%;max-width:none;max-height:none;object-fit:contain;filter:grayscale(1);opacity:.75;transition:filter .2s,opacity .2s}
.sponsor-item:hover .sponsor-logo img,.sponsor-item:focus-visible .sponsor-logo img{filter:none;opacity:1}
@media (hover:none){.sponsor-item .sponsor-logo img{filter:none;opacity:1}}
.sponsor-name{font-size:0.875rem;color:var(--navy);line-height:1.3}
.sponsor-item b{font-size:0.6875rem;color:var(--teal);text-transform:uppercase;text-align:center}

/* Staff list and Testimonials blocks */
.board-grid article>img{width:58px;height:58px;flex:0 0 58px;border-radius:50%;object-fit:cover}
.board-grid article>div{min-width:0}
.board-grid small a{color:var(--teal);overflow-wrap:anywhere}
.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.testimonials-one{grid-template-columns:minmax(0,760px)}
.testimonials-narrow{grid-template-columns:1fr}
.testimonial{margin:0;background:#fff;border:1px solid var(--c-border);border-top:4px solid var(--gold);padding:30px;display:flex;flex-direction:column;gap:20px;color:var(--ink)}
.testimonial blockquote{margin:0;font-family:var(--lora);font-size:1rem;line-height:1.6;color:var(--navy)}
.testimonial figcaption{margin-top:auto}
.testimonial figcaption strong{display:block;color:var(--navy)}
.testimonial figcaption span{font-size:.85rem;color:#607074}
@media(max-width:991.98px){.testimonials{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.testimonials{grid-template-columns:1fr}}

/* Photo gallery block, album cards and album page */
.gallery-grid.list-block,.gallery-grid{padding-bottom:0}
.gallery-grid button{cursor:zoom-in}
.gallery-grid button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
/* Album overview tiles: links styled like the photo tiles (the first one large), per the Photo Gallery design. */
.gallery-grid.album-landing>a{position:relative;display:block;overflow:hidden;background:var(--c-placeholder);text-align:left;text-decoration:none;color:var(--c-white)}
.gallery-grid.album-landing>a.gallery-large{grid-column:span 2;grid-row:span 2}
.gallery-grid.album-landing>a:hover img,.gallery-grid.album-landing>a:focus-visible img{transform:scale(1.04)}
.gallery-grid.album-landing>a:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.gallery-grid.album-landing>a>span{position:absolute;inset:auto 0 0;padding:80px 22px 20px;background:linear-gradient(transparent,var(--c-overlay));color:var(--c-white);display:flex;flex-direction:column}
.gallery-grid.album-landing>a>span em{font-style:normal;font-size:.8125rem;color:var(--c-text-on-dark-bright);margin-top:7px;max-width:390px}
.album-grid{padding-bottom:0}
.album-grid>a{border:1px solid #d6e4e0;background:#fff;padding:0;text-align:left;display:grid;grid-template-columns:1.05fr .95fr;min-height:315px;overflow:hidden;color:inherit}
.album-grid>a:hover .album-cover img,.album-grid>a:focus-visible .album-cover img{transform:scale(1.04)}
.album-grid>a:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.album-grid>a>div:last-child{padding:30px;align-self:center}
.album-back{margin:0 0 28px}
.album-back a{color:var(--teal);font-weight:700}
.lightbox>img{justify-self:center}
body:has(.lightbox:not([hidden])){overflow:hidden}
@media(max-width:600px){.album-grid>a{grid-template-columns:1fr}}

/* Documents list block */
.document-tools.doc-tools-inline{padding:0 0 28px}
.document-list.list-block{padding-bottom:0}
.document-list article[hidden]{display:none}
.document-list .doc-meta{font-size:0.75rem;color:#7a898c}
.document-list article>a:hover,.document-list article>a:focus-visible{background:var(--teal);color:#fff}
.doc-empty{margin:20px 0 0;color:#607074}
/* Documents: category pills (neutral until hovered or selected; both colours are chosen on the block) */
.doc-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; --dc-bg: #eceff0; --dc-text: #3b4a4e; --dc-accent: var(--teal, #168877); --dc-on: #fff; }
.doc-cats[hidden] { display: none; }
.doc-cats.dc-bg-mid { --dc-bg: #d9dfe1; --dc-text: #2f3c40; }
.doc-cats.dc-bg-white { --dc-bg: #fff; --dc-text: #3b4a4e; }
.doc-cats.dc-acc-gold { --dc-accent: var(--gold, #ffc966); --dc-on: var(--navy, #013a55); }
.doc-cats.dc-acc-blue { --dc-accent: var(--blue, #2788c8); }
.doc-cats.dc-acc-navy { --dc-accent: var(--navy, #013a55); }
.doc-cats.dc-acc-charcoal { --dc-accent: var(--ink, #333); }
html:root body .doc-cats button { border: 1px solid #cfd6d8; border-radius: 999px; padding: .5rem 1.15rem; font-size: .9375rem; font-weight: 600; line-height: 1.3; background: var(--dc-bg); color: var(--dc-text); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
html:root body .doc-cats button:is(:hover, :focus-visible), html:root body .doc-cats button.active { background: var(--dc-accent); border-color: var(--dc-accent); color: var(--dc-on); }
html:root body .doc-cats button:focus-visible { outline: 3px solid color-mix(in srgb, var(--dc-accent) 45%, transparent); outline-offset: 2px; }

/* Links block */
.link-group{margin:38px 0 14px;font-size:1.25rem}
.link-group:first-of-type{margin-top:0}
.link-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.link-card{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid #d8e7e3;border-radius:7px;padding:20px 22px;color:inherit}
.link-card:hover,.link-card:focus-visible{border-color:var(--teal);box-shadow:0 12px 30px color-mix(in srgb,var(--navy) 7%,transparent)}
.link-card img{width:56px;height:56px;flex:0 0 56px;object-fit:contain}
.link-card>span{min-width:0;display:flex;flex-direction:column}
.link-card b{font-family:var(--open);font-size:1.0625rem;color:var(--navy);overflow-wrap:anywhere}
.link-card small{color:#607074;margin-top:4px}
@media(max-width:991.98px){.link-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.link-grid{grid-template-columns:1fr}}

/* Admin Preview notice */
.preview-bar{position:sticky;top:0;z-index:300;background:#1d2730;color:#fff;font-size:0.8125rem;padding:8px 24px;text-align:center}
.preview-bar strong{background:var(--gold);color:var(--navy);padding:2px 8px;border-radius:99px;margin-right:8px;text-transform:uppercase;font-size:0.6875rem;letter-spacing:.08em}

/* ---- Contact form block ---- */
.contact-block{max-width:760px}
.contact-intro{margin-bottom:26px}
.contact-intro>:last-child{margin-bottom:0}
.contact-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.contact-form .form-label{font-weight:600;margin-bottom:6px}
.contact-form textarea{min-height:160px}
.contact-thanks{padding:24px 28px;border-left:4px solid var(--gold,#d4a017);background:#f3f8f8;border-radius:8px}
.contact-thanks strong{display:block;font-size:1.25rem;color:var(--navy,#1b2f4a)}
.contact-thanks p{margin:8px 0 0}


/* ---- Form block: layout beside text, panel colour, corners ---- */
.site-form.contact-block { max-width: none; }
.site-form.sf-size-narrow { max-width: 760px; }
.site-form .sf-text > :last-child, .site-form .sf-text .contact-intro { margin-bottom: 0; }
.site-form.sf-layout-stack .sf-text { margin-bottom: 26px; }
.site-form.sf-layout-right, .site-form.sf-layout-left { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 768px) {
  .site-form.sf-layout-right.sf-w-third  { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .site-form.sf-layout-right.sf-w-two5   { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .site-form.sf-layout-right.sf-w-half   { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-form.sf-layout-right.sf-w-three5 { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .site-form.sf-layout-left.sf-w-third   { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .site-form.sf-layout-left.sf-w-two5    { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .site-form.sf-layout-left.sf-w-half    { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-form.sf-layout-left.sf-w-three5  { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .site-form.sf-layout-left .sf-panel { grid-column: 1; grid-row: 1; }
  .site-form.sf-layout-left .sf-text  { grid-column: 2; grid-row: 1; }
}
.site-form { --sf-r: 10px; --sf-in: 6px; }
.site-form.sf-corners-square { --sf-r: 0; --sf-in: 0; }
.site-form.sf-corners-round  { --sf-r: 24px; --sf-in: 14px }
.site-form .sf-panel > :last-child { margin-bottom: 0; }
html:root body .site-form .sf-panel .form-control, html:root body .site-form .sf-panel .form-select { border-radius: var(--sf-in); }
html:root body .site-form .sf-panel .contact-form .sf-btn-half button[type=submit] { display: block; width: 50%; margin-left: auto; margin-right: auto; }
html:root body .site-form .sf-panel .contact-form .sf-btn-full button[type=submit] { display: block; width: 100%; }
@media (max-width: 575.98px) { html:root body .site-form .sf-panel .contact-form .sf-btn-half button[type=submit] { width: 100%; } }
/* Form block: compact Send button, soft see-through fields that pick up the background */
html:root body .site-form .sf-panel .contact-form button[type=submit] { padding: .6rem 1.5rem; font-size: .9375rem; line-height: 1.3; min-height: 0; }
html:root body .site-form .sf-panel :is(.form-control, .form-select) { background-color: rgba(255, 255, 255, .55); border: 1px solid rgba(1, 58, 85, .18); box-shadow: none; transition: background-color .15s, border-color .15s; }
html:root body .site-form .sf-panel :is(.form-control, .form-select):focus { background-color: rgba(255, 255, 255, .85); border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent); }
html:root body .site-form .sf-panel :is(.form-control, .form-select).is-invalid { border-color: #c0392b; }
html:root body .site-form .sf-panel .form-check-input { background-color: rgba(255, 255, 255, .7); border-color: rgba(1, 58, 85, .3); }
html:root body .site-form .sf-panel .form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel :is(.form-control, .form-select) { background-color: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: var(--sf-ink); }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel :is(.form-control, .form-select):focus { background-color: rgba(255, 255, 255, .22); border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 16px 12px; }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel .form-select option { background: #fff; color: #333; }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel .form-check-input { background-color: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .5); }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel .form-check-input:checked { background-color: var(--gold, #ffc966); border-color: var(--gold, #ffc966); }
html:root body .site-form .sf-panel :is(.form-control, .form-select)::placeholder { color: rgba(51, 51, 51, .5); opacity: 1; }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel :is(.form-control, .form-select)::placeholder { color: rgba(255, 255, 255, .6); }
/* Form block: text a little smaller than the page text */
html:root body .site-form .sf-panel { font-size: .9375rem; }
html:root body .site-form .sf-panel :is(.form-control, .form-select, .form-label, .form-check-label, legend) { font-size: .9375rem; }
html:root body .site-form .sf-panel :is(.form-control, .form-select) { padding: .5rem .75rem; }
html:root body .site-form .sf-panel .form-text, html:root body .site-form .sf-panel .invalid-feedback { font-size: .8125rem; }
html:root body .site-form .sf-panel .contact-form button[type=submit] { font-size: .875rem; }
html:root body .site-form .sf-panel .contact-thanks { border-radius: var(--sf-in); }
.site-form:not(.sf-bg-none) .sf-panel { padding: clamp(22px, 3vw, 38px); border-radius: var(--sf-r); }
.site-form.sf-bg-light .sf-panel { background: #f1f3f4; }
.site-form.sf-bg-soft .sf-panel { background: color-mix(in srgb, var(--teal) 9%, #fff); }
.site-form.sf-bg-white .sf-panel { background: #fff; border: 1px solid #d4dcde; box-shadow: 0 10px 30px color-mix(in srgb, var(--navy) 6%, transparent); }
.site-form.sf-bg-teal .sf-panel { background: var(--teal); }
.site-form.sf-bg-navy .sf-panel { background: var(--navy, #013a55); }
.site-form.sf-bg-charcoal .sf-panel { background: var(--ink, #333); }
/* Softer than pure white on the dark panels; each stays well above 4.5:1 (teal has the least room, so it is the lightest) */
.site-form.sf-bg-navy, .site-form.sf-bg-charcoal { --sf-ink: #e1e7eb; --sf-ink-2: #cfd7dc; --sf-err: #ffdede; }
.site-form.sf-bg-teal { --sf-ink: #f3f9f9; --sf-ink-2: #f3f9f9; --sf-err: #ffffff; }
.site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel { color: var(--sf-ink); }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel :is(.form-label, .form-check-label, legend) { color: var(--sf-ink); }
html:root body .site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel .form-text { color: var(--sf-ink-2); }
.site-form:is(.sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) .sf-panel :is(.text-danger, .invalid-feedback) { color: var(--sf-err) !important; }

/* ---- Testimonial blocks (design reference B19 and B20) ---- */
/* B19 — Single testimonial. Bootstrap supplies the responsive grid. */ .testimonial-block{padding:clamp(48px,6vw,80px) 0;background:#edf7f4;text-align:center}
.testimonial-block h2{margin-bottom:30px}
.testimonial-stage{padding:clamp(28px,4vw,48px);background:#fff;border:1px solid #d7e8e2;border-top:4px solid var(--teal);border-radius:12px;box-shadow:0 12px 36px color-mix(in srgb,var(--navy) 4%,transparent)}
.testimonial-item{margin:0}
.testimonial-item[hidden],.testimonial-controls[hidden]{display:none!important}
.testimonial-item blockquote{margin:0}
.testimonial-item blockquote p{font-family:var(--lora);font-size:clamp(1.0625rem,1.5vw,1.25rem);line-height:1.6;color:var(--navy);margin:0}
.testimonial-item figcaption{margin-top:26px;display:flex;flex-direction:column;gap:4px}
.testimonial-item figcaption strong{color:var(--teal);font-size:0.9375rem}
.testimonial-item figcaption span{color:#596c71;font-size:0.8125rem}
.testimonial-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:24px}
.testimonial-controls button{width:44px;height:44px;border:1px solid var(--teal);border-radius:50%;background:#fff;color:var(--teal);font-size:1.25rem}
.testimonial-controls button:hover{background:var(--teal);color:#fff}
.testimonial-controls button:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.testimonial-position{font-size:0.8125rem;color:#52676c;min-width:55px}
/* B20 — Two testimonials. Bootstrap provides columns, gutters and equal height. */ .testimonial-pair{padding:clamp(48px,6vw,80px) 0;background:#f6faf9}
.testimonial-pair-heading{text-align:center;margin-bottom:36px}
.testimonial-pair-card{display:flex;flex-direction:column;margin:0;padding:clamp(28px,3vw,40px);background:#fff;border:1px solid #d7e8e2;border-top:4px solid var(--teal);border-radius:12px;box-shadow:0 12px 36px color-mix(in srgb,var(--navy) 4%,transparent)}
.testimonial-pair-card blockquote{margin:0 0 28px}
.testimonial-pair-card blockquote p{font-family:var(--lora);font-size:clamp(1.0625rem,1.5vw,1.25rem);line-height:1.6;color:var(--navy);margin:0}
.testimonial-pair-card figcaption{margin-top:auto;padding-top:20px;border-top:1px solid #e2ece8;display:flex;flex-direction:column;gap:4px}
.testimonial-pair-card figcaption strong{color:var(--teal);font-size:0.9375rem}
.testimonial-pair-card figcaption span{color:#596c71;font-size:0.8125rem}

/* ---- Interior blocks: small additions to the design CSS ---- */
.values-band .values-title{color:#fff;margin:14px 0 40px}
.about-story.story-flip .about-photo{order:2}
.event-feature.no-photo{grid-template-columns:1fr}
.opportunity-grid label{display:flex;align-items:center;gap:10px;cursor:pointer}
.opportunity-grid input[type=checkbox]{width:20px;height:20px;accent-color:var(--teal)}
.about-story.no-photo{grid-template-columns:1fr}

/* Headings 4 to 6 inside article text (headings 2 and 3 are in the design CSS) */
.article-content h4,.article-content h5,.article-content h6{margin:28px 0 12px}
.article-content h4{font-size:1.25rem}
.article-content h5{font-size:1.1rem}
.article-content h6{font-size:1rem;text-transform:uppercase;letter-spacing:.06em}

/* Links set to open in a new window/tab (class added when the text is saved and shown) */
a.external-window::after {
    content: "\2197";
    content: "\2197" / " (opens in a new window)";
    display: inline-block;
    margin-left: .2em;
    font-size: .8em;
    text-decoration: none;
}

/* Pull quote (text editor): indented both sides, larger, grey lines above and below */
blockquote.pullquote {
    margin: 2rem 2.5rem;
    padding: 1.25rem 0;
    border: 0;
    border-top: 3px solid #bdbdbd;
    border-bottom: 3px solid #bdbdbd;
    background: none;
    text-align: center;
    font-family: var(--lora);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    line-height: 1.5;
    color: #404040;
}
blockquote.pullquote p { margin: 0; }
@media (max-width: 575.98px) { blockquote.pullquote { margin-left: 1rem; margin-right: 1rem; } }
.article-content img, .block-text img { max-width: 100%; height: auto; }
p > img { max-width: 100%; height: auto; }

/* Pictures placed in text: no wrapping by default; left/right wrap on request (not on phones) */
.article-content, .block-text { display: flow-root; }
img.img-left  { float: left;  margin: .25rem 1.5rem 1rem 0; }
img.img-right { float: right; margin: .25rem 0 1rem 1.5rem; }
@media (max-width: 575.98px) { img.img-left, img.img-right { float: none; display: block; margin: 0 0 1rem; } }

/* Embedded maps and videos placed in text */
.article-content iframe, .block-text iframe, .page-block iframe[src*="google.com/maps"], .page-block iframe[src*="youtube-nocookie.com"] { display: block; width: 100%; height: 450px; border: 0; margin: 0 0 1.5rem; }
iframe[src*="youtube-nocookie.com"] { height: auto !important; aspect-ratio: 16 / 9; }
@media (max-width: 575.98px) { .article-content iframe[src*="google.com/maps"], .page-block iframe[src*="google.com/maps"] { height: 320px; } }
.preview-bar a{color:#fff;margin-left:14px;text-decoration:underline}

/* Two-column rows placed in text use the Bootstrap grid: row g-4 > col-12 col-md-6 (stacks below 768px). Only touches here. */
.article-content .row > [class*="col-"] > :last-child { margin-bottom: 0; }
.article-content .row img { display: block; max-width: 100%; height: auto; }
.article-content .row iframe { width: 100%; height: 360px; margin: 0; }
.article-content .row iframe[src*="youtube-nocookie.com"] { height: auto !important; aspect-ratio: 16 / 9; }
.article-content .row { margin-bottom: 1.5rem; }

/* Caption style (editor button "Caption"): smaller, italic */
p.text-caption { font-size: .875rem; font-style: italic; line-height: 1.45; }
/* Large text (editor style): bigger than the body text to catch the eye. 1.5rem = Bootstrap fs-4; use 1.75rem for fs-3. */
p.text-large, .content-template .article-content p.text-large, .content-template .article-aside p.text-large { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.5rem); line-height: 1.4; }

/* Share this page (includes/partials/share.php): monotone round buttons in a soft tone (--c-share, set in blockstyles.css) */
.share-this { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 2rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--c-border, #d9e2e0); }
.share-label { font-weight: 700; color: var(--c-text, #404040); }
.share-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.share-link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0; border: 1.5px solid var(--c-share, #6a9c94); border-radius: 21px; background: transparent; color: var(--c-share, #6a9c94); font: 600 13px/1 "Open Sans", Arial, sans-serif; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.share-link.share-text { padding: 0 14px; }
.share-link:hover, .share-link:focus-visible { background: var(--c-share-wash, #e7f1ef); color: var(--c-primary, #168877); text-decoration: none; }
.share-icon { width: 20px; height: 20px; display: block; }
.share-this .share-list li { margin: 0; padding: 0; list-style: none; }
.share-this .share-list li::before { content: none; }
.share-this .share-link { border-bottom-width: 1.5px; }
.share-status { font-size: .875rem; color: var(--c-text, #404040); }
.share-this.on-dark { border-top-color: rgba(255, 255, 255, .35); }
.share-this.on-dark .share-label, .share-this.on-dark .share-status { color: #fff; }
.share-this.on-dark .share-link { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .55); }
.share-this.on-dark .share-link:hover, .share-this.on-dark .share-link:focus-visible { background: rgba(255, 255, 255, .15); color: #fff; }

/* Tags in the news "About this story" panel */
.article-aside .tag-chips .tag-chip { display: inline-block; margin: 6px 6px 0 0; padding: 2px 11px; border: 1px solid var(--c-border, #d8e5e1); border-radius: 999px; background: var(--c-wash, var(--c-wash)); font-size: .8125rem; line-height: 1.6; color: var(--c-text, #404040); }

/* Signature event page: the "Event details (next event)" block */
.event-details .event-details-body { margin: 1.5rem 0; }
.event-details .event-details-body > :last-child { margin-bottom: 0; }
.event-details-empty { padding: 60px 0; }
.event-details-empty .lead { color: var(--c-text-muted, #5c6c70); margin: 0; }

/* ---- Likes (news, events, photos) ---- */
.like-box { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 2rem 0 1rem; }
.like-box[hidden] { display: none; }
.like-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--c-share, #6a9c94); border-radius: 21px; background: transparent; color: var(--c-share, #6a9c94); font: 600 14px/1 "Open Sans", Arial, sans-serif; cursor: pointer; transition: background-color .15s, color .15s; }
.like-btn:hover:not(:disabled), .like-btn:focus-visible { background: var(--c-share-wash, #e7f1ef); color: var(--c-primary, #168877); }
.like-btn:disabled { opacity: .6; cursor: default; }
.like-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.like-btn[aria-pressed="true"] { background: var(--c-share-wash, #e7f1ef); color: var(--c-primary, #168877); }
.like-btn[aria-pressed="true"] .like-icon { fill: currentColor; }
.like-count { font-size: 0.875rem; color: var(--c-text, #404040); }
.lightbox .like-box { margin: .75rem 0 0; justify-content: center; }
.lightbox .like-btn, .lightbox .like-count { color: #fff; }
.lightbox .like-btn { border-color: rgba(255, 255, 255, .7); }
.lightbox .like-btn:hover:not(:disabled), .lightbox .like-btn:focus-visible, .lightbox .like-btn[aria-pressed="true"] { background: rgba(255, 255, 255, .18); color: #fff; }

/* Promotions block: picture beside text (alternating sides) or picture only with a hover message. */
.promos { display: grid; gap: 56px; }
.promo-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: stretch; }
.promo-split.promo-flush { gap: 0; }   /* picture and coloured text panel sit edge to edge */
.promo-split.promo-right .promo-figure { order: 2; }
.promo-split.promo-nopicture { grid-template-columns: minmax(0, 1fr); }
.promo-figure { position: relative; }
.promo-figure::before { content: ""; display: block; padding-top: var(--promo-ratio, 75%); }   /* the picture's shape is its minimum height */
.promo-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.promo-full img { display: block; width: 100%; height: auto; }   /* full-width pictures show whole, uncropped */
.promos-ratio-16x9 { --promo-ratio: 56.25%; }
.promos-ratio-1x1 { --promo-ratio: 100%; }
.promo-body { display: flex; flex-direction: column; justify-content: center; }
.promo-body.promo-panel { padding: clamp(28px, 4vw, 56px); }
.promo-split.block-box { align-items: center; }
.promo-split.block-box .promo-figure { align-self: center; }
.bg-primary-site .promo-cta-primary { background: var(--c-primary-text); color: var(--c-primary); }
.promo-body .promo-title { margin: 0 0 14px; }
.promo-body p { margin: 0 0 14px; }
.promo-body .promo-actions { margin: 24px 0 0; }
.promo-cta-outline { display: inline-flex; align-items: center; border: 2px solid currentColor; border-radius: 999px; padding: 13px 21px; font-weight: 700; color: inherit; text-decoration: none; }
.promo-cta-outline:hover { background: rgba(0, 0, 0, .06); }
.promo-cta-link { font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.promo-frame { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.promo-hover { position: absolute; inset: auto 0 0 0; padding: 20px 22px; font-size: 1.125rem; line-height: 1.4; background: var(--c-overlay, #012b3dde); color: #fff; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.promo-frame:hover .promo-hover, .promo-frame:focus-visible .promo-hover, .promo-frame:focus-within .promo-hover { opacity: 1; transform: none; }
@media (hover: none) { .promo-hover { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .promo-split { grid-template-columns: minmax(0, 1fr); }
  .promo-split.promo-right .promo-figure { order: 0; }
}

/* ---- News landing block -------------------------------------------------------------------------- */
.news-landing section + section { margin-top: 64px; }
.news-latest-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 36px; align-items: start; }
.news-lead-image { display: block; }
.news-lead-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-lead-body h3 { font-size: 2.25rem; margin: 14px 0; }
.news-lead-body h3 a { color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.news-lead-body h3 a:hover, .news-lead-body h3 a:focus-visible { color: var(--teal); }
.news-compact-list { display: grid; gap: 22px; }
.news-compact { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--c-border, #d8e5e1); }
.news-compact:last-child { border-bottom: 0; padding-bottom: 0; }
.news-compact:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.news-compact img { display: block; width: 120px; height: 90px; object-fit: cover; }
.news-compact h3 { font-size: 1.25rem; margin: 6px 0 0; }
.news-compact h3 a { color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.news-compact h3 a:hover, .news-compact h3 a:focus-visible { color: var(--teal); }
.news-likes { display: inline-flex; align-items: center; gap: 6px; margin: 8px 14px 0 0; font-size: .875rem; color: var(--c-text, #404040); }
.news-likes .like-icon { width: 16px; height: 16px; }
.news-seeall { margin: 26px 0 0; font-weight: 600; }
.news-back { margin: 0 0 22px; }
.news-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--c-border, #d8e5e1); }
@media (max-width: 800px) {
  .news-latest-grid { grid-template-columns: minmax(0, 1fr); }
  .news-lead-body h3 { font-size: 1.75rem; }
}
.news-lead-body { padding-top: 18px; }
.news-lead .tag, .news-compact .tag { font-weight: 600; color: var(--teal); }
.news-lead time, .news-compact time { margin-left: 10px; font-size: .8125rem; color: var(--c-muted, #6b6b6b); }

/* ---- Events landing block ------------------------------------------------------------------------ */
.events-landing > * + *, .events-landing section + section { margin-top: 64px; }
.el-top { display: block; }
.el-top > section { margin-top: 0 !important; }
.el-top.has-side { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.el-panel { padding: clamp(20px, 3vw, 32px); }
.el-panel .list-block-head { margin-bottom: 18px; }
/* The event rows stay white cards whatever colour the panel behind them is, so the Event list styling carries over. */
html:root body .el-panel .event-list a:not(.primary) { color: var(--teal); text-decoration: none; }
html:root body .el-panel .event-list :is(h3, h4) { color: var(--navy); }
html:root body .el-panel .event-list .event-summary, html:root body .el-panel .event-list .event-info p { color: var(--c-text-muted, #5f6f6c); }
html:root body .el-panel .list-block-head :is(h2, p) { color: inherit; }
/* Beside the annual events the rows are narrower: the date, the title and Details sit on one line, the summary under the title. */
.el-top.has-side .event-list article { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px 22px; padding: 18px 20px; }
.el-top.has-side .event-list .event-date { grid-row: 1 / span 2; }
.el-top.has-side .event-list .event-info { grid-column: 2; grid-row: 1; }
.el-top.has-side .event-list article > a { grid-column: 3; grid-row: 1; align-self: start; }
.el-top.has-side .event-list .event-summary { grid-column: 2 / -1; grid-row: 2; margin: 0; }
/* Annual events in the side column: small horizontal cards. */
.el-top.has-side.has-panel > .events-annual { padding-top: clamp(20px, 3vw, 32px); }
.events-annual.is-side .list-block-head { margin-bottom: 16px; }
.events-annual.is-side .list-block-head h2 { font-size: 1.5rem; }
.events-annual.is-side .signature-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.events-annual.is-side .signature-card { flex-direction: row; align-items: stretch; }
.events-annual.is-side .signature-image { flex: 0 0 38%; }
.events-annual.is-side .signature-image img { height: 100%; aspect-ratio: auto; min-height: 120px; }
.events-annual.is-side .signature-body { padding: 14px 16px; }
.events-annual.is-side .signature-body h3 { font-size: 1.125rem; margin: 6px 0 4px; }
@media (max-width: 991.98px) { .el-top.has-side { display: block; } .el-top.has-side > section + section { margin-top: 48px !important; } }
.next-event { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.next-event.no-photo { grid-template-columns: minmax(0, 1fr); }
.next-event-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.next-event-body h3 { font-size: 2.25rem; margin: 10px 0 14px; }
.next-event-body .event-quick { margin: 24px 0; }
.signature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.signature-card { display: flex; flex-direction: column; border: 1px solid var(--c-border, #d8e5e1); background: #fff; }
.signature-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.signature-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; border-top: 4px solid var(--teal); }
.signature-body h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.signature-body h3 a { color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.signature-body h3 a:hover, .signature-body h3 a:focus-visible { color: var(--teal); }
.signature-body p { margin: 0 0 8px; }
.signature-body .news-card-more { margin-top: auto; padding-top: 10px; }
.signature-status { align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border: 1px solid var(--teal); color: var(--teal); }
.signature-status.is-on { background: var(--teal); color: #fff; }
.signature-next { font-size: .9375rem; }
.events-month { font-size: 1.25rem; margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--teal); }
.events-month:first-of-type { margin-top: 0; }
.event-list article .event-info h4 { font-size: 1.25rem; margin: 6px 0; }
@media (max-width: 800px) {
  .next-event { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .next-event-body h3 { font-size: 1.75rem; }
}

/* ---- FAQ landing block --------------------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 60px; align-items: start; }
.faq-index { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 6px; }
.faq-index nav { display: flex; flex-direction: column; gap: 6px; }
html:root body .faq-index .eyebrow { display: block; margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); opacity: 1; visibility: visible; }
.faq-index nav a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--c-border, #d8e5e1); background: #fff; color: var(--c-text, #404040); text-decoration: none; font-weight: 600; }
.faq-index nav a span { font-size: .8125rem; color: var(--teal); }
.faq-index nav a:hover, .faq-index nav a:focus-visible { border-color: var(--teal); color: var(--teal); }
.faq-index nav a.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.faq-index nav a.active span { color: #fff; }
.faq-help { margin-top: 22px; padding: 22px; background: var(--c-wash, var(--c-wash)); border-left: 4px solid var(--teal); }
.faq-help b { display: block; margin-bottom: 4px; }
.faq-help p, .faq-help .faq-help-text { margin: 0 0 10px; font-size: .9375rem; }
.faq-help .faq-help-text p { margin: 0 0 8px; }
.faq-help .faq-help-text > :last-child { margin-bottom: 0; }
.faq-help .faq-help-text ul, .faq-help .faq-help-text ol { margin: 0 0 8px; padding-left: 1.25rem; }
.faq-help .faq-help-link { font-weight: 600; }
.faq-intro { padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--c-border, #d8e5e1); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.faq-js .faq-group { display: none; }
.faq-layout details[hidden] { display: none; }
@media (max-width: 800px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-index { position: static; }
  .faq-index nav { flex-direction: row; flex-wrap: wrap; }
  .faq-index .eyebrow { flex: 0 0 100%; }
  .faq-list details > div { padding-left: 0; padding-right: 0; }
}

/* ---- Section landing template -------------------------------------------------------------------- */
.section-tiles { background: #fff; padding: 0 0 30px; }
/* folder tabs hanging down from the banner: flat top against the banner edge, rounded bottom corners */
.section-tiles ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.section-tiles li { display: flex; flex: 0 1 auto; }
.section-tiles a { box-sizing: border-box; display: block; padding: 11px 22px 13px; background: var(--c-green-wash); color: var(--navy, #013a55); text-decoration: none; border-radius: 0 0 12px 12px;   /* the banner's own colour, so each tab reads as part of it */ transition: background .15s, color .15s, box-shadow .15s; }
.section-tiles a b { font-size: .9375rem; font-weight: 700; line-height: 1.25; color: inherit; letter-spacing: .01em; }
.section-tiles a span, .section-tiles a i { display: none; }   /* tabs show the title only */
.section-tiles a:hover, .section-tiles a:focus-visible { background: var(--gold, #ffc966); color: var(--navy, #013a55); box-shadow: 0 6px 0 var(--gold, #ffc966); }   /* the tab pulls down a little: drawn outside the layout, so nothing below moves */
.section-tiles a:focus-visible { outline: 3px solid var(--navy, #013a55); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .section-tiles a { transition: none; } }
@media (max-width: 600px) { .section-tiles a { padding: 9px 14px 11px; } .section-tiles a:hover, .section-tiles a:focus-visible { box-shadow: 0 4px 0 var(--gold, #ffc966); } }

/* ---- Signature event page template --------------------------------------------------------------- */
.event-page .event-detail-hero { position: relative; overflow: hidden; background: var(--navy, #12394a); color: #fff; padding: 64px 0 72px; }
.event-page .event-detail-hero > .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: center; }
.event-page .event-detail-hero.has-photo { padding: 0; }
.event-page .event-detail-hero.has-photo > .wrap { padding-top: 175px; padding-bottom: 185px; }
.event-page .event-detail-hero.has-photo > .wrap > div:not(.event-detail-fade) { position: relative; z-index: 1; padding-left: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
/* No decorative circles or shapes on this banner (whatever the older design styles add: pseudo-elements, background gradients, orbs) */
.event-page .event-detail-hero { background: var(--navy, #12394a) url("../../images/waves.svg") center bottom / cover no-repeat !important; }
.event-page .event-detail-hero *::before, .event-page .event-detail-hero *::after { content: none !important; display: none !important; }
.event-page .event-detail-hero .page-orb, .event-page .event-detail-hero [class*="orb"], .event-page .event-detail-hero [class*="circle"], .event-page .event-detail-hero [class*="shape"] { display: none !important; }
.event-page .event-detail-hero > .wrap > div, .event-page .event-detail-hero > .wrap { background-image: none !important; }
.event-page .event-detail-hero::before, .event-page .event-detail-hero > .wrap::before, .event-page .event-detail-hero > .wrap::after, .event-page .event-poster::before, .event-page .event-poster::after { content: none !important; display: none !important; }
.event-page .event-detail-hero::after { content: none !important; display: none !important; }
.event-page .event-detail-photo { z-index: 0; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-page .event-detail-fade { position: absolute; inset: 0; border-radius: 0; background: linear-gradient(90deg, rgba(10, 30, 42, .58) 0%, rgba(10, 30, 42, .36) 55%, rgba(10, 30, 42, .12) 100%); }
.event-page .event-detail-hero.has-photo h1, .event-page .event-detail-hero.has-photo p, .event-page .event-detail-hero.has-photo .eyebrow, .event-page .event-detail-hero.has-photo .back-link { text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .35); }
.event-page .event-detail-hero h1 { color: #fff; margin: 8px 0 14px; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.event-page .event-detail-hero p { color: #fff; max-width: 680px; font-size: 1.125rem; }
.event-page .event-detail-hero .eyebrow { color: var(--gold, #e8b84a); }
.event-page .back-link { display: block; margin-bottom: 18px; color: #fff; font-size: .9375rem; }
.event-page .event-detail-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.event-page .primary.gold { background: var(--gold, #e8b84a); border-color: var(--gold, #e8b84a); color: var(--navy, #12394a); }
.event-page .outline-light { display: inline-block; padding: 12px 22px; border: 2px solid rgba(255, 255, 255, .8); color: #fff; font-weight: 600; text-decoration: none; }
.event-page .outline-light:hover, .event-page .outline-light:focus-visible { background: #fff; color: var(--navy, #12394a); }
.event-page .event-poster { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 24px; background: var(--navy, #12394a); color: #fff; border: 2px solid var(--gold, #e8b84a); border-radius: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.event-page .event-poster span { font-size: 1rem; font-weight: 700; letter-spacing: .2em; color: var(--gold, #e8b84a); }
.event-page .event-poster strong { font-size: 4.5rem; line-height: 1; margin: 4px 0; }
.event-page .event-poster strong.tba { font-size: 1.5rem; line-height: 1.2; }
.event-page .event-poster small { font-size: 1rem; letter-spacing: .15em; }
.event-page .event-poster hr { width: 60%; margin: 16px 0; border-color: rgba(255, 255, 255, .5); opacity: 1; }
.event-page .event-poster b { font-size: 1rem; }
.event-page .event-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: -28px; position: relative; z-index: 2; background: #fff; border: 1px solid var(--c-border, #d8e5e1); box-shadow: 0 8px 24px rgba(10, 30, 42, .08); }
.event-page .event-meta > div { padding: 22px 26px; border-left: 1px solid var(--c-border, #d8e5e1); }
.event-page .event-meta > div:first-child { border-left: 0; }
.event-page .event-meta span { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 4px; }
.event-page .event-meta strong { color: var(--navy, #12394a); }
.event-page .event-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 56px; }
.event-page .event-side { position: sticky; top: 24px; }
.event-page .registration-card { padding: 30px; background: var(--navy, #12394a); color: #fff; }
.event-page .registration-card h2 { color: #fff; font-size: 1.5rem; margin: 6px 0 12px; }
.event-page .registration-card p { color: #fff; }
.event-page .registration-card .eyebrow { color: var(--gold, #e8b84a); }
.event-page .registration-card hr { border-color: rgba(255, 255, 255, .35); opacity: 1; margin: 22px 0; }
.event-page .registration-card .reg-address { margin: 12px 0 0; font-size: .9375rem; word-break: break-all; }
.event-page .registration-card a:not(.primary) { color: #fff; text-decoration: underline; }
@media (min-width: 901px) { .event-page .event-body-more { grid-template-columns: minmax(0, 1fr); } }
/* Space above / below between the blocks of an Annual event page */
.event-page .event-body-more { padding-top: 72px; }
html:root .event-page .event-body-more.bs-none { padding-top: 0; }
html:root .event-page .event-body-more.bs-tight { padding-top: 24px; }
html:root .event-page .event-body-more.bs-medium { padding-top: 56px; }
html:root .event-page .event-body-more.bs-large { padding-top: 104px; }
/* The section above gives up its bottom padding only when the block after it asks to sit closer (None / Tight); Medium and Large just add space below it. */
html:root .event-page :is(.event-body, .event-body-more):has(+ :is(.bs-none, .bs-tight)) { padding-bottom: 0; }
@media (max-width: 900px) {
  .event-page .event-detail-hero.has-photo > .wrap { padding-top: 90px; padding-bottom: 100px; }
  .event-page .event-detail-hero > .wrap, .event-page .event-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .event-page .event-poster { max-width: 280px; }
  .event-page .event-side { position: static; }
  .event-page .event-meta { margin-top: 0; }
  .event-page .event-meta > div { border-left: 0; border-top: 1px solid var(--c-border, #d8e5e1); }
  .event-page .event-meta > div:first-child { border-top: 0; }
}

/* Featured posts and pages under the registration box (Annual event page) */
.event-page .related-card { margin-top: 24px; border: 1px solid var(--c-border, #d8e5e1); background: #fff; }
.event-page .related-post { padding: 0 0 20px; border-bottom: 1px solid var(--c-border, #d8e5e1); }
.event-page .related-post:last-child { border-bottom: 0; }
.event-page .related-post img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.event-page .related-post h3 { margin: 14px 22px 0; font-size: 1.2rem; }
.event-page .related-links { list-style: none; margin: 0; padding: 18px 22px; }
.event-page .related-links li + li { margin-top: 8px; }
.event-page .related-post + .related-links { border-top: 1px solid var(--c-border, #d8e5e1); }

/* ---- Footer social links (from Site Settings) ---------------------------------------------------- */
footer .footer-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
footer .footer-social li { margin: 0; }
footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid currentColor; border-radius: 999px; color: inherit; font-size: .8125rem; font-weight: 600; text-decoration: none; }
footer .footer-social a:has(.social-icon) { padding: 0; width: 40px; }
footer .footer-social .social-icon { width: 18px; height: 18px; fill: currentColor; }
footer .footer-social a { transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
footer .footer-social a:hover, footer .footer-social a:focus-visible { background: var(--gold, #e8b84a); border-color: var(--gold, #e8b84a); color: var(--navy, #12394a); transform: translateY(2px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18); }
footer .footer-social a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { footer .footer-social a { transition: none; } footer .footer-social a:hover { transform: none; } }

/* ---- Banner 2: standard banner, with the page picture in the blue area on the right (same diagonal) -- */
.page-hero.has-photo .page-orb { display: none; }
.page-hero-photo { position: absolute; inset: 0; z-index: 0;
  -webkit-mask-image: linear-gradient(115deg, transparent 0 70%, #000 70%); mask-image: linear-gradient(115deg, transparent 0 70%, #000 70%); }
/* A band of the banner's own light green along the diagonal, see-through so the picture shows behind it.
   --band-w is how wide it is, --band-a how solid it is (0 to 1). */
.page-hero-photo { --band-w: 17px; --band-a: .6; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(238, 248, 245, var(--band-a));
  -webkit-mask-image: linear-gradient(115deg, transparent 0 70%, #000 70% calc(70% + var(--band-w)), transparent calc(70% + var(--band-w)));
  mask-image: linear-gradient(115deg, transparent 0 70%, #000 70% calc(70% + var(--band-w)), transparent calc(70% + var(--band-w))); }
.page-hero-photo img { position: absolute; top: 0; right: 0; width: 36%; height: 100%; object-fit: cover; }
.page-hero.has-photo { box-sizing: border-box; min-height: 340px; display: flex; align-items: center; }
.page-hero.has-photo > .wrap { z-index: 1; }
@media (min-width: 901px) { .page-hero.has-photo > .wrap > * { max-width: min(640px, 62%); } }
@media (max-width: 900px) { .page-hero-photo { display: none; } }

/* ---- Alert banner (above the top bar) ------------------------------------------------------------ */
.alert-bar { background: var(--navy, #013a55); color: #fff; font-size: .8125rem; line-height: 1.35; padding: 7px 0; }
.alert-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; text-align: center; }
.alert-bar-new { background: var(--gold, #ffc966); color: var(--navy, #013a55); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.alert-bar-text { color: #fff; }
.alert-bar-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.alert-bar-link:hover { color: var(--gold, #ffc966); }
.alert-bar-link:focus-visible { outline: 2px solid var(--gold, #ffc966); outline-offset: 2px; }

/* ---- Buttons keep their own text colour inside content areas (not the content link colour) --------- */
.content-template .article-content a.primary, .article-content a.primary, .text-block a.primary, .faq-list a.primary,
.content-template .article-content a.outline-light, .article-content a.outline-light, .text-block a.outline-light { color: #fff; text-decoration: none; }
.content-template .article-content a.primary.gold, .article-content a.primary.gold, .text-block a.primary.gold { color: var(--navy, #013a55); }
.content-template .article-content a.primary:hover, .article-content a.primary:hover, .text-block a.primary:hover,
.content-template .article-content a.primary:focus-visible, .article-content a.primary:focus-visible, .text-block a.primary:focus-visible { color: #fff; text-decoration: none; }
.content-template .article-content a.primary.gold:hover, .article-content a.primary.gold:hover, .text-block a.primary.gold:hover { color: var(--navy, #013a55); }

/* ---- Banner card (a block; on Standard pages it lifts up over the bottom of the banner) ----------- */
.bg-navy-site { background: var(--navy, #013a55); color: #fff; }
.bg-charcoal-site { background: var(--ink, #333); color: #fff; }
.bg-charcoal-site :is(h1,h2,h3,h4,h5,h6){color:#fff}
.bg-charcoal-site .eyebrow{color:var(--gold,#ffc966)}
.bg-charcoal-site a:not(.primary):not(.text-button):not(.news-card-more){color:var(--gold,#ffc966);text-decoration:underline;text-underline-offset:3px}
/* The picture runs edge to edge across the top (or bottom) of the card; --bc-pad is the card's own padding. */
.banner-card { --bc-pad: clamp(24px, 3vw, 34px); border-radius: 12px; padding: var(--bc-pad); box-shadow: 0 24px 60px rgba(1, 58, 85, .22); }
.banner-card.has-photo > .banner-card-photo { margin: calc(-1 * var(--bc-pad)) calc(-1 * var(--bc-pad)) 22px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px 12px 0 0; }
.banner-card.has-photo > .banner-card-photo.bcp-bottom { margin: 22px calc(-1 * var(--bc-pad)) calc(-1 * var(--bc-pad)); border-radius: 0 0 12px 12px; }
.banner-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-card.bg-none { box-shadow: none; }
.banner-card:not(.has-style) { background: var(--navy, #013a55); color: #fff; }
.banner-card > :first-child { margin-top: 0; }
.banner-card > :last-child { margin-bottom: 0; }
.banner-card .eyebrow { font-size: 0.6875rem; margin-bottom: 10px; }
.banner-card h2 { font-size: 1.5rem; margin: 0 0 14px; }
.banner-card-body { font-size: .875rem; line-height: 1.6; }
.banner-card-body p { margin: 0 0 12px; }
.banner-card-body a { font-weight: 700; text-decoration: none; }
.banner-card-body a:hover, .banner-card-body a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.banner-card-body hr { border: 0; border-top: 1px solid currentColor; opacity: .25; margin: 20px 0; }
.banner-card-body h3, .banner-card-body h4 { font-family: var(--open, "Open Sans", Arial, sans-serif); font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; }
.banner-card-button { margin: 18px 0 0; }
.banner-card-button a.primary { padding: 9px 18px; font-size: .8125rem; gap: 8px; transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; }
.banner-card-button a.primary:hover, .banner-card-button a.primary:focus-visible { background: #fff; color: var(--navy, #013a55); transform: translateY(2px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18); }
.banner-card-button a.primary:focus-visible { outline: 3px solid var(--gold, #ffc966); outline-offset: 2px; }
/* on light cards the button turns dark blue instead */
.banner-card.bg-none .banner-card-button a.primary:hover, .banner-card.bg-light-grey .banner-card-button a.primary:hover, .banner-card.bg-light-green .banner-card-button a.primary:hover,
.banner-card.bg-none .banner-card-button a.primary:focus-visible, .banner-card.bg-light-grey .banner-card-button a.primary:focus-visible, .banner-card.bg-light-green .banner-card-button a.primary:focus-visible { background: var(--navy, #013a55); color: #fff; }
@media (prefers-reduced-motion: reduce) { .banner-card-button a.primary { transition: none; } .banner-card-button a.primary:hover { transform: none; } }
/* dark cards: white text, gold accents */
.banner-card:not(.has-style) h2, .banner-card:is(.bg-navy-site,.bg-charcoal-site) h2, .banner-card:not(.has-style) h3, .banner-card:is(.bg-navy-site,.bg-charcoal-site) h3, .banner-card:not(.has-style) h4, .banner-card:is(.bg-navy-site,.bg-charcoal-site) h4 { color: #fff; }
.banner-card:not(.has-style) .eyebrow, .banner-card:is(.bg-navy-site,.bg-charcoal-site) .eyebrow { color: #fff; opacity: .85; }
.banner-card:not(.has-style) .banner-card-body, .banner-card:is(.bg-navy-site,.bg-charcoal-site) .banner-card-body { color: rgba(255, 255, 255, .88); }
.banner-card:not(.has-style) .banner-card-body a, .banner-card:is(.bg-navy-site,.bg-charcoal-site) .banner-card-body a { color: var(--gold, #ffc966); }
/* light cards: dark text, teal links */
.banner-card.bg-none .banner-card-body a, .banner-card.bg-light-grey .banner-card-body a, .banner-card.bg-light-green .banner-card-body a { color: var(--teal, #168877); }
/* lifted over the banner: Standard template, large screens */
.has-banner-card .banner-card-slot { position: relative; z-index: 5; }
@media (min-width: 992px) {
  .has-banner-card { --card-lift: 150px; --card-top: 110px; }
  .has-banner-card .article-shell > .banner-card-slot { align-self: flex-start; margin-top: calc(var(--bs-gutter-y, 3rem) - var(--card-lift)); }
  .has-banner-card .page-hero .wrap > * { max-width: min(640px, 62%); }
}

/* ---- Banner 3: buttons that jump down the page ---------------------------------------------------- */
.page-hero-jumps { margin-top: 28px; }
.page-hero-jumps ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.page-hero-jumps li { margin: 0; }
.page-hero-jumps a { display: inline-block; background: #fff; border: 1px solid color-mix(in srgb, var(--teal, #168877) 45%, transparent); border-radius: 999px; padding: 9px 18px; color: var(--navy, #013a55); font-family: var(--open, "Open Sans", Arial, sans-serif); font-size: .8125rem; font-weight: 700; line-height: 1.2; text-decoration: none; box-shadow: 0 2px 6px rgba(1, 58, 85, .06); transition: background-color .2s, color .2s, border-color .2s; }
.page-hero-jumps a:hover, .page-hero-jumps a:focus-visible { background: var(--teal, #168877); border-color: var(--teal, #168877); color: #fff; }
.page-hero-jumps a:focus-visible { outline: 3px solid var(--navy, #013a55); outline-offset: 2px; }
main [id] { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: reduce) { .page-hero-jumps a { transition: none; } }

/* Banner card on templates made of full-width bands (Full-width, Section landing) */
.banner-card-row .section-tiles .wrap { width: auto; }
.banner-card-row .section-tiles { padding-top: 0; }
/* the card floats right; text wraps beside it, then runs full width underneath */
.banner-card-row .article-shell { padding-bottom: 40px; display: flow-root; }
.banner-card-flow .article-content::after { display: none; }
.banner-card-flow .banner-card-text { display: block; }   /* plain text wraps around the card */
.banner-card-flow .banner-card-text.block-box { display: flow-root; }   /* a coloured box stays beside it instead */
.banner-card-flow .section-tiles { display: flow-root; }
@media (min-width: 992px) {
  .banner-card-flow > .banner-card-slot { float: right; width: calc(33.333% - 1rem); margin: calc(var(--bs-gutter-y, 3rem) - var(--card-lift)) 0 28px 3rem; }
}
@media (max-width: 991.98px) { .banner-card-flow > .banner-card-slot { margin-bottom: 28px; } }

/* Progress scale: marks sit at their true place along the bar (round numbers, not equal slices of the goal) */
.progress-card .ticks { display: block; position: relative; height: 1.5em; margin-top: 6px; }
.progress-card .ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.progress-card .ticks span:first-child { transform: none; }
.progress-card .ticks span:last-child { transform: translateX(-100%); font-weight: 700; }   /* the goal label ("$11M build goal") is bold */
@media (max-width: 575.98px) { .progress-card .ticks span:nth-child(even):not(:last-child) { display: none; } }

/* Ways to give: the sub-title sits under the heading, full width */
.donation-choices .gifts-sub { margin: 14px 0 0; max-width: none; }
.gift-card .gift-number, .gift-featured .gift-number { border-bottom: 0; padding-bottom: 0; margin-bottom: 16px; }   /* no rule under the number */

/* ---- Cards block: light or dark (from the Container style), accent colour, card look ------------------------------ */
.card-grid { --cg-accent: var(--teal, #168877); --cg-on-accent: #fff; --cg-card: #fff; --cg-border: rgba(1, 58, 85, .12); --cg-head: var(--navy, #013a55); --cg-text: #4b5b60; --cg-eyebrow: var(--teal, #168877); }
.cg-accent-gold { --cg-accent: var(--gold-dark); --cg-on-accent: var(--navy, #013a55); }
.cg-accent-blue { --cg-accent: var(--blue, #2788c8); }
.cg-accent-navy { --cg-accent: var(--navy, #013a55); }
.cg-accent-gold.cg-look-filled { --cg-accent: var(--gold, #ffc966); }
.cg-dark { --cg-accent: #a6ebdd; --cg-on-accent: var(--navy, #013a55); --cg-card: rgba(255, 255, 255, .08); --cg-border: rgba(255, 255, 255, .22); --cg-head: #fff; --cg-text: rgba(255, 255, 255, .86); --cg-eyebrow: #fff; }
.cg-dark.cg-accent-gold { --cg-accent: var(--gold, #ffc966); }
.cg-dark.cg-accent-blue { --cg-accent: #8fc9f2; }
.cg-dark.cg-accent-navy { --cg-accent: #fff; }

.card-grid .cg-head { margin-bottom: 36px; }
.card-grid .cg-head .eyebrow { color: var(--cg-eyebrow); }
.card-grid .cg-head h2 { color: var(--cg-head); margin: 0; }
.card-grid .cg-sub { margin: 14px 0 0; max-width: none; font-size: 1.125rem; color: var(--cg-text); }

.card-grid .cg-card { display: flex; flex-direction: column; background: var(--cg-card); border: 1px solid var(--cg-border); border-radius: 8px; padding: 32px; transition: transform .2s ease, box-shadow .2s ease; }
.card-grid .cg-card:hover { transform: translateY(2px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .1); }
.card-grid .cg-number { color: var(--cg-accent); font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 16px; }
.card-grid .cg-card h3 { color: var(--cg-head); font-size: 1.5rem; margin: 0; }
.card-grid .cg-card p { color: var(--cg-text); margin: 14px 0 28px; line-height: 1.65; }
.card-grid .cg-card p:last-child { margin-bottom: 0; }
.card-grid .cg-card > a { margin-top: auto; align-self: flex-start; color: var(--cg-accent); font-weight: 700; padding: 0 0 4px; border-bottom: 1px solid currentColor; text-decoration: none; }
.card-grid .cg-card > a:hover, .card-grid .cg-card > a:focus-visible { border-bottom-width: 2px; }

/* look: outline */
.card-grid.cg-look-outline .cg-card { background: transparent; }
/* look: filled (and the highlighted first card) */
.card-grid.cg-look-filled .cg-card, .card-grid .cg-card.cg-first { background: var(--cg-accent); border-color: var(--cg-accent); }
.card-grid.cg-look-filled .cg-card h3, .card-grid.cg-look-filled .cg-card p, .card-grid.cg-look-filled .cg-card .cg-number, .card-grid.cg-look-filled .cg-card > a,
.card-grid .cg-card.cg-first h3, .card-grid .cg-card.cg-first p, .card-grid .cg-card.cg-first .cg-number, .card-grid .cg-card.cg-first > a { color: var(--cg-on-accent); }
@media (prefers-reduced-motion: reduce) { .card-grid .cg-card { transition: none; } }

/* Cards: link shown as a button (sizes) */
.card-grid .cg-card > a.cg-btn { border-bottom: 0; padding: 12px 22px; font-size: .9375rem; align-self: flex-start; margin-top: auto; text-decoration: none; }
.card-grid .cg-card > a.cg-btn-small { padding: 8px 16px; font-size: .8125rem; }
.card-grid .cg-card > a.cg-btn-large { padding: 17px 32px; font-size: 1.0625rem; }
.card-grid .cg-card > p + a.cg-btn, .card-grid .cg-card > h3 + a.cg-btn { margin-top: auto; }
.card-grid .cg-card > a.cg-btn:hover, .card-grid .cg-card > a.cg-btn:focus-visible { border-bottom-width: 0; }
.card-grid .cg-card > a.cg-btn.primary { color: #fff; }
.card-grid .cg-card > a.cg-btn.primary.gold { color: var(--navy, #013a55); }
.card-grid .cg-card > a.cg-btn.primary.white { color: var(--ink, #333); }
html:root body .card-grid .cg-card > a.cg-btn.primary:not(.gold):not(.white):not(.charcoal) { color: #fff; }
html:root body .card-grid .cg-card > a.cg-btn.primary.charcoal { color: #fff; }
html:root body .card-grid.cg-dark .cg-card > a.cg-btn.primary.charcoal { color: var(--ink, #333); }
html:root body .card-grid .cg-card > a.cg-btn.primary.gold { color: var(--navy, #013a55); }
html:root body .card-grid .cg-card > a.cg-btn.primary.white { color: var(--ink, #333); }

/* ---- Gold background (container and box style) ------------------------------------------------------------------ */
.bg-gold-site { background: var(--gold, #ffc966); color: var(--ink); }
.bg-gold-site h1, .bg-gold-site h2, .bg-gold-site h3, .bg-gold-site h4, .bg-gold-site h5, .bg-gold-site h6 { color: var(--ink); }
.bg-gold-site .eyebrow { color: var(--ink); }
.bg-gold-site a:not(.primary):not(.text-button):not(.cta-button) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bg-gold-site .card-grid .cg-head .eyebrow { color: var(--ink); }
.bg-gold-site .card-grid { --cg-text: var(--ink); }
.bg-gold-site .card-grid.cg-look-outline .cg-card { border-color: rgba(51, 51, 51, .4); }
.bg-gold-site .cg-accent-gold { --cg-accent: var(--ink); --cg-on-accent: #fff; }

/* ---- "Wide (75% of the screen)" content width: really 75% of the screen (it used to stop at 1200px, the same as the standard width) */
.wrap.block-width-mid { width: 75%; }
@media (max-width: 991.98px) { .wrap.block-width-mid { width: min(100% - 48px, 1200px); } }
@media (max-width: 600px) { .wrap.block-width-mid { width: min(100% - 30px, 1200px); } }

/* Wide (75%) on blocks that draw their own section: the background stays full width, the content column becomes 75% of the screen */
.blockw-mid > section > .container-xl, .blockw-mid > section > .wrap, .blockw-mid > section.wrap { width: 75%; max-width: none; margin-inline: auto; }
.blockw-mid > section.wrap { box-sizing: border-box; }
@media (max-width: 991.98px) {
  .blockw-mid > section > .container-xl, .blockw-mid > section > .wrap, .blockw-mid > section.wrap { width: min(100% - 48px, 1200px); }
}

/* ---- Comments with a photo ------------------------------------------------------------------------------------------ */
.testimonial-photo { display: block; border-radius: 50%; object-fit: cover; background: #e7f4f1; }
.testimonial-item.has-photo { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; text-align: left; }
.testimonial-item.has-photo .testimonial-photo { width: 140px; height: 140px; }
@media (max-width: 600px) {
  .testimonial-item.has-photo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .testimonial-item.has-photo .testimonial-photo { width: 110px; height: 110px; }
}
.testimonial.has-photo figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption .testimonial-photo { width: 56px; height: 56px; flex: none; }

/* Two-comment block: photo beside the name */
.testimonial-pair-card.has-photo figcaption { flex-direction: row; align-items: center; gap: 16px; }
.testimonial-pair-card figcaption .testimonial-photo { width: 64px; height: 64px; flex: none; }
.testimonial-pair-card .testimonial-who { display: flex; flex-direction: column; gap: 4px; }

/* ---- Alert bar colours (dark blue is the default above) --------------------------------------------------------------- */
.alert-bar.alert-gold { background: var(--gold, #ffc966); color: var(--ink); }
.alert-bar.alert-gold .alert-bar-text, .alert-bar.alert-gold .alert-bar-link { color: var(--ink); }
.alert-bar.alert-gold .alert-bar-new { background: var(--navy, #013a55); color: #fff; }
.alert-bar.alert-gold .alert-bar-link:hover { text-decoration-thickness: 2px; }
.alert-bar.alert-gold .alert-bar-link:focus-visible { outline-color: var(--navy, #013a55); }

.alert-bar.alert-blue { background: #2474bc; color: #fff; }
.alert-bar.alert-blue .alert-bar-new { background: var(--gold, #ffc966); color: var(--navy, #013a55); }

.alert-bar.alert-red { background: #8b1e2d; color: #fff; }
.alert-bar.alert-red .alert-bar-new { background: var(--gold, #ffc966); color: var(--navy, #013a55); }

.alert-bar.alert-primary { background: var(--c-primary, #168877); color: var(--c-primary-text, #fff); }
.alert-bar.alert-primary .alert-bar-text, .alert-bar.alert-primary .alert-bar-link { color: var(--c-primary-text, #fff); }
.alert-bar.alert-primary .alert-bar-new { background: var(--gold, #ffc966); color: var(--navy, #013a55); }

/* ---- Cards Advanced (the Ways to give template): eyebrow, title, subtitle, text and a button on each card ---------- */
.gift-card .gift-eyebrow { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal, #168877); margin: 0 0 10px; }
.gift-featured .gift-eyebrow { color: var(--gold, #ffc966); }
.gift-card .gift-subtitle { font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--navy, #013a55); margin: 8px 0 0; }
.gift-featured .gift-subtitle { color: #fff; }
.gift-card .gift-subtitle + p { margin-top: 12px; }
.gift-card .gift-actions { margin-top: auto; padding-top: 6px; }
.gift-card .gift-button { display: inline-block; border: 2px solid var(--teal, #168877); border-radius: 999px; padding: 9px 20px; background: transparent; color: var(--teal, #168877); font-family: var(--open, "Open Sans", Arial, sans-serif); font-size: .875rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .15s ease, box-shadow .15s ease; }
.gift-card .gift-button:hover, .gift-card .gift-button:focus-visible { background: var(--teal, #168877); border-color: var(--teal, #168877); color: #fff; transform: translateY(2px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18); text-decoration: none; }
.gift-card .gift-button:focus-visible { outline: 3px solid var(--navy, #013a55); outline-offset: 2px; }
/* the highlighted card: a gold button */
.gift-featured .gift-button { background: var(--gold, #ffc966); border-color: var(--gold, #ffc966); color: var(--navy, #013a55); }
.gift-featured .gift-button:hover, .gift-featured .gift-button:focus-visible { background: #fff; border-color: #fff; color: var(--navy, #013a55); }
.gift-featured .gift-button:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .gift-card .gift-button { transition: none; } .gift-card .gift-button:hover { transform: none; } }

/* Cards Advanced: hovering (or tabbing into) any card gives it the highlighted card's look */
.gift-card { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.gift-card:is(.gift-featured, :hover, :focus-within) { background: var(--teal, #168877); border-color: var(--teal, #168877); color: #fff; transform: none; box-shadow: none; }
.gift-card:is(.gift-featured, :hover, :focus-within) :is(h3, p, .gift-number, .gift-subtitle) { color: #fff; }
.gift-card:is(.gift-featured, :hover, :focus-within) .gift-eyebrow { color: var(--gold, #ffc966); }
.gift-card:is(.gift-featured, :hover, :focus-within) .gift-number { color: var(--gold, #ffc966); }
.gift-card:is(.gift-featured, :hover, :focus-within) .gift-button { background: var(--gold, #ffc966); border-color: var(--gold, #ffc966); color: var(--navy, #013a55); }
.gift-card:is(.gift-featured, :hover, :focus-within) .gift-button:hover,
.gift-card:is(.gift-featured, :hover, :focus-within) .gift-button:focus-visible { background: #fff; border-color: #fff; color: var(--navy, #013a55); }
.gift-card:is(.gift-featured, :hover, :focus-within) .gift-button:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .gift-card { transition: none; } }

/* Wide (75%) / Full width on blocks that draw their own section: Full keeps the section background and widens the content column */
.blockw-full > section > .container-xl, .blockw-full > section > .wrap, .blockw-full > section.wrap { width: 100%; max-width: none; margin-inline: 0; padding-inline: 24px; box-sizing: border-box; }
@media (max-width: 600px) { .blockw-full > section > .container-xl, .blockw-full > section > .wrap, .blockw-full > section.wrap { padding-inline: 15px; } }

/* Two Cards Advanced blocks one after the other (any width mix): join them up. "Space above" on the second block sets the gap. */
.donation-choices:has(+ .donation-choices), .donation-choices:has(+ :is(.blockw-mid, .blockw-full) > .donation-choices),
:is(.blockw-mid, .blockw-full):has(+ .donation-choices) > .donation-choices, :is(.blockw-mid, .blockw-full):has(+ :is(.blockw-mid, .blockw-full) > .donation-choices) > .donation-choices { padding-bottom: 0; }
.donation-choices + .donation-choices, .donation-choices + :is(.blockw-mid, .blockw-full) > .donation-choices,
:is(.blockw-mid, .blockw-full) + .donation-choices, :is(.blockw-mid, .blockw-full) + :is(.blockw-mid, .blockw-full) > .donation-choices { padding-top: 24px; }
.donation-choices + .donation-choices.gift-space-medium, .donation-choices + :is(.blockw-mid, .blockw-full) > .donation-choices.gift-space-medium,
:is(.blockw-mid, .blockw-full) + .donation-choices.gift-space-medium, :is(.blockw-mid, .blockw-full) + :is(.blockw-mid, .blockw-full) > .donation-choices.gift-space-medium { padding-top: 56px; }
.donation-choices + .donation-choices.gift-space-large, .donation-choices + :is(.blockw-mid, .blockw-full) > .donation-choices.gift-space-large,
:is(.blockw-mid, .blockw-full) + .donation-choices.gift-space-large, :is(.blockw-mid, .blockw-full) + :is(.blockw-mid, .blockw-full) > .donation-choices.gift-space-large { padding-top: 96px; }

/* Cards block: "Space above" (any width) pulls it up under the block before it */
.page-block:has(.card-grid.cg-space-tight) { padding-top: 24px; }
.page-block:has(.card-grid.cg-space-medium) { padding-top: 56px; }
.page-block:has(+ .page-block .card-grid:is(.cg-space-tight, .cg-space-medium)), .donation-choices:has(+ .page-block .card-grid:is(.cg-space-tight, .cg-space-medium)) { padding-bottom: 0; }

/* ---- Share icons inside the page banner ------------------------------------------------------------------------------- */
.share-this.in-banner { border-top: 0; margin: 22px 0 0; padding-top: 0; gap: 8px 12px; }
.share-this.in-banner .share-label { font-size: .8125rem; font-weight: 700; color: var(--navy, #013a55); }
.share-this.in-banner .share-link { min-width: 36px; height: 36px; background: #fff; border-color: color-mix(in srgb, var(--teal, #168877) 45%, transparent); }
.share-this.in-banner .share-icon { width: 17px; height: 17px; }
.share-this.in-banner .share-link:hover, .share-this.in-banner .share-link:focus-visible { background: var(--teal, #168877); border-color: var(--teal, #168877); color: #fff; }
.share-this.in-banner .share-status { font-size: .8125rem; }

/* ---- Call to action: follows the block's Container / Box style colours ------------------------------------------------ */
:is(.cta-band:is(.bg-navy-site,.bg-charcoal-site), .cta-band.bg-primary-site, .cta-band :is(.bg-navy-site,.bg-charcoal-site), .cta-band .bg-primary-site) :is(h2, .eyebrow, .butterfly) { color: #fff; }
:is(.cta-band.bg-gold-site, .cta-band .bg-gold-site) :is(h2, .eyebrow, .butterfly) { color: var(--ink); }
:is(.cta-band.bg-gold-site, .cta-band .bg-gold-site) a.primary.gold { background: var(--navy, #013a55); border-color: var(--navy, #013a55); color: #fff; }
:is(.cta-band.bg-gold-site, .cta-band .bg-gold-site) a.primary.gold:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-band .wrap.block-box { border-radius: 12px; }
/* Call to action button hover: colour change plus the standard press-down */
.cta-band a.primary { transition: background-color .2s, color .2s, transform .15s ease, box-shadow .15s ease; }
.cta-band a.primary.gold:hover, .cta-band a.primary.gold:focus-visible { background: var(--navy, #013a55); color: #fff; transform: translateY(2px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25); }
:is(.cta-band:is(.bg-navy-site,.bg-charcoal-site), .cta-band :is(.bg-navy-site,.bg-charcoal-site)) a.primary.gold:hover, :is(.cta-band:is(.bg-navy-site,.bg-charcoal-site), .cta-band :is(.bg-navy-site,.bg-charcoal-site)) a.primary.gold:focus-visible { background: #fff; color: var(--navy, #013a55); }
:is(.cta-band.bg-gold-site, .cta-band .bg-gold-site) a.primary.gold:hover, :is(.cta-band.bg-gold-site, .cta-band .bg-gold-site) a.primary.gold:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(2px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); }
.cta-band a.primary.gold:focus-visible { outline: 3px solid var(--navy, #013a55); outline-offset: 2px; }
:is(.cta-band:is(.bg-navy-site,.bg-charcoal-site), .cta-band.bg-primary-site, .cta-band :is(.bg-navy-site,.bg-charcoal-site), .cta-band .bg-primary-site) a.primary.gold:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .cta-band a.primary { transition: none; } .cta-band a.primary.gold:hover { transform: none; } }

/* ---- Space above (every block): pulls a block up under the one before it ---------------------------------------------- */
section.page-block.bs-tight, div.bs-tight > section { padding-top: 24px; }
section.page-block.bs-medium, div.bs-medium > section { padding-top: 56px; }
section.page-block.bs-none, div.bs-none > section { padding-top: 0; }
section.page-block.bs-large, div.bs-large > section { padding-top: 104px; }
section:has(+ :is(.bs-none, .bs-tight)), div:has(+ :is(.bs-none, .bs-tight)) > section { padding-bottom: 0; }

/* ===== Media viewer (interactive pictures: large picture, caption, view buttons, Expand) ===== */
.media-viewer { --mv-accent: var(--teal, #168877); --mv-on-accent: #fff; --mv-btn: #fff; --mv-btn-border: rgba(1, 58, 85, .16); --mv-btn-text: var(--navy, #013a55); --mv-head: var(--navy, #013a55); --mv-text: #4b5b60; --mv-eyebrow: var(--teal, #168877); }
.mv-accent-gold { --mv-accent: var(--gold-dark); --mv-on-accent: var(--ink); }
.mv-accent-blue { --mv-accent: var(--blue, #2788c8); }
.mv-accent-navy { --mv-accent: var(--navy, #013a55); }
.mv-dark { --mv-accent: #a6ebdd; --mv-on-accent: var(--navy, #013a55); --mv-btn: rgba(255, 255, 255, .08); --mv-btn-border: rgba(255, 255, 255, .24); --mv-btn-text: #fff; --mv-head: #fff; --mv-text: rgba(255, 255, 255, .86); --mv-eyebrow: #fff; }
.mv-dark.mv-accent-gold { --mv-accent: var(--gold, #ffc966); --mv-on-accent: var(--ink); }
.mv-dark.mv-accent-blue { --mv-accent: #8fc9f2; }
.mv-dark.mv-accent-navy { --mv-accent: #fff; }
.media-viewer .mv-head { margin-bottom: 28px; }
.media-viewer .mv-head .eyebrow { color: var(--mv-eyebrow); }
.media-viewer .mv-head h2 { color: var(--mv-head); margin: 0; }
.media-viewer .mv-sub { margin: 14px 0 0; max-width: none; font-size: 1.125rem; color: var(--mv-text); }

.mv-stage { position: relative; overflow: hidden; border-radius: 16px; background: #dfe7ea; box-shadow: 0 10px 30px rgba(1, 58, 85, .14); }
.mv-stage img { display: block; width: 100%; height: auto; transition: opacity .2s ease; }
.mv-shape-wide .mv-stage img { aspect-ratio: 16 / 9; object-fit: cover; }
.mv-shape-classic .mv-stage img { aspect-ratio: 3 / 2; object-fit: cover; }
.mv-stage img.mv-fading { opacity: .35; }
.mv-caption { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 28px; padding: 56px 24px 20px; color: #fff; background: linear-gradient(to top, rgba(1, 30, 45, .86), rgba(1, 30, 45, .55) 55%, rgba(1, 30, 45, 0)); }
.mv-caption span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold, #ffc966); }
.mv-caption span:empty { display: none; }
.mv-caption h3 { margin: 2px 0 0; font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: #fff; }
.mv-caption p { margin: 0; max-width: 46ch; font-size: .98rem; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.mv-caption p:empty { display: none; }
.mv-expand { position: absolute; top: 14px; right: 14px; z-index: 2; border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--navy, #013a55); background: rgba(255, 255, 255, .94); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); cursor: pointer; }
.mv-expand:hover { background: #fff; box-shadow: inset 0 2px 4px rgba(1, 58, 85, .25); transform: translateY(1px); }
.mv-expand:focus-visible, .mv-tab:focus-visible, .mv-close:focus-visible { outline: 3px solid var(--gold, #ffc966); outline-offset: 2px; }

.mv-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.mv-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; text-align: left; font: inherit; color: var(--mv-btn-text); background: var(--mv-btn); border: 1.5px solid var(--mv-btn-border); border-radius: 12px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.mv-tab .mv-num { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--mv-accent); }
.mv-tab b { font-size: 1rem; line-height: 1.25; }
.mv-tab small { font-size: .84rem; line-height: 1.3; opacity: .78; }
.mv-tab:hover { border-color: var(--mv-accent); box-shadow: inset 0 2px 4px rgba(1, 58, 85, .14); transform: translateY(1px); }
.mv-tab.active { background: var(--mv-accent); border-color: var(--mv-accent); color: var(--mv-on-accent); }
.mv-tab.active .mv-num { color: var(--mv-on-accent); }
.mv-note { margin: 16px 0 0; font-size: .88rem; color: var(--mv-text); }
.mv-note a { color: inherit; text-decoration: underline; }
@media (max-width: 575px) {
  .mv-caption { padding: 40px 16px 14px; }
  .mv-caption p { display: none; }
  .mv-controls { grid-template-columns: repeat(2, 1fr); }
}
.mv-modal { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 24px 24px; background: rgb(1, 20, 30); }
.mv-modal[hidden] { display: none; }
.mv-modal img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.mv-modal p { margin: 0; color: #fff; font-size: 1rem; text-align: center; }
.mv-close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 2rem; line-height: 1; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; }
.mv-close:hover { background: rgba(255, 255, 255, .3); }
body.mv-modal-open { overflow: hidden; }

/* Campaign progress: same vertical spacing as the other content blocks, and a subtitle under the title */
.fundraising-section { padding: clamp(40px, 6vw, 72px) 0; }
.fundraising-section .fr-sub { margin: 14px 0 0; max-width: none; font-size: 1.125rem; color: #4b5b60; }
.fundraising-section .fr-sub + p, .fundraising-section .fr-sub + div { margin-top: 18px; }
.fundraising-section h2 { margin-bottom: 18px; }
.fundraising-section .fr-sub { margin-top: 0; }
.fundraising-section .col-lg-6:first-child > :last-child { margin-bottom: 0; }

/* Media viewer: buttons beside the picture (default) or below it */
.mv-body { display: block; }
.mv-body > .mv-stage { min-width: 0; }
@media (min-width: 900px) {
  .mv-tabs-right .mv-body, .mv-tabs-left .mv-body { display: grid; gap: 16px; align-items: stretch; }
  .mv-tabs-right .mv-body { grid-template-columns: minmax(0, 1fr) 270px; }
  .mv-tabs-left .mv-body { grid-template-columns: 270px minmax(0, 1fr); }
  .mv-tabs-left .mv-stage { order: 2; }
  .mv-tabs-right .mv-controls, .mv-tabs-left .mv-controls { display: flex; flex-direction: column; margin-top: 0; gap: 8px; }
  .mv-tabs-right .mv-tab, .mv-tabs-left .mv-tab { flex: 1 1 0; justify-content: center; }
  .mv-tabs-right .mv-stage, .mv-tabs-left .mv-stage { display: flex; }
  .mv-tabs-right .mv-stage img, .mv-tabs-left .mv-stage img { height: 100%; aspect-ratio: auto; object-fit: cover; min-height: 420px; }
}
.mv-prev, .mv-next { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; }
.mv-prev { left: 16px; }
.mv-next { right: 16px; }
.mv-prev:hover, .mv-next:hover { background: rgba(255, 255, 255, .3); }
.mv-prev:focus-visible, .mv-next:focus-visible { outline: 3px solid var(--gold, #ffc966); outline-offset: 2px; }
.mv-modal[data-single] .mv-prev, .mv-modal[data-single] .mv-next { display: none; }
.mv-modal .mv-count { color: rgba(255, 255, 255, .7); font-size: .85rem; }
@media (max-width: 575px) { .mv-prev, .mv-next { top: auto; bottom: 20px; margin-top: 0; } .mv-prev { left: 24px; } .mv-next { right: 24px; } }

/* Media viewer v3: fixed frame (never jumps), square navy buttons, description always on the picture */
.mv-stage { aspect-ratio: 16 / 9; }
.mv-shape-classic .mv-stage { aspect-ratio: 3 / 2; }
.mv-stage img, .mv-shape-wide .mv-stage img, .mv-shape-classic .mv-stage img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; min-height: 0; object-fit: cover; }
.mv-shape-fit .mv-stage { background: var(--navy, #013a55); }
.mv-shape-fit .mv-stage img { object-fit: contain; }
@media (min-width: 900px) {
  .mv-tabs-right .mv-stage, .mv-tabs-left .mv-stage { display: block; }
  .mv-tabs-right .mv-stage img, .mv-tabs-left .mv-stage img { min-height: 0; height: 100%; }
}
.mv-stage, .mv-tab { border-radius: 0; }
.mv-media-viewer, .media-viewer { --mv-btn: var(--navy, #013a55); --mv-btn-border: var(--navy, #013a55); --mv-btn-text: #fff; }
.mv-dark { --mv-btn: rgba(255, 255, 255, .1); --mv-btn-border: rgba(255, 255, 255, .28); }
.mv-tab { border-radius: 0; border-width: 0; padding: 14px 18px; }
.mv-tab small { opacity: .85; }
.mv-tab:hover { background: color-mix(in srgb, var(--mv-btn) 80%, #fff); border-color: transparent; }
.mv-tab.active, .mv-tab.active:hover { background: var(--mv-accent); color: var(--mv-on-accent); }
.mv-controls { gap: 8px; }
@media (max-width: 575px) { .mv-caption p { display: block; font-size: .85rem; } .mv-caption { padding: 36px 14px 12px; } }
@media (min-width: 900px) {
  .mv-tabs-right .mv-stage, .mv-tabs-left .mv-stage { width: 100%; align-self: start; }
  .mv-tabs-right .mv-controls, .mv-tabs-left .mv-controls { contain: size; overflow: hidden auto; }   /* the buttons take the picture's height, never the other way round */
}
.mv-tab .mv-num { color: #a6ebdd; }
.mv-accent-gold .mv-tab:not(.active) .mv-num { color: var(--gold, #ffc966); }
@media (min-width: 900px) {
  .mv-tabs-right .mv-controls, .mv-tabs-left .mv-controls { gap: 6px; }
  .mv-tabs-right .mv-tab, .mv-tabs-left .mv-tab { padding: 8px 16px; min-height: 0; gap: 0; }
  .mv-tabs-right .mv-tab b, .mv-tabs-left .mv-tab b { font-size: .95rem; }
  .mv-tabs-right .mv-tab small, .mv-tabs-left .mv-tab small { font-size: .8rem; }
}

/* Media viewer v4: buttons flush against the picture and each other, thin divider lines, gold edge on the selected one */
.mv-controls { gap: 0; margin-top: 0; }
.mv-body { gap: 0 !important; }
.mv-tabs-below .mv-controls { margin-top: 0; }
.mv-tab { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 4px 0 0 transparent; transform: none; }
.mv-tabs-below .mv-tab { border-right: 1px solid rgba(255, 255, 255, .22); }
.mv-tab:hover { transform: none; box-shadow: inset 4px 0 0 rgba(255, 201, 102, .55); }
.mv-tab.active, .mv-tab.active:hover { box-shadow: inset 4px 0 0 var(--mv-mark, var(--gold, #ffc966)); }
.mv-accent-gold { --mv-mark: var(--ink); }
.mv-accent-gold .mv-tab.active { box-shadow: inset 4px 0 0 var(--ink); }
@media (min-width: 900px) {
  .mv-tabs-right .mv-controls, .mv-tabs-left .mv-controls { gap: 0; }
  .mv-tabs-right .mv-tab:last-child, .mv-tabs-left .mv-tab:last-child { border-bottom: 0; }
}

/* ===== Card variation: edge-to-edge cards, one-line titles, accent colour wash on hover ===== */
.cg-variation .cv-grid { display: grid; grid-template-columns: repeat(var(--cv-cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--cg-border); border-left: 1px solid var(--cg-border); }
.cg-variation .cv-cols-2 { --cv-cols: 2; }
.cg-variation .cv-cols-3 { --cv-cols: 3; }
.cg-variation .cv-cols-4 { --cv-cols: 4; }
.cg-variation .cg-card { position: relative; isolation: isolate; border: 0; border-right: 1px solid var(--cg-border); border-bottom: 1px solid var(--cg-border); border-radius: 0; padding: 28px 28px 30px; transition: none; transform: none; box-shadow: none; }
.cg-variation .cg-card:hover { transform: none; box-shadow: none; }
.cg-variation .cg-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cg-accent); opacity: 0; transition: opacity .25s ease; }
.cg-variation .cg-card:hover::before, .cg-variation .cg-card:focus-within::before { opacity: 1; }
.cg-variation .cg-card h3, .cg-variation .cg-card p, .cg-variation .cg-card .cg-number, .cg-variation .cg-card > a { transition: color .25s ease; }
.cg-variation .cg-card:hover h3, .cg-variation .cg-card:hover p, .cg-variation .cg-card:hover .cg-number, .cg-variation .cg-card:hover > a,
.cg-variation .cg-card:focus-within h3, .cg-variation .cg-card:focus-within p, .cg-variation .cg-card:focus-within .cg-number, .cg-variation .cg-card:focus-within > a { color: var(--cg-on-accent); }
.cg-variation .cg-card h3 { font-size: 1.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cg-variation .cg-card > a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.bg-gold-site .cg-variation .cg-card { --cg-border: rgba(51, 51, 51, .3); }
@media (max-width: 991px) { .cg-variation .cv-cols-3, .cg-variation .cv-cols-4 { --cv-cols: 2; } }
@media (max-width: 575px) { .cg-variation .cv-grid { --cv-cols: 1 !important; } }
@media (prefers-reduced-motion: reduce) { .cg-variation .cg-card::before, .cg-variation .cg-card h3, .cg-variation .cg-card p { transition: none; } }
.cg-variation.cg-accent-gold { --cg-on-accent: var(--ink); }

/* ===== Timeline (stages of development) ===== */
.timeline-block { --tl-teal: var(--teal, #168877); --tl-now: var(--gold, #ffc966); --tl-grey: #bcc9c6; --tl-line: #c9ddd9; --tl-head: var(--navy, #013a55); --tl-text: #5d6b6f; --tl-eyebrow: var(--teal, #168877); }
.tl-accent-teal { --tl-now: var(--teal); }
.tl-accent-blue { --tl-now: var(--blue, #2788c8); }
.tl-dark { --tl-teal: #a6ebdd; --tl-grey: rgba(255, 255, 255, .4); --tl-line: rgba(255, 255, 255, .28); --tl-head: #fff; --tl-text: rgba(255, 255, 255, .84); --tl-eyebrow: #a6ebdd; }
.timeline-block .tl-head { margin-bottom: 32px; }
.timeline-block .tl-head .eyebrow { color: var(--tl-eyebrow); }
.timeline-block .tl-head h2 { color: var(--tl-head); margin: 0; }
.timeline-block .tl-sub { margin: 14px 0 0; max-width: none; font-size: 1.125rem; color: var(--tl-text); }
.tl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--tl-count, 5), minmax(0, 1fr)); gap: 0 40px; }
.tl-step { position: relative; padding-top: 34px; }
.tl-step::before { content: ""; position: absolute; top: 7px; left: 22px; right: -40px; height: 2px; background: var(--tl-line); }
.tl-step:last-child::before { right: 0; }
.tl-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--tl-grey); box-shadow: 0 0 0 4px transparent; }
.tl-complete .tl-dot { background: var(--tl-teal); }
.tl-current .tl-dot { background: var(--tl-now); }
.tl-stage { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tl-eyebrow); margin-bottom: 8px; }
.tl-upcoming .tl-stage { color: var(--tl-text); }
.tl-step h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; color: var(--tl-head); }
.tl-step p { margin: 10px 0 0; font-size: .95rem; line-height: 1.6; color: var(--tl-text); }
.tl-stack .tl-steps { grid-template-columns: 1fr; gap: 0; }
@media (max-width: 899px) { .tl-steps { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 899px), (min-width: 0) { .tl-stack .tl-step { padding: 0 0 28px 40px; } }
@media (max-width: 899px) { .tl-step { padding: 0 0 28px 40px; } }
@media (max-width: 899px) { .tl-step::before { top: 22px; bottom: -6px; left: 7px; right: auto; width: 2px; height: auto; } .tl-step:last-child::before { display: none; } }
.tl-stack .tl-step::before { top: 22px; bottom: -6px; left: 7px; right: auto; width: 2px; height: auto; }
.tl-stack .tl-step:last-child::before { display: none; }
.bg-gold-site .timeline-block { --tl-head: var(--ink); --tl-text: var(--ink); --tl-eyebrow: var(--ink); --tl-line: rgba(51, 51, 51, .35); --tl-teal: var(--ink); --tl-grey: rgba(51, 51, 51, .35); --tl-now: #fff; }

/* ===== Plan viewer: zoomable, pannable plan ===== */
.plan-viewer { --pv-accent: var(--teal, #168877); --pv-on-accent: #fff; --pv-btn: var(--navy, #013a55); --pv-head: var(--navy, #013a55); --pv-text: #4b5b60; --pv-eyebrow: var(--teal, #168877); }
.pv-accent-gold { --pv-accent: var(--gold-dark); --pv-on-accent: var(--ink); }
.pv-accent-blue { --pv-accent: var(--blue, #2788c8); }
.pv-accent-navy { --pv-accent: var(--navy, #013a55); }
.pv-dark { --pv-accent: #a6ebdd; --pv-on-accent: var(--navy, #013a55); --pv-btn: rgba(255, 255, 255, .1); --pv-head: #fff; --pv-text: rgba(255, 255, 255, .86); --pv-eyebrow: #fff; }
.pv-dark.pv-accent-gold { --pv-accent: var(--gold, #ffc966); --pv-on-accent: var(--ink); }
.pv-dark .pv-body { background: transparent; }
.pv-dark .pv-body.pv-expanded { background: var(--navy, #013a55); }
.pv-dark.pv-accent-blue { --pv-accent: #8fc9f2; }
.pv-dark.pv-accent-navy { --pv-accent: #fff; }
.plan-viewer .pv-head { margin-bottom: 28px; }
.plan-viewer .pv-head .eyebrow { color: var(--pv-eyebrow); }
.plan-viewer .pv-head h2 { color: var(--pv-head); margin: 0; }
.plan-viewer .pv-sub { margin: 14px 0 0; max-width: none; font-size: 1.125rem; color: var(--pv-text); }

.pv-body { display: block; background: #fff; box-shadow: 0 10px 30px rgba(1, 58, 85, .14); }
.pv-stage { position: relative; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; outline-offset: -3px; }
.pv-frame-classic .pv-stage { aspect-ratio: 4 / 3; }
.pv-frame-short .pv-stage { aspect-ratio: 2 / 1; }
.pv-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; user-select: none; }
.pv-canvas img { display: block; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.pv-glide { transition: transform .5s cubic-bezier(.22, .8, .24, 1); }
.pv-ready .pv-stage { touch-action: pan-y; cursor: zoom-in; }
.pv-ready .pv-stage.pv-zoomed { touch-action: none; cursor: grab; }
.pv-ready .pv-stage.pv-dragging { cursor: grabbing; }
.pv-stage:focus-visible { outline: 3px solid var(--gold, #ffc966); }
/* Before the script runs (or without it) the plan is just a scrollable picture. */
.plan-viewer:not(.pv-ready) .pv-stage { aspect-ratio: auto; overflow: auto; max-height: 80vh; }
.plan-viewer:not(.pv-ready) .pv-canvas { position: static; }

.pv-highlight { position: absolute; border: calc(3px * var(--pv-inv, 1)) solid var(--pv-hl, var(--gold, #ffc966)); box-shadow: 0 0 0 9999px rgba(1, 30, 45, .12); background: rgba(255, 201, 102, .05); pointer-events: none; animation: pv-pulse 1.6s ease-in-out 2; }
.pv-hot { position: absolute; padding: 0; margin: 0; border: calc(2px * var(--pv-inv, 1)) solid rgba(255, 201, 102, .75); background: rgba(255, 201, 102, .10); cursor: pointer; border-radius: 2px; transition: background .15s, border-color .15s, opacity .15s; }
.pv-hot > span { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%) scale(var(--pv-inv, 1)); transform-origin: 50% 100%; padding: 3px 10px; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; white-space: nowrap; color: var(--ink); background: var(--gold, #ffc966); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 2; }
.pv-hot:hover, .pv-hot:focus-visible { background: rgba(255, 201, 102, .32); border-color: var(--gold, #ffc966); z-index: 3; }
.pv-hot:hover > span { opacity: 1; }
.pv-hot-hover .pv-hot { opacity: 0; }
.pv-hot-hover .pv-hot:hover { opacity: 1; }
.pv-hot-hover .pv-stage:hover .pv-hot { opacity: .55; }
.pv-hot-hover .pv-stage:hover .pv-hot:hover { opacity: 1; }
.pv-highlight[hidden] { display: none; }
.pv-highlight span { position: absolute; left: -3px; bottom: 100%; transform: scale(var(--pv-inv, 1)); transform-origin: 0 100%; padding: 3px 10px; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; white-space: nowrap; color: var(--ink); background: var(--gold, #ffc966); }
.pv-highlight span:empty { display: none; }
@keyframes pv-pulse { 50% { background: rgba(255, 201, 102, .2); } }

.pv-tools { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-direction: column; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.pv-tools[hidden] { display: none; }
.pv-tools button { width: 42px; height: 42px; border: 0; border-bottom: 1px solid #e3e8ea; font: inherit; font-size: 1.3rem; line-height: 1; color: var(--navy, #013a55); background: #fff; cursor: pointer; }
.pv-tools button:last-child { border-bottom: 0; }
.pv-tools button:hover { background: var(--navy, #013a55); color: #fff; }
.pv-tools button:focus-visible { outline: 3px solid var(--gold, #ffc966); outline-offset: -3px; }
.pv-zoomlabel { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 3px 9px; font-size: 0.75rem; font-weight: 700; color: #fff; background: rgba(1, 30, 45, .75); pointer-events: none; }
.pv-hint { position: absolute; right: 12px; bottom: 12px; z-index: 3; margin: 0; padding: 4px 10px; font-size: 0.75rem; color: #fff; background: rgba(1, 30, 45, .75); pointer-events: none; transition: opacity .3s; }
.pv-hint[hidden] { display: none; }
.pv-zoomed .pv-hint, .pv-expanded .pv-hint { opacity: 0; }
.pv-minimap { position: absolute; right: 12px; top: 12px; z-index: 3; width: clamp(110px, 18%, 200px); aspect-ratio: auto; background: #fff; border: 2px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); cursor: pointer; touch-action: none; line-height: 0; }
.pv-minimap[hidden] { display: none; }
.pv-minimap img { display: block; width: 100%; height: auto; pointer-events: none; opacity: .85; }
.pv-view { position: absolute; border: 2px solid var(--pv-accent, #168877); background: color-mix(in srgb, var(--pv-accent, #168877) 25%, transparent); pointer-events: none; }

/* area buttons: square navy buttons like the media viewer */
.pv-areas { display: flex; flex-direction: column; }
.pv-area { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 18px; text-align: left; font: inherit; color: #fff; background: var(--pv-btn); border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 4px 0 0 transparent; cursor: pointer; transition: background .15s; }
.pv-area b { font-size: .98rem; line-height: 1.25; }
.pv-area small { font-size: .82rem; line-height: 1.3; opacity: .85; }
.pv-area:last-child { border-bottom: 0; }
/* Plan viewer area pop-up: photo across the top, description, then a small plan showing where the area is */
.pv-dialog { width: min(92vw, 640px); max-height: 90vh; padding: 0; border: 0; border-radius: 14px; overflow: auto; color: var(--ink, #333); background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.pv-dialog::backdrop { background: color-mix(in srgb, var(--navy, #013a55) 70%, transparent); }
.pv-dialog-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy, #013a55); font-size: 1.75rem; line-height: 1; cursor: pointer; z-index: 1; }
.pv-dialog-close:hover, .pv-dialog-close:focus-visible { background: var(--gold, #ffc966); }
.pv-dialog-photo { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.pv-dialog-body { padding: clamp(20px, 4vw, 34px); }
.pv-dialog-body h3 { margin: 0 0 10px; font-size: 1.5rem; color: var(--navy, #013a55); }
.pv-dialog-text > :last-child { margin-bottom: 0; }
html:root body .pv-dialog img { max-width: 100%; }
html:root body .pv-dialog .pv-layout img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
html:root body .pv-dialog .pv-dialog-photo { width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.pv-layout { margin: 22px 0 0; }
.pv-layout img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; border: 1px solid #cfd6d8; border-radius: 6px; background: #f3f5f6; }
.pv-layout figcaption { margin-top: 6px; font-size: .8125rem; color: #607074; }
.pv-inset { margin: 22px 0 0; max-width: 300px; }
.pv-inset-plan { position: relative; line-height: 0; border: 1px solid #cfd6d8; border-radius: 6px; overflow: hidden; background: #f3f5f6; }
.pv-inset-plan img { display: block; width: 100%; height: auto; }
.pv-inset-plan span { position: absolute; border: 2px solid var(--pv-accent, var(--teal, #168877)); background: color-mix(in srgb, var(--pv-accent, var(--teal, #168877)) 28%, transparent); box-shadow: 0 0 0 1px #fff; box-sizing: border-box; min-width: 8px; min-height: 8px; }
.pv-inset figcaption { margin-top: 6px; font-size: .8125rem; color: #607074; }
.pv-dialog-actions { margin: 22px 0 0; }
html:root body .pv-dialog-show { border: 0; border-radius: 999px; padding: .55rem 1.3rem; font-size: .9rem; font-weight: 600; background: var(--pv-accent, var(--teal, #168877)); color: var(--pv-on-accent, #fff); cursor: pointer; }
html:root body .pv-dialog-show:hover, html:root body .pv-dialog-show:focus-visible { background: var(--navy, #013a55); color: #fff; }

.pv-area:hover { background: color-mix(in srgb, var(--pv-btn) 80%, #fff); box-shadow: inset 4px 0 0 rgba(255, 201, 102, .55); }
.pv-area.active, .pv-area.active:hover { background: var(--pv-accent); color: var(--pv-on-accent); box-shadow: inset 4px 0 0 var(--pv-mark, var(--gold, #ffc966)); }
.pv-accent-gold { --pv-mark: var(--ink); }
.pv-area:focus-visible { outline: 3px solid var(--gold, #ffc966); outline-offset: -3px; }
@media (min-width: 900px) {
  .pv-areas-right .pv-body { display: grid; grid-template-columns: minmax(0, 1fr) 270px; }
  .pv-areas-right .pv-areas { contain: size; overflow: hidden auto; }
  .pv-areas-right .pv-area { flex: 1 1 0; justify-content: center; min-height: 0; padding-block: 8px; }
}
.pv-areas-below .pv-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pv-areas-below .pv-area { border-right: 1px solid rgba(255, 255, 255, .22); }
@media (max-width: 899px) { .pv-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } .pv-area { border-right: 1px solid rgba(255, 255, 255, .22); } }

.pv-open { margin: 12px 0 0; font-size: .88rem; }
.pv-ready .pv-open { display: none; }
.pv-note { margin: 12px 0 0; font-size: .88rem; color: var(--pv-text); }
.pv-open a, .pv-note a { color: inherit; text-decoration: underline; }

/* expanded (full-screen) mode */
body.pv-lock { overflow: hidden; }
.pv-body.pv-expanded { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; background: #fff; box-shadow: none; }
.pv-body.pv-expanded .pv-stage { aspect-ratio: auto; height: 100%; }
.pv-body.pv-expanded .pv-areas { display: flex; flex-direction: row; overflow-x: auto; contain: none; }
.pv-body.pv-expanded .pv-area { flex: 0 0 auto; min-width: 180px; border-right: 1px solid rgba(255, 255, 255, .22); border-bottom: 0; }
@media (min-width: 900px) {
  .pv-areas-right .pv-body.pv-expanded { grid-template-columns: minmax(0, 1fr) 270px; grid-template-rows: minmax(0, 1fr); }
  .pv-areas-right .pv-body.pv-expanded .pv-areas { flex-direction: column; overflow: hidden auto; contain: size; }
  .pv-areas-right .pv-body.pv-expanded .pv-area { flex: 1 1 0; min-width: 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
}
@media (prefers-reduced-motion: reduce) { .pv-glide { transition: none; } .pv-highlight { animation: none; } }
@media (max-width: 575px) {
  .pv-stage, .pv-frame-classic .pv-stage, .pv-frame-short .pv-stage { aspect-ratio: 1 / 1; }
  .pv-tools button { width: 38px; height: 38px; }
  .pv-minimap { width: 90px; }
}

/* ===== Text and embed: text beside a Google Map / YouTube embed ===== */
.embed-text .et-head { margin-bottom: 28px; }
.embed-text .et-head h2 { margin: 0; }
.embed-text .et-sub { margin: 14px 0 0; max-width: none; font-size: 1.125rem; }
.embed-text .et-row { display: grid; gap: 40px; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.embed-text.et-w-third .et-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.embed-text.et-w-two .et-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.embed-text.et-left .et-embed { order: -1; }
.embed-text.et-left.et-w-third .et-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.embed-text.et-left.et-w-two .et-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.embed-text.et-w-full .et-row, .embed-text.et-noembed .et-row { grid-template-columns: minmax(0, 1fr); }
.embed-text .et-text > :first-child { margin-top: 0; }
.embed-text .et-text > :last-child { margin-bottom: 0; }
.embed-text .et-cta { margin-top: 24px; }
.embed-text .et-embed { position: relative; width: 100%; height: 400px; background: #e6ecee; overflow: hidden; }
.embed-text .et-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-text.et-h-short .et-embed { height: 300px; }
.embed-text.et-h-tall .et-embed { height: 520px; }
.embed-text.et-h-xtall .et-embed { height: 680px; }
@media (max-width: 899px) {
  .embed-text .et-row, .embed-text.et-left .et-row, .embed-text[class*="et-w-"] .et-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .embed-text.et-left .et-embed { order: 0; }   /* on a phone the text always comes first */
}
/* Text and embed flowing beside the Banner card */
.embed-text.et-flow .et-head{margin-bottom:14px}

/* News feature: main story left, headlines right stretched to the same height */
.news-feature .nf-grid{align-items:stretch}
.news-feature .nf-list{display:flex;flex-direction:column;gap:0;min-height:0}
.news-feature .nf-list .news-compact{flex:1 1 0;align-items:center;padding:14px 0;border-bottom:1px solid var(--c-line,#d9d9d9)}
.news-feature .nf-list .news-compact:first-child{padding-top:0}
.news-feature .nf-list .news-compact:last-child{border-bottom:0;padding-bottom:0}
@media(max-width:800px){.news-feature .nf-list .news-compact{flex:0 0 auto}}
/* News feature: Topic line label over the main photo; no category tags */
.news-feature .nf-photo{position:relative}
.news-feature .nf-topic{position:absolute;left:0;top:18px;z-index:1;background:var(--gold,#ffc966);color:var(--ink,#333);font-weight:700;font-size:.8125rem;letter-spacing:.06em;text-transform:uppercase;line-height:1.2;padding:8px 14px;max-width:85%}
.news-feature .news-lead-body > .nf-topic{position:static;display:inline-block;margin-bottom:10px}
.news-feature time.nf-date{margin-left:0;display:block}
/* News feature: label overhangs the photo's left edge with a fold; "Read more" reads as a link */
.news-feature .nf-topic{left:-20px;padding:9px 16px 9px 34px;max-width:calc(100% + 20px);box-shadow:0 2px 6px #0003}
.news-feature .nf-topic::after{content:"";position:absolute;left:0;top:100%;border-style:solid;border-width:0 20px 8px 0;border-color:transparent var(--gold-deep) transparent transparent}
.news-feature .news-lead-body > .nf-topic{left:auto;padding:8px 14px;box-shadow:none;max-width:100%}
.news-feature .news-lead-body > .nf-topic::after{display:none}
.news-feature .news-card-more{font-weight:700;color:var(--bs-link-color,var(--teal));text-decoration:underline;text-underline-offset:3px}
.news-feature .news-card-more:hover,.news-feature .news-card-more:focus-visible{color:var(--bs-link-hover-color,var(--navy,#013a55))}
@media(max-width:800px){.news-feature .nf-topic{left:0;padding-left:16px;max-width:85%}.news-feature .nf-topic::after{display:none}}
/* News feature: bordered boxes of equal height, stronger Read more hover */
.news-feature .nf-grid{gap:20px}
.news-feature .news-lead{display:flex;flex-direction:column;border:1px solid #d9d9d9;background:#fff}
.news-feature .news-lead-body{flex:1;padding:20px 24px 24px}
.news-feature .nf-list{gap:16px}
.news-feature .nf-list .news-compact,.news-feature .nf-list .news-compact:first-child,.news-feature .nf-list .news-compact:last-child{flex:1 1 0;border:1px solid #d9d9d9;padding:16px 18px;background:#fff;align-items:start}
.news-feature .nf-list .news-compact h3{margin:4px 0 6px}
.news-feature .nf-desc{margin:0;font-size:.9375rem;line-height:1.45;color:var(--c-muted,#555);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-feature .news-card-more{display:inline-block;padding:4px 10px;margin-left:-10px;transition:background .15s,color .15s}
.news-feature .news-card-more:hover,.news-feature .news-card-more:focus-visible{background:var(--gold,#ffc966);color:var(--ink,#333);text-decoration:none;box-shadow:inset 0 -3px 0 var(--gold-deep)}
.news-feature .news-card-more span[aria-hidden]{display:inline-block;transition:transform .15s}
.news-feature .news-card-more:hover span[aria-hidden]{transform:translate(3px,-3px)}
/* News feature: content vertically centred in each bordered box */
.news-feature .nf-list .news-compact,.news-feature .nf-list .news-compact:first-child,.news-feature .nf-list .news-compact:last-child{align-items:center}
.news-feature .nf-list .news-compact > div{align-self:center}
.news-feature .news-lead-body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.news-feature .nf-list .news-compact{grid-template-columns:minmax(0,1fr)}
/* News feature: Read more hover = colour change only (blue link to the primary colour) */
.news-feature .news-card-more{padding:0;margin-left:0;transition:color .15s}
.news-feature .news-card-more:hover,.news-feature .news-card-more:focus-visible{background:none;box-shadow:none;text-decoration:underline;color:var(--bs-primary,var(--navy,#013a55))}
.news-feature .news-card-more:hover span[aria-hidden]{transform:none}
.news-feature .nf-list .news-compact .news-card-more{margin-top:10px}
/* News feature: Read more hover is the site teal, no underline; more room between the parts of each right-hand item */
.news-feature .news-card-more:hover,.news-feature .news-card-more:focus-visible{color:var(--teal);text-decoration:none}
.news-feature .nf-list .news-compact,.news-feature .nf-list .news-compact:first-child,.news-feature .nf-list .news-compact:last-child{padding:22px 24px}
.news-feature .nf-list .news-compact time.nf-date{margin-bottom:10px}
.news-feature .nf-list .news-compact h3{margin:0 0 12px}
.news-feature .nf-list .news-compact .nf-desc{margin:0 0 14px}
.news-feature .nf-list .news-compact .news-card-more{margin-top:6px}
/* Button colour option (teal is the standard .primary button). The selectors start with html:root body so they always win over the
   general button colour rules above (which set white text on .article-content buttons). Hover = a darker shade of the button's own
   colour plus the pressed-in movement the other buttons use, so it shows on any container colour. */
html:root body :is(a,button).primary.gold{background:var(--gold,#ffc966);border-color:var(--gold,#ffc966);color:var(--ink,#333)}
html:root body :is(a,button).primary.blue{background:var(--blue,#2788c8);border-color:var(--blue,#2788c8);color:#fff}
html:root body :is(a,button).primary.white{background:#fff;border-color:#fff;color:var(--ink,#333)}
html:root body :is(a,button).primary.charcoal{background:var(--ink,#333);border-color:var(--ink,#333);color:#fff}
html:root body :is(a,button).primary.gold:is(:hover,:focus-visible){background:var(--gold-dark);border-color:var(--gold-dark);color:var(--ink,#333)}
html:root body :is(a,button).primary.blue:is(:hover,:focus-visible){background:#1d6fa8;border-color:#1d6fa8;color:#fff}
html:root body :is(a,button).primary.white:is(:hover,:focus-visible){background:#e3e8e8;border-color:#e3e8e8;color:var(--ink,#333)}
html:root body :is(a,button).primary.charcoal:is(:hover,:focus-visible){background:#111;border-color:#111;color:#fff}
html:root body :is(a,button).primary:is(.gold,.blue,.white,.charcoal):is(:hover,:focus-visible){transform:translateY(2px);box-shadow:inset 0 2px 4px rgba(0,0,0,.22);text-decoration:none}

/* Buttons that would disappear into their container get a safe colour instead */
/* a white button on a light container: add an edge so it can be seen */
html:root body :is(.bg-none,.bg-light-grey,.bg-light-green,.bg-light-blue,.bg-green-site,.bg-white-site,.block-box:not([class*="bg-"])) :is(a,button).primary.white{border-color:#c4cccc}
/* the standard teal button on the teal (primary) container: turn it white with teal text */
html:root body .bg-primary-site :is(a,button).primary:not(.gold):not(.blue):not(.white):not(.charcoal){background:#fff;border-color:#fff;color:var(--c-primary,#168877)}
html:root body .bg-primary-site :is(a,button).primary:not(.gold):not(.blue):not(.white):not(.charcoal):is(:hover,:focus-visible){background:#e3e8e8;border-color:#e3e8e8;color:var(--c-primary,#168877)}
/* gold on the gold container, and charcoal on dark containers: switch to a contrasting button */
html:root body .bg-gold-site :is(a,button).primary.gold{background:var(--ink,#333);border-color:var(--ink,#333);color:#fff}
html:root body .bg-gold-site :is(a,button).primary.gold:is(:hover,:focus-visible){background:#111;border-color:#111;color:#fff}
html:root body :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) :is(a,button).primary.charcoal{background:#fff;border-color:#fff;color:var(--ink,#333)}
html:root body :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) :is(a,button).primary.charcoal:is(:hover,:focus-visible){background:#e3e8e8;border-color:#e3e8e8;color:var(--ink,#333)}
html:root body :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) :is(a,button).primary.blue{box-shadow:0 0 0 2px #fff3}

/* ===== Quick donate (block and Banner card option) ===== */
.quick-donate{--qd-line:currentColor;display:grid;gap:14px;max-width:560px}
.quick-donate fieldset{border:0;margin:0;padding:0;min-width:0}
.qd-amounts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.qd-chip{position:relative;margin:0;cursor:pointer}
.qd-chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.qd-chip span{display:block;min-width:64px;text-align:center;padding:10px 16px;border:2px solid var(--teal);color:var(--teal);font-weight:700;background:transparent;transition:background .15s,color .15s}
.qd-chip:hover span{background:color-mix(in srgb,var(--teal) 12%,transparent)}
.qd-chip input:checked + span{background:var(--teal);color:#fff}
.qd-chip input:focus-visible + span{outline:3px solid var(--navy,#013a55);outline-offset:2px}
.qd-other-box{display:inline-flex;align-items:center;border:2px solid #b9c3c3;background:#fff;color:var(--ink);padding:0 10px;min-width:120px}
.qd-other-box:focus-within{border-color:var(--teal)}
.qd-dollar{font-weight:700;margin-right:4px}
.qd-other-box input{border:0;outline:0;width:90px;padding:9px 0;background:transparent;color:var(--ink);font:inherit}
.qd-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.qd-fields label{display:block;font-size:.875rem;font-weight:600;margin-bottom:4px}
.qd-fields input{width:100%;padding:10px 12px;border:2px solid #b9c3c3;background:#fff;color:var(--ink);font:inherit;border-radius:0}
.qd-fields input:focus{border-color:var(--teal);outline:0}
.qd-submit{justify-self:start;display:inline-block;cursor:pointer;padding:12px 28px;border:2px solid var(--teal);background:var(--teal);color:#fff;font:inherit;font-weight:700;border-radius:0}
.qd-submit:hover,.qd-submit:focus-visible{background:color-mix(in srgb,var(--teal) 78%,#000);border-color:color-mix(in srgb,var(--teal) 78%,#000);color:#fff;transform:translateY(2px);box-shadow:inset 0 2px 4px rgba(0,0,0,.22)}
.qd-soon{margin:0;font-size:.9375rem}
@media(max-width:560px){.qd-fields{grid-template-columns:1fr}}
/* on dark containers the amount chips turn white */
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .qd-chip span,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .qd-chip span{border-color:#fff;color:#fff}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .qd-chip:hover span,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .qd-chip:hover span{background:#ffffff26}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .qd-chip input:checked + span,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .qd-chip input:checked + span{background:#fff;color:var(--navy,#013a55)}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .qd-chip input:focus-visible + span,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .qd-chip input:focus-visible + span{outline-color:var(--gold,#ffc966)}
/* the block: heading above, or heading left and form right */
.quick-donate-block .qd-head{margin-bottom:22px}
.quick-donate-block .qd-head h2{margin-top:0}
@media(min-width:900px){.quick-donate-block.qd-side{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:48px;align-items:center}.quick-donate-block.qd-side .qd-head{margin-bottom:0}}
/* inside the Banner card: compact */
.banner-card-donate{margin-top:16px}
.banner-card .quick-donate{gap:10px}
.banner-card .qd-chip span{min-width:52px;padding:7px 10px;font-size:.9375rem}
.banner-card .qd-fields{grid-template-columns:1fr;gap:8px}
.banner-card .qd-fields label{color:inherit}
.banner-card .qd-fields input{padding:8px 10px}
.banner-card .qd-other-box input{padding:6px 0;width:70px}
.banner-card .qd-other-box{min-width:100px}
.banner-card .qd-submit{padding:10px 22px}

/* Quick donate, softer look: pill button and chips, rounded translucent fields that blend into the block */
.quick-donate{--qd-field-bg:#f4f8f7;--qd-field-line:#d3e1dd;--qd-field-text:#2f3b3d;--qd-focus:var(--teal)}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate{--qd-field-bg:rgba(255,255,255,.1);--qd-field-line:rgba(255,255,255,.3);--qd-field-text:#fff;--qd-focus:var(--gold,#ffc966)}
.quick-donate .qd-chip span{border-radius:999px;border-width:1.5px}
.quick-donate .qd-fields input,.quick-donate .qd-other-box{background:var(--qd-field-bg);border:1px solid var(--qd-field-line);color:var(--qd-field-text);border-radius:12px}
.quick-donate .qd-other-box{border-radius:999px;padding:0 14px}
.quick-donate .qd-other-box input{color:var(--qd-field-text)}
.quick-donate .qd-other-box input::placeholder,.quick-donate .qd-fields input::placeholder{color:currentColor;opacity:.55}
.quick-donate .qd-fields input:focus,.quick-donate .qd-other-box:focus-within{border-color:var(--qd-focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--qd-focus) 28%,transparent);outline:0}
.quick-donate .qd-fields label{font-weight:600;opacity:.9;margin-left:4px}
.quick-donate .qd-submit{border-radius:999px;padding:12px 32px}
.banner-card .quick-donate .qd-submit{padding:10px 26px}
/* Quick donate: gold scheme for the amount chips */
.quick-donate .qd-chip span{border-color:var(--gold-dark);color:var(--ink,#333)}
.quick-donate .qd-chip:hover span{background:color-mix(in srgb,var(--gold,#ffc966) 30%,transparent)}
.quick-donate .qd-chip input:checked + span{background:var(--gold,#ffc966);border-color:var(--gold,#ffc966);color:var(--ink,#333)}
.quick-donate .qd-chip input:focus-visible + span{outline-color:var(--navy,#013a55)}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-chip span,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-chip span{border-color:var(--gold,#ffc966);color:#fff}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-chip:hover span,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-chip:hover span{background:color-mix(in srgb,var(--gold) 20%,transparent)}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-chip input:checked + span,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-chip input:checked + span{background:var(--gold,#ffc966);color:var(--ink,#333)}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-chip input:focus-visible + span,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-chip input:focus-visible + span{outline-color:#fff}

/* Quick donate: the amount window shows the chosen amount, with no spinner arrows or scroll bars; the button is never dimmed */
.quick-donate .qd-other-box input{appearance:textfield;-moz-appearance:textfield;overflow:hidden;line-height:1.4;height:auto;resize:none;scrollbar-width:none}
.quick-donate .qd-other-box input::-webkit-outer-spin-button,.quick-donate .qd-other-box input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;display:none}
.quick-donate .qd-other-box{overflow:hidden}
.quick-donate[data-qd-off] .qd-submit{opacity:1;cursor:pointer}

/* Quick donate: no inner focus lines in the amount window (the rounded box shows focus), and a tighter height */
.quick-donate .qd-other-box input,.quick-donate .qd-other-box input:focus,.quick-donate .qd-other-box input:focus-visible{outline:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
.quick-donate{gap:10px}
.quick-donate .qd-amounts{gap:6px}
.quick-donate .qd-chip span{min-width:56px;padding:6px 14px}
.quick-donate .qd-other-box{min-width:104px;padding:0 12px}
.quick-donate .qd-other-box input{width:72px;padding:6px 0}
.quick-donate .qd-fields{gap:10px}
.quick-donate .qd-fields label{margin-bottom:2px;font-size:.8125rem}
.quick-donate .qd-fields input{padding:7px 12px}
.quick-donate .qd-submit{padding:9px 28px}
.banner-card .quick-donate{gap:8px}
.banner-card .qd-chip span{min-width:48px;padding:5px 10px}
.banner-card .qd-fields input{padding:6px 10px}
.banner-card .qd-submit{padding:8px 22px}
.quick-donate-block .qd-head{margin-bottom:16px}

/* Quick donate: a little more room above the button, and a slightly smaller button */
.quick-donate .qd-submit{margin-top:8px;padding:7px 24px;font-size:.9375rem}
.banner-card .quick-donate .qd-submit{margin-top:6px;padding:6px 20px;font-size:.875rem}

/* Quick donate: validation messages and the hidden spam-trap field */
.quick-donate .qd-trap{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.quick-donate .qd-error{margin:4px 4px 0;font-size:.8125rem;font-weight:600;color:#a12a2a;line-height:1.3}
.quick-donate .qd-amounts .qd-error{flex:1 0 100%;margin:2px 4px 0}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-error,.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate .qd-error{color:#ffd9b8}
.quick-donate input[aria-invalid="true"]{border-color:#c0392b!important}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate input[aria-invalid="true"],.banner-card:is(:not(.has-style),.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .quick-donate input[aria-invalid="true"]{border-color:#ffb27a!important}

/* Quick donate on the gold container: charcoal chips and focus so nothing is gold on gold */
:is(.bg-gold-site,.banner-card.bg-gold-site) .quick-donate .qd-chip span{border-color:var(--ink,#333);color:var(--ink,#333)}
:is(.bg-gold-site,.banner-card.bg-gold-site) .quick-donate .qd-chip input:checked + span{background:var(--ink,#333);border-color:var(--ink,#333);color:#fff}
:is(.bg-gold-site,.banner-card.bg-gold-site) .quick-donate{--qd-focus:var(--ink,#333)}

/* Cards Advanced: Container and Box colours. Dark ones turn the heading, eyebrow and sentence light; the cards keep their own look. */
.donation-choices:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) :is(.eyebrow,h2,.gifts-sub),
.donation-choices .block-box:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) :is(.eyebrow,h2,.gifts-sub){color:#fff}
.donation-choices:is(.bg-navy-site,.bg-charcoal-site) .eyebrow,.donation-choices .block-box:is(.bg-navy-site,.bg-charcoal-site) .eyebrow{color:var(--gold,#ffc966)}
.donation-choices .block-box{border-radius:0}

/* Container / Box colours on blocks that draw their own section (Progress, Intro, Explainer, Pillars, Sponsors, Comments...) */
.sw-colour{width:100%}
.sw-colour > section,.sw-colour > .sw-box > section{background:transparent}
.sw-colour > section:not(.wrap):not([class*="-band"]){background-color:transparent}
.sw-box{margin-bottom:0}
.sw-box :is(.wrap,.container-xl){max-width:none;padding-inline:0;margin-inline:0}
.sw-colour > .sw-box{margin-top:0}
.sw-dark :is(.eyebrow,h2,.lead,[class*="-sub"]):not(:is(article,figure,.card,.block-card,.cg-card,.gift-card) *){color:#fff}
:is(.bg-navy-site,.bg-charcoal-site).sw-dark .eyebrow:not(:is(article,figure,.card,.block-card) *),:is(.bg-navy-site,.bg-charcoal-site).sw-dark :is(.eyebrow):not(:is(article,figure,.card,.block-card) *){color:var(--gold,#ffc966)}
.sw-dark > section p:not(:is(article,figure,.card,.block-card) *),.sw-dark > .sw-box > section p:not(:is(article,figure,.card,.block-card) *){color:rgba(255,255,255,.9)}

/* White cards on a dark Container/Box: the card text stays dark (the dark colour's white headings must not reach into the cards) */
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .gift-card:not(.gift-featured):not(:hover):not(:focus-within) :is(h1,h2,h3,h4,.gift-subtitle){color:var(--navy,#013a55)}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .gift-card:not(.gift-featured):not(:hover):not(:focus-within) p:not(.gift-subtitle){color:var(--c-text-muted,#5b6b6f)}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .gift-card:not(.gift-featured):not(:hover):not(:focus-within) .gift-number{color:var(--teal,#168877)}
:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .gift-card:not(.gift-featured):not(:hover):not(:focus-within) .gift-eyebrow{color:var(--teal,#168877)}
.bg-charcoal-site :is(.block-card,.card,.gift-card,.cg-card):not(.gift-featured) :is(h1,h2,h3,h4,h5,h6){color:var(--navy,#013a55)}

/* Cards Advanced buttons on a dark Container/Box: the dark colour's link colour must not reach the card buttons */
html body :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .gift-card:not(.gift-featured):not(:hover):not(:focus-within) a.gift-button{color:var(--teal,#168877);text-decoration:none;border-color:var(--teal,#168877);background:transparent}
html body :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .gift-card:is(.gift-featured,:hover,:focus-within) a.gift-button{color:var(--navy,#013a55);text-decoration:none;background:var(--gold,#ffc966);border-color:var(--gold,#ffc966)}
html body :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .gift-card:is(.gift-featured,:hover,:focus-within) a.gift-button:is(:hover,:focus-visible){color:var(--navy,#013a55);background:#fff;border-color:#fff}
html body :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site) .gift-card:not(.gift-featured):not(:hover):not(:focus-within) a.gift-button:is(:hover,:focus-visible){color:#fff;background:var(--teal,#168877)}

/* Photo and story: room between the heading and the text when there is no sentence (subtitle) between them */

/* Page banner follows the theme (the same two tints as before, now taken from the theme's pale colours) */
.page-hero{background:linear-gradient(115deg,var(--c-green-wash) 0 70%,var(--c-light-blue) 70%)}

/* Pillars block (values.php): the Cards heading area, then items in a row, either inside an outline or with divider lines only.
   Colours come from the same --cg-* variables as Cards, so light/dark and the accent follow the Container style and options. */
.card-grid.pillars { --pl-cols: 4; }
.card-grid.pillars.pl-cols-2 { --pl-cols: 2; }
.card-grid.pillars.pl-cols-3 { --pl-cols: 3; }
.card-grid.pillars .pl-grid { display: grid; grid-template-columns: repeat(var(--pl-cols), minmax(0, 1fr)); overflow: hidden; }
.card-grid.pillars.pl-style-boxes .pl-grid { border: 1px solid var(--cg-border); }
/* The dividers are drawn as a shadow on each item's left and top edge; the grid's overflow:hidden trims the ones on the outer edge. */
.card-grid.pillars .pl-item { padding: 35px 28px; box-shadow: -1px 0 0 var(--cg-border), 0 -1px 0 var(--cg-border); }
.card-grid.pillars .cg-number { display: block; color: var(--cg-accent); font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 0; }
.card-grid.pillars .pl-item h3 { color: var(--cg-head); font-size: 1.5rem; margin: 22px 0 12px; }
.card-grid.pillars .pl-item .cg-number + h3 { margin-top: 22px; }
.card-grid.pillars .pl-item > h3:first-child { margin-top: 0; }
.card-grid.pillars .pl-item p { color: var(--cg-text); margin: 0; line-height: 1.65; }
.card-grid.pillars .pl-item > a { display: inline-block; margin-top: 18px; color: var(--cg-accent); font-weight: 700; padding: 0 0 4px; border-bottom: 1px solid currentColor; text-decoration: none; }
.card-grid.pillars .pl-item > a:hover, .card-grid.pillars .pl-item > a:focus-visible { border-bottom-width: 2px; }
@media (max-width: 991.98px) { .card-grid.pillars[class*="pl-cols"] { --pl-cols: 2; } }
@media (max-width: 600px) { .card-grid.pillars[class*="pl-cols"] { --pl-cols: 1; } }
.card-grid .cg-head .cg-intro { margin: 16px 0 0; max-width: 62rem; color: var(--cg-text); line-height: 1.65; }
.card-grid .cg-head .cg-sub + .cg-intro { margin-top: 12px; }
.card-grid .cg-head .cg-intro + .cg-intro { margin-top: 10px; }

/* Pillars accent: a short bar above each item plus the number and link colour. The html:root body prefix keeps theme/article rules from
   turning these white or black. */
html:root body .card-grid.pillars .pl-item .cg-number { color: var(--cg-accent); font-size: 0.875rem; }
html:root body .card-grid.pillars .pl-item > a { color: var(--cg-accent); }
html:root body .card-grid.pillars .pl-item .cg-number + h3 { margin-top: 14px; }
html:root body .card-grid.pillars .pl-item > h3:first-child { margin-top: 0; }

/* Pillars: the eyebrow takes the accent colour too (Cards keeps its own eyebrow colour). A gold container keeps the charcoal eyebrow set above. */
html:root body .card-grid.pillars .cg-head .eyebrow { color: var(--cg-accent); }
html:root body .bg-gold-site .card-grid.pillars .cg-head .eyebrow { color: var(--ink); }

/* Text and feature card (text-card.php): text on the left, a rounded card on the right */
.text-card .tc-head { margin-bottom: 28px; }
.text-card .tc-head h2 { margin: 0; }
.text-card .tc-sub { margin: 14px 0 0; max-width: none; font-size: 1.125rem; color: var(--c-text-soft); }
.text-card { --tc-card: 50%; }
.text-card.tc-w-third { --tc-card: 33.333%; }
.text-card.tc-w-two5 { --tc-card: 40%; }
.text-card.tc-w-three5 { --tc-card: 60%; }
.text-card .tc-row { display: grid; grid-template-columns: minmax(0, 1fr) var(--tc-card); gap: 48px; align-items: stretch; }
.text-card.tc-h-fit .tc-row { align-items: start; }
.text-card .tc-text > :first-child { margin-top: 0; }
.text-card .tc-text > :last-child { margin-bottom: 0; }
.text-card .tc-cta { margin-top: 24px; }
.text-card .tc-card { box-sizing: border-box; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; min-width: 0; }
.text-card.tc-align-middle .tc-card { justify-content: center; }
.text-card.tc-h-medium .tc-card { min-height: 360px; }
.text-card.tc-h-tall .tc-card { min-height: 520px; }
.text-card .tc-card > :first-child { margin-top: 0; }
.text-card .tc-card > :last-child { margin-bottom: 0; }
.text-card .tc-card img, .text-card .tc-card iframe, .text-card .tc-card video { max-width: 100%; border-radius: 14px; }
.text-card .tc-card img { height: auto; display: block; }
.text-card .tc-card iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.text-card .tc-card h2, .text-card .tc-card h3, .text-card .tc-card h4 { color: var(--navy); }
.text-card .tc-card-green { background: var(--c-green-wash); }
.text-card .tc-card-mist { background: var(--c-mist); }
.text-card .tc-card-white { background: #fff; border: 1px solid var(--c-border); }
.text-card .tc-card-gold { background: var(--gold); color: var(--ink); }
.text-card .tc-card-gold :is(h2, h3, h4, p, li, a) { color: var(--ink); }
.text-card .tc-card-navy { background: var(--navy); color: #fff; }
html:root body .text-card .tc-card-navy :is(h2, h3, h4, p, li, blockquote, a) { color: #fff; }
@media (max-width: 900px) {
  .text-card .tc-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .text-card .tc-card { padding: 28px; min-height: 0 !important; }
}

/* Eyebrow typed in the text editor: a paragraph with the site's eyebrow look, tight to the heading that follows */
.article-content p.eyebrow, .tc-text p.eyebrow, .et-text p.eyebrow, .tc-card p.eyebrow { display: block; margin: 0 0 6px; }
.article-content p.eyebrow + :is(h2, h3, h4), .tc-text p.eyebrow + :is(h2, h3, h4), .tc-card p.eyebrow + :is(h2, h3, h4) { margin-top: 0; }

/* Text and feature card: the "as tall as its content" setting wins over any generic rule for the card (it is a plain div) */
html:root body .text-card.tc-h-fit .tc-row { align-items: start; }
html:root body .text-card.tc-h-fit .tc-card { align-self: start; height: auto; min-height: 0; }

/* ---- One spacing system for headings and the text that follows them (Photo and story, Featured event, text blocks, text beside embed or card) ----
   --head-gap   block title (or its lead line) to the content under it
   --ch-above   a heading typed inside the content, to the paragraph above it
   --ch-below   a heading typed inside the content, to the text under it
   Change a number here and every block follows. */
:root { --head-gap: 24px; --lead-gap: 14px; --ch-above: 48px; --ch-below: 14px; }
.about-story h2, .event-feature h2 { margin-bottom: var(--head-gap); }
.about-story h2:has(+ .lead), .event-feature h2:has(+ .lead) { margin-bottom: var(--lead-gap); }
.about-story .lead, .event-feature .lead { margin-bottom: var(--head-gap); }
.about-story :is(h2, .lead) + *, .event-feature :is(h2, .lead) + * { margin-top: 0; }
.embed-text .et-head, .text-card .tc-head { margin-bottom: var(--head-gap); }
.embed-text.et-flow .et-head { margin-bottom: var(--head-gap); }
.about-story :is(p, ul, ol, blockquote, figure, table, div) ~ :is(h2, h3, h4, h5, h6),
.article-content :is(p, ul, ol, blockquote, figure, table, div) ~ :is(h2, h3, h4, h5, h6),
.et-text :is(p, ul, ol, blockquote, figure, table, div) ~ :is(h2, h3, h4, h5, h6),
.tc-text :is(p, ul, ol, blockquote, figure, table, div) ~ :is(h2, h3, h4, h5, h6),
.tc-card :is(p, ul, ol, blockquote, figure, table, div) ~ :is(h2, h3, h4, h5, h6) { margin-top: var(--ch-above); margin-bottom: var(--ch-below); }
.about-story .lead ~ :is(h2, h3, h4, h5, h6):first-of-type, .about-story .lead + :is(h2, h3, h4, h5, h6) { margin-top: 0; }
.about-story :is(h2, h3, h4, h5, h6) + *, .article-content :is(h2, h3, h4, h5, h6) + *, .et-text :is(h2, h3, h4, h5, h6) + *,
.tc-text :is(h2, h3, h4, h5, h6) + *, .tc-card :is(h2, h3, h4, h5, h6) + * { margin-top: 0; }
.about-story :is(h3, h4, h5, h6), .article-content :is(h2, h3, h4, h5, h6), .et-text :is(h2, h3, h4, h5, h6),
.tc-text :is(h2, h3, h4, h5, h6), .tc-card :is(h2, h3, h4, h5, h6) { margin-bottom: var(--ch-below); }
.about-story :is(h2, h3, h4, h5, h6):first-child, .article-content :is(h2, h3, h4, h5, h6):first-child, .et-text :is(h2, h3, h4, h5, h6):first-child,
.tc-text :is(h2, h3, h4, h5, h6):first-child, .tc-card :is(h2, h3, h4, h5, h6):first-child { margin-top: 0; }

/* Block background photo (a faint, grayscale picture under the Container colour). The picture sits behind the content and its
   opacity is set per block; the section's own background colour is the overlay colour. */
.has-bgphoto { position: relative; overflow: hidden; isolation: isolate; }
.has-bgphoto > .bgphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; user-select: none; }
/* A plain content block with no Box style still needs room around its text when it carries the photo. */
.has-bgphoto.bg-box-plain { padding: clamp(20px, 3vw, 36px); }
@media print { .bgphoto { display: none !important; } }

/* Photo on the content block of a self-drawn section (Local need): let the photo show through the section's own colour. */
.sw-box.has-bgphoto > section { background: transparent; }

/* ---- Text and photo: text on one side, a plain photo on the other (no frame, no rounded corners) ---- */
.text-photo { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.text-photo.tp-align-top { align-items: start; }
.text-photo.tp-photo-right.tp-w-third  { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.text-photo.tp-photo-right.tp-w-two5   { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.text-photo.tp-photo-right.tp-w-half   { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.text-photo.tp-photo-right.tp-w-three5 { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.text-photo.tp-photo-left.tp-w-third   { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.text-photo.tp-photo-left.tp-w-two5    { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.text-photo.tp-photo-left.tp-w-half    { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.text-photo.tp-photo-left.tp-w-three5  { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.text-photo.tp-no-photo { grid-template-columns: minmax(0, 1fr); }
.text-photo .tp-photo { position: relative; margin: 0; padding: 0; float: none; width: auto; max-width: none; }
.text-photo .tp-photo img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; border: 0; }
.text-photo.tp-fit-fill .tp-photo { align-self: stretch; min-height: 320px; }
.text-photo.tp-fit-fill .tp-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.text-photo .tp-label { position: absolute; left: 0; bottom: 28px; background: var(--gold); color: var(--navy); font-weight: 700; padding: 14px 20px; max-width: 85%; }
.text-photo .tp-text > :first-child { margin-top: 0; }
.text-photo .tp-text > :last-child { margin-bottom: 0; }
.text-photo .tp-cta { margin-top: 1.5rem; }
/* Heading spacing follows the shared spacing system. */
.text-photo h2 { margin-bottom: var(--head-gap); }
.text-photo h2:has(+ .lead) { margin-bottom: var(--lead-gap); }
.text-photo .lead { margin-bottom: var(--head-gap); }
.text-photo :is(h2, .lead) + * { margin-top: 0; }
.text-photo .tp-text :is(p, ul, ol, blockquote, figure, table, div) ~ :is(h2, h3, h4, h5, h6) { margin-top: var(--ch-above); margin-bottom: var(--ch-below); }
.text-photo .tp-text :is(h3, h4, h5, h6) { margin-bottom: var(--ch-below); }
.text-photo .tp-text :is(h3, h4, h5, h6) + * { margin-top: 0; }
.text-photo .tp-text p.eyebrow { display: block; margin: 0 0 6px; }
/* Run to the page edge (Block width: Full): the photo cancels the block's side padding on its outer edge. */
.text-photo.tp-edge.tp-photo-right .tp-photo { margin-right: -24px; }
.text-photo.tp-edge.tp-photo-left  .tp-photo { margin-left: -24px; }
@media (max-width: 767.98px) {
  .text-photo:is(.tp-photo-left, .tp-photo-right):is(.tp-w-third, .tp-w-two5, .tp-w-half, .tp-w-three5), .text-photo.tp-no-photo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .text-photo.tp-fit-fill .tp-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .text-photo.tp-edge.tp-photo-left .tp-photo, .text-photo.tp-edge.tp-photo-right .tp-photo { margin-left: -15px; margin-right: -15px; }
}

/* Text and feature card: the heading area lives in the text column, so the card stays level with the whole block. */
.text-card .tc-head + :is(h2, h3, h4, h5, h6, p, ul, ol, div) { margin-top: 0; }

/* Text and feature card: optional accent stripe down the left edge of the card. */
.text-card.tc-accent .tc-card { border-left: 8px solid var(--tc-accent, var(--gold)); }   /* left (default) */
.text-card.tc-accent.tc-side-top .tc-card { border-left-width: 0; border-top: 8px solid var(--tc-accent, var(--gold)); }
.text-card.tc-accent.tc-side-right .tc-card { border-left-width: 0; border-right: 8px solid var(--tc-accent, var(--gold)); }
.text-card.tc-accent.tc-side-bottom .tc-card { border-left-width: 0; border-bottom: 8px solid var(--tc-accent, var(--gold)); }
.text-card.tc-accent:is(.tc-side-top, .tc-side-right, .tc-side-bottom) .tc-card-white { border-left-width: 1px; }
.text-card.tc-accent-gold { --tc-accent: var(--gold); }
.text-card.tc-accent-teal { --tc-accent: var(--teal); }
.text-card.tc-accent-navy { --tc-accent: var(--navy); }
.text-card.tc-accent-blue { --tc-accent: var(--blue); }

/* Text links inside typed content of the Text and feature card and Text and photo blocks (buttons keep their own look). */
html:root body :is(.tc-text, .tc-card, .tp-text) a:not(.primary):not(.outline-light):not(.editorial-link):not(.btn) { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
html:root body :is(.tc-text, .tc-card, .tp-text) a:not(.primary):not(.outline-light):not(.editorial-link):not(.btn):is(:hover, :focus-visible) { color: var(--navy); text-decoration-thickness: 2px; }
html:root body .tc-card-navy a:not(.primary):not(.btn) { color: var(--gold); }
html:root body .tc-card-navy a:not(.primary):not(.btn):is(:hover, :focus-visible) { color: #fff; }
html:root body .tc-card-gold a:not(.primary):not(.btn) { color: var(--ink); }

/* Text blocks in a band (page-block) use the whole width of their content block: no reading-column cap on the box or its text. */
html:root body .page-block .article-content,
html:root body .page-block .article-content > :is(p, ul, ol, blockquote, h2, h3, h4, h5, h6, .lead, .eyebrow, table, figure, div) { max-width: none; }
html:root body .page-block .article-content { width: 100%; margin-inline: 0; }

/* Text block: a narrower text box (and its Box colour) inside the container. */
html:root body .page-block .article-content.tw-three4 { width: 75%; }
html:root body .page-block .article-content.tw-half { width: 50%; }
html:root body .page-block .article-content.tw-left { margin-inline: 0 auto; }
html:root body .page-block .article-content.tw-centre { margin-inline: auto; }
html:root body .page-block .article-content.tw-right { margin-inline: auto 0; }
@media (max-width: 767.98px) { html:root body .page-block .article-content:is(.tw-three4, .tw-half) { width: 100%; } }

/* Text block in a band: the box starts flush with the band's top padding, and "Space above" (Tight, Medium...) wins over the default band padding. */
html:root body .page-block .article-content > :first-child { margin-top: 0; }
html:root body .page-block .article-content > :last-child { margin-bottom: 0; }
html:root body section.page-block.bs-none { padding-top: 0; }
html:root body section.page-block.bs-tight { padding-top: 24px; }
html:root body section.page-block.bs-medium { padding-top: 56px; }
html:root body section.page-block.bs-large { padding-top: 104px; }
/* ...and the reading-column section right above it gives up its bottom padding, as a band above does. */
html:root body .wrap:has(+ section.page-block:is(.bs-none, .bs-tight)), html:root body .wrap:has(+ section.page-block:is(.bs-none, .bs-tight)) > .row { padding-bottom: 0; margin-bottom: 0; }

/* ---- Two columns of text ---- */
.text-cols .tx-head { margin-bottom: var(--head-gap); }
.text-cols .tx-head h2 { margin-bottom: var(--lead-gap); }
.text-cols .tx-head .lead { margin-bottom: 0; }
.text-cols .tx-head :last-child { margin-bottom: 0; }
.text-cols { --tx-gap: clamp(28px, 4vw, 48px); }
.text-cols.tx-gap-small { --tx-gap: clamp(16px, 2.5vw, 28px); }
.text-cols.tx-gap-large { --tx-gap: clamp(40px, 6vw, 88px); }
.text-cols .tx-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--tx-gap); row-gap: 1.5rem; }
.text-cols.tx-split-wide-left  .tx-row { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.text-cols.tx-split-wide-right .tx-row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.text-cols .tx-col > :first-child { margin-top: 0; }
.text-cols .tx-col > :last-child { margin-bottom: 0; }
.text-cols .tx-col :is(p, ul, ol, blockquote, figure, table, div) ~ :is(h2, h3, h4, h5, h6) { margin-top: var(--ch-above); margin-bottom: var(--ch-below); }
.text-cols .tx-col :is(h2, h3, h4, h5, h6) { margin-bottom: var(--ch-below); }
.text-cols .tx-col :is(h2, h3, h4, h5, h6) + * { margin-top: 0; }
.text-cols .tx-cta { margin: 1.75rem 0 0; }
/* A thin line centred in the gap: the gap is split into padding either side of it. */
.text-cols.tx-divider .tx-row { column-gap: 0; }
.text-cols.tx-divider .tx-col:first-child { padding-right: calc(var(--tx-gap) / 2); }
.text-cols.tx-divider .tx-col + .tx-col { padding-left: calc(var(--tx-gap) / 2); border-left: 1px solid var(--c-border-strong, #d5dcdc); }
html:root body .text-cols .tx-col a:not(.primary):not(.outline-light):not(.editorial-link):not(.btn) { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
html:root body .text-cols .tx-col a:not(.primary):not(.outline-light):not(.editorial-link):not(.btn):is(:hover, :focus-visible) { color: var(--navy); text-decoration-thickness: 2px; }
@media (max-width: 767.98px) {
  .text-cols .tx-row, .text-cols[class] .tx-row { grid-template-columns: minmax(0, 1fr); }
  .text-cols.tx-divider .tx-row { row-gap: 1.5rem; }
  .text-cols.tx-divider .tx-col:first-child { padding-right: 0; }
  .text-cols.tx-divider .tx-col + .tx-col { border-left: 0; padding-left: 0; }
}

/* Staff list: initials colour per group, and the Read bio pop-up. */
.board-grid article > span.sc-charcoal, .staff-dialog-pic > span.sc-charcoal { background: var(--ink, #333); }
.board-grid article > span.sc-teal, .staff-dialog-pic > span.sc-teal { background: var(--teal); }
.board-grid article > span.sc-blue, .staff-dialog-pic > span.sc-blue { background: var(--blue); }
.board-grid article > span.sc-gold, .staff-dialog-pic > span.sc-gold { background: var(--gold); color: var(--navy); }
.board-grid .staff-bio-open { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 0.6875rem; font-weight: 700; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.board-grid .staff-bio-open:hover, .board-grid .staff-bio-open:focus-visible { color: var(--navy); }
.staff-dialog { width: min(92vw, 760px); max-height: 88vh; padding: 0; border: 0; border-radius: 14px; overflow: auto; color: var(--ink, #333); background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.staff-dialog::backdrop { background: color-mix(in srgb, var(--navy) 70%, transparent); }
.staff-dialog-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--navy); font-size: 1.75rem; line-height: 1; cursor: pointer; z-index: 1; }
.staff-dialog-close:hover, .staff-dialog-close:focus-visible { background: var(--gold); }
.staff-dialog-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 4vw, 36px); padding: clamp(24px, 4vw, 40px); }
.staff-dialog-pic img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.staff-dialog-pic > span { display: grid; place-items: center; width: 160px; height: 160px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 3rem; font-weight: 700; font-family: var(--open); }
.staff-dialog-text h3 { margin: 0 0 4px; font-size: 1.625rem; }
.staff-dialog-role { margin: 0 0 1rem; color: var(--teal); font-weight: 700; }
.staff-dialog-bio > :first-child { margin-top: 0; }
.staff-dialog-bio > :last-child { margin-bottom: 0; }
.staff-dialog-contact { display: flex; flex-direction: column; gap: 4px; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--c-border); }
.staff-dialog-contact a, .staff-dialog-bio a { color: var(--teal); text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .staff-dialog-body { grid-template-columns: minmax(0, 1fr); padding-top: 56px; }
  .staff-dialog-pic img { aspect-ratio: 4 / 3; }
}

/* Staff initials: white circle (dark initials and a fine outline so it shows on a white card). */
.board-grid article > span.sc-white, .staff-dialog-pic > span.sc-white { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--c-border-strong, #cfd8d8); }

/* Contact details block: text from Site Settings on the left, a map or photo on the right. */
.contact-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.contact-details.cd-right-none { grid-template-columns: minmax(0, 1fr); }
.contact-details .cd-list { margin: 28px 0 0; }
.contact-details .cd-list > div { padding: 14px 0; border-top: 1px solid var(--c-border, #d6e4e0); }
.contact-details .cd-list > div:last-child { border-bottom: 1px solid var(--c-border, #d6e4e0); }
.contact-details dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 0 0 4px; }
.contact-details dd { margin: 0; font-size: 1.0625rem; }
.contact-details .cd-route { display: inline-block; margin-left: 10px; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.contact-details .cd-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.contact-details .cd-social li { margin: 0; }
.contact-details .cd-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid currentColor; border-radius: 999px; font-size: .8125rem; font-weight: 600; text-decoration: none; }
.contact-details .cd-social a:has(.social-icon) { padding: 0; width: 40px; }
.contact-details .cd-social .social-icon { width: 18px; height: 18px; fill: currentColor; }
.contact-details .cd-note { margin-top: 22px; }
.contact-details .cd-side { margin: 0; min-height: 380px; overflow: hidden; background: var(--c-placeholder, #e8efed); }
.contact-details .cd-side iframe, .contact-details .cd-side img { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; object-fit: cover; }
@media (max-width: 991.98px) { .contact-details { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Events list: a chosen Box style shows (the section's own soft colour no longer paints over it), and Container style "None" means plain. */
.sw-box > section.events-section { background: transparent; }
html:root body .events-section.es-plain { background: transparent; }

/* ===== Campaign hero (alternate home page hero: full-width picture, two buttons, three quick links) ===== */
html:root body .campaign-hero { position: relative; display: flex; flex-direction: column; min-height: min(86vh, 760px); background: var(--navy, #013a55); color: #fff; overflow: hidden; isolation: isolate; }
html:root body .campaign-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
html:root body .campaign-hero-shade { position: absolute; inset: 0; z-index: -1; }
html:root body .campaign-hero:not(.has-colour) .campaign-hero-shade { background: linear-gradient(90deg, rgba(1, 40, 60, .97) 0%, rgba(1, 50, 74, .93) 38%, rgba(1, 58, 85, .6) 62%, rgba(1, 58, 85, .12) 100%); }
/* A chosen Container colour: the colour layer fades from solid on the left to see-through on the right. */
html:root body .campaign-hero.has-colour .campaign-hero-shade { -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .96) 38%, rgba(0, 0, 0, .6) 62%, rgba(0, 0, 0, .1) 100%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .96) 38%, rgba(0, 0, 0, .6) 62%, rgba(0, 0, 0, .1) 100%); }
html:root body .campaign-hero.has-colour.no-photo .campaign-hero-shade { -webkit-mask-image: none; mask-image: none; }
html:root body .campaign-hero.has-colour { background: transparent; }
html:root body .campaign-hero.has-colour:not(.no-photo) { background: #fff; }
html:root body .campaign-hero.is-light, html:root body .campaign-hero.is-light h1 { color: var(--navy, #013a55); }
html:root body .campaign-hero.is-light h1 em, html:root body .campaign-hero.is-light .campaign-kicker, html:root body .campaign-hero.is-light .campaign-quick-links small, html:root body .campaign-hero.is-light .campaign-quick-links .arrow { color: var(--teal, #168877); }
html:root body .campaign-hero.is-light .campaign-hero-copy > p { color: var(--ink, #333); }
html:root body .campaign-hero.is-light .campaign-secondary { border-color: var(--navy, #013a55); color: var(--navy, #013a55); background: transparent; }
html:root body .campaign-hero.is-light .campaign-secondary:hover, html:root body .campaign-hero.is-light .campaign-secondary:focus-visible { background: var(--navy, #013a55); color: #fff; }
html:root body .campaign-hero.is-light .campaign-quick-links { background: rgba(255, 255, 255, .94); border-top-color: rgba(1, 58, 85, .15); }
html:root body .campaign-hero.is-light .campaign-quick-links a { color: var(--navy, #013a55); border-left-color: rgba(1, 58, 85, .15); }
html:root body .campaign-hero.is-light .campaign-quick-links a:hover, html:root body .campaign-hero.is-light .campaign-quick-links a:focus-visible { background: rgba(1, 58, 85, .06); }
html:root body .campaign-hero.no-photo:not(.has-colour) .campaign-hero-shade { background: linear-gradient(135deg, var(--navy, #013a55), #0a5a6b); }
html:root body .campaign-hero .container-xl { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }
html:root body .campaign-hero-inner { flex: 1; display: flex; align-items: center; padding-top: 72px; padding-bottom: 72px; }
html:root body .campaign-hero-copy { max-width: 700px; }
html:root body .campaign-kicker { display: block; margin-bottom: 18px; color: var(--gold, #ffc966); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
html:root body .campaign-hero h1 { color: #fff; font-size: clamp(1.75rem, 3.8vw, 3.3rem); line-height: 1.02; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
html:root body .campaign-hero h1 em { color: var(--gold, #ffc966); font-style: italic; }
html:root body .campaign-hero-copy > p { margin: 24px 0 0; max-width: 58ch; color: rgba(255, 255, 255, .92); font-size: 1.1875rem; line-height: 1.65; }
html:root body .campaign-hero .actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
html:root body .campaign-secondary { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 26px; border: 2px solid rgba(255, 255, 255, .75); border-radius: 99px; color: #fff; font-weight: 700; text-decoration: none; background: rgba(255, 255, 255, .06); transition: background .2s, color .2s; }
html:root body .campaign-secondary:hover, html:root body .campaign-secondary:focus-visible { background: #fff; color: var(--navy, #013a55); }
html:root body .campaign-quick-links { position: relative; background: rgba(1, 40, 60, .92); border-top: 1px solid rgba(255, 255, 255, .18); }
html:root body .campaign-quick-links > .container-xl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
html:root body .campaign-quick-links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; color: #fff; text-decoration: none; border-left: 1px solid rgba(255, 255, 255, .18); transition: background .2s; }
html:root body .campaign-quick-links a:first-child { border-left: 0; padding-left: 0; }
html:root body .campaign-quick-links a:hover, html:root body .campaign-quick-links a:focus-visible { background: rgba(255, 255, 255, .08); }
html:root body .campaign-quick-links small { display: block; margin-bottom: 3px; color: var(--gold, #ffc966); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
html:root body .campaign-quick-links strong { display: block; font-size: 1.0625rem; line-height: 1.35; }
html:root body .campaign-quick-links .arrow { flex: none; font-size: 1.4rem; color: var(--gold, #ffc966); transition: transform .2s; }
html:root body .campaign-quick-links a:hover .arrow, html:root body .campaign-quick-links a:focus-visible .arrow { transform: translateX(4px); }
@media (max-width: 767.98px) {
  html:root body .campaign-hero { min-height: 0; }
  html:root body .campaign-hero:not(.has-colour) .campaign-hero-shade { background: linear-gradient(180deg, rgba(1, 40, 60, .78), rgba(1, 58, 85, .88)); }
  html:root body .campaign-hero.has-colour .campaign-hero-shade { -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .8)); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .8)); }
  html:root body .campaign-hero-inner { padding-top: 56px; padding-bottom: 48px; }
  html:root body .campaign-quick-links > .container-xl { grid-template-columns: 1fr; }
  html:root body .campaign-quick-links a, html:root body .campaign-quick-links a:first-child { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding: 18px 0; }
  html:root body .campaign-quick-links a:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { html:root body .campaign-quick-links .arrow { transition: none; } }

/* Campaign hero used as a page banner (inner pages): a little shorter than on the home page */
html:root body .campaign-hero.campaign-banner { min-height: min(78vh, 680px); }
html:root body .campaign-banner .campaign-hero-inner { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 767.98px) { html:root body .campaign-hero.campaign-banner { min-height: 0; } }

/* Brand Blue (#2474bc): a container / box colour. It rides on the Primary colour style (so every white-on-colour text rule
   already applies) and swaps in the brand blue, for anything inside it too. Block Styles rows use: bg-primary-site bg-brand-blue */
.bg-primary-site.bg-brand-blue { --c-primary: #2474bc; --c-primary-text: #fff; background: #2474bc; color: #fff; }


/* Quick donate block: the form fills its column in the side-by-side layout; alignment option; heading tag visible on dark colours */
html:root body .quick-donate-block.qd-side .quick-donate { max-width: none; }
html:root body .quick-donate-block.qd-align-center { text-align: center; }
html:root body .quick-donate-block.qd-align-right { text-align: right; }
html:root body .quick-donate-block.qd-stacked.qd-align-center .quick-donate { margin-inline: auto; }
html:root body .quick-donate-block.qd-stacked.qd-align-right .quick-donate { margin-left: auto; }
html:root body .quick-donate-block.qd-align-center .qd-amounts { justify-content: center; }
html:root body .quick-donate-block.qd-align-right .qd-amounts { justify-content: flex-end; }
html:root body .quick-donate-block.qd-align-center .qd-submit { justify-self: center; }
html:root body .quick-donate-block.qd-align-right .qd-submit { justify-self: end; }
html:root body .quick-donate-block.qd-align-center .qd-fields label, html:root body .quick-donate-block.qd-align-right .qd-fields label { text-align: left; }
html:root body :is(.bg-navy-site, .bg-charcoal-site) .quick-donate-block .eyebrow { color: var(--gold, #ffc966); }
html:root body .bg-primary-site .quick-donate-block .eyebrow { color: #fff; }

/* Quick donate block: the heading (h2/h3 etc.) and subtitle are white on the dark colours (Dark blue, Charcoal, Teal, Brand Blue), whichever wrapper carries the colour */
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .quick-donate-block :is(h1, h2, h3, h4, h5, h6) { color: #fff; }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .quick-donate-block .lead { color: rgba(255, 255, 255, .92); }

/* ---- Icons above card / pillar titles (standard library, colour set once per block) ---- */
.item-icon { display: inline-flex; width: 44px; height: 44px; margin-bottom: 16px; color: var(--cg-accent, var(--teal, #168877)); }
.item-icon svg { width: 100%; height: 100%; }
.item-icon.ic-teal { color: var(--teal, #168877); }
.item-icon.ic-gold { color: var(--gold, #ffc966); }
.item-icon.ic-blue { color: #2474bc; }
.item-icon.ic-navy { color: var(--navy, #013a55); }
.item-icon.ic-charcoal { color: #333b44; }
.item-icon.ic-white { color: #fff; }
.card-grid.pillars .pl-item .item-icon { display: flex; margin: 0 auto 14px; }
.gift-card .item-icon { color: var(--teal, #168877); }
.gift-card .item-icon.ic-gold { color: var(--gold, #ffc966); } .gift-card .item-icon.ic-blue { color: #2474bc; }
.gift-card .item-icon.ic-navy { color: var(--navy, #013a55); } .gift-card .item-icon.ic-charcoal { color: #333b44; } .gift-card .item-icon.ic-white { color: #fff; }
.gift-card.gift-featured .item-icon.ic-accent { color: #fff; }
/* A pillar or card with no title: the text stays in body type */
.card-grid .cg-card > .item-icon + p:not(:last-child), .card-grid .cg-card > .cg-number + p { margin-top: 0; }
.card-grid.pillars .pl-item > p:first-child, .card-grid.pillars .pl-item > .item-icon + p, .card-grid.pillars .pl-item > .cg-number + p { margin-top: 0; }
.card-grid.pillars .pl-item > .cg-number { margin-bottom: 14px; }
.card-grid.cg-look-filled .item-icon.ic-accent, .card-grid .cg-card.cg-first .item-icon.ic-accent { color: #fff; }
.item-icon.is-small { width: 32px; height: 32px; }
.item-icon.is-large { width: 64px; height: 64px; margin-bottom: 20px; }
.item-icon.is-xlarge { width: 88px; height: 88px; margin-bottom: 22px; }

/* ---- Text and photo: photo runs to the block's edges (top and bottom, and the outer side for "full") ---- */
/* No Content box: the photo runs to the band's top and bottom, so the band's own padding is removed. On a plain band (no colour) the
   same space is kept as margin, so the neighbouring blocks stay as far away as before. With a Content box the band keeps its padding
   (the box is the visible block) and only the box's padding is removed, below. */
.page-block:has(.text-photo.tp-bleed):not(:has(.block-box > .text-photo.tp-bleed)) { padding-block: 0; }
.page-block:is(.bg-none, :not([class*="bg-"])):has(.text-photo.tp-bleed):not(:has(.block-box > .text-photo.tp-bleed)) { margin-block: clamp(40px, 6vw, 72px); }
section.page-block.bs-none:has(.text-photo.tp-bleed):not(:has(.block-box > .text-photo.tp-bleed)) { margin-top: 0; }
section.page-block.bs-tight:has(.text-photo.tp-bleed):not(:has(.block-box > .text-photo.tp-bleed)) { margin-top: 24px; }
section.page-block.bs-medium:has(.text-photo.tp-bleed):not(:has(.block-box > .text-photo.tp-bleed)) { margin-top: 56px; }
section.page-block.bs-large:has(.text-photo.tp-bleed):not(:has(.block-box > .text-photo.tp-bleed)) { margin-top: 104px; }
.text-photo.tp-bleed { align-items: stretch; }
.text-photo.tp-bleed .tp-photo { align-self: stretch; min-height: 360px; }
.text-photo.tp-bleed .tp-text { padding-block: clamp(40px, 6vw, 72px); align-self: center; }
.block-box:has(> .text-photo.tp-bleed) { padding-block: 0; }
.block-box:has(> .text-photo.tp-bleed-all) { padding-inline: 0; }
.block-box > .text-photo.tp-bleed .tp-text { padding-block: clamp(24px, 3vw, 40px); }
.block-box > .text-photo.tp-bleed-all .tp-text { padding-inline: clamp(24px, 3vw, 40px); }
.block-width-full > div:not([class]) > .text-photo.tp-bleed-all.tp-photo-right .tp-photo { margin-right: -24px; }
.block-width-full > div:not([class]) > .text-photo.tp-bleed-all.tp-photo-left .tp-photo { margin-left: -24px; }
@media (max-width: 767.98px) {
  .text-photo.tp-bleed { gap: 0; }
  .text-photo.tp-bleed .tp-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .block-width-full > div:not([class]) > .text-photo.tp-bleed-all .tp-photo { margin-left: -15px; margin-right: -15px; }
}

.page-block:has(.card-grid.cg-space-large) { margin-top: 80px; }   /* Cards and Pillars: Large adds white space above the block, outside its colour */

/* Footer: office location and mailing address, side by side on a computer screen and stacked on a phone or tablet */
footer .footer-addresses { display: flex; flex-direction: column; gap: 14px 28px; margin: 0 0 14px; }
@media (min-width: 901px) {
  html:root body footer .footer-grid.has-mailing { column-gap: 36px; }   /* most of the width goes to the two addresses; the template depends on how many columns the footer has */
  html:root body footer .footer-grid.fg-cols-4 { grid-template-columns: minmax(230px, 1fr) minmax(110px, .5fr) minmax(110px, .5fr) 3fr; }
  html:root body footer .footer-grid.fg-cols-3 { grid-template-columns: minmax(230px, 1fr) minmax(110px, .6fr) 3fr; }
  html:root body footer .footer-grid.fg-cols-2 { grid-template-columns: minmax(230px, 1fr) 3fr; }
  html:root body footer .footer-addresses { flex-direction: row; }
  html:root body footer .footer-addresses > p { flex: 1 1 0; min-width: 0; }
}
footer .footer-addresses p { margin: 0; }
footer .footer-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-bottom: 3px; }

/* Intro block: heading position beside the text */
html:root body .intro.intro-align-top { align-items: start; }
html:root body .intro.intro-align-middle { align-items: center; }
.intro .lead + .lead { margin-top: 1em; }
.intro :is(ul, ol) { font-size: 19px; }

/* ---- Bulleted and numbered lists in editor text: a little air between items, tighter lines inside each item ---- */
html:root body :is(.article-content, .about-story, .event-body-more, .tp-text, .tc-text, .tc-card, .et-text, .explainer-copy, .intro, .event-feature, .block-box, .page-block .wrap) :is(ul, ol):not(.check-list):not([class*="nav"]):not([class*="list-unstyled"]) { margin: 0 0 1.15em; padding-left: 1.4em; }
html:root body :is(.article-content, .about-story, .event-body-more, .tp-text, .tc-text, .tc-card, .et-text, .explainer-copy, .intro, .event-feature, .block-box, .page-block .wrap) :is(ul, ol):not(.check-list):not([class*="nav"]):not([class*="list-unstyled"]) > li { margin: 0 0 .65em; padding-left: .25em; line-height: 1.5; }
html:root body :is(.article-content, .about-story, .event-body-more, .tp-text, .tc-text, .tc-card, .et-text, .explainer-copy, .intro, .event-feature, .block-box, .page-block .wrap) :is(ul, ol):not(.check-list):not([class*="nav"]):not([class*="list-unstyled"]) > li:last-child { margin-bottom: 0; }
html:root body :is(.article-content, .about-story, .event-body-more, .tp-text, .tc-text, .tc-card, .et-text, .explainer-copy, .intro, .event-feature, .block-box, .page-block .wrap) li > :is(ul, ol) { margin-top: .65em; margin-bottom: 0; }
html:root body :is(.article-content, .about-story, .event-body-more, .tp-text, .tc-text, .tc-card, .et-text, .explainer-copy, .intro, .event-feature, .block-box) li::marker { color: inherit; }   /* bullets and numbers match the text */

/* ---- Space between a block's headline and the text under it ---- */
html:root body :is(.article-content, .explainer-copy, .page-block > .wrap, .page-block .block-box) > :is(h2:first-child, .eyebrow + h2) { margin-bottom: var(--head-gap, 24px); }
html:root body :is(.article-content, .explainer-copy, .page-block > .wrap, .page-block .block-box) > :is(h2:first-child, .eyebrow + h2):has(+ .lead) { margin-bottom: var(--lead-gap, 14px); }
html:root body :is(.article-content, .page-block > .wrap, .page-block .block-box) > :is(h2:first-child, .eyebrow + h2) ~ .lead:first-of-type { margin-bottom: var(--head-gap, 24px); }

/* Picture and panel on a coloured background (or in a coloured box): the same space above and below */
.sw-colour:not(.bg-none) > .hospice-explainer, .sw-box .hospice-explainer { padding-block: clamp(56px, 7vw, 96px); }

/* Form with a white / light panel inside a dark block: the text in the panel is dark again (the dark block makes text white) */
html:root body .site-form:is(.sf-bg-white, .sf-bg-light, .sf-bg-soft) .sf-panel,
html:root body .site-form:is(.sf-bg-white, .sf-bg-light, .sf-bg-soft) .sf-panel :is(.form-label, .form-check-label, legend, p, h2, h3, h4, .lead, small, label, .contact-thanks, .contact-thanks *) { color: var(--ink, #333); }
html:root body .site-form:is(.sf-bg-white, .sf-bg-light, .sf-bg-soft) .sf-panel :is(.form-text, .form-text *) { color: #5c6c70; }
html:root body .site-form:is(.sf-bg-white, .sf-bg-light, .sf-bg-soft) .sf-panel :is(.form-control, .form-select) { color: var(--ink, #333); }
html:root body .site-form:is(.sf-bg-white, .sf-bg-light, .sf-bg-soft) .sf-panel :is(.invalid-feedback, .text-danger) { color: #b02a1c; }

/* ---- Call to action (Intro layout): the Intro block's two columns on a call-to-action band ---- */
.cta-intro { padding: 65px 0; }
.cta-intro:not([class*=" bg-"]) { background: var(--c-light-green, #edf7f4); }   /* Plain keeps the soft green; a Container colour replaces it */
.cta-intro > .wrap.intro { align-items: start; }
html:root body .cta-intro > .wrap.intro:not(.block-box) { padding-block: 0; }   /* the band already has the room */
.cta-intro .wrap.block-box { border-radius: 12px; }
.cta-intro .lead + .lead { margin-top: 1em; }
.cta-intro .lead:last-child { margin-bottom: 0; }
.cta-intro a.primary { margin-top: 1.1rem; }
.cta-intro .lead + a.primary, .cta-intro p + a.primary { margin-top: 1.4rem; }
html:root body .cta-intro > .wrap.intro-align-middle { align-items: center; }
/* dark Container or Box colour: light text; the gold button stays gold */
:is(.cta-intro:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site), .cta-intro :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site)) :is(h2, .lead, p, li) { color: #fff; }
/* the eyebrow keeps its colour, as in the Intro block: gold on dark blue / charcoal, white on the teal */
:is(.cta-intro:is(.bg-navy-site,.bg-charcoal-site), .cta-intro :is(.bg-navy-site,.bg-charcoal-site)) .eyebrow { color: var(--gold, #ffc966); }
:is(.cta-intro.bg-primary-site, .cta-intro .bg-primary-site) .eyebrow { color: #fff; }
:is(.cta-intro:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site), .cta-intro :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site)) .lead a:not(.primary) { color: var(--gold, #ffc966); }
:is(.cta-intro.bg-gold-site, .cta-intro .bg-gold-site) :is(h2, .eyebrow, .lead, p) { color: var(--ink); }
.cta-intro a.primary { transition: background-color .2s, color .2s, transform .15s ease, box-shadow .15s ease; }
.cta-intro a.primary:focus-visible { outline: 3px solid var(--navy, #013a55); outline-offset: 2px; }
:is(.cta-intro:is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site), .cta-intro :is(.bg-navy-site,.bg-charcoal-site,.bg-primary-site)) a.primary:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .cta-intro a.primary { transition: none; } }
@media (max-width: 767px) { .cta-intro { padding: 44px 0; } }

/* News landing: gold category labels read dark blue; the first (lead) story's Read more is a teal button */
html:root body .news-landing .tag{color:var(--navy,#013a55)}
html:root body .news-landing .news-lead-body .news-card-more.primary{display:inline-flex;align-items:center;margin-top:6px;padding:12px 22px;color:#fff;font-weight:700;text-decoration:none;background:var(--teal,#168877);border-radius:999px;transition:background-color .15s}
html:root body .news-landing .news-lead-body .news-card-more.primary:is(:hover,:focus-visible){background:#0d7062;color:#fff;text-decoration:none}
html:root body .news-landing .news-lead-body .news-card-more.primary span[aria-hidden]{margin-left:8px}
/* News feature: gold Topic label reads dark blue; the main story's Read more is a teal button */
html:root body .news-feature .nf-topic{color:var(--navy,#013a55)}
html:root body .news-feature .news-lead-body .news-card-more.primary{display:inline-flex;margin-top:6px;padding:12px 22px;color:#fff;font-weight:700;text-decoration:none;background:var(--teal,#168877);border-radius:999px;transition:background-color .15s}
html:root body .news-feature .news-lead-body .news-card-more.primary:is(:hover,:focus-visible){background:#0d7062;color:#fff;text-decoration:none;box-shadow:none}
html:root body .news-feature .news-lead-body .news-card-more.primary span[aria-hidden]{margin-left:8px}

/* Banner card: which part of the cropped photo stays visible */
.banner-card-photo.bcv-top img{object-position:50% 0}
.banner-card-photo.bcv-upper img{object-position:50% 25%}
.banner-card-photo.bcv-lower img{object-position:50% 75%}
.banner-card-photo.bcv-bottom img{object-position:50% 100%}

/* Cards: one-sided accent border (the accent colour; contrasting on filled / highlighted cards) */
.card-grid.cg-edge-left .cg-card{border-left:6px solid var(--cg-accent)}
.card-grid.cg-edge-right .cg-card{border-right:6px solid var(--cg-accent)}
.card-grid.cg-edge-top .cg-card{border-top:6px solid var(--cg-accent)}
.card-grid.cg-edge-bottom .cg-card{border-bottom:6px solid var(--cg-accent)}
.card-grid.cg-look-filled[class*="cg-edge-"] .cg-card,.card-grid[class*="cg-edge-"] .cg-card.cg-first{border-color:var(--cg-border)}
.card-grid.cg-look-filled.cg-edge-left .cg-card,.card-grid.cg-edge-left .cg-card.cg-first{border-left-color:var(--cg-on-accent,#fff)}
.card-grid.cg-look-filled.cg-edge-right .cg-card,.card-grid.cg-edge-right .cg-card.cg-first{border-right-color:var(--cg-on-accent,#fff)}
.card-grid.cg-look-filled.cg-edge-top .cg-card,.card-grid.cg-edge-top .cg-card.cg-first{border-top-color:var(--cg-on-accent,#fff)}
.card-grid.cg-look-filled.cg-edge-bottom .cg-card,.card-grid.cg-edge-bottom .cg-card.cg-first{border-bottom-color:var(--cg-on-accent,#fff)}

/* ---- Form pop-ups (overlay opened by a link to #popup-N). Styled only by the form's own Pop-up settings. ------------------- */
.fp-overlay { display: none; position: fixed; inset: 0; z-index: 2000; overflow-y: auto; overscroll-behavior: contain; padding: 24px 16px; background: rgba(var(--fp-rgb, 1, 58, 85), var(--fp-a, .65)); }
.fp-overlay.fp-open { display: flex; }
.fp-ov-navy { --fp-rgb: 1, 58, 85; }
.fp-ov-black { --fp-rgb: 0, 0, 0; }
.fp-ov-charcoal { --fp-rgb: 51, 51, 51; }
.fp-ov-white { --fp-rgb: 255, 255, 255; }
.fp-dim-soft { --fp-a: .45; }
.fp-dim-medium { --fp-a: .65; }
.fp-dim-strong { --fp-a: .85; }
.fp-align-centre .fp-dialog { margin: auto; }
.fp-align-top .fp-dialog { margin: 6vh auto auto; }
.fp-dialog { width: 100%; position: relative; }
.fp-size-small { max-width: 440px; }
.fp-size-medium { max-width: 620px; }
.fp-size-large { max-width: 860px; }
.fp-dialog .fp-panel { position: relative; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.fp-dialog.sf-bg-white .fp-panel { border: 0; }
.fp-title { font-size: 1.75rem; margin: 0 40px 10px 0; color: inherit; }
.fp-intro { margin: 0 0 20px; }
.fp-dialog .fp-title { margin-bottom: 14px; }
.fp-dialog .fp-title + .contact-form, .fp-dialog .fp-title + .contact-thanks { margin-top: 6px; }
html:root body .fp-dialog .fp-panel .fp-title { color: inherit; }
.fp-close { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; opacity: .8; transition: opacity .15s, background-color .15s; }
.fp-close:hover, .fp-close:focus-visible { opacity: 1; background: rgba(127, 127, 127, .18); }
.fp-close:focus-visible { outline: 3px solid var(--gold, #ffc966); outline-offset: 2px; }
html:root body .fp-dialog.sf-bg-white .fp-panel .fp-close { color: var(--ink, #333); }
body.fp-lock { overflow: hidden; }
@keyframes fp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.fp-overlay.fp-open.fp-anim-fade { animation: fp-fade .2s ease-out; }
.fp-overlay.fp-open.fp-anim-rise { animation: fp-fade .2s ease-out; }
.fp-overlay.fp-open.fp-anim-rise .fp-dialog { animation: fp-rise .25s ease-out; }
@media (prefers-reduced-motion: reduce) { .fp-overlay.fp-open, .fp-overlay.fp-open .fp-dialog { animation: none !important; } }
@media (max-width: 575.98px) { .fp-overlay { padding: 12px 10px; } .fp-title { font-size: 1.4rem; } }

/* ---- Call To Action (CTA): button sizes (medium is the standard button) and the generic text-link style --------------------- */
html:root body a.primary.cta-small, html:root body button.primary.cta-small { padding: 9px 18px; font-size: .8125rem; }
html:root body a.primary.cta-large, html:root body button.primary.cta-large { padding: 19px 34px; font-size: 1.0625rem; }
html:root body a.cta-link { color: var(--teal, #168877); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
html:root body a.cta-link:is(:hover, :focus-visible) { color: var(--navy, #013a55); text-decoration-thickness: 2px; }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site, .banner-card:not([class*="bg-"])) a.cta-link { color: var(--gold, #ffc966); }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site, .banner-card:not([class*="bg-"])) a.cta-link:is(:hover, :focus-visible) { color: #fff; }
html:root body .bg-gold-site a.cta-link { color: var(--ink, #333); }

/* CTA icons (PDF and "opens in a new window") and the editor's new-window arrow, strong enough to beat other link rules */
.cta-icon { display: inline-block; text-decoration: none; font-weight: 700; line-height: 1; }
.cta-icon-pdf { font-size: .66em; letter-spacing: .04em; padding: .22em .42em; border: 2px solid currentColor; border-radius: 3px; vertical-align: .12em; }
.cta-icon-new { font-size: 1.1em; vertical-align: baseline; }
a.cta-link .cta-icon, a.aside-link .cta-icon, a.faq-help-link .cta-icon, a.editorial-link .cta-icon { text-decoration: none; }
html:root body a.external-window::after { content: "\2197"; content: "\2197" / " (opens in a new window)"; display: inline-block; margin-left: .2em; font-size: .8em; text-decoration: none; }
html:root body a.external-window:has(.cta-icon)::after { content: none; }   /* the icon is in the link itself: no second one from CSS */

/* Links typed in the text editor (marked data-rt by the page): colour and underline everywhere, in paragraphs and lists. Blocks that style their
   own links more specifically (cards, side panels, dark colours) keep doing so. */
html:root body a[data-rt] { color: #0d7062; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
html:root body a[data-rt]:is(:hover, :focus-visible) { color: var(--navy, #013a55); text-decoration-thickness: 2px; }
html:root body :is(.bg-navy-site, .bg-charcoal-site) a[data-rt] { color: var(--gold, #ffc966); }
html:root body .bg-primary-site a[data-rt] { color: #fff; }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) a[data-rt]:is(:hover, :focus-visible) { color: #fff; }
html:root body .bg-gold-site a[data-rt], html:root body .bg-gold-site a[data-rt]:is(:hover, :focus-visible) { color: var(--ink, #333); }

/* ===== Background graphics (SVG stencils from the Graphics library) =====
   Only the SHAPE of the SVG is used (its transparency, as a mask); colour and strength come from the block's settings.
   Sits inside the same element as a background photo (.has-bgphoto), drawn above the photo and below the content. */
.bggraphic { position: absolute; left: 0; right: 0; height: var(--gh, 100%); z-index: -1; pointer-events: none; user-select: none;
  background-color: var(--gc, #000); opacity: var(--go, .11);
  -webkit-mask-image: var(--gfx); mask-image: var(--gfx);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: var(--gx, right) 50%; mask-position: var(--gx, right) 50%; }
.bggraphic.gp-left   { --gx: left; }
.bggraphic.gp-centre { --gx: center; }
.bggraphic.gp-right  { --gx: right; }
.bggraphic.gv-top    { top: 0; }
.bggraphic.gv-middle { top: 50%; transform: translateY(-50%); }
.bggraphic.gv-bottom { bottom: 0; }
.bggraphic.gs-small  { --gh: 40%; }
.bggraphic.gs-medium { --gh: 65%; }
.bggraphic.gs-large  { --gh: 100%; }
.bggraphic.gs-xlarge { --gh: 140%; }
.bggraphic.gs-wide   { --gh: 100%; top: 0; bottom: auto; transform: none; -webkit-mask-size: 100% auto; mask-size: 100% auto;
  -webkit-mask-position: center var(--gy, 100%); mask-position: center var(--gy, 100%); }
.bggraphic.gs-wide.gv-top { --gy: 0%; }
.bggraphic.gs-wide.gv-middle { --gy: 50%; }
.bggraphic.gs-wide.gv-bottom { --gy: 100%; }
.bggraphic.gt-faint  { --go: .06; }
.bggraphic.gt-soft   { --go: .11; }
.bggraphic.gt-medium { --go: .18; }
.bggraphic.gt-strong { --go: .30; }
/* Colour. Automatic = a darker tint of whatever the block colour is (black at low strength); lighter on dark blocks. */
.bggraphic.gc-auto     { --gc: #000; }
:is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site, .sw-dark) > .bggraphic.gc-auto { --gc: #fff; }
.bggraphic.gc-teal     { --gc: var(--teal, #42a497); }
.bggraphic.gc-navy     { --gc: var(--navy, #013a55); }
.bggraphic.gc-gold     { --gc: var(--gold, #ffc966); }
.bggraphic.gc-charcoal { --gc: var(--ink, #333); }
.bggraphic.gc-white    { --gc: #fff; }
.bggraphic.gc-black    { --gc: #000; }
@media print, (forced-colors: active) { .bggraphic { display: none !important; } }

/* ===== Text position (up and down) beside the other column: Text and photo, Text and card, Text columns, Text and embed ===== */
.text-photo.tp-va-top .tp-text, .text-card.tc-va-top .tc-text, .text-cols.tx-va-top .tx-col, .embed-text.et-va-top .et-text { align-self: start; }
.text-photo.tp-va-middle .tp-text, .text-card.tc-va-middle .tc-text, .text-cols.tx-va-middle .tx-col, .embed-text.et-va-middle .et-text { align-self: center; }
.text-photo.tp-va-bottom .tp-text, .text-card.tc-va-bottom .tc-text, .text-cols.tx-va-bottom .tx-col, .embed-text.et-va-bottom .et-text { align-self: end; }
/* the Text and embed row and Text and card row align their other column to the top unless the text is lower; keep the row itself stretching so the text can reach the bottom */
.embed-text:is(.et-va-middle, .et-va-bottom) .et-row { align-items: stretch; }
.embed-text:is(.et-va-middle, .et-va-bottom) .et-embed { align-self: start; }
.text-card:is(.tc-va-middle, .tc-va-bottom).tc-h-fit .tc-row, html:root body .text-card:is(.tc-va-middle, .tc-va-bottom).tc-h-fit .tc-row { align-items: stretch; }
.text-card:is(.tc-va-middle, .tc-va-bottom).tc-h-fit .tc-card { align-self: start; }

/* ===== Text position: Intro / Call to Action Alternate (bottom), Form, Promotions ===== */
html:root body .intro.intro-align-bottom, html:root body .cta-intro > .wrap.intro-align-bottom { align-items: end; }
@media (min-width: 768px) {
  .site-form.sf-va-top .sf-text { align-self: start; }
  .site-form.sf-va-middle .sf-text { align-self: center; }
  .site-form.sf-va-bottom .sf-text { align-self: end; }
}
.promos-va-top .promo-body { justify-content: flex-start; }
.promos-va-middle .promo-body { justify-content: center; }
.promos-va-bottom .promo-body { justify-content: flex-end; }
.promos-va-top .promo-split.block-box .promo-body { align-self: start; }
.promos-va-middle .promo-split.block-box .promo-body { align-self: center; }
.promos-va-bottom .promo-split.block-box .promo-body { align-self: end; }

/* ===== Deep red (Container / Box style "Deep red"): a deep Christmas red. Used together with bg-charcoal-site, which supplies the
   white-text rules every block already has for dark backgrounds; this only changes the colour. ===== */
.bg-charcoal-site.bg-red-site { background: var(--red-deep, #7a1c2b); }

/* Campaign hero quick links bar follows the chosen colour (a shade darker than the hero so it still reads as a bar).
   The colour class sits on a separate layer so the colour style's own link rules never touch the links. */
html:root body .campaign-quick-links.has-colour { background: transparent; isolation: isolate; }
html:root body .campaign-quick-links .campaign-quick-shade { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(0, 0, 0, .22), rgba(0, 0, 0, .22)); }

/* Media viewer credit and disclaimer: the same look, smaller grey italics under the viewer */
.media-viewer .mv-note, .media-viewer .mv-disclaimer { margin: 10px 0 0; max-width: 62rem; font-size: .8125rem; line-height: 1.55; font-style: italic; color: #5b666e; }
.media-viewer .mv-note + .mv-disclaimer { margin-top: 8px; }
.media-viewer .mv-disclaimer + .mv-disclaimer { margin-top: 6px; }
.media-viewer .mv-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.media-viewer .mv-note a:hover, .media-viewer .mv-note a:focus-visible { color: var(--navy, #013a55); }
.mv-dark.media-viewer .mv-note, .mv-dark.media-viewer .mv-disclaimer { color: rgba(255, 255, 255, .74); }
.mv-dark.media-viewer .mv-note a:hover, .mv-dark.media-viewer .mv-note a:focus-visible { color: #fff; }

/* Plan viewer credit and disclaimer: the same look as the Media viewer (smaller grey italics) */
.plan-viewer .pv-note, .plan-viewer .pv-disclaimer { margin: 10px 0 0; max-width: 62rem; font-size: .8125rem; line-height: 1.55; font-style: italic; color: #5b666e; }
.plan-viewer .pv-note + .pv-disclaimer { margin-top: 8px; }
.plan-viewer .pv-disclaimer + .pv-disclaimer { margin-top: 6px; }
.plan-viewer .pv-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.plan-viewer .pv-note a:hover, .plan-viewer .pv-note a:focus-visible { color: var(--navy, #013a55); }
.pv-dark.plan-viewer .pv-note, .pv-dark.plan-viewer .pv-disclaimer { color: rgba(255, 255, 255, .74); }
.pv-dark.plan-viewer .pv-note a:hover, .pv-dark.plan-viewer .pv-note a:focus-visible { color: #fff; }

/* ===== Album photos block (newest photos of one album, single row or grid) ===== */
.album-photos .gallery-grid { grid-template-columns: repeat(var(--ap-cols, 3), minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
.album-photos .gallery-grid button, .album-photos .gallery-grid button.gallery-large { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
.album-photos.ap-shape-wide .gallery-grid button { aspect-ratio: 16 / 9; }
.album-photos.ap-shape-square .gallery-grid button { aspect-ratio: 1 / 1; }
.album-photos.ap-shape-portrait .gallery-grid button { aspect-ratio: 3 / 4; }
.album-photos .gallery-grid button > span { padding: 36px 14px 12px; }
.album-photos .gallery-grid b { font-size: 1rem; line-height: 1.25; }
.album-photos .gallery-grid small { font-size: .7rem; }
.album-photos.ap-cap-label .gallery-grid small { display: none; }
.album-photos.ap-cap-none .gallery-grid button > span, .album-photos.ap-cap-none .gallery-grid button.no-title > span { display: none; }
.album-photos .ap-more { margin: 18px 0 0; }
.album-photos .ap-more-centre { text-align: center; }
.album-photos .ap-more-right { text-align: right; }
@media (max-width: 767.98px) {
  .album-photos .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .album-photos.ap-cols-1 .gallery-grid, .album-photos.ap-cols-2.ap-multi .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .album-photos.ap-single.ap-cols-2 .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Album photos: scale is a height. Normal fills the width; Medium and Small cap how tall each photo appears (its width follows from the
   photo shape), so photos stay small on the screen however wide the block is. Never larger than Normal. */
.album-photos { --ap-r: 4 / 3; --ap-rn: 1.3333; }
.album-photos.ap-shape-wide     { --ap-r: 16 / 9; --ap-rn: 1.7778; }
.album-photos.ap-shape-square   { --ap-r: 1 / 1;  --ap-rn: 1; }
.album-photos.ap-shape-portrait { --ap-r: 3 / 4;  --ap-rn: .75; }
.album-photos.ap-scale-medium { --ap-h: 300px; }
.album-photos.ap-scale-small  { --ap-h: 180px; }
.album-photos:is(.ap-scale-medium, .ap-scale-small) .gallery-grid { grid-template-columns: repeat(var(--ap-cols, 3), minmax(0, calc(var(--ap-h) * var(--ap-rn)))); justify-content: start; }
.album-photos.ap-align-centre:is(.ap-scale-medium, .ap-scale-small) .gallery-grid { justify-content: center; }
.album-photos.ap-align-right:is(.ap-scale-medium, .ap-scale-small) .gallery-grid { justify-content: end; }
.album-photos.ap-cap-label .gallery-grid button.no-title small,
.album-photos.ap-cap-album .gallery-grid button.no-title small { display: block; font-size: .8rem; letter-spacing: .08em; color: #fff; }
.album-photos.ap-cap-label.ap-nofallback .gallery-grid button.no-title > span { display: none; }
@media (max-width: 767.98px) {
  .album-photos:is(.ap-scale-medium, .ap-scale-small) .gallery-grid { grid-template-columns: repeat(min(var(--ap-cols, 3), 2), minmax(0, calc(var(--ap-h) * var(--ap-rn)))); }
}
.album-photos.ap-scale-small .gallery-grid button > span { padding: 28px 10px 8px; }
.album-photos.ap-scale-small .gallery-grid b { font-size: .85rem; }
.album-photos.ap-scale-small .gallery-grid button.no-title small, .album-photos.ap-scale-small .gallery-grid small { font-size: .62rem; letter-spacing: .04em; }

/* ===== Text block: readable on dark backgrounds, and centred text ===== */
:is(.bg-navy-site, .bg-primary-site, .bg-charcoal-site) .tb-text :is(h1, h2, h3, h4, h5, h6),
.tb-text:is(.bg-navy-site, .bg-primary-site, .bg-charcoal-site) :is(h1, h2, h3, h4, h5, h6) { color: #fff; }
:is(.bg-navy-site, .bg-primary-site, .bg-charcoal-site) .tb-text :is(p, li, .lead),
.tb-text:is(.bg-navy-site, .bg-primary-site, .bg-charcoal-site) :is(p, li, .lead) { color: #fff; }
:is(.bg-navy-site, .bg-primary-site, .bg-charcoal-site) .tb-text .eyebrow,
.tb-text:is(.bg-navy-site, .bg-primary-site, .bg-charcoal-site) .eyebrow { color: var(--gold, #ffc966); }
.tb-text.tb-center { text-align: center; }
.tb-text.tb-center :is(ul, ol) { list-style-position: inside; padding-left: 0; }

/* Space above for blocks sitting in the reading column (these have no band, so bs-* never applied). */
.article-content > .bsc-none{margin-top:-1.1rem}
.article-content > .bsc-tight{margin-top:-.5rem}
.article-content > .bsc-medium{margin-top:3.5rem}
.article-content > .bsc-large{margin-top:6.5rem}

/* Space above Medium / Large on a coloured band: the extra room goes OUTSIDE the colour (margin), not inside it (padding). */
html:root body section.page-block.bs-medium, html:root body div.bs-medium > section { padding-top: clamp(40px, 6vw, 72px); }
html:root body section.page-block.bs-large,  html:root body div.bs-large > section  { padding-top: clamp(40px, 6vw, 72px); }
html:root body section.page-block.bs-medium { margin-top: 48px; }
html:root body section.page-block.bs-large  { margin-top: 96px; }
html:root body div.bs-medium { margin-top: 48px; }
html:root body div.bs-large  { margin-top: 96px; }

/* Text block: padding above and below the text. */
.tbp-medium{padding-top:3.75rem;padding-bottom:3.75rem}
.tbp-large{padding-top:6rem;padding-bottom:6rem}

/* Required flag on forms: a caution-triangle icon that reads on light and dark backgrounds. */
.req-flag{display:inline-block;vertical-align:-.1em;line-height:1;cursor:help}
.req-flag svg{display:block}
.req-flag .visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Text block: room between the text and its button / link. */
html:root body p.tb-cta{margin-top:0;margin-bottom:0;padding-top:2.25rem}   /* padding, so no other margin rule can squash it */
html:root body p.tb-cta:first-child{padding-top:0}

/* Forms: a half-width field set to Middle / Bottom sits level with the field beside it. A lone tick box lines up with the text box's height. */
@media (min-width: 768px) {
  .ff-va-bottom > .form-check, .ff-va-middle > .form-check { margin-bottom: 0; padding-top: .35rem; padding-bottom: .4rem; min-height: calc(1.5em + .75rem + 2px); display: flex; align-items: center; gap: .5rem; padding-left: 0; }
  .ff-va-bottom > .form-check .form-check-input, .ff-va-middle > .form-check .form-check-input { float: none; margin: 0; flex: none; }
}

/* Form block: how see-through the form's background colour is (Form background see-through). */
.site-form.sf-a-85{--sf-a:85%} .site-form.sf-a-70{--sf-a:70%} .site-form.sf-a-55{--sf-a:55%} .site-form.sf-a-40{--sf-a:40%} .site-form.sf-a-25{--sf-a:25%}
.site-form.sf-bg-light .sf-panel    { background: color-mix(in srgb, #f1f3f4 var(--sf-a, 100%), transparent); }
.site-form.sf-bg-soft .sf-panel     { background: color-mix(in srgb, color-mix(in srgb, var(--teal) 9%, #fff) var(--sf-a, 100%), transparent); }
.site-form.sf-bg-white .sf-panel    { background: color-mix(in srgb, #fff var(--sf-a, 100%), transparent); }
.site-form.sf-bg-teal .sf-panel     { background: color-mix(in srgb, var(--teal) var(--sf-a, 100%), transparent); }
.site-form.sf-bg-navy .sf-panel     { background: color-mix(in srgb, var(--navy, #013a55) var(--sf-a, 100%), transparent); }
.site-form.sf-bg-charcoal .sf-panel { background: color-mix(in srgb, var(--ink, #333) var(--sf-a, 100%), transparent); }

/* ALL content blocks: on a dark background (dark blue, charcoal/deep red, site primary) the block's own headings, lead text and
   eyebrow are light. A catch-all for blocks that had no rule of their own (Form, and any block added later). Light cards, panels and
   boxes sitting inside a dark band keep their dark writing. */
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) :is(h1, h2, h3, h4, h5, h6, .lead):not(:is(article, figure, .card, .block-card, .cg-card, .gift-card, .gift-featured, .sf-panel, .fp-panel, .el-panel, .banner-card, .bg-white-site, .bg-gold-site, .bg-green-site, .bg-light-grey, .bg-light-blue, .bg-light-green) *) { color: #fff; }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .eyebrow:not(:is(article, figure, .card, .block-card, .cg-card, .gift-card, .sf-panel, .fp-panel, .el-panel, .banner-card, .bg-white-site, .bg-gold-site, .bg-green-site, .bg-light-grey, .bg-light-blue, .bg-light-green) *) { color: var(--gold, #ffc966); }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) :is(.sf-text, .contact-intro, .list-block-head) :is(p, li):not(:is(article, figure, .card, .block-card, .cg-card, .gift-card, .sf-panel, .fp-panel, .el-panel, .bg-white-site, .bg-gold-site, .bg-green-site, .bg-light-grey, .bg-light-blue, .bg-light-green) *) { color: rgba(255, 255, 255, .92); }
/* A dark Box colour inside a light Container colour: the same rule, judged from the box itself. */
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site):is(.block-box, .sw-box) :is(h1, h2, h3, h4, h5, h6, .lead):not(:is(article, figure, .card, .block-card, .cg-card, .gift-card, .gift-featured, .sf-panel, .fp-panel, .el-panel, .banner-card) *) { color: #fff; }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site):is(.block-box, .sw-box) .eyebrow:not(:is(article, figure, .card, .block-card, .cg-card, .gift-card, .sf-panel, .fp-panel, .el-panel, .banner-card) *) { color: var(--gold, #ffc966); }

/* Banner card + the section tabs under the banner: no white gap above the tabs. The stylesheet gives every .article-shell
   76px of room above; here the tabs must sit right on the banner, so that room is removed and the card (lifted over the banner)
   keeps its place. */
.banner-card-row .article-shell.banner-card-flow:has(> .section-tiles) { padding-top: 0; }
@media (min-width: 992px) {
  .banner-card-row .article-shell.banner-card-flow:has(> .section-tiles) > .banner-card-slot { margin-top: calc(76px + var(--bs-gutter-y, 3rem) - var(--card-lift)); }
}
@media (max-width: 991.98px) {
  .banner-card-row .article-shell.banner-card-flow:has(> .section-tiles) > .banner-card-slot { margin-top: 28px; }
}

/* Jump links (Link name, banner buttons): leave room for the sticky header, and the sticky section tabs under it, so the top of
   the block (its eyebrow and title) is not hidden when the page scrolls to it. */
html:root body main [id]:not(.jump-target) { scroll-margin-top: 150px; }
@media (min-width: 901px) {
  html:root body:has(.section-subnav) main [id]:not(.jump-target) { scroll-margin-top: 215px; }
}

/* The jump point for a Link name / banner button: a zero-size marker just above the block, lifted well clear of the sticky header
   and the section tabs (so the block's title is never hidden). */
html:root body main .jump-target { display: block; position: relative; width: 0; height: 0; overflow: hidden; margin: 0; padding: 0; border: 0;
  top: calc(-1 * var(--jump-offset, 150px)); scroll-margin-top: 0 !important; }
@media (min-width: 901px) { html:root body:has(.section-subnav) main .jump-target { top: calc(-1 * var(--jump-offset, 215px)); } }

/* Phones and tablets: the section tabs come first, directly under the banner; the Banner card follows them. */
@media (max-width: 991.98px) {
  .banner-card-row .article-shell.banner-card-flow:has(> .section-tiles) { display: flex; flex-direction: column; }
  .banner-card-row .article-shell.banner-card-flow:has(> .section-tiles) > .section-tiles { order: -1; }
  .banner-card-row .article-shell.banner-card-flow:has(> .section-tiles) > .banner-card-slot { order: 0; margin-top: 0; }
}

/* Text block: a light Box colour inside a dark Container colour keeps dark writing (the dark-background rules above are for text sitting
   directly on the dark colour). */
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .tb-text:is(.bg-white-site, .bg-gold-site, .bg-green-site, .bg-light-grey, .bg-light-blue, .bg-light-green) :is(h1, h2, h3, h4, h5, h6) { color: var(--navy, #013a55); }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .tb-text:is(.bg-white-site, .bg-gold-site, .bg-green-site, .bg-light-grey, .bg-light-blue, .bg-light-green) :is(p, li, .lead, blockquote, td, th) { color: var(--ink, #333); }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .tb-text:is(.bg-white-site, .bg-gold-site, .bg-green-site, .bg-light-grey, .bg-light-blue, .bg-light-green) .eyebrow { color: var(--teal, #168877); }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .tb-text:is(.bg-white-site, .bg-gold-site, .bg-green-site, .bg-light-grey, .bg-light-blue, .bg-light-green) a:not(.primary):not(.text-button):not(.cta-button) { color: var(--teal, #168877); text-decoration: underline; text-underline-offset: 3px; }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .tb-text.bg-gold-site a:not(.primary):not(.text-button):not(.cta-button) { color: var(--ink, #333); }

/* Box colour: see-through (Box colour see-through) and rounded corners (Box corners). A box gets bx-a-NN / bx-r-soft / bx-r-round. */
.bg-light-grey { --bx: var(--c-light-grey); } .bg-light-blue { --bx: var(--c-light-blue); } .bg-light-green { --bx: var(--c-light-green); }
.bg-white-site { --bx: #fff; } .bg-gold-site { --bx: var(--gold, #ffc966); } .bg-green-site { --bx: var(--c-green-wash, #eef7f5); }
.bg-navy-site { --bx: var(--navy, #013a55); } .bg-charcoal-site { --bx: var(--ink, #333); } .bg-charcoal-site.bg-red-site { --bx: var(--red-deep, #7a1c2b); }
.bg-primary-site { --bx: var(--c-primary); } .bg-primary-site.bg-brand-blue { --bx: #2474bc; }
.bx-a-85 { --bx-a: 85%; } .bx-a-70 { --bx-a: 70%; } .bx-a-55 { --bx-a: 55%; } .bx-a-40 { --bx-a: 40%; } .bx-a-25 { --bx-a: 25%; }
html:root body [class*="bx-a-"] { background: color-mix(in srgb, var(--bx, transparent) var(--bx-a, 100%), transparent); }
html:root body .bx-r-soft  { border-radius: 12px; }
html:root body .bx-r-round { border-radius: 28px; }
html:root body [class*="bx-r-"].has-bgphoto { overflow: hidden; }

/* Separator block: a visual break between blocks. */
.sep-block { padding-top: var(--sep-gap, 1.75rem); padding-bottom: var(--sep-gap, 1.75rem); --sep-col: var(--c-border, #d9e2e0); }
.sep-gap-small { --sep-gap: 1rem; } .sep-gap-medium { --sep-gap: 1.75rem; } .sep-gap-large { --sep-gap: 3rem; }
.sep-c-teal { --sep-col: var(--teal, #168877); } .sep-c-gold { --sep-col: var(--gold, #ffc966); } .sep-c-white { --sep-col: #fff; }
:is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site) .sep-block.sep-c-soft { --sep-col: rgba(255, 255, 255, .35); }
.sep-block .sep-rule { border: 0; opacity: 1; margin: 0; height: 0; border-top: 1px solid var(--sep-col); }
.sep-w-column .sep-rule { width: 66.667%; }
.sep-w-short .sep-rule, .sep-look-bar .sep-rule, .sep-look-dots .sep-rule { margin-inline: auto; }
.sep-w-short .sep-rule { width: 120px; }
.sep-look-bar .sep-rule { width: 72px; border-top-width: 4px; border-radius: 4px; }
.sep-look-dots .sep-rule { width: 96px; border-top: 6px dotted var(--sep-col); }
@media (max-width: 767.98px) { .sep-w-column .sep-rule { width: 100%; } }

/* "Share this page" at the end of a page, continuing the last block's Container colour. */
.share-band { padding: 0 0 1.25rem; }
.share-band .share-this { margin-top: 0; }
.share-band .wrap { padding-top: 0; }

/* Campaign progress: no hairline under the block (theme adds a border-bottom) */
.fundraising-section { border-bottom: 0; }

/* Form help text (and error text) on a dark block with no panel of its own: light, not dark */
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site, .bg-red-site, .sw-dark) .site-form:is(.sf-bg-none, .sf-bg-teal, .sf-bg-navy, .sf-bg-charcoal) :is(.form-text, .form-text *) { color: #e1e7eb; }
html:root body :is(.bg-navy-site, .bg-charcoal-site, .bg-primary-site, .bg-red-site, .sw-dark) .site-form.sf-bg-none :is(.invalid-feedback, .text-danger) { color: #ffdede !important; }

/* Timeline: many stages (7 or more) stay in a row on wide screens; tighter gaps and type so they fit */
@media (min-width: 900px) {
  .tl-row .tl-steps:has(> :nth-child(7)) { gap: 0 22px; }
  .tl-row .tl-steps:has(> :nth-child(7)) .tl-step::before { right: -22px; }
  .tl-row .tl-steps:has(> :nth-child(7)) .tl-step:last-child::before { right: 0; }
  .tl-row .tl-steps:has(> :nth-child(7)) .tl-step h3 { font-size: 1.05rem; overflow-wrap: anywhere; hyphens: auto; }
  .tl-row .tl-steps:has(> :nth-child(7)) .tl-step p { font-size: .875rem; line-height: 1.5; }
}

/* CanadaHelps donation form block */
.chf-head { margin-bottom: 28px; }
.chf-head h2 { margin: 0; }
.chf-sub { margin: 14px 0 0; max-width: none; font-size: 1.125rem; }
.chf-block .chf-form { margin-inline: auto; }
.chf-w-narrow .chf-form { max-width: 520px; }
.chf-w-medium .chf-form { max-width: 720px; }
.chf-w-full .chf-form { max-width: none; }
.chf-form iframe { display: block; width: 100%; border: 0; background: #fff; border-radius: 8px; }

/* Quick donate: "Make this a monthly gift" tick */
.qd-monthly { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; cursor: pointer; font-weight: 600; }
.qd-monthly input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--teal, #168877); cursor: pointer; }
.qd-monthly span { font-size: .95rem; }

.qd-fields.qd-fields-1 { grid-template-columns: 1fr; }

/* CanadaHelps form: hide the form's own edge shadow by trimming its top and bottom */
.chf-trim-small .chf-form, .chf-trim-medium .chf-form, .chf-trim-large .chf-form { overflow: hidden !important; }
.chf-trim-small .chf-form iframe { margin: -14px 0 !important; }
.chf-trim-medium .chf-form iframe { margin: -24px 0 !important; }
.chf-trim-large .chf-form iframe { margin: -36px 0 !important; }

/* Annual event page without registration: nothing beside the text, so it uses the full width */
.event-page .event-body.event-body-solo { grid-template-columns: minmax(0, 1fr); }

/* Annual event banner picture: stronger shading so the text is easy to read (set per page).
   A plain colour is used because the page strips background images from the banner's boxes. */
.event-page .event-detail-hero.ed-shade-medium .event-detail-fade { background-color: rgba(10, 30, 42, .58) !important; }
.event-page .event-detail-hero.ed-shade-strong .event-detail-fade { background-color: rgba(10, 30, 42, .8) !important; }
.event-page .event-detail-hero.ed-shade-panel > .wrap > div:not(.event-detail-fade):not(.event-poster) {
  background: rgba(8, 26, 38, .72); border-radius: 0; padding-top: 30px; padding-bottom: 32px; padding-left: clamp(22px, 3vw, 40px); padding-right: clamp(22px, 3vw, 40px);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
