/*
Theme Name: Luther's Lectionary Toolbox
Author: Luther's Lectionary Toolbox
Description: A Gutenberg-first block theme for a dedicated lectionary, worship and devotional publishing site.
Version: 0.25.2
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: llt-theme
*/

:root {
	/* Stable semantic API: Theme JSON and the Toolbox Theme screen feed these values. */
	--llt-color-paper: var(--wp--preset--color--paper);
	--llt-color-surface: var(--wp--preset--color--surface);
	--llt-color-ink: var(--wp--preset--color--ink);
	--llt-color-main: var(--wp--preset--color--main);
	--llt-color-secondary: var(--wp--preset--color--secondary);
	--llt-color-accent: var(--wp--preset--color--accent);
	--llt-color-line: var(--wp--preset--color--line);
	--llt-color-muted: var(--wp--preset--color--muted);
	--llt-color-white: var(--wp--preset--color--white);
	--llt-font-heading: var(--wp--preset--font-family--serif);
	--llt-font-body: var(--wp--preset--font-family--sans);
	--llt-radius-line: var(--wp--custom--radius--line);
	--llt-radius-control: var(--wp--custom--radius--control);
	--llt-radius-card: var(--wp--custom--radius--card);
	--llt-radius-feature: var(--wp--custom--radius--feature);
	--llt-shadow-soft-lift: var(--wp--preset--shadow--soft-lift);
	--llt-shadow-quiet: 0 0.4rem 1.25rem rgba(0, 33, 71, 0.045);
	--llt-color-tertiary: var(--llt-liturgical-color, var(--llt-color-main));
	--llt-focus-ring: var(--llt-color-accent);
	--llt-focus-offset: var(--llt-color-paper);
	--llt-reading-measure: 74ch;
	--llt-control-min-size: 2.75rem;

	/* Preserve colors used by templates saved before theme 0.2.0. */
	--wp--preset--color--forest: var(--llt-color-main);
	--wp--preset--color--burgundy: var(--llt-color-secondary);
	--wp--preset--color--gold: var(--llt-color-accent);
}

html {
	scroll-behavior: smooth;
}

/* WordPress does not print this rule on the front end of every block theme. */
.screen-reader-text:not(:focus):not(:focus-within) {
	block-size: 1px;
	border: 0;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	inline-size: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	word-wrap: normal;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	text-wrap: pretty;
}

.wp-site-blocks {
	overflow-x: clip;
}

:where(button, input, select, textarea) {
	font-family: var(--llt-font-body);
}

:where(p, li) {
	overflow-wrap: anywhere;
}

:where(.entry-content, .wp-block-post-content) > :where(p, ul, ol) {
	max-inline-size: var(--llt-reading-measure);
}

:where(h1, h2, h3, h4, h5, h6) {
	text-wrap: balance;
}

::selection {
	background: color-mix(in srgb, var(--llt-color-accent) 32%, var(--llt-color-paper));
	color: var(--llt-color-ink);
}

/* Legacy preset classes remain readable when an older saved template uses them. */
.has-forest-background-color {
	background-color: var(--llt-color-main) !important;
}

.has-forest-color {
	color: var(--llt-color-main) !important;
}

.has-burgundy-color {
	color: var(--llt-color-secondary) !important;
}

.has-gold-color {
	color: var(--llt-color-accent) !important;
}

/* Links keep a normal underline and gain a warm underline sweep on interaction. */
:where(
	a:not(.wp-element-button):not(.llt-scripture-controls__choice):not(.llt-year-nav__season a)
) {
	background-image: linear-gradient(var(--llt-color-accent), var(--llt-color-accent));
	background-position: 0 calc(100% - 0.02em);
	background-repeat: no-repeat;
	background-size: 0 0.12em;
	text-decoration-color: color-mix(in srgb, currentColor 48%, transparent);
	text-decoration-thickness: 0.06em;
	text-underline-offset: 0.18em;
	transition: background-size var(--wp--custom--motion--standard) ease, color var(--wp--custom--motion--quick) ease;
}

:where(
	a:not(.wp-element-button):not(.llt-scripture-controls__choice):not(.llt-year-nav__season a)
):is(:hover, :focus-visible) {
	background-size: 100% 0.12em;
	text-decoration-color: transparent;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	box-shadow: 0 0 0 5px var(--llt-focus-offset);
	outline: 3px solid var(--llt-focus-ring);
	outline-offset: 2px;
}

.has-main-background-color,
.has-ink-background-color,
.has-forest-background-color {
	--llt-focus-ring: var(--llt-color-white);
	--llt-focus-offset: var(--llt-color-accent);
}

:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice) {
	align-items: center;
	box-sizing: border-box;
	border-radius: var(--llt-radius-control);
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	min-block-size: var(--llt-control-min-size);
	overflow: hidden;
	position: relative;
	transition: background-color var(--wp--custom--motion--quick) ease, border-color var(--wp--custom--motion--quick) ease, box-shadow var(--wp--custom--motion--quick) ease, color var(--wp--custom--motion--quick) ease, transform var(--wp--custom--motion--quick) ease;
}

/* A slim, angled highlight gives buttons a repeated project signature. */
/* Theme 0.19.0: the signature is a ledge along the bottom edge instead of the angled line, which read as "≠" beside icon lines. Icon-only buttons are left plain. */
/* Theme 0.20.0: menu dropdown toggles are menu items, not buttons, and stay plain too. */
:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice):where(:not(.llt-page-jump__button, .llt-appearance-toggle__button, .lltf-notice__close, .wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close, .llt-scripture-controls__menu-toggle, .wp-block-navigation-submenu__toggle)) {
	box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.24), 0 1px 2px rgb(0 0 0 / 0.14);
}

:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice):focus-visible {
	transform: translateY(-1px);
}

:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice):where(:not(.llt-page-jump__button, .llt-appearance-toggle__button, .lltf-notice__close, .wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close, .llt-scripture-controls__menu-toggle, .wp-block-navigation-submenu__toggle)):focus-visible {
	box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.32), 0 3px 8px rgb(0 0 0 / 0.18);
}

