/* Hope Lutheran theme styles.
   Colors and fonts come from theme.json. --hope-season is set each day
   from the church year (see functions.php). */

:root {
	--hope-blue: var(--wp--preset--color--hope-blue, #315792);
	--hope-navy: var(--wp--preset--color--navy, #16294a);
	--hope-cream: var(--wp--preset--color--cream, #f7f1e6);
	--hope-gold: var(--wp--preset--color--gold, #b8913f);
	--hope-ink: var(--wp--preset--color--ink, #1f2633);
	--hope-muted: #5d6675;
	--hope-line: #e6ddcc;
	--hope-season: #3d7a4f;
	--hope-serif: var(--wp--preset--font-family--serif);
	--hope-radius: 18px;
	--hope-wide: 1140px;
	--hope-shadow: 0 22px 48px -24px rgba(22, 41, 74, .45);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--hope-gold); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text:focus { background: #fff; padding: .5rem 1rem; }

/* ---------- shared bits ---------- */
.hope-eyebrow, .hope-eyebrow a {
	font: 700 .78rem/1.3 var(--wp--preset--font-family--sans);
	letter-spacing: .18em; text-transform: uppercase; color: var(--hope-gold); text-decoration: none; margin: 0 0 .9rem;
}
.hope-lede { font-size: 1.25rem; color: var(--hope-muted); max-width: 40rem; }
.hope-text-link { font-weight: 700; text-decoration: none; }
.hope-text-link:hover { text-decoration: underline; }
.hope-section { padding-block: var(--wp--preset--spacing--80); }
.hope-section-title { text-align: center; }
.hope-section-sub { text-align: center; color: var(--hope-muted); max-width: 38rem; margin-inline: auto !important; }
.hope-section--cream { background: var(--hope-cream); }
.hope-section--navy { background: var(--hope-navy); color: #dde4f0; }
.hope-section--navy :where(h1, h2, h3) { color: #fff; }
.hope-section--navy a { color: #fff; }
.hope-section--blue { background: var(--hope-blue); color: #fff; }
.hope-section--blue :where(h1, h2, h3, p) { color: #fff; }
.hope-section--blue p { color: var(--hope-cream); }

/* Ornament: a small cross between two gold rules */
.hope-ornament, .wp-block-separator.is-style-hope-cross {
	border: 0 !important; height: 22px; max-width: 220px !important; margin: 2.5rem auto !important; opacity: 1 !important;
	background:
		linear-gradient(var(--hope-gold), var(--hope-gold)) left center / calc(50% - 22px) 1px no-repeat,
		linear-gradient(var(--hope-gold), var(--hope-gold)) right center / calc(50% - 22px) 1px no-repeat,
		url("../img/cross-gold.png") center / auto 22px no-repeat;
}

/* Buttons */
.wp-block-button__link { transition: transform .15s ease, background-color .15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--hope-blue); border: 2px solid currentColor; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--hope-blue); color: #fff; border-color: var(--hope-blue); }
.wp-block-button.is-style-hope-gold .wp-block-button__link { background: var(--hope-gold); color: var(--hope-navy); }
.wp-block-button.is-style-hope-gold .wp-block-button__link:hover { background: #d1aa55; color: var(--hope-navy); }
.wp-block-button.is-style-hope-light .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.75); }
.wp-block-button.is-style-hope-light .wp-block-button__link:hover { background: rgba(255,255,255,.14); }

/* ---------- header ---------- */
.hope-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .hope-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hope-site-header { top: 0; position: relative; } }
.hope-header { background: rgba(255,255,255,.97); border-top: 5px solid var(--hope-season); border-bottom: 1px solid var(--hope-line); }
.hope-header__bar { max-width: var(--hope-wide); margin: 0 auto; padding: .7rem 20px; min-height: 72px; gap: 1rem; }
.hope-brand { gap: .75rem !important; align-items: center; }
.hope-brand .wp-block-site-logo img { width: 34px; height: auto; }
.hope-brand__text { line-height: 1; }
.hope-brand__name, .hope-brand__name a { font: 700 1.45rem/1 var(--hope-serif); color: var(--hope-navy); text-decoration: none; margin: 0; }
.hope-brand__place { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hope-muted); margin: .3rem 0 0 !important; }
.hope-nav { font-weight: 600; font-size: 1rem; }
.hope-nav .wp-block-navigation__container { gap: 1.6rem; align-items: center; }
.hope-nav .wp-block-navigation-item__content { color: var(--hope-ink); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.hope-nav .wp-block-navigation-item__content:hover,
.hope-nav .current-menu-item > .wp-block-navigation-item__content { border-bottom-color: var(--hope-gold); }
.hope-nav .hope-nav-give > .wp-block-navigation-item__content { background: var(--hope-blue); color: #fff; padding: .55rem 1.3rem; border-radius: 999px; border: 0; }
.hope-nav .hope-nav-give > .wp-block-navigation-item__content:hover { background: var(--hope-navy); }
.hope-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--hope-navy) !important; color: #fff !important; padding: 2rem; }
.hope-nav .is-menu-open .wp-block-navigation-item__content { color: #fff; font: 600 1.8rem/1.2 var(--hope-serif); }
.hope-nav .is-menu-open .wp-block-navigation__container { gap: 1.2rem; }
.hope-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

/* ---------- church-year badge ---------- */
.hope-season { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .35rem .7rem; text-align: center; }
.hope-season__dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--hope-season); box-shadow: 0 0 0 3px rgba(255,255,255,.85); align-self: center; }
.hope-season__label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.hope-season__name { font: 600 1.25rem/1 var(--hope-serif); }
.hope-season__verse { flex-basis: 100%; font: italic 500 1.15rem/1.4 var(--hope-serif); opacity: .92; }
.hope-season__verse cite { font: 700 .72rem var(--wp--preset--font-family--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; opacity: .8; margin-left: .3rem; }

/* ---------- hero (cover block with class hope-hero) ---------- */
.hope-hero.wp-block-cover { min-height: min(82vh, 820px); padding: 0 20px; align-items: flex-end; }
.hope-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(22,41,74,.15) 0%, rgba(22,41,74,.55) 45%, rgba(16,30,55,.94) 100%) !important; opacity: 1 !important; }
.hope-hero .wp-block-cover__inner-container { max-width: var(--hope-wide); width: 100%; margin: 0 auto; padding: 9rem 0 4.5rem; color: #fff; }
.hope-hero h1 { color: #fff; font-size: var(--wp--preset--font-size--xx-large); max-width: 12ch; margin: 0 0 1.2rem; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hope-hero p { color: var(--hope-cream); font-size: 1.25rem; max-width: 36rem; }
.hope-hero .hope-eyebrow { color: #e3c77f; }
.hope-hero .wp-block-buttons { margin-top: 1.8rem; }
.hope-hero .hope-season { justify-content: flex-start; text-align: left; color: #fff; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.22); max-width: 40rem; }
.hope-hero .hope-season__verse { font-size: 1.05rem; }

/* Inner page hero */
.hope-pagehero.wp-block-cover { min-height: 420px; padding: 0 20px; align-items: flex-end; }
.hope-pagehero .wp-block-cover__background { background: linear-gradient(180deg, rgba(22,41,74,.35), rgba(16,30,55,.9)) !important; opacity: 1 !important; }
.hope-pagehero .wp-block-cover__inner-container { max-width: var(--hope-wide); width: 100%; margin: 0 auto; padding: 7rem 0 3.5rem; }
.hope-pagehero h1 { color: #fff; margin: 0 0 .8rem; }
.hope-pagehero p { color: var(--hope-cream); font-size: 1.2rem; max-width: 38rem; }
.hope-pagehero .hope-eyebrow { color: #e3c77f; }

/* Plain page heading band (page.html, news) */
.hope-pagehead { background: var(--hope-cream); padding: clamp(3rem, 7vw, 5.5rem) 20px clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--hope-line); }
.hope-pagehead h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin: 0; }
.hope-prose { padding-block: var(--wp--preset--spacing--60); }
.hope-prose > * { max-width: 720px; }

/* ---------- Sunday timeline ---------- */
.hope-sunday { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: var(--hope-wide); margin: 2.4rem auto 0 !important; }
.hope-sunday > .wp-block-group { background: #fff; border-radius: var(--hope-radius); padding: 1.9rem 1.8rem 1.8rem; border-top: 4px solid #8ca8d8; margin: 0 !important; box-shadow: 0 10px 30px -22px rgba(22,41,74,.5); }
.hope-sunday > .wp-block-group.is-main { background: var(--hope-blue); color: #fff; border-top-color: var(--hope-gold); }
.hope-sunday h3 { margin: 0 0 .45rem; font-size: 1.55rem; }
.hope-sunday .is-main h3, .hope-sunday .is-main p { color: #fff; }
.hope-sunday .hope-time { font: 600 3.1rem/1 var(--hope-serif); color: var(--hope-blue); margin: 0 0 .7rem; }
.hope-sunday .is-main .hope-time { color: #e3c77f; }
.hope-sunday p { margin: 0; }
.hope-where { text-align: center; color: var(--hope-muted); margin-top: 2rem !important; }

/* ---------- split: photo + text ---------- */
.hope-split { gap: clamp(2rem, 5vw, 4.5rem) !important; align-items: center !important; }
.hope-photo img { border-radius: var(--hope-radius); box-shadow: var(--hope-shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hope-photo.is-tall img { aspect-ratio: 4 / 5; }
.hope-facts { list-style: none; padding: 0 !important; margin: 1.4rem 0 1.8rem; }
.hope-facts li { position: relative; padding: .85rem 0 .85rem 2.1rem; border-bottom: 1px solid var(--hope-line); }
.hope-facts li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.05rem; height: 1.2rem; background: url("../img/cross-gold.png") center / contain no-repeat; }

/* ---------- Word & Sacrament band ---------- */
.hope-gifts { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem !important; }
.hope-gifts > .wp-block-group { border: 1px solid rgba(255,255,255,.18); border-radius: var(--hope-radius); padding: 1.8rem; margin: 0 !important; background: rgba(255,255,255,.04); }
.hope-gifts h3 { color: #e3c77f !important; margin: 0 0 .5rem; }
.hope-gifts p { margin: 0; color: #dde4f0; }
.hope-scripture { font: italic 500 clamp(1.7rem, 3.4vw, 2.6rem)/1.28 var(--hope-serif); color: #fff; text-align: center; max-width: 46rem; margin: 0 auto !important; border: 0 !important; padding: 0 !important; }
.hope-scripture p { font: inherit; margin: 0; }
.hope-scripture cite, .hope-scripture .wp-block-quote__citation { display: block; margin-top: 1rem; font: 700 .8rem var(--wp--preset--font-family--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: #e3c77f; }
.hope-solas { display: flex !important; justify-content: center; flex-wrap: wrap; gap: .6rem 2.2rem; margin-top: 2.6rem !important; }
.hope-solas p { font: 600 1.35rem var(--hope-serif); color: #fff; margin: 0; }
.hope-solas p::before { content: ""; display: inline-block; width: .8rem; height: .9rem; margin-right: .55rem; background: url("../img/cross-gold.png") center / contain no-repeat; }

/* Mission */
.hope-mission { text-align: center; }

/* ---------- cards (fellowship, Q&A) ---------- */
.hope-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; max-width: var(--hope-wide); margin: 2.4rem auto 0 !important; }
.hope-cards > * { margin: 0 !important; }
.hope-cards > .wp-block-group { background: var(--hope-cream); border-radius: var(--hope-radius); padding: 1.8rem; }
.hope-section--cream .hope-cards > .wp-block-group { background: #fff; }
.hope-cards h3 { margin: 0 0 .5rem; }
.hope-cards p { margin: 0 0 .6rem; }
.hope-cards p:last-child { margin-bottom: 0; }
.hope-cards.is-two { grid-template-columns: repeat(2, 1fr); }
.hope-cards > .is-feature { grid-column: 1 / -1; background: #fff !important; border: 2px solid var(--hope-blue); }
.hope-cards > .is-feature h3 { color: var(--hope-blue); }

/* ---------- what's happening ---------- */
.hope-happening { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: var(--hope-wide); margin: 2.4rem auto 0; }
.hope-card { background: #fff; border-radius: var(--hope-radius); overflow: hidden; box-shadow: 0 10px 30px -22px rgba(22,41,74,.55); transition: transform .15s ease, box-shadow .15s ease; }
.hope-card:hover { transform: translateY(-3px); box-shadow: var(--hope-shadow); }
.hope-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.hope-card__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hope-card__img--blank { background: var(--hope-navy) url("../img/cross-white.png") center / auto 42% no-repeat; }
.hope-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.hope-card__meta { font-size: .85rem; color: var(--hope-muted); margin: 0 0 .4rem; }
.hope-card__kind { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hope-gold); font-size: .72rem; margin-right: .35rem; }
.hope-card__title { font-size: 1.45rem; margin: 0 0 .5rem; }
.hope-card__excerpt { margin: 0; color: var(--hope-muted); font-size: 1rem; }
.hope-happening--empty { display: block; text-align: center; background: #fff; border: 2px dashed #d6c8ad; border-radius: var(--hope-radius); padding: 2rem; max-width: 46rem; }

/* News list (query loop) */
.hope-news-list { margin-top: 1.6rem; }
.hope-news-item { background: #fff; border: 1px solid var(--hope-line); border-radius: var(--hope-radius); overflow: hidden; height: 100%; padding-bottom: 1.2rem; }
.hope-news-item > :not(.wp-block-post-featured-image) { padding-inline: 1.3rem; }
.hope-news-item .wp-block-post-featured-image { margin: 0 0 1rem; }
.hope-news-item h3 { font-size: 1.4rem; margin: .3rem 0 .4rem; }
.hope-news-item h3 a { color: var(--hope-navy); text-decoration: none; }
.hope-news-item__date { font-size: .85rem; color: var(--hope-muted); }
.hope-news-item .wp-block-post-excerpt__excerpt { font-size: 1rem; color: var(--hope-muted); margin: 0; }

/* ---------- give band ---------- */
.hope-give { align-items: center !important; gap: 2rem !important; }
.hope-give h2 { margin: 0 0 .4rem; }
.hope-give p { margin: 0; }

/* ---------- visit / map ---------- */
.hope-map iframe { width: 100%; height: 400px; border: 0; border-radius: var(--hope-radius); box-shadow: var(--hope-shadow); display: block; }
.hope-address { font-size: 1.2rem; }

/* ---------- single post ---------- */
.hope-article { padding: clamp(2.5rem, 6vw, 4.5rem) 20px var(--wp--preset--spacing--80); }
.hope-article__title { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin-top: .3rem; }
.hope-article__date { color: var(--hope-muted); font-size: .95rem; }
.hope-article__img img { border-radius: var(--hope-radius); width: 100%; max-height: 640px; object-fit: cover; }
.hope-event-when { display: inline-block; background: var(--hope-cream); border-left: 4px solid var(--hope-gold); padding: .6rem 1rem; border-radius: 6px; font-weight: 600; }
.hope-event-when span { color: var(--hope-gold); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; margin-right: .4rem; }
.hope-back a { font-weight: 700; text-decoration: none; }
.hope-prose img { border-radius: 12px; }
.hope-prose blockquote, .hope-article blockquote { border-left: 3px solid var(--hope-gold); padding-left: 1.4rem; margin-left: 0; }

/* ---------- footer ---------- */
.hope-footer { background: var(--hope-navy); color: #c9d3e4; padding: 3.5rem 20px 1.6rem; font-size: 1rem; position: relative; }
.hope-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--hope-season); }
.hope-footer a { color: #fff; text-decoration: none; }
.hope-footer a:hover { text-decoration: underline; }
.hope-footer .hope-season { color: #fff; padding-bottom: 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.hope-footer__cols { gap: 2.4rem !important; }
.hope-footer__name { font: 700 1.7rem/1.1 var(--hope-serif); color: #fff; padding-top: 70px; background: url("../img/cross-white.png") left top / auto 56px no-repeat; }
.hope-footer__h { font: 700 .78rem var(--wp--preset--font-family--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: #e3c77f !important; margin: 0 0 .8rem; }
.hope-footer__small { font-size: .9rem; opacity: .8; }
.hope-footer__copy { font-size: .85rem; opacity: .6; margin-top: 2.6rem !important; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
	.hope-sunday, .hope-cards, .hope-cards.is-two, .hope-gifts, .hope-happening { grid-template-columns: 1fr; }
	.hope-hero .wp-block-cover__inner-container { padding: 7rem 0 3rem; }
	.hope-map iframe { height: 320px; }
}
@media (max-width: 600px) {
	body { font-size: 1.05rem; }
	.hope-brand__name, .hope-brand__name a { font-size: 1.2rem; }
	.hope-header__bar { min-height: 62px; }
	.hope-sunday .hope-time { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* Inline scripture (inside a column) */
.hope-scripture-inline { border-left: 3px solid var(--hope-gold) !important; padding: .2rem 0 .2rem 1.3rem !important; margin: 1.8rem 0 !important; font: italic 500 1.4rem/1.35 var(--hope-serif); color: var(--hope-navy); }
.hope-scripture-inline p { font: inherit; margin: 0; }
.hope-scripture-inline cite { display: block; margin-top: .6rem; font: 700 .75rem var(--wp--preset--font-family--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--hope-gold); }
.hope-giving-frame { background: #fff; border: 1px solid var(--hope-line); border-radius: var(--hope-radius); padding: 1rem; box-shadow: var(--hope-shadow); min-height: 480px; }
.hope-time small { font-size: 1.05rem; font-weight: 600; margin-left: .15rem; }

/* ---------- fixes after first staging look ---------- */
.wp-block-cover.hope-hero.has-custom-content-position .wp-block-cover__inner-container,
.wp-block-cover.hope-pagehero.has-custom-content-position .wp-block-cover__inner-container { margin: 0 auto !important; width: 100% !important; max-width: var(--hope-wide); }
.hope-section--navy .hope-section-sub { color: #c9d3e4; }
.hope-mission p:not(.hope-eyebrow):not(.hope-where) { font: 500 clamp(1.4rem, 2.6vw, 1.9rem)/1.4 var(--hope-serif); color: var(--hope-blue); max-width: 44rem; margin-inline: auto !important; }
.hope-mission .hope-where { font-style: italic; max-width: 40rem; margin-inline: auto !important; }
.hope-pagehead > .hope-lede { max-width: min(100%, 1140px) !important; }
.hope-main--sections > .wp-block-post-content > * { margin-block: 0; }
@media (max-width: 600px) { .hope-hero .hope-eyebrow { letter-spacing: .1em; font-size: .7rem; } }
.hope-event-when { display: block; }
.hope-coming-up { margin-bottom: 3rem; }
.hope-coming-up > h2 { text-align: center; margin: 0; }

/* ---------- Calendar page (color-coded by liturgical color) ---------- */
.hope-cal { max-width: 52rem; margin: 0 auto; }
.hope-cal__intro { text-align: center; color: #5b6475; font-size: .95rem; margin: 1rem auto 2.4rem !important; max-width: 40rem; }
.hope-cal__key { background: var(--hope-cream); border-radius: 14px; padding: 1.4rem 1.6rem 1.5rem; margin: 0 0 1.4rem; }
.hope-cal__key > h2 { font-size: 1.45rem; margin: 0 0 .3rem; }
.hope-cal__key > p { margin: 0 0 1rem; color: #3d4556; font-size: .97rem; }
.hope-cal__legend { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.6rem; margin: 0; padding: 0; font-size: .93rem; color: #3d4556; line-height: 1.35; }
.hope-cal__legend li { display: flex; align-items: flex-start; gap: .65rem; }
.hope-cal__legend strong { color: var(--hope-navy); }
.hope-cal__legend small { font-size: .85rem; color: #5b6475; }
.hope-cal__swatch { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .1rem; border-radius: 5px; background: var(--hope-day); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.hope-cal__legend .is-white .hope-cal__swatch { box-shadow: inset 0 0 0 2px var(--hope-gold); }
.hope-cal__now { font: 700 .66rem var(--wp--preset--font-family--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--hope-gold); border-radius: 99px; padding: .15rem .5rem; margin-left: .3rem; vertical-align: .1em; }
@media (max-width: 600px) { .hope-cal__legend { grid-template-columns: 1fr; } .hope-cal__key { padding: 1.2rem 1.1rem; } }
.hope-cal__month { margin: 0 0 2.6rem; }
.hope-cal__month > h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--hope-gold); }
.hope-cal__days { list-style: none; margin: 0; padding: 0; }
.hope-cal__day { display: grid; grid-template-columns: 4.4rem 1fr; gap: 1.2rem; align-items: start; padding: .8rem 0; border-bottom: 1px solid var(--hope-line); }
.hope-cal__date { text-align: center; line-height: 1; background: var(--hope-day); color: #fff; border-radius: 10px; padding: .55rem 0 .6rem; }
.hope-cal__date span { display: block; font: 700 .68rem var(--wp--preset--font-family--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.hope-cal__date strong { display: block; font: 600 1.85rem/1.05 var(--hope-serif); margin-top: .15rem; }
.hope-cal__day.is-white .hope-cal__date { color: var(--hope-navy); box-shadow: inset 0 0 0 2px var(--hope-gold); }
.hope-cal__day:not(.is-high):not(.is-feast) .hope-cal__date { transform: scale(.86); }
.hope-cal__day.is-high { background: linear-gradient(90deg, color-mix(in srgb, var(--hope-day) 8%, transparent), transparent 70%); }
.hope-cal__day.is-high.is-white { background: linear-gradient(90deg, rgba(184,145,63,.10), transparent 70%); }
.hope-cal__day.is-today .hope-cal__date { outline: 3px solid var(--hope-gold); outline-offset: 3px; }
.hope-cal__newyear { font: 700 .72rem var(--wp--preset--font-family--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--hope-gold); }
.hope-cal__body { padding-top: .2rem; }
.hope-cal__body p { margin: 0; }
.hope-cal__body > * + * { margin-top: .35rem !important; }
.hope-cal__church.is-sunday, .hope-cal__church.is-principal { font: 600 1.3rem/1.25 var(--hope-serif); color: var(--hope-navy); }
.hope-cal__church.is-feast { font: 600 1.15rem/1.3 var(--hope-serif); color: var(--hope-navy); }
.hope-cal__church.is-feast::before { content: "✠ "; color: var(--hope-gold); }
.hope-cal__church.is-commemoration { font-style: italic; color: #5b6475; font-size: .95rem; }
.hope-cal__event { background: var(--hope-cream); border-radius: 10px; padding: .7rem 1rem; margin-top: .55rem !important; }
.hope-cal__event-title { font-weight: 700; color: var(--hope-ink); }
.hope-cal__event-meta { font-size: .9rem; color: var(--hope-blue); font-weight: 600; }
.hope-cal__event-details { font-size: .95rem; color: #3d4556; margin-top: .25rem !important; }
@media (max-width: 600px) { .hope-cal__day { grid-template-columns: 3.4rem 1fr; gap: .8rem; } .hope-cal__date strong { font-size: 1.45rem; } }
.hope-cal .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Anchor links land below the sticky header */
:where(h1,h2,h3,h4)[id] { scroll-margin-top: 7rem; }
.hope-nav .is-menu-open .hope-nav-give > .wp-block-navigation-item__content { padding: .45rem 1.6rem; margin-top: .6rem; font-size: 1.4rem; }
