/* Motion uses the supplied seal's geometry, with scoped hooks rather than duplicate IDs. */
.wp-block-site-title.has-llt-inline-mark::before { display: none; }
.llt-brand-mark { display: inline-block; flex: 0 0 auto; width: 2.5rem; aspect-ratio: 124 / 128; }
.llt-brand-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.llt-brand-mark .llt-mark--reversed { display: none; }
.has-ink-background-color .llt-brand-mark .llt-mark--color { display: none; }
.has-ink-background-color .llt-brand-mark .llt-mark--reversed { display: block; }
.llt-appearance { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--llt-color-ink); }
.llt-appearance[hidden] { display: none; }
.llt-appearance select { min-height: 44px; max-width: 100%; border: 1px solid var(--llt-color-line); border-radius: var(--llt-radius-control); background: var(--llt-color-surface); color: var(--llt-color-ink); padding: 0.5rem; font: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .llt-brand-mark.is-entering [data-llt-part="llt-frame-outer"] { stroke-dasharray: 368; animation: llt-brand-draw 900ms ease both; }
  .llt-brand-mark.is-entering [data-llt-part="llt-frame-inner"] { animation: llt-brand-fade 600ms 150ms ease both; }
  .llt-brand-mark.is-entering [data-llt-part="llt-petals"] { transform-box: view-box; transform-origin: 62px 64px; animation: llt-brand-turn 800ms 400ms ease both; }
  .llt-brand-mark.is-entering [data-llt-part="llt-heart"] { animation: llt-brand-fade 500ms 850ms ease both; }
  .llt-brand-mark.is-entering .llt-mark--color [data-llt-part="llt-cross"] { animation: llt-brand-fade 400ms 1000ms ease both; }
}
@keyframes llt-brand-draw { from { stroke-dashoffset: 368; } to { stroke-dashoffset: 0; } }
@keyframes llt-brand-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes llt-brand-turn { from { opacity: 0; transform: rotate(-36deg) scale(0.88); } to { opacity: 1; transform: rotate(0deg) scale(1); } }