@media (hover: hover) and (pointer: fine) {
	:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice):not(:disabled):not([aria-disabled="true"]):hover {
		transform: translateY(-1px);
	}
	:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice):where(:not(.llt-page-jump__button, .llt-appearance-toggle__button, .lltf-notice__close, .wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close, .llt-scripture-controls__menu-toggle, .wp-block-navigation-submenu__toggle)):not(:disabled):not([aria-disabled="true"]):hover {
		box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.32), 0 3px 8px rgb(0 0 0 / 0.18);
	}
}

:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice):not(:disabled):not([aria-disabled="true"]):active {
	transform: translateY(0);
}

:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice):where(:not(.llt-page-jump__button, .llt-appearance-toggle__button, .lltf-notice__close, .wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close, .llt-scripture-controls__menu-toggle, .wp-block-navigation-submenu__toggle)):not(:disabled):not([aria-disabled="true"]):active {
	box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.32);
}

@media (prefers-reduced-motion: reduce) {
	:where(.wp-element-button, button:not(.components-button), .llt-scripture-controls__choice) {
		transform: none !important;
	}
}

/* Header menu dropdowns and the phone menu (theme 0.20.0). */
.wp-block-navigation .wp-block-navigation__submenu-container {
	border: 1px solid var(--llt-color-line);
	border-radius: var(--llt-radius-control);
	box-shadow: var(--llt-shadow-soft-lift);
	min-inline-size: 15rem;
	padding-block: 0.35rem;
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	align-items: center;
	display: flex;
	min-block-size: var(--llt-control-min-size);
	padding: 0.25rem 1rem;
}

/* In the phone menu, groups read top to bottom from the left, with their pages indented beneath. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	--navigation-layout-justification-setting: flex-start;
	align-items: flex-start;
	text-align: start;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content :is(.wp-block-navigation__container, .wp-block-navigation-item, .wp-block-navigation__submenu-container) {
	align-items: flex-start;
	justify-content: flex-start;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	gap: 0.75rem;
	inline-size: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0;
	box-shadow: none;
	gap: 0;
	padding-block: 0.25rem 0 !important;
	padding-inline-start: 1rem !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-weight: 400;
	padding: 0.35rem 0;
}

/* Cross-link boxes between Learn the Church Year and Family Resources (theme 0.20.0). */
.llt-crosslink {
	background: var(--llt-color-surface);
	border: 1px solid var(--llt-color-line);
	border-block-start: 0.3rem solid var(--llt-color-accent);
	border-radius: var(--llt-radius-feature);
	margin-block: var(--wp--preset--spacing--60);
	padding: clamp(1.25rem, 4vw, 2.5rem);
}

.llt-crosslink h2 {
	margin-block-start: 0;
}

/* Search results: the Pages heading matches the Services heading above it. */
.llt-search-pages-heading {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	margin-block: 2rem 0.75rem;
}

/* Full-Width Page header band: keep its inner column centered even when the saved band was set to
   "justify left" in the editor (seen on the live lectionary pages); the column's own text stays left. */
