/* Ten18 Hub's additions to the 19TEN design: the Sign in / My dashboard link in the header, in the design's own type. */
.site-header__account {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9em;
	font-size: .95rem; font-weight: 600; letter-spacing: -0.005em;
	color: inherit; text-decoration: none; opacity: .85;
	transition: opacity .3s var(--ease, ease);
}
.site-header__account:hover, .site-header__account:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
/* On phones the header keeps Plan a Visit and Menu; Sign in is in the menu. */
@media (max-width: 767px) { .site-header__account { display: none; } }

/* The Sermons page: cards in the design's type and colors. */
.sm-grid { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.sm-card { display: flex; flex-direction: column; gap: .4rem; position: relative; color: inherit; text-decoration: none; }
.sm-card__photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm, 12px); background: var(--ink, #0f0f11); margin-bottom: .6rem; }
.sm-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease, ease); }
.sm-card:hover .sm-card__photo img { transform: scale(1.04); }
.sm-card__blank { display: grid; place-items: center; height: 100%; color: var(--paper, #f4f1ea); font-weight: 700; font-size: 2rem; letter-spacing: -0.03em; }
.sm-card__blank b { color: var(--gold, #c9a14a); }
.sm-card__date { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep, #9a7a2f); }
.sm-card__title { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.sm-card__meta { font-size: .9rem; opacity: .7; }
.sm-card__arrow { position: absolute; right: 0; bottom: .2rem; opacity: 0; transition: opacity .3s, transform .3s; }
.sm-card:hover .sm-card__arrow { opacity: 1; transform: translateX(4px); }
/* The wider church family under the verse in the footer. */
.site-footer__family { margin-top: 1.75rem; }

/* The loading bar across the top, in the design's gold. */
:root { --site-progress: var(--gold); }

/*
 * Ten18 Hub's own pages on this site (events, prayer, forms, policies, a sermon, live, podcasts) in the 19TEN look:
 * their colors, type and buttons mapped onto the design's, always light (whatever the visitor's dark-mode choice),
 * clear of the fixed header. The design's own pages are .site-theme-page and keep their own styles.
 */
.site-main { background: var(--paper); }
.site-main > :not(.site-theme-page) {
	--surface: #fff; --card: #fff; --canvas: var(--paper); --panel: var(--bone); --panel-2: var(--bone);
	--ink: #0F0F11; --muted: #5C5C61; --rule: rgba(15, 15, 17, .12); --rule-strong: rgba(15, 15, 17, .24);
	--header: var(--ink-2); --header-ink: var(--paper); --danger: #b42318;
	/* Our pages color text with --brand: the design's gold for text on light (readable); buttons keep the bright gold. */
	--brand: var(--gold-text); --on-brand: var(--paper); --accent: var(--gold-text);
	--font-display: var(--f-display); --font-body: var(--f-body);
	color: #0F0F11; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6;
	padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
	padding-bottom: var(--space-section);
}
.site-main > :not(.site-theme-page) :is(h1, h2, h3, .display) {
	font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: .98; text-transform: uppercase;
}
.site-main > :not(.site-theme-page) h1 { font-size: var(--fs-h2); margin-bottom: .4em; }
.site-main > :not(.site-theme-page) h2 { font-size: var(--fs-h3); }
.site-main > :not(.site-theme-page) h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; text-transform: none; line-height: 1.2; }
.site-main > :not(.site-theme-page) a:not(.btn) { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.site-main > :not(.site-theme-page) .btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.8em;
	border-radius: 999px; background: var(--gold); color: #0F0F11;
	font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; text-transform: none;
	transition: background .4s var(--ease), color .4s var(--ease);
}
.site-main > :not(.site-theme-page) .btn:hover { background: #0F0F11; color: var(--paper); filter: none; }
.site-main > :not(.site-theme-page) .field,
.site-main > :not(.site-theme-page) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	border-radius: var(--radius-sm); border: 1px solid rgba(15, 15, 17, .18); background: #fff; color: #0F0F11;
	padding: .85rem 1rem; font-family: var(--f-body);
}
.site-main > :not(.site-theme-page) :is(input, select, textarea):focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.site-main > :not(.site-theme-page) img { border-radius: var(--radius-sm); }

/* Watch: Ten18 Hub's livestream player in the design's frame. */
.wt-embed__video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink, #111); }
.wt-embed__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