/* Brand fields stay Oxford Blue. Text links are a distinct accessible role. */
@media screen {
  :root[data-llt-scheme="light"] { color-scheme: light; }
  :root[data-llt-scheme="dark"] {
    color-scheme: dark;
    --llt-color-paper: var(--llt-dark-paper, #101923);
    --llt-color-surface: var(--llt-dark-surface, #192736);
    --llt-color-ink: var(--llt-dark-ink, #F4F1EB);
    --llt-color-line: var(--llt-dark-line, #586C80);
    --llt-color-muted: var(--llt-dark-muted, #BAC7D3);
    --llt-color-link: var(--llt-dark-link, #A8D2FF);
    --llt-focus-offset: var(--llt-color-paper);
  }
  html[data-llt-scheme="dark"] body { background: var(--llt-color-paper); color: var(--llt-color-ink); }
  html[data-llt-scheme="dark"] :where(h1,h2,h3,h4,h5,h6) { color: var(--llt-color-ink); }
  html[data-llt-scheme="dark"] a:not(.wp-element-button):not(.llt-scripture-controls__choice):not(.llt-year-nav__season a) { color: var(--llt-color-link); }
  html[data-llt-scheme="dark"] .has-paper-background-color { background-color: var(--llt-color-paper) !important; }
  html[data-llt-scheme="dark"] .has-surface-background-color { background-color: var(--llt-color-surface) !important; }
  html[data-llt-scheme="dark"] .has-ink-color { color: var(--llt-color-ink) !important; }
  html[data-llt-scheme="dark"] .has-muted-color { color: var(--llt-color-muted) !important; }
  html[data-llt-scheme="dark"] .wp-block-navigation__responsive-container.is-menu-open { background: var(--llt-color-surface) !important; color: var(--llt-color-ink) !important; }
  html[data-llt-scheme="dark"] .wp-block-navigation .wp-block-navigation__submenu-container { background-color: var(--llt-color-surface) !important; border-color: var(--llt-color-line); color: var(--llt-color-ink) !important; }
  html[data-llt-scheme="dark"] .wp-block-navigation .wp-block-navigation-item__content { color: var(--llt-color-ink) !important; }
  html[data-llt-scheme="dark"] .llt-year-nav__reference { color: var(--llt-color-muted); }
  html[data-llt-scheme="dark"] :where(.llt-year-nav time,.llt-year-nav__source,.llt-color-guide small,.llt-scripture__notice,.llt-liturgical-resource-card__notice) { color: var(--llt-color-muted); }
  html[data-llt-scheme="dark"] :where(.has-main-background-color,.has-forest-background-color,.has-ink-background-color) :where(h1,h2,h3,h4,h5,h6,p,a) { color: var(--llt-color-white); }
  html[data-llt-scheme="dark"] .wp-element-button.has-accent-background-color { color: var(--llt-color-white) !important; }
  html[data-llt-scheme="dark"] .wp-element-button:not(.has-background):not(.llt-button-secondary) { border-color: var(--llt-color-link); }
  html[data-llt-scheme="dark"] .wp-element-button.llt-button-secondary { background-color: var(--llt-color-surface); border-color: var(--llt-color-link); color: var(--llt-color-link); }
  html[data-llt-scheme="dark"] .wp-element-button.llt-button-secondary:is(:hover, :focus-visible) { background-color: var(--llt-color-link); color: var(--llt-color-paper); }
  /* Theme 0.23.0 two button styles, dark: primary stays navy with a light-blue outline and gold edge; secondary is the dark surface with light-blue border and text. */
  html[data-llt-scheme="dark"] body :is(.wp-element-button, .wp-block-button__link):not(.llt-button-secondary):not(.has-icon):not(.llt-appearance-toggle__button),
  html[data-llt-scheme="dark"] body .wp-block-button__link.has-accent-background-color,
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-scripture-controls__choice.is-active,
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-scripture-controls__menu-toggle,
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-document-action button,
  html[data-llt-scheme="dark"] body .llt-page-jump__button { border-color: var(--llt-color-link); color: var(--llt-color-white) !important; }
  html[data-llt-scheme="dark"] body .wp-element-button.llt-button-secondary,
  html[data-llt-scheme="dark"] body .wp-block-button.is-style-outline > .wp-block-button__link,
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-scripture-controls__choice:not(.is-active),
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-scripture-controls__toggle,
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-year-nav__feasts-toggle,
  html[data-llt-scheme="dark"] body .llt-day__today { background-color: var(--llt-color-surface) !important; border-color: var(--llt-color-link); box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-link) 35%, transparent); color: var(--llt-color-link) !important; }
  html[data-llt-scheme="dark"] body .wp-element-button.llt-button-secondary:is(:hover, :focus-visible),
  html[data-llt-scheme="dark"] body .wp-block-button.is-style-outline > .wp-block-button__link:is(:hover, :focus-visible),
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-scripture-controls__choice:not(.is-active):not(.is-disabled):is(:hover, :focus-visible),
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-scripture-controls__toggle:is(:hover, :focus-visible),
  html[data-llt-scheme="dark"] body .wp-block-llt-todays-lectionary .llt-year-nav__feasts-toggle:is(:hover, :focus-visible),
  html[data-llt-scheme="dark"] body .llt-day__today:is(:hover, :focus-visible) { background-color: color-mix(in srgb, var(--llt-color-link) 14%, var(--llt-color-surface)) !important; }
  html[data-llt-scheme="dark"] .llt-support-page__eyebrow { color: var(--llt-color-accent) !important; }
  html[data-llt-scheme="dark"] .llt-learn-eyebrow { color: var(--llt-color-accent); }
  html[data-llt-scheme="dark"] .llt-brand-mark .llt-mark--color { display: none; }
  html[data-llt-scheme="dark"] .llt-brand-mark .llt-mark--reversed { display: block; }
  html[data-llt-scheme="dark"] .llt-day :where(input,select,textarea) { background: var(--llt-color-surface); color: var(--llt-color-ink); border-color: var(--llt-color-line); }
  html[data-llt-scheme="dark"] .llt-day :where(.llt-document-options,.llt-document-options__unavailable,.llt-scripture-controls__choice.is-disabled,.llt-observance-reference,.llt-scripture__passage,.llt-scripture__audio) { background: var(--llt-color-surface); color: var(--llt-color-ink); border-color: var(--llt-color-line); }
  html[data-llt-scheme="dark"] .llt-day :where(.llt-scripture-controls__choice,.llt-document-action summary,.llt-year-nav__season a) { border-color: var(--llt-color-line); }
  html[data-llt-scheme="dark"] .llt-day :where(.llt-scripture__copyright,.llt-document-options__notice,.llt-document-options__label,.llt-document-options__unavailable) { color: var(--llt-color-muted); }
  /* Theme 0.25.0: GiveWP campaign blocks in the dark scheme. The greys already follow the theme's variables (style.css); here the primary color becomes the light-blue link color so outline buttons and the progress bar stay visible, rows sit on the paper color, and the primary Donate button keeps navy with the light outline every primary button has on dark. */
  html[data-llt-scheme="dark"] body .give-campaign-page,
  html[data-llt-scheme="dark"] 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-link); --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-paper); }
  html[data-llt-scheme="dark"] 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); }
  html[data-llt-scheme="dark"] body :is(.givewp-campaign-donations-block__donation, .givewp-campaign-donors-block__donor) :is(strong, span, p) { color: var(--llt-color-ink); }
  html[data-llt-scheme="dark"] body :is(.givewp-campaign-donations-block__donation-date, .givewp-campaign-donations-block__donation-description, .givewp-campaign-donors-block__donor-name) { color: var(--llt-color-muted); }
  html[data-llt-scheme="dark"] body .givewp-campaign-goal__progress-bar-container { background-color: var(--llt-color-line); }
  html[data-llt-scheme="dark"] body .givewp-donation-form-modal__open:not(.givewp-campaign-donations-block__donate-button *):not(.givewp-campaign-donors-block__donate-button *) { border-color: var(--llt-color-link); }
  html[data-llt-scheme="dark"] body :is(.givewp-campaign-donations-block, .givewp-campaign-donors-block) :is(.givewp-campaign-donations-block__donate-button, .givewp-campaign-donors-block__donate-button, .givewp-campaign-donations-block__empty-button, .givewp-campaign-donors-block__empty-button) button.givewp-donation-form-modal__open,
  html[data-llt-scheme="dark"] body :is(.givewp-campaign-donations-block__load-more-button, .givewp-campaign-donors-block__load-more-button) { background: var(--llt-color-surface) !important; border-color: var(--llt-color-link); box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--llt-color-link) 35%, transparent); color: var(--llt-color-link) !important; }
  html[data-llt-scheme="dark"] body :is(.givewp-campaign-donations-block, .givewp-campaign-donors-block) :is(.givewp-campaign-donations-block__donate-button, .givewp-campaign-donors-block__donate-button, .givewp-campaign-donations-block__empty-button, .givewp-campaign-donors-block__empty-button) button.givewp-donation-form-modal__open:is(:hover, :focus-visible),
  html[data-llt-scheme="dark"] body :is(.givewp-campaign-donations-block__load-more-button, .givewp-campaign-donors-block__load-more-button):is(:hover, :focus-visible) { background: color-mix(in srgb, var(--llt-color-link) 14%, var(--llt-color-surface)) !important; color: var(--llt-color-link) !important; }
}
@media print {
  .llt-appearance { display: none !important; }
  .llt-brand-mark [data-llt-part] { animation: none !important; }
  .llt-brand-mark .llt-mark--reversed { display: none !important; }
  .llt-brand-mark .llt-mark--color { display: block !important; }
  body { background: white !important; color: black !important; }
}
@media (forced-colors: active) { .llt-appearance select { border: 1px solid ButtonText; } .llt-brand-mark { forced-color-adjust: none; } }