.llt-lectionary-page-shell > .wp-block-post-content > .alignfull.has-main-background-color.is-content-justification-left:first-child > .alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Secondary buttons: a strong outline on a light tint of the main color; hover and focus fill them. */
.wp-element-button.llt-button-secondary {
	background-color: color-mix(in srgb, var(--wp--preset--color--main, #002147) 6%, var(--llt-color-surface, #fcfcfc));
	border: 2px solid var(--wp--preset--color--main, #002147);
	color: var(--wp--preset--color--main, #002147);
}

.wp-element-button.llt-button-secondary:is(:hover, :focus-visible) {
	background-color: var(--wp--preset--color--main, #002147);
	color: var(--wp--preset--color--white, #fcfcfc);
}

:where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
	box-sizing: border-box;
	background: var(--llt-color-surface);
	border: 1px solid var(--llt-color-line);
	border-radius: var(--llt-radius-control);
	color: var(--llt-color-ink);
	font: inherit;
	min-block-size: 2.75rem;
	padding: 0.65rem 0.8rem;
}

:where(hr, .wp-block-separator) {
	border-radius: var(--llt-radius-line);
}

/* Long-page position control: branded, compact and absent when unnecessary. */
.llt-page-jump {
	background: color-mix(in srgb, var(--llt-color-surface) 92%, transparent);
	border: 1px solid var(--llt-color-line);
	border-radius: var(--llt-radius-card);
	box-shadow: var(--llt-shadow-soft-lift);
	display: grid;
	gap: 0.25rem;
	/* Centered and horizontal, clear of the + controls at the right edge of panels. */
	grid-auto-flow: column;
	inset-block-end: max(1rem, env(safe-area-inset-bottom));
	inset-inline-start: 50%;
	padding: 0.25rem;
	position: fixed;
	transform: translateX(-50%);
	z-index: 100;
}

.llt-page-jump[hidden] {
	display: none;
}

.llt-page-jump__button {
	background: var(--llt-color-main);
	border: 1px solid var(--llt-color-main);
	block-size: 2.75rem;
	color: var(--llt-color-white);
	font-size: 1.25rem;
	inline-size: 2.75rem;
	padding: 0;
}

.llt-page-jump__button:first-child {
	box-shadow: inset 0 0.16rem 0 color-mix(in srgb, var(--llt-color-accent) 88%, transparent);
}

.llt-page-jump__button:last-child {
	box-shadow: inset 0 -0.16rem 0 color-mix(in srgb, var(--llt-color-accent) 88%, transparent);
}

.llt-page-jump__button:disabled {
	cursor: default;
	opacity: 0.38;
	transform: none;
}

.llt-page-jump__button :where(.svg-inline--fa, .llt-page-jump__fallback) {
	block-size: 1em;
	inline-size: 1em;
	line-height: 1;
}

.llt-page-jump__button .svg-inline--fa + .llt-page-jump__fallback {
	display: none;
}

/* Giving page framing: GiveWP retains ownership of its forms and embedded documents. */
.llt-giving-shell--php {
	box-sizing: border-box;
	margin-inline: auto;
	max-inline-size: var(--wp--style--global--wide-size, 1440px);
}

.llt-giving-shell--php .llt-giving-card {
	box-sizing: border-box;
}

.llt-donor-navigation {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block-start: 2rem;
	padding-block-start: 1.5rem;
	border-block-start: 1px solid var(--llt-color-line);
}

.llt-donor-navigation a {
	background: var(--llt-color-main);
	color: var(--llt-color-white);
	padding: 0.5rem 1rem;
	line-height: 1.4;
	text-align: center;
}

.llt-donor-skip-link:focus {
	background: var(--llt-color-surface);
	color: var(--llt-color-ink);
	padding: 1rem;
	position: fixed;
	inset-block-start: 0.5rem;
	inset-inline-start: 0.5rem;
	z-index: 100000;
}

@media (max-width: 480px) {
	.llt-donor-navigation a { flex: 1 1 100%; }
}

.llt-giving-shell {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}

.llt-giving-card {
	background: var(--llt-color-surface);
	border: 1px solid var(--llt-color-line);
	border-block-start: 0.25rem solid var(--llt-color-accent);
	border-radius: var(--llt-radius-feature);
	color: var(--llt-color-ink);
	min-inline-size: 0;
	overflow-wrap: anywhere;
	padding: clamp(1rem, 4vw, 3rem);
}

.llt-giving-card :where(iframe, img, video) {
	max-inline-size: 100%;
}

.llt-donor-notice {
	border-inline-start: 0.2rem solid var(--llt-color-secondary);
	padding: 1rem;
}

/* Provider-neutral support pathway. All text and links remain editable in Gutenberg. */
.llt-support-page {
	border: 1px solid var(--llt-color-line);
	border-block-start: 0.3rem solid var(--llt-color-accent);
	border-radius: var(--llt-radius-feature);
	box-shadow: var(--llt-shadow-soft-lift);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.llt-support-page::after {
	background: url("assets/brand/llt-mark-color.svg") center / contain no-repeat;
	block-size: clamp(12rem, 30vw, 20rem);
	content: "";
	inline-size: clamp(12rem, 30vw, 20rem);
	inset-block-start: 50%;
	inset-inline-end: clamp(-5rem, -5vw, -2rem);
	opacity: 0.035;
	pointer-events: none;
	position: absolute;
	transform: translateY(-50%) rotate(8deg);
	z-index: -1;
}

.llt-support-page__eyebrow {
	font-weight: 800;
	letter-spacing: 0.11em;
	margin-block-end: var(--wp--preset--spacing--30);
	text-transform: uppercase;
}

.llt-support-page h1 {
	max-inline-size: 14ch;
}

.llt-support-page__actions {
	margin-block: var(--wp--preset--spacing--50);
}

.llt-support-page__note {
	max-inline-size: 54ch;
}

/* Gutenberg-owned, print-friendly learning guide. */
.llt-learn-page {
	margin-block: clamp(1.5rem, 4vw, 4rem);
}

.llt-learn-intro,
.llt-learn-sources {
	background: var(--llt-color-surface);
	border: 1px solid var(--llt-color-line);
	border-block-start: 0.3rem solid var(--llt-color-accent);
	border-radius: var(--llt-radius-feature);
	box-shadow: var(--llt-shadow-soft-lift);
	isolation: isolate;
	overflow: hidden;
	padding: clamp(1.25rem, 4vw, 3.5rem);
	position: relative;
}

.llt-learn-intro::after {
	background: url("assets/brand/llt-mark-color.svg") center / contain no-repeat;
	block-size: clamp(10rem, 26vw, 18rem);
	content: "";
	inline-size: clamp(10rem, 26vw, 18rem);
	inset-block-start: 50%;
	inset-inline-end: clamp(-5rem, -4vw, -2rem);
	opacity: 0.035;
	pointer-events: none;
	position: absolute;
	transform: translateY(-50%);
	z-index: -1;
}

.llt-learn-eyebrow {
	color: var(--llt-color-secondary);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	margin-block-end: var(--wp--preset--spacing--20);
	text-transform: uppercase;
}

.llt-learn-nav {
	border-block-start: 1px solid var(--llt-color-line);
	gap: 0.6rem;
	margin-block-start: var(--wp--preset--spacing--50);
	padding-block-start: var(--wp--preset--spacing--40);
}

.llt-learn-nav a {
	background: color-mix(in srgb, var(--llt-color-main) 7%, var(--llt-color-surface));
	border: 1px solid color-mix(in srgb, var(--llt-color-main) 32%, var(--llt-color-line));
	border-radius: var(--llt-radius-line);
	color: var(--llt-color-main);
	font-weight: 750;
	min-block-size: var(--llt-control-min-size);
	padding: 0.65rem 1rem;
	text-decoration: none;
}

.llt-learn-nav a:is(:hover, :focus-visible) {
	background: var(--llt-color-main);
	color: var(--llt-color-white);
	transform: translateY(-1px);
}

.llt-learn-section {
	margin-block: clamp(3rem, 7vw, 6rem);
	scroll-margin-block-start: 2rem;
}

.llt-learn-section > h2 {
	margin-block-start: 0;
}

.llt-learn-grid {
	align-items: stretch;
	gap: clamp(0.85rem, 2vw, 1.5rem);
	margin-block-start: var(--wp--preset--spacing--50);
}

.llt-learn-card {
	background: var(--llt-color-surface);
	border: 1px solid var(--llt-color-line);
	border-block-start: 0.22rem solid var(--llt-color-tertiary);
	border-radius: var(--llt-radius-card);
	box-shadow: var(--llt-shadow-quiet);
	min-inline-size: 0;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	scroll-margin-block-start: 2rem;
}

.llt-learn-card > h3 {
	margin-block-start: 0;
}

.llt-learn-card__family {
	background: color-mix(in srgb, var(--llt-color-accent) 10%, var(--llt-color-paper));
	border-inline-start: 0.2rem solid var(--llt-color-accent);
	border-radius: 0 var(--llt-radius-control) var(--llt-radius-control) 0;
	padding: 0.8rem 0.9rem;
}

.llt-learn-card__related {
	color: var(--llt-color-muted);
	margin-block-end: 0;
}

.llt-learn-sources {
	border-block-start-color: var(--llt-color-main);
	box-shadow: none;
	margin-block-start: clamp(3rem, 7vw, 6rem);
}

.wp-block-llt-todays-lectionary .llt-learning-link {
	background: color-mix(in srgb, var(--llt-color-accent) 8%, var(--llt-brand-surface));
	border-inline-start: 0.2rem solid var(--llt-color-accent);
	border-radius: 0 var(--llt-radius-control) var(--llt-radius-control) 0;
	font-size: 0.9rem;
	margin-block: 0 1rem;
	max-inline-size: none;
	padding: 0.7rem 0.85rem;
}

/* Opt-in donation pattern. Gutenberg owns the content and GiveWP owns the form. */
.llt-donation-layout {
	padding: clamp(1rem, 4vw, 3.5rem);
	overflow: visible;
}
.llt-donation-layout::after { display: none; }
.llt-donation-layout .llt-donation-layout__columns {
	gap: clamp(1.5rem, 4vw, 4rem);
	margin-block: 0;
	align-items: flex-start;
}
.llt-donation-layout__intro { position: relative; isolation: isolate; }
.llt-donation-layout__intro::before {
	content: "";
	position: absolute;
	inset: 1rem 0 0;
	background: url("assets/brand/llt-mark-color.svg") right center / min(85%, 22rem) auto no-repeat;
	opacity: 0.035;
	pointer-events: none;
	z-index: -1;
}
.llt-donation-layout :where(.wp-block-column, .root-data-givewp-embed) { min-inline-size: 0; }
.llt-donation-layout__form > h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-block: 0 1.25rem; }
.llt-donation-placeholder { border: 1px dashed var(--llt-color-line); padding: 1rem; }
.llt-givewp-status { color: var(--llt-color-muted); font-size: 0.9rem; padding-block: 0.75rem; }
.llt-givewp-status a { display: inline-block; margin-inline-start: 0.35rem; text-decoration: underline; }
.llt-givewp-status[hidden] { display: none; }
@media (max-width: 900px) {
	.llt-donation-layout .llt-donation-layout__columns { flex-direction: column; }
	.llt-donation-layout .llt-donation-layout__columns > .wp-block-column { flex-basis: auto !important; inline-size: 100%; }
	.llt-donation-layout h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
}

/*
 * Theme 0.25.0: one page shape. The Support and giving templates open with the same Oxford Blue
 * header band as the lectionary and learning pages (the page title, with the breadcrumb trail
 * above it), and every content column starts at the band's left edge instead of centering.
 * The Support pattern's headline sits below the band as an H2 at the old H1 size.
 */
.llt-page-band__headline,
.llt-support-page h1 {
	font-size: var(--wp--preset--font-size--x-large);
	max-inline-size: 14ch;
}

/* Saved pages keep the centered column Gutenberg wrote; start it at the left edge like the band. */
body :is(.llt-learn-page, .llt-support-page, .llt-giving-card, .llt-giving-card > .wp-block-post-content) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-inline-start: 0 !important;
}

/*
 * GiveWP's campaign blocks (goal, stats, recent donations, top donors, Donate) ship with their
 * own grey palette and a plain black Donate button. Their colors are CSS variables, so the
 * theme maps them to its own: primary buttons match the site's, outline buttons are secondary,
 * and the dark scheme swaps the greys (appearance.css). GiveWP keeps its markup and behavior.
 */
body .give-campaign-page,
body :is(.wp-block-givewp-campaign-goal, .wp-block-givewp-campaign-stats-block, .wp-block-givewp-campaign-donations, .wp-block-givewp-campaign-donors, .wp-block-givewp-campaign-donate-button, .wp-block-givewp-campaign-cover-image, .wp-block-givewp-campaign-title) {
	--givewp-primary-color: var(--llt-color-main);
	--givewp-secondary-color: var(--llt-color-accent);
	--givewp-neutral-900: var(--llt-color-ink);
	--givewp-neutral-700: var(--llt-color-ink);
	--givewp-neutral-500: var(--llt-color-muted);
	--givewp-neutral-400: var(--llt-color-muted);
	--givewp-neutral-50: var(--llt-color-line);
	--givewp-shades-white: var(--llt-color-surface);
}

body :is(.givewp-campaign-donations-block__title, .givewp-campaign-donors-block__title) {
	font-family: var(--llt-font-heading);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
}

body :is(.givewp-campaign-donations-block__donation, .givewp-campaign-donors-block__donor, .givewp-campaign-donations-block__empty-state, .givewp-campaign-donors-block__empty-state) {
	background-color: var(--llt-color-paper);
	border-color: var(--llt-color-line);
	border-radius: var(--llt-radius-control);
}

body .givewp-campaign-goal__progress-bar-container {
	background-color: color-mix(in srgb, var(--llt-color-line) 55%, var(--llt-color-surface));
	box-shadow: none;
}

/* The Donate button that opens GiveWP's form is a primary button. */
body .givewp-donation-form-modal__open:not(.givewp-campaign-donations-block__donate-button *):not(.givewp-campaign-donors-block__donate-button *) {
	background-color: var(--llt-color-main) !important;
	border: 1px solid var(--llt-color-main);
	border-radius: var(--llt-radius-control);
	box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-accent) 88%, transparent), 0 1px 2px rgb(0 0 0 / 0.14);
	color: var(--llt-color-white) !important;
	font-family: var(--llt-font-body);
	font-weight: 700;
	min-block-size: 48px;
}

body .givewp-donation-form-modal__open:not(.givewp-campaign-donations-block__donate-button *):not(.givewp-campaign-donors-block__donate-button *):is(:hover, :focus-visible) {
	background-color: color-mix(in srgb, var(--llt-color-main) 84%, var(--llt-color-white)) !important;
	box-shadow: inset 0 -3px 0 var(--llt-color-accent), 0 3px 8px rgb(0 0 0 / 0.18);
}

/* The small Donate / Join the list buttons beside the list headings are secondary buttons (GiveWP's own rules carry !important). */
html body .givewp-campaign-donations-block .givewp-campaign-donations-block__donate-button button.givewp-donation-form-modal__open,
html body .givewp-campaign-donations-block .givewp-campaign-donations-block__empty-button button.givewp-donation-form-modal__open,
html body .givewp-campaign-donations-block .givewp-campaign-donations-block__load-more-button,
html body .givewp-campaign-donors-block .givewp-campaign-donors-block__donate-button button.givewp-donation-form-modal__open,
html body .givewp-campaign-donors-block .givewp-campaign-donors-block__empty-button button.givewp-donation-form-modal__open,
html body .givewp-campaign-donors-block .givewp-campaign-donors-block__load-more-button {
	background: var(--llt-color-surface) !important;
	border: 1px solid var(--llt-color-main);
	border-radius: var(--llt-radius-control);
	box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-main) 22%, transparent), 0 1px 2px rgb(0 0 0 / 0.1);
	color: var(--llt-color-main) !important;
	font-family: var(--llt-font-body);
}

html body .givewp-campaign-donations-block .givewp-campaign-donations-block__donate-button button.givewp-donation-form-modal__open:is(:hover, :focus-visible),
html body .givewp-campaign-donations-block .givewp-campaign-donations-block__empty-button button.givewp-donation-form-modal__open:is(:hover, :focus-visible),
html body .givewp-campaign-donations-block .givewp-campaign-donations-block__load-more-button:is(:hover, :focus-visible),
html body .givewp-campaign-donors-block .givewp-campaign-donors-block__donate-button button.givewp-donation-form-modal__open:is(:hover, :focus-visible),
html body .givewp-campaign-donors-block .givewp-campaign-donors-block__empty-button button.givewp-donation-form-modal__open:is(:hover, :focus-visible),
html body .givewp-campaign-donors-block .givewp-campaign-donors-block__load-more-button:is(:hover, :focus-visible) {
	background: color-mix(in srgb, var(--llt-color-main) 9%, var(--llt-color-surface)) !important;
	box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-main) 40%, transparent), 0 3px 8px rgb(0 0 0 / 0.14);
	color: var(--llt-color-main) !important;
}

.llt-footer-legal-rule {
	border-color: rgba(252, 252, 252, 0.24);
	margin-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
}
.llt-footer-legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem 1.25rem;
	font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
	line-height: 1.5;
	color: rgba(252, 252, 252, 0.78);
}
.llt-footer-legal p { margin: 0; }
.llt-footer-legal nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; }
.llt-footer-legal a { color: inherit !important; text-underline-offset: 0.2em; }
.llt-footer-legal a:hover { color: var(--llt-color-white) !important; }
@media (max-width: 600px) {
	.llt-footer-legal { align-items: flex-start; flex-direction: column; }
}

.llt-support-callout {
	border: 1px solid var(--llt-color-line);
	border-inline-start: 0.3rem solid var(--llt-color-accent);
	border-radius: var(--llt-radius-card);
	box-shadow: var(--llt-shadow-quiet);
}

.llt-support-callout p {
	font-family: var(--llt-font-heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	margin: 0;
}

/*
 * A full-width band placed directly in page content (the lectionary page headers) spans the
 * viewport, but WordPress removes root padding from nested constrained groups. Restore the
 * gutter so its text never touches the screen edge. Explicit side padding set in Gutenberg wins.
 */
.wp-block-post-content > .alignfull.has-background.has-global-padding {
	padding-right: var(--wp--style--root--padding-right);
	padding-left: var(--wp--style--root--padding-left);
}

/* Quiet site chrome and a warm, confident opening field. */
.wp-site-blocks > .wp-block-template-part:first-child > .wp-block-group {
	background: color-mix(in srgb, var(--llt-color-surface) 88%, var(--llt-color-paper));
	border-block-end: 1px solid var(--llt-color-line);
}

.wp-block-site-title {
	align-items: center;
	display: inline-flex;
	font-size: clamp(1.15rem, 1rem + 0.75vw, 1.55rem);
	gap: 0.55rem;
}

/* Approved LLT icon mark; the source asset preserves its slightly tall geometry. */
.wp-block-site-title::before {
	background: url("assets/brand/llt-icon.svg") center / contain no-repeat;
	block-size: 1.55em;
	content: "";
	flex: 0 0 auto;
	inline-size: 1.55em;
}

.wp-block-site-title a {
	text-decoration: none;
}

.has-ink-background-color .wp-block-site-title::before {
	background-image: url("assets/brand/llt-mark-reversed.svg");
	opacity: 0.92;
}

:where(.has-main-background-color, .has-forest-background-color) {
	box-shadow: inset 0 -0.25rem 0 color-mix(in srgb, var(--llt-color-accent) 72%, transparent);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

:where(.has-main-background-color, .has-forest-background-color)::after {
	content: "";
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

:where(.has-main-background-color, .has-forest-background-color)::before {
	content: none;
}

:where(.has-main-background-color, .has-forest-background-color)::after {
	background: url("assets/brand/llt-mark-reversed.svg") center / contain no-repeat;
	block-size: clamp(13rem, 31vw, 25rem);
	inline-size: clamp(13rem, 31vw, 25rem);
	inset-block-start: 50%;
	inset-inline-end: clamp(-5.5rem, -5vw, -2rem);
	opacity: 0.06;
	transform: translateY(-50%) rotate(8deg);
}

:where(.has-main-background-color, .has-forest-background-color) > * {
	position: relative;
	z-index: 1;
}

:where(.has-main-background-color, .has-forest-background-color) :where(h1, h2, h3, p) {
	color: var(--llt-color-white);
}

:where(.has-main-background-color, .has-forest-background-color) h1 {
	max-inline-size: 16ch;
}

:where(.has-main-background-color, .has-forest-background-color) p {
	max-inline-size: 52ch;
	opacity: 0.92;
}

/* The seasonal color is contextual decoration; brand color owns interactions. */
.wp-block-llt-todays-lectionary {
	--llt-brand-main: var(--llt-color-main);
	--llt-brand-surface: var(--llt-color-surface);
	--llt-brand-line: var(--llt-color-line);
	--llt-brand-muted: var(--llt-color-muted);
	container-type: inline-size;
	inline-size: 100%;
	max-inline-size: none;
}

.wp-block-llt-todays-lectionary .llt-day__date {
	font-family: var(--llt-font-heading);
	font-weight: 600;
	letter-spacing: -0.015em;
}

.wp-block-llt-todays-lectionary .llt-scripture-controls {
	align-items: flex-start;
}

.wp-block-llt-todays-lectionary .llt-scripture-controls__toggle {
	align-self: flex-start;
}

.wp-block-llt-todays-lectionary :where(.llt-scripture-controls__choice, .llt-scripture-controls__toggle, .llt-scripture-controls__menu-toggle) {
	background: var(--llt-brand-surface);
	border-color: color-mix(in srgb, var(--llt-liturgical-color) 28%, var(--llt-brand-line));
	border-radius: var(--llt-radius-control);
	color: var(--llt-color-ink);
	transition: background-color var(--wp--custom--motion--quick) ease, border-color var(--wp--custom--motion--quick) ease, box-shadow var(--wp--custom--motion--quick) ease, color var(--wp--custom--motion--quick) ease, transform var(--wp--custom--motion--quick) ease;
}

.wp-block-llt-todays-lectionary :where(.llt-scripture-controls__choice, .llt-scripture-controls__toggle, .llt-scripture-controls__menu-toggle):is(:hover, :focus-visible) {
	border-color: var(--llt-brand-main);
}

.wp-block-llt-todays-lectionary .llt-scripture-controls__menu-toggle {
	background: var(--llt-brand-main);
	border-color: var(--llt-brand-main);
	color: var(--llt-color-white);
}

.wp-block-llt-todays-lectionary .llt-scripture-controls__summary-item {
	background: color-mix(in srgb, var(--llt-liturgical-color) 7%, var(--llt-brand-surface));
	border-color: color-mix(in srgb, var(--llt-liturgical-color) 26%, var(--llt-brand-line));
	color: var(--llt-color-ink);
}

.wp-block-llt-todays-lectionary .llt-scripture-controls__choice.is-active {
	background: var(--llt-brand-main);
	border-color: var(--llt-brand-main);
	box-shadow: inset 0 -0.2rem 0 color-mix(in srgb, var(--llt-color-accent) 82%, transparent);
	color: var(--llt-color-white);
}

.wp-block-llt-todays-lectionary .llt-day__record {
	background: var(--llt-brand-surface);
	border: 1px solid var(--llt-brand-line);
	border-block-start: 0.3rem solid var(--llt-liturgical-color);
	border-radius: var(--llt-radius-card);
	box-shadow: var(--llt-shadow-soft-lift);
	overflow: hidden;
	position: relative;
}

.wp-block-llt-todays-lectionary .llt-observance-reference {
	background: color-mix(in srgb, var(--llt-liturgical-color) 4%, var(--llt-brand-surface));
	border-color: color-mix(in srgb, var(--llt-liturgical-color) 46%, var(--llt-brand-line));
	border-radius: var(--llt-radius-card);
	box-shadow: var(--llt-shadow-quiet);
}

.wp-block-llt-todays-lectionary :where(.llt-observance-reference__eyebrow, .llt-observance-reference__qualifier) {
	color: var(--llt-brand-muted);
}

.wp-block-llt-todays-lectionary .llt-day__record::after {
	-webkit-mask: url("assets/svg/cantus-lines.svg") center / contain no-repeat;
	background: var(--llt-liturgical-color);
	block-size: 7rem;
	content: "";
	inline-size: 4.2rem;
	inset-block-start: 0.65rem;
	inset-inline-end: 0.65rem;
	mask: url("assets/svg/cantus-lines.svg") center / contain no-repeat;
	opacity: 0.055;
	pointer-events: none;
	position: absolute;
}

.wp-block-llt-todays-lectionary :where(.llt-day__track, .llt-scripture__notice, .llt-scripture__copyright, .llt-liturgical-resource-card__notice, .llt-year-nav__track, .llt-year-nav time, .llt-year-nav__source, .llt-color-guide small) {
	color: var(--llt-brand-muted);
}

.wp-block-llt-todays-lectionary .llt-scripture {
	background: color-mix(in srgb, var(--llt-liturgical-color) 3%, var(--llt-brand-surface));
	border-inline-start-color: color-mix(in srgb, var(--llt-liturgical-color) 55%, var(--llt-brand-line));
	border-radius: 0 var(--llt-radius-control) var(--llt-radius-control) 0;
	padding-inline-end: clamp(0.5rem, 2vw, 1rem);
}

.wp-block-llt-todays-lectionary :where(.llt-day__records, .llt-liturgical-resources, .llt-day__reading-group dd) {
	min-inline-size: 0;
}

.wp-block-llt-todays-lectionary .llt-day__reading-group:not(.llt-day__reading-group--psalm) .llt-scripture__provider-text {
	max-inline-size: none;
}

.wp-block-llt-todays-lectionary .llt-day__reading-group--psalm .llt-scripture__provider-text {
	max-inline-size: 72ch;
}

.wp-block-llt-todays-lectionary :where(.llt-disclosure-icons, .llt-scripture__audio-icon) {
	font-size: 1.2rem;
}

.wp-block-llt-todays-lectionary .llt-scripture__audio-trigger {
	background: color-mix(in srgb, var(--llt-liturgical-color) 6%, var(--llt-brand-surface));
	border-color: color-mix(in srgb, var(--llt-liturgical-color) 36%, var(--llt-brand-line));
	border-radius: var(--llt-radius-control);
	color: var(--llt-color-ink);
}

.wp-block-llt-todays-lectionary .llt-scripture__audio-trigger:is(:hover, :focus-visible) {
	border-color: var(--llt-brand-main);
}

.wp-block-llt-todays-lectionary .llt-scripture__audio-trigger.is-active {
	background: var(--llt-brand-main);
	border-color: var(--llt-brand-main);
	box-shadow: inset 0 -0.18rem 0 color-mix(in srgb, var(--llt-color-accent) 82%, transparent);
	color: var(--llt-color-white);
}

.wp-block-llt-todays-lectionary .llt-scripture__audio-status {
	color: var(--llt-brand-muted);
}

.wp-block-llt-todays-lectionary :where(.llt-year-nav__disclosure, .llt-document-action) {
	background: var(--llt-brand-surface);
	border-color: var(--llt-brand-line);
	border-radius: var(--llt-radius-card);
	box-shadow: var(--llt-shadow-quiet);
}

.wp-block-llt-todays-lectionary .llt-year-nav__feasts-toggle {
	background: var(--llt-brand-surface);
	border-color: var(--llt-brand-line);
	border-radius: var(--llt-radius-control);
	color: var(--llt-color-ink);
}

.wp-block-llt-todays-lectionary .llt-year-nav__feasts-toggle:is(:hover, :focus-visible) {
	border-color: var(--llt-brand-main);
}

.wp-block-llt-todays-lectionary .llt-document-action button {
	background: var(--llt-brand-main);
	border-color: var(--llt-brand-main);
	border-radius: var(--llt-radius-control);
	color: var(--llt-color-white);
}

.wp-block-llt-todays-lectionary .llt-document-action span {
	color: var(--llt-brand-muted);
}

.wp-block-llt-todays-lectionary .llt-year-nav__season a {
	border-radius: var(--llt-radius-control);
	transition: background-color var(--wp--custom--motion--quick) ease, border-color var(--wp--custom--motion--quick) ease;
}

.wp-block-llt-todays-lectionary :is(.llt-year-nav__season a:hover, .llt-year-nav__season a:focus-visible, .llt-year-nav__season a[aria-current="date"], .llt-year-nav__season a[aria-current="true"], .llt-year-nav__season a[aria-current="location"]) {
	background: color-mix(in srgb, var(--llt-nav-color, var(--llt-liturgical-color)) 10%, var(--llt-brand-surface));
	border-color: color-mix(in srgb, var(--llt-nav-color, var(--llt-liturgical-color)) 40%, var(--llt-brand-line));
}

.wp-block-llt-todays-lectionary :where(.llt-liturgical-resource-card__section, .llt-year-nav__season, .llt-color-guide, .llt-scripture__passage + .llt-scripture__passage) {
	border-color: var(--llt-brand-line);
}

@container (max-width: 32rem) {
	.wp-block-llt-todays-lectionary .llt-scripture-controls,
	.wp-block-llt-todays-lectionary .llt-scripture-controls__options,
	.wp-block-llt-todays-lectionary .llt-scripture-controls__toggle {
		inline-size: 100%;
	}

	.wp-block-llt-todays-lectionary :where(.llt-scripture-controls__views, .llt-scripture-controls__tracks, .llt-scripture-controls__focus, .llt-scripture-controls__translations) {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		inline-size: 100%;
	}

	.wp-block-llt-todays-lectionary .llt-scripture-controls__label {
		grid-column: 1 / -1;
	}

	.wp-block-llt-todays-lectionary .llt-scripture-controls.is-controls-enhanced {
		background: color-mix(in srgb, var(--llt-liturgical-color) 4%, var(--llt-brand-surface));
		border-color: color-mix(in srgb, var(--llt-liturgical-color) 22%, var(--llt-brand-line));
		border-radius: var(--llt-radius-card);
		box-shadow: var(--llt-shadow-quiet);
	}

	.wp-block-llt-todays-lectionary .llt-scripture-controls__options:not([hidden]) {
		border-color: color-mix(in srgb, var(--llt-liturgical-color) 20%, var(--llt-brand-line));
	}
}

@media (max-width: 480px) {
	.llt-learn-nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.llt-learn-nav a {
		display: grid;
		place-items: center;
		text-align: center;
	}

	.llt-learn-card {
		padding: 1rem;
	}

	.llt-page-jump {
		inset-block-end: max(0.75rem, env(safe-area-inset-bottom));
	}

	.wp-site-blocks > .wp-block-template-part:first-child > .wp-block-group > .wp-block-group {
		gap: 0.75rem;
	}

	.wp-block-llt-todays-lectionary .llt-day__record {
		padding: 0.9rem;
	}

	.wp-block-llt-todays-lectionary .llt-document-action button {
		inline-size: 100%;
	}

	.llt-support-page {
		border-radius: var(--llt-radius-card);
	}

	.llt-support-page__actions,
	.llt-support-page__actions .wp-block-button,
	.llt-support-page__actions .wp-element-button,
	.llt-support-callout .wp-block-buttons,
	.llt-support-callout .wp-block-button,
	.llt-support-callout .wp-element-button {
		inline-size: 100%;
	}

	:where(.has-main-background-color, .has-forest-background-color)::before {
		display: none;
	}

	:where(.has-main-background-color, .has-forest-background-color)::after {
		block-size: 12rem;
		inline-size: 12rem;
		inset-inline-end: -4.5rem;
		opacity: 0.055;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	:where(a) {
		background-size: 100% 0.08em;
	}
}

@media (forced-colors: active) {
	.wp-block-site-title::before,
	:where(.has-main-background-color, .has-forest-background-color)::before,
	:where(.has-main-background-color, .has-forest-background-color)::after,
	.llt-support-page::after,
	.wp-block-llt-todays-lectionary .llt-day__record::after {
		display: none;
	}

	.wp-block-llt-todays-lectionary :where(.llt-day__record, .llt-year-nav__disclosure, .llt-document-action) {
		border: 1px solid CanvasText;
	}

	.wp-block-llt-todays-lectionary .llt-day__color,
	.wp-block-llt-todays-lectionary .llt-year-nav__color,
	.wp-block-llt-todays-lectionary .llt-color-guide__swatch {
		forced-color-adjust: none;
	}
}

@media print {
	.wp-block-template-part,
	.wp-block-navigation,
	.llt-page-jump,
	.no-print {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.wp-block-llt-todays-lectionary .llt-day__record {
		box-shadow: none;
	}

	.wp-block-llt-todays-lectionary .llt-day__record::after {
		display: none;
	}

	.llt-support-page::after {
		display: none;
	}

	.llt-learn-page {
		font-size: 10.5pt;
		margin: 0;
	}

	.llt-learn-nav,
	.llt-learn-intro::after {
		display: none !important;
	}

	.llt-learn-intro,
	.llt-learn-sources,
	.llt-learn-card {
		background: #fff;
		box-shadow: none;
		color: #000;
	}

	.llt-learn-intro,
	.llt-learn-sources {
		border: 1px solid #777;
		padding: 1rem;
	}

	.llt-learn-section {
		margin-block: 1.5rem;
	}

	.llt-learn-grid {
		display: grid;
		gap: 0.65rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.llt-learn-card {
		border: 1px solid #aaa;
		break-inside: avoid;
		page-break-inside: avoid;
		padding: 0.75rem;
	}

	.llt-learn-card__family {
		background: transparent;
		border-inline-start: 2px solid #555;
	}
}

/*
 * Theme 0.23.0: two button styles everywhere.
 * Primary: navy with white text and a gold bottom edge (main actions, the selected choice,
 * Support the Work). Secondary: the page surface with a navy border and navy text (other
 * actions, unselected choices, See Today). Icon-only controls (search icon, menu, appearance,
 * close) stay plain. Saved gold (accent) buttons are shown as primary.
 */
body :is(.wp-element-button, .wp-block-button__link):not(.llt-button-secondary):not(.has-icon):not(.llt-appearance-toggle__button),
body .wp-block-button__link.has-accent-background-color,
body .wp-block-llt-todays-lectionary .llt-scripture-controls__choice.is-active,
body .wp-block-llt-todays-lectionary .llt-scripture-controls__menu-toggle,
body .wp-block-llt-todays-lectionary .llt-document-action button,
body .llt-page-jump__button {
	background-color: var(--llt-color-main) !important;
	border: 1px solid var(--llt-color-main);
	border-radius: var(--llt-radius-control);
	box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-accent) 88%, transparent), 0 1px 2px rgb(0 0 0 / 0.14);
	color: var(--llt-color-white) !important;
}

body :is(.wp-element-button, .wp-block-button__link):not(.llt-button-secondary):not(.has-icon):not(.llt-appearance-toggle__button):not(:disabled):is(:hover, :focus-visible),
body .wp-block-button__link.has-accent-background-color:is(:hover, :focus-visible),
body .wp-block-llt-todays-lectionary .llt-scripture-controls__menu-toggle:is(:hover, :focus-visible),
body .wp-block-llt-todays-lectionary .llt-document-action button:is(:hover, :focus-visible),
body .llt-page-jump__button:not(:disabled):is(:hover, :focus-visible) {
	background-color: color-mix(in srgb, var(--llt-color-main) 84%, var(--llt-color-white)) !important;
	box-shadow: inset 0 -3px 0 var(--llt-color-accent), 0 3px 8px rgb(0 0 0 / 0.18);
}

/* The page-jump pair keeps its outward gold edges (top on ↑, bottom on ↓). */
body .llt-page-jump__button:first-child {
	box-shadow: inset 0 3px 0 color-mix(in srgb, var(--llt-color-accent) 88%, transparent);
}

body .llt-page-jump__button:last-child {
	box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-accent) 88%, transparent);
}

body .wp-element-button.llt-button-secondary,
body .wp-block-button.is-style-outline > .wp-block-button__link,
body .wp-block-llt-todays-lectionary .llt-scripture-controls__choice:not(.is-active),
body .wp-block-llt-todays-lectionary .llt-scripture-controls__toggle,
body .wp-block-llt-todays-lectionary .llt-year-nav__feasts-toggle,
body .llt-day__today {
	background-color: var(--llt-color-surface) !important;
	border: 1px solid var(--llt-color-main);
	border-radius: var(--llt-radius-control);
	box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-main) 22%, transparent), 0 1px 2px rgb(0 0 0 / 0.1);
	color: var(--llt-color-main) !important;
}

body .wp-element-button.llt-button-secondary:is(:hover, :focus-visible),
body .wp-block-button.is-style-outline > .wp-block-button__link:is(:hover, :focus-visible),
body .wp-block-llt-todays-lectionary .llt-scripture-controls__choice:not(.is-active):not(.is-disabled):is(:hover, :focus-visible),
body .wp-block-llt-todays-lectionary .llt-scripture-controls__toggle:is(:hover, :focus-visible),
body .wp-block-llt-todays-lectionary .llt-year-nav__feasts-toggle:is(:hover, :focus-visible),
body .llt-day__today:is(:hover, :focus-visible) {
	background-color: color-mix(in srgb, var(--llt-color-main) 9%, var(--llt-color-surface)) !important;
	box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-main) 40%, transparent), 0 3px 8px rgb(0 0 0 / 0.14);
}

/* On navy and ink sections (page bands, footer) a primary button gets a light outline so its edge stays visible. */
body :is(.has-main-background-color, .has-ink-background-color, .has-forest-background-color) :is(.wp-element-button, .wp-block-button__link):not(.llt-button-secondary):not(.has-icon) {
	border-color: color-mix(in srgb, var(--llt-color-white) 70%, transparent);
}

/* Theme 0.24.0: multi-line fields keep a modest corner; the pill radius clipped their text. */
body textarea {
	border-radius: min(var(--llt-radius-control, 0.75rem), 0.75rem);
	line-height: 1.5;
	min-block-size: 8rem;
	padding: 0.65rem 0.8rem;
	resize: vertical;
}
