/*
 * Shared editorial alignment layer.
 *
 * The homepage is the visual reference: paper white, ink, quiet moss, and
 * thin rules. This file is intentionally a late, scoped presentation layer.
 * It changes appearance only; page markup, URLs, plugin behavior, status
 * colors, and data sources stay owned by their existing components.
 */

:root {
    --fdbp-bg: var(--fd-site-page);
    --fdbp-surface: var(--fd-site-surface);
    --fdbp-border: var(--fd-site-line);
    --fdbp-heading: var(--fd-site-ink);
    --fdbp-text: var(--fd-site-ink);
    --fdbp-text-muted: var(--fd-site-muted);
    --fdbp-link: var(--fd-site-moss-dark);
    --fdbp-link-hover: var(--fd-site-moss);
    --fdbp-accent: var(--fd-site-moss);
    --fdbp-accent-soft: #eef2ed;
    --fdbp-shadow: var(--fd-shadow-soft);
    --fdbp-shadow-hover: var(--fd-shadow-hover);
}

/* --------------------------------------------------------------------------
   Shared page frame
   -------------------------------------------------------------------------- */

body:not(.fd-home-editorial-active) {
    background: var(--fd-site-page);
    color: var(--fd-site-ink);
    font-family: var(--fd-site-sans);
}

body:not(.fd-home-editorial-active) .site-content,
body:not(.fd-home-editorial-active) .site-content .site-main,
body:not(.fd-home-editorial-active) .site-content .content-area,
body:not(.fd-home-editorial-active) .site-content .inside-article {
    background: transparent;
}

body:not(.fd-home-editorial-active).separate-containers .inside-article {
    box-shadow: none;
}

body:not(.fd-home-editorial-active) .site-content h1,
body:not(.fd-home-editorial-active) .site-content h2,
body:not(.fd-home-editorial-active) .site-content h3,
body:not(.fd-home-editorial-active) .site-content h4,
body:not(.fd-home-editorial-active) .site-content h5,
body:not(.fd-home-editorial-active) .site-content h6 {
    color: var(--fd-site-ink);
}

body:not(.fd-home-editorial-active) .site-content a {
    color: var(--fd-site-moss-dark);
}

body:not(.fd-home-editorial-active) .site-content a:hover,
body:not(.fd-home-editorial-active) .site-content a:focus-visible {
    color: var(--fd-site-moss);
}

/* --------------------------------------------------------------------------
   Shared header
   -------------------------------------------------------------------------- */

body:not(.fd-home-editorial-active) .fd-site-header {
    position: relative;
    background: rgba(250, 250, 248, 0.96);
    color: var(--fd-site-ink);
    border-bottom: 1px solid var(--fd-site-line);
    box-shadow: none;
}

body:not(.fd-home-editorial-active) .fd-site-header::after {
    display: none;
}

body:not(.fd-home-editorial-active) .fd-site-header__inner {
    width: min(1180px, calc(100% - 64px));
    min-height: 84px;
    margin-inline: auto;
}

body:not(.fd-home-editorial-active) .fd-site-header__brand,
body:not(.fd-home-editorial-active) .fd-site-header__title {
    color: var(--fd-site-ink);
    text-shadow: none;
}

body:not(.fd-home-editorial-active) .fd-site-header__brand {
    display: flex;
    min-width: max-content;
    visibility: visible;
    opacity: 1;
}

body:not(.fd-home-editorial-active) .fd-site-header__title {
    display: inline-block;
    color: var(--fd-site-ink);
    font-family: var(--fd-site-sans);
    font-size: clamp(1.1rem, 1.6vw, 1.42rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    text-shadow: none;
    visibility: visible;
    opacity: 1;
}

body:not(.fd-home-editorial-active) .fd-primary-menu > li > a,
body:not(.fd-home-editorial-active) .fd-primary-menu > li.fd-menu-intro > a {
    color: var(--fd-site-muted);
}

body:not(.fd-home-editorial-active) .fd-primary-menu > li > a::before {
    background: var(--fd-site-moss);
}

body:not(.fd-home-editorial-active) .fd-primary-menu > li > a:hover,
body:not(.fd-home-editorial-active) .fd-primary-menu > li.current-menu-item > a,
body:not(.fd-home-editorial-active) .fd-primary-menu > li.current-menu-ancestor > a,
body:not(.fd-home-editorial-active) .fd-primary-menu > li.fd-menu-intro > a:hover {
    color: var(--fd-site-ink);
    background: transparent;
}

body:not(.fd-home-editorial-active) .fd-primary-menu > li.menu-item-has-children > a::after {
    border-color: var(--fd-site-muted);
}

body:not(.fd-home-editorial-active) .fd-primary-menu .sub-menu {
    border-color: var(--fd-site-line);
    box-shadow: 0 12px 28px rgba(21, 26, 24, 0.1);
}

body:not(.fd-home-editorial-active) .fd-primary-menu .sub-menu a {
    color: var(--fd-site-ink);
}

body:not(.fd-home-editorial-active) .fd-primary-menu .sub-menu li:hover > a {
    color: var(--fd-site-moss-dark);
    background: var(--fd-site-soft);
}

body:not(.fd-home-editorial-active) .fd-header-utility__link,
body:not(.fd-home-editorial-active) .fd-header-auth__btn {
    border-color: var(--fd-site-line);
    background: transparent;
    color: var(--fd-site-muted);
}

body:not(.fd-home-editorial-active) .fd-header-utility__link:hover,
body:not(.fd-home-editorial-active) .fd-header-utility__link:focus-visible,
body:not(.fd-home-editorial-active) .fd-header-utility__link.is-current,
body:not(.fd-home-editorial-active) .fd-header-auth__btn:hover,
body:not(.fd-home-editorial-active) .fd-header-auth__btn:focus-visible {
    border-color: rgba(78, 99, 81, 0.3);
    background: rgba(78, 99, 81, 0.07);
    color: var(--fd-site-moss-dark);
}

body:not(.fd-home-editorial-active) .fd-language-picker__select {
    border-color: var(--fd-site-line);
    background-color: transparent;
    color: var(--fd-site-ink);
}

body:not(.fd-home-editorial-active) .fd-language-picker__select:hover,
body:not(.fd-home-editorial-active) .fd-language-picker__select:focus-visible {
    border-color: rgba(78, 99, 81, 0.3);
    background-color: var(--fd-site-soft);
}

body:not(.fd-home-editorial-active) .fd-nav-toggle,
body:not(.fd-home-editorial-active) .fd-nav-close {
    border: 0;
    background: transparent;
    color: var(--fd-site-ink);
}

body:not(.fd-home-editorial-active) .fd-nav-toggle:hover,
body:not(.fd-home-editorial-active) .fd-nav-close:hover {
    background: var(--fd-site-soft);
}

body:not(.fd-home-editorial-active) .fd-nav-toggle__bar {
    background: var(--fd-site-ink);
}

body:not(.fd-home-editorial-active) .fd-site-header a:focus-visible,
body:not(.fd-home-editorial-active) .fd-site-header button:focus-visible {
    outline-color: rgba(78, 99, 81, 0.65);
}

@media (max-width: 1023px) {
    body:not(.fd-home-editorial-active) .fd-site-header__inner {
        width: min(1180px, calc(100% - 40px));
    }

    body:not(.fd-home-editorial-active) .fd-primary-nav {
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid var(--fd-site-line);
        box-shadow: -14px 0 32px rgba(21, 26, 24, 0.1);
    }

    body:not(.fd-home-editorial-active) .fd-mobile-nav-meta {
        border-bottom-color: var(--fd-site-line);
    }

    body:not(.fd-home-editorial-active) .fd-primary-nav .fd-primary-menu > li > a,
    body:not(.fd-home-editorial-active) .fd-primary-nav .fd-primary-menu > li.fd-menu-intro > a,
    body:not(.fd-home-editorial-active) .fd-primary-nav .fd-primary-menu .sub-menu a {
        color: var(--fd-site-ink);
    }

    body:not(.fd-home-editorial-active) .fd-primary-nav .fd-primary-menu > li > a:hover,
    body:not(.fd-home-editorial-active) .fd-primary-nav .fd-primary-menu > li.current-menu-item > a,
    body:not(.fd-home-editorial-active) .fd-primary-nav .fd-primary-menu > li.current-menu-ancestor > a {
        background: var(--fd-site-soft);
        color: var(--fd-site-moss-dark);
    }

    body:not(.fd-home-editorial-active) .fd-header-utility--mobile .fd-header-utility__link,
    body:not(.fd-home-editorial-active) .fd-header-auth--mobile .fd-header-auth__btn {
        border-color: var(--fd-site-line);
        background: var(--fd-site-soft);
        color: var(--fd-site-ink);
    }
}

/* --------------------------------------------------------------------------
   Shared footer
   -------------------------------------------------------------------------- */

body:not(.fd-home-editorial-active) .site-footer {
    background: var(--fd-site-surface);
    color: var(--fd-site-ink);
    border-top: 1px solid var(--fd-site-line);
    box-shadow: none;
}

body:not(.fd-home-editorial-active) .site-footer::before {
    background: linear-gradient(90deg, transparent, rgba(21, 26, 24, 0.12), transparent);
    opacity: 1;
}

body:not(.fd-home-editorial-active) .fd-footer-logo,
body:not(.fd-home-editorial-active) .fd-footer-title {
    color: var(--fd-site-ink);
    text-shadow: none;
}

body:not(.fd-home-editorial-active) .fd-footer-desc,
body:not(.fd-home-editorial-active) .fd-footer-copyright,
body:not(.fd-home-editorial-active) .fd-footer-ad-majorem {
    color: var(--fd-site-muted);
}

body:not(.fd-home-editorial-active) .fd-footer-title::after {
    background: var(--fd-site-line);
}

body:not(.fd-home-editorial-active) .fd-footer-links a,
body:not(.fd-home-editorial-active) .fd-footer-links button,
body:not(.fd-home-editorial-active) .fd-footer-legal__policy a {
    color: var(--fd-site-muted);
}

body:not(.fd-home-editorial-active) .fd-footer-links a:hover,
body:not(.fd-home-editorial-active) .fd-footer-links button:hover,
body:not(.fd-home-editorial-active) .fd-footer-legal__policy a:hover,
body:not(.fd-home-editorial-active) .fd-footer-legal__policy a:focus-visible {
    color: var(--fd-site-moss-dark);
}

body:not(.fd-home-editorial-active) .fd-footer-link--primary {
    border-color: var(--fd-site-line);
    background: var(--fd-site-soft);
    color: var(--fd-site-moss-dark) !important;
}

/* --------------------------------------------------------------------------
   Prayer surfaces
   -------------------------------------------------------------------------- */

body.fd-prayer-section-page {
    --fd-prayer-ink: var(--fd-site-ink);
    --fd-prayer-muted: var(--fd-site-muted);
    --fd-prayer-paper: var(--fd-site-surface);
    --fd-prayer-paper-strong: var(--fd-site-surface);
    --fd-prayer-line: var(--fd-site-line);
    --fd-prayer-accent: var(--fd-site-moss);
    --fd-prayer-accent-soft: rgba(78, 99, 81, 0.08);
    --fd-prayer-green: var(--fd-site-moss);
    --fd-prayer-shadow: rgba(21, 26, 24, 0.07);
    background: var(--fd-site-page);
}

body.fd-prayer-section-page .fd-prayer-hero,
body.fd-prayer-section-page .fd-prayer-bridge,
body.fd-prayer-section-page .fd-prayer-guest__panel,
body.fd-prayer-section-page .fd-prayer-overview__card,
body.fd-prayer-section-page .fd-prayer-cross__card,
body.fd-prayer-section-page .fd-prayer-bridge__card,
body.fd-prayer-section-page .fd-prayer-tool__frame {
    border: 1px solid var(--fd-site-line);
    border-radius: 18px;
    background: var(--fd-site-surface);
    box-shadow: var(--fd-shadow-soft);
}

body.fd-prayer-section-page .fd-prayer-hero {
    box-shadow: none;
}

body.fd-prayer-section-page .fd-prayer-hero::before {
    background: radial-gradient(circle at 12% 14%, rgba(78, 99, 81, 0.06), transparent 22%);
}

body.fd-prayer-section-page .fd-prayer-hero__eyebrow,
body.fd-prayer-section-page .fd-prayer-bridge__card-kicker,
body.fd-prayer-section-page .fd-prayer-overview__card-kicker,
body.fd-prayer-section-page .fd-prayer-cross__card-kicker,
body.fd-prayer-section-page .fd-prayer-guest__card-kicker {
    color: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page .fd-prayer-hero__title,
body.fd-prayer-section-page .fd-prayer-bridge__title,
body.fd-prayer-section-page .fd-prayer-guest__title,
body.fd-prayer-section-page .fd-prayer-cross__card-title,
body.fd-prayer-section-page .fd-prayer-overview__card-title {
    color: var(--fd-site-ink);
}

body.fd-prayer-section-page .fd-prayer-hero__actions a,
body.fd-prayer-section-page .fd-prayer-bridge__card-link,
body.fd-prayer-section-page .fd-prayer-overview__card-link,
body.fd-prayer-section-page .fd-prayer-cross__card-link,
body.fd-prayer-section-page .fd-prayer-guest__actions a,
body.fd-prayer-section-page .station-button,
body.fd-prayer-section-page .read-more-button {
    border-color: var(--fd-site-moss);
    border-radius: 999px;
    background: var(--fd-site-moss);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(78, 99, 81, 0.16);
}

body.fd-prayer-section-page .fd-prayer-hero__actions a:hover,
body.fd-prayer-section-page .fd-prayer-bridge__card-link:hover,
body.fd-prayer-section-page .fd-prayer-overview__card-link:hover,
body.fd-prayer-section-page .fd-prayer-cross__card-link:hover,
body.fd-prayer-section-page .fd-prayer-guest__actions a:hover,
body.fd-prayer-section-page .station-button:hover,
body.fd-prayer-section-page .read-more-button:hover {
    border-color: var(--fd-site-moss-dark);
    background: var(--fd-site-moss-dark);
    color: #fff !important;
}

/* Keep the tracker visitor view in the homepage's restrained editorial style. */
body.fd-prayer-section-page--tracker {
    --fd-tracker-sans: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", system-ui, sans-serif;
    overflow-x: clip;
}

body.fd-prayer-section-page--tracker .fd-site-header {
    border-bottom: 1px solid var(--fd-site-line);
    background: var(--fd-site-page);
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-site-header::after {
    display: none;
}

body.fd-prayer-section-page--tracker .fd-site-header__brand,
body.fd-prayer-section-page--tracker .fd-site-header__title {
    color: var(--fd-site-ink);
    text-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-site-header__title {
    font-family: var(--fd-tracker-sans);
    font-size: clamp(1.1rem, 1.6vw, 1.42rem);
    font-weight: 700;
    letter-spacing: -0.045em;
}

body.fd-prayer-section-page--tracker .fd-site-header__title::after {
    display: none;
}

body.fd-prayer-section-page--tracker .fd-site-header__inner {
    width: min(1180px, calc(100% - 64px));
    min-height: 84px;
    margin-inline: auto;
}

body.fd-prayer-section-page--tracker .fd-nav-toggle {
    border: 0;
    background: transparent;
    color: var(--fd-site-ink);
}

body.fd-prayer-section-page--tracker .fd-nav-toggle:hover {
    background: var(--fd-site-soft);
}

body.fd-prayer-section-page--tracker .fd-nav-toggle__bar {
    background: var(--fd-site-ink);
}

body.fd-prayer-section-page--tracker .site-content {
    padding-top: 0;
}

body.fd-prayer-section-page--tracker .entry-content {
    margin-top: 0;
}

body.fd-prayer-section-page--tracker .fd-prayer-section--guest {
    gap: 0;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero {
    overflow: visible;
    padding: clamp(34px, 5vw, 72px) 0 28px;
    border: 0;
    border-bottom: 1px solid var(--fd-site-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero::before {
    display: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__eyebrow,
body.fd-prayer-section-page--tracker .fd-prayer-bridge__eyebrow {
    display: block;
    margin: 0 0 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--fd-site-muted);
    font-family: var(--fd-tracker-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__title {
    color: var(--fd-site-ink);
    font-family: var(--fd-tracker-sans);
    font-size: clamp(2.65rem, 4vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.22;
    text-wrap: balance;
    word-break: keep-all;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__desc {
    color: var(--fd-site-muted);
    font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.75;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__aside {
    align-self: center;
    padding: 2px 0 2px 20px;
    border: 0;
    border-left: 1px solid var(--fd-site-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__aside-label,
body.fd-prayer-section-page--tracker .fd-prayer-guest__card-kicker {
    color: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__actions a:not(.is-primary) {
    border-color: var(--fd-site-line);
    background: transparent;
    color: var(--fd-site-moss-dark) !important;
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__actions a:not(.is-primary):hover,
body.fd-prayer-section-page--tracker .fd-prayer-hero__actions a:not(.is-primary):focus-visible {
    border-color: var(--fd-site-moss);
    background: var(--fd-site-soft);
    color: var(--fd-site-moss-dark) !important;
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__rail a {
    border: 1px solid var(--fd-site-line);
    border-radius: 6px;
    background: transparent;
    color: var(--fd-site-muted);
}

body.fd-prayer-section-page--tracker .fd-prayer-hero__rail a.is-current {
    border-color: rgba(78, 99, 81, 0.28);
    background: var(--fd-site-soft);
    color: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page--tracker .fd-prayer-tool__frame {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-guest__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

body.fd-prayer-section-page--tracker .fd-prayer-guest__card {
    gap: 10px;
    min-height: 0;
    padding: 16px 4px 0;
    border: 0;
    border-top: 1px solid var(--fd-site-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-guest__card-kicker {
    min-height: 0;
    padding: 0;
    background: transparent;
    letter-spacing: 0.04em;
}

body.fd-prayer-section-page--tracker .fd-prayer-guest__card-title {
    color: var(--fd-site-ink);
    font-family: var(--fd-tracker-sans);
    font-size: clamp(1.04rem, 1.2vw, 1.16rem);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.4;
    text-wrap: balance;
    word-break: keep-all;
}

body.fd-prayer-section-page--tracker .fd-prayer-guest__card-desc,
body.fd-prayer-section-page--tracker .fd-prayer-bridge__card-desc {
    color: var(--fd-site-muted);
    font-family: var(--fd-tracker-sans);
    font-size: 0.88rem;
    line-height: 1.5;
}

body.fd-prayer-section-page--tracker .fd-prayer-bridge {
    padding: 24px 0 0;
    border: 0;
    border-top: 1px solid var(--fd-site-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-bridge__intro {
    margin-bottom: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-bridge__title,
body.fd-prayer-section-page--tracker .fd-prayer-bridge__card-title {
    color: var(--fd-site-ink);
    font-family: var(--fd-tracker-sans);
    letter-spacing: -0.045em;
    word-break: keep-all;
}

body.fd-prayer-section-page--tracker .fd-prayer-bridge__title {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.35;
}

body.fd-prayer-section-page--tracker .fd-prayer-bridge__card {
    gap: 10px;
    min-height: 0;
    padding: 16px 4px 0;
    border: 0;
    border-top: 1px solid var(--fd-site-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-bridge__card-kicker {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--fd-site-moss-dark);
    font-family: var(--fd-tracker-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

body.fd-prayer-section-page--tracker .fd-prayer-bridge__card-title {
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.35;
}

@media (max-width: 1023px) {
    body.fd-prayer-section-page--tracker .fd-prayer-hero__aside {
        align-self: stretch;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid var(--fd-site-line);
    }

    body.fd-prayer-section-page--tracker .fd-prayer-guest__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 767px) {
    body.fd-prayer-section-page--tracker .fd-prayer-hero__title {
        font-size: clamp(1.65rem, 6.5vw, 2rem);
        letter-spacing: -0.045em;
        line-height: 1.28;
    }

    body.fd-prayer-section-page--tracker .fd-prayer-hero__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    body.fd-prayer-section-page--tracker .fd-prayer-hero__rail {
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
    }

    body.fd-prayer-section-page--tracker .fd-prayer-guest__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    body.fd-prayer-section-page--tracker .fd-prayer-guest__card {
        padding: 14px 2px 0;
    }
}

@media (max-width: 360px) {
    body.fd-prayer-section-page--tracker .fd-site-header__inner {
        width: calc(100% - 32px);
    }

    body.fd-prayer-section-page--tracker .fd-prayer-hero__title {
        font-size: 1.68rem;
    }
}

body.fd-prayer-section-page--rosary .frm-container,
body.fd-prayer-section-page--rosary #frm-rosary-app,
body.fd-prayer-section-page--rosary .frm-body,
body.fd-prayer-section-page--rosary .frm-main-area,
body.fd-prayer-section-page--rosary .frm-content-area {
    border-color: var(--fd-site-line);
    background: var(--fd-site-surface);
    box-shadow: none;
}

body.fd-prayer-section-page--rosary .frm-header,
body.fd-prayer-section-page--rosary .frm-nav-bar,
body.fd-prayer-section-page--rosary .frm-controls,
body.fd-prayer-section-page--rosary .frm-mystery-selector {
    border-color: var(--fd-site-line);
    background: var(--fd-site-soft);
}

body.fd-prayer-section-page--rosary .frm-btn,
body.fd-prayer-section-page--rosary .frm-guide-btn,
body.fd-prayer-section-page--rosary .frm-mystery-btn,
body.fd-prayer-section-page--rosary .frm-tts-btn {
    border-color: var(--fd-site-line);
    border-radius: 999px;
    background: var(--fd-site-surface);
    color: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page--rosary .frm-btn:hover,
body.fd-prayer-section-page--rosary .frm-guide-btn:hover,
body.fd-prayer-section-page--rosary .frm-mystery-btn:hover,
body.fd-prayer-section-page--rosary .frm-tts-btn:hover,
body.fd-prayer-section-page--rosary .frm-nav-item.active {
    border-color: var(--fd-site-moss);
    background: rgba(78, 99, 81, 0.08);
    color: var(--fd-site-moss-dark);
}

/* --------------------------------------------------------------------------
   말씀과 삶
   -------------------------------------------------------------------------- */

body.page-id-3710 {
    --fd-wl-ink: var(--fd-site-ink);
    --fd-wl-muted: var(--fd-site-muted);
    --fd-wl-line: var(--fd-site-line);
    --fd-wl-paper: var(--fd-site-surface);
    --fd-wl-paper-deep: var(--fd-site-soft);
    --fd-wl-clay: var(--fd-site-moss);
    --fd-wl-clay-deep: var(--fd-site-moss-dark);
    --fd-wl-sage: #879789;
    --fd-wl-sage-deep: var(--fd-site-moss-dark);
    background: var(--fd-site-page);
}

body.page-id-3710 .fd-wl-hero,
body.page-id-3710 .fd-wl-post,
body.page-id-3710 .fd-wl-note-card,
body.page-id-3710 .fd-wl-path,
body.page-id-3710 .fd-wl-resource,
body.page-id-3710 .fd-wl-community,
body.page-id-3710 .fd-wl-search {
    border-color: var(--fd-site-line);
    border-radius: 18px;
    background: var(--fd-site-surface);
    box-shadow: var(--fd-shadow-soft);
}

body.page-id-3710 .fd-wl-hero {
    box-shadow: none;
}

body.page-id-3710 .fd-wl-hero::before,
body.page-id-3710 .fd-wl-hero::after {
    display: none;
}

body.page-id-3710 .fd-wl-button--primary,
body.page-id-3710 .fd-wl-community__write {
    border-color: var(--fd-site-moss);
    background: var(--fd-site-moss);
    color: #fff !important;
}

body.page-id-3710 .fd-wl-button--primary:hover,
body.page-id-3710 .fd-wl-button--primary:focus-visible,
body.page-id-3710 .fd-wl-community__write:hover,
body.page-id-3710 .fd-wl-community__write:focus-visible {
    border-color: var(--fd-site-moss-dark);
    background: var(--fd-site-moss-dark);
    color: #fff !important;
}

body.page-id-3710 .fd-word-life-hub .fd-wl-button--primary {
    color: #fff !important;
}

body.page-id-3710 .fd-wl-post__date {
    border-color: var(--fd-site-line);
    background: var(--fd-site-soft);
    color: var(--fd-site-moss-dark);
}

/* --------------------------------------------------------------------------
   Saints and Franciscan resources
   -------------------------------------------------------------------------- */

body.page-id-2513,
body.page-id-3558,
body.page-id-3669,
body.page-id-3898,
body.fd-stigmata-detail {
    background: var(--fd-site-page);
    color: var(--fd-site-ink);
}

body.page-id-2513 .fds-calendar-v2 {
    --fds-hub-paper: var(--fd-site-surface);
    --fds-hub-paper-strong: var(--fd-site-soft);
    --fds-hub-ink: var(--fd-site-ink);
    --fds-hub-muted: var(--fd-site-muted);
    --fds-hub-line: var(--fd-site-line);
    --fds-hub-dark: var(--fd-site-moss-dark);
    --fds-hub-dark-muted: rgba(255, 255, 255, 0.76);
}

body.page-id-2513 .fds-saints-overview__copy {
    background: var(--fd-site-surface);
}

body.page-id-2513 .fds-saints-overview__eyebrow,
body.page-id-2513 .fds-saints-overview__support-kicker {
    color: var(--fd-site-moss-dark);
}

body.page-id-2513 .fds-saints-overview__search-button,
body.page-id-2513 .fds-saints-overview__quick-button.is-primary,
body.page-id-2513 .fds-saints-overview__today-link {
    border-color: var(--fd-site-moss);
    background: var(--fd-site-moss);
    color: #fff !important;
}

body.page-id-2513 .fds-saints-overview__search-button:hover,
body.page-id-2513 .fds-saints-overview__quick-button.is-primary:hover,
body.page-id-2513 .fds-saints-overview__today-link:hover {
    border-color: var(--fd-site-moss-dark);
    background: var(--fd-site-moss-dark);
    color: #fff !important;
}

body.page-id-2513 .fds-saints-overview__hero,
body.page-id-2513 .fds-saints-overview,
body.page-id-2513 .fds-saints-overview__card,
body.page-id-2513 .fds-saints-overview__bridge,
body.page-id-2513 .fds-calendar-wrapper,
body.page-id-3898 .fd-stigmata-hero,
body.page-id-3898 .fd-stigmata-prologue,
body.page-id-3898 .fd-stigmata-grid,
body.fd-stigmata-detail .fd-stigmata-detail-hero,
body.fd-stigmata-detail .fd-stigmata-detail-outline,
body.fd-stigmata-detail .fd-stigmata-detail-reading,
body.fd-stigmata-detail .fd-stigmata-detail-bridge,
body.fd-stigmata-detail .fd-stigmata-detail-closing__card {
    border-color: var(--fd-site-line);
    border-radius: 18px;
    background: var(--fd-site-surface);
    box-shadow: var(--fd-shadow-soft);
}

body.page-id-2513 .fds-saints-overview__hero,
body.page-id-2513 .fds-saints-overview,
body.page-id-3898 .fd-stigmata-hero,
body.fd-stigmata-detail .fd-stigmata-detail-hero,
body.fd-stigmata-detail .fd-stigmata-detail-reading,
body.fd-stigmata-detail .fd-stigmata-detail-bridge {
    box-shadow: none;
}

body.page-id-2513 .fds-saints-overview__button,
body.page-id-2513 .fds-saints-overview__sub-link,
body.page-id-2513 .fds-saints-overview__search-button,
body.page-id-2513 .fds-saints-overview__quick-button,
body.page-id-2513 .fds-saints-overview__today-link,
body.page-id-3898 .fd-stigmata-hero__actions a,
body.fd-stigmata-detail .fd-stigmata-detail-hero__actions a.is-primary,
body.fd-stigmata-detail .fd-stigmata-detail-bridge__links a.is-primary {
    border-color: var(--fd-site-moss);
    background: var(--fd-site-moss);
    color: #fff !important;
}

body.page-id-2513 .fds-saints-overview__button:hover,
body.page-id-2513 .fds-saints-overview__sub-link:hover,
body.page-id-3898 .fd-stigmata-hero__actions a:hover,
body.fd-stigmata-detail .fd-stigmata-detail-hero__actions a.is-primary:hover,
body.fd-stigmata-detail .fd-stigmata-detail-bridge__links a.is-primary:hover {
    border-color: var(--fd-site-moss-dark);
    background: var(--fd-site-moss-dark);
    color: #fff !important;
}

/* The saint finder follows the homepage's quiet editorial shell. */
body.page-id-11929 {
    --fd-saints-ink: var(--fd-site-ink);
    --fd-saints-muted: var(--fd-site-muted);
    --fd-saints-paper: var(--fd-site-surface);
    --fd-saints-paper-strong: var(--fd-site-surface);
    --fd-saints-line: var(--fd-site-line);
    --fd-saints-accent: var(--fd-site-moss);
    --fd-saints-accent-soft: rgba(78, 99, 81, 0.08);
    --fd-saints-green: var(--fd-site-moss);
    --fd-saints-shadow: rgba(21, 26, 24, 0.07);
    background: var(--fd-site-page);
}

body.page-id-11929 .fd-site-header {
    position: relative;
    z-index: 20;
    background: rgba(250, 250, 248, 0.96);
    border-bottom: 1px solid var(--fd-site-line);
    box-shadow: none;
}

body.page-id-11929 .fd-site-header::after {
    display: none;
}

body.page-id-11929 .fd-site-header__inner {
    width: min(1180px, calc(100% - 64px));
    min-height: 84px;
    margin-inline: auto;
}

body.page-id-11929 .fd-site-header__brand,
body.page-id-11929 .fd-site-header__brand:hover,
body.page-id-11929 .fd-site-header__title {
    color: var(--fd-site-ink);
    font-family: var(--fd-site-sans);
    text-shadow: none;
}

body.page-id-11929 .fd-site-header__title {
    font-size: clamp(1.1rem, 1.6vw, 1.42rem);
    font-weight: 700;
    letter-spacing: -0.045em;
}

body.page-id-11929 .fds-sf-wrapper {
    max-width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(28px, 4vw, 44px) 0 48px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.page-id-11929 .fds-sf-wrapper::before,
body.page-id-11929 .fds-sf-wrapper::after {
    display: none;
}

body.page-id-11929 .fds-sf-container::before,
body.page-id-11929 .fds-sf-container::after {
    display: none;
}

body.page-id-11929 .fds-sf-container,
body.page-id-11929 .fds-sf-guide {
    border-color: var(--fd-site-line);
    background: var(--fd-site-surface);
    color: var(--fd-site-ink);
}

body.page-id-11929 .fds-sf-context {
    max-width: 760px;
    margin: 0 auto 8px;
    justify-content: center;
    padding: 0;
}

body.page-id-11929 .fds-sf-context__eyebrow {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--fd-site-muted);
    font-family: var(--fd-site-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

body.page-id-11929 .fds-sf-container {
    max-width: 680px;
    min-height: 0;
    margin: 0 auto;
    padding: clamp(30px, 4vw, 42px) clamp(20px, 4vw, 34px);
    border: 1px solid var(--fd-site-line);
    border-radius: var(--fd-radius-card);
    background: var(--fd-site-surface);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-family: var(--fd-site-sans);
}

body.page-id-11929 .fds-sf-intro h2,
body.page-id-11929 .fds-sf-step h3 {
    color: var(--fd-site-ink);
    font-family: var(--fd-site-sans);
    font-weight: 600;
    letter-spacing: -0.045em;
}

body.page-id-11929 .fds-sf-intro h2 {
    margin-bottom: 14px;
    font-size: clamp(1.9rem, 3.4vw, 2.55rem);
    line-height: 1.24;
}

body.page-id-11929 .fds-sf-intro p {
    margin-bottom: 24px;
    color: var(--fd-site-muted);
    font-family: var(--fd-site-serif);
    font-size: 1rem;
    line-height: 1.75;
}

body.page-id-11929 .fds-sf-step h3 {
    margin-bottom: 22px;
    font-size: clamp(1.35rem, 2.3vw, 1.6rem);
    line-height: 1.4;
}

body.page-id-11929 .fds-sf-container button {
    font-family: var(--fd-site-sans);
}

body.page-id-11929 .fds-sf-step[data-step="0"] {
    min-height: 300px;
}

body.page-id-11929 .fds-sf-step:not([data-step="0"]) {
    min-height: 420px;
}

body.page-id-11929 .fds-sf-option {
    border-color: #7f8e82;
    border-radius: 12px;
    background: var(--fd-site-soft);
    box-shadow: none;
    color: var(--fd-site-ink);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.page-id-11929 .fds-sf-option::before {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--fd-site-moss);
}

body.page-id-11929 .fds-sf-option:hover,
body.page-id-11929 .fds-sf-option:focus-visible {
    transform: none;
    box-shadow: none;
}

body.page-id-11929 .fds-sf-option:focus-visible {
    outline: 2px solid var(--fd-site-moss-dark);
    outline-offset: 2px;
}

body.page-id-11929 .fds-sf-option:hover,
body.page-id-11929 .fds-sf-option:focus-visible,
body.page-id-11929 .fds-sf-option.is-selected {
    border-color: var(--fd-site-moss);
    background: var(--fd-site-soft);
    color: var(--fd-site-moss-dark);
}

body.page-id-11929 .fds-sf-btn-primary,
body.page-id-11929 .fds-sf-progress-bar {
    border-color: var(--fd-site-moss);
    background: var(--fd-site-moss);
}

body.page-id-11929 .fds-sf-btn-primary {
    padding: 14px 26px;
    border-radius: var(--fd-radius-btn);
    box-shadow: none;
    font-size: 1rem;
    font-weight: 700;
    transition: background-color 0.18s ease;
}

body.page-id-11929 .fds-sf-btn-primary:hover,
body.page-id-11929 .fds-sf-btn-primary:focus-visible {
    transform: none;
    background: var(--fd-site-moss-dark);
    box-shadow: none;
}

body.page-id-11929 .fds-sf-btn-secondary,
body.page-id-11929 .fds-sf-btn-back {
    border-color: var(--fd-site-line);
    background: var(--fd-site-surface);
    color: var(--fd-site-moss-dark);
}

body.page-id-11929 .fds-sf-btn-secondary:hover,
body.page-id-11929 .fds-sf-btn-back:hover {
    border-color: var(--fd-site-moss);
    background: var(--fd-site-soft);
}

body.page-id-11929 .fds-sf-guide__number {
    border-color: var(--fd-site-line);
    background: var(--fd-site-soft);
    color: var(--fd-site-moss-dark);
}

body.page-id-11929 .fds-sf-guide {
    max-width: 980px;
    margin: 28px auto 0;
    padding: 28px 0 0;
    border: 0;
    border-top: 1px solid var(--fd-site-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: var(--fd-site-sans);
}

body.page-id-11929 .fds-sf-guide__eyebrow {
    color: var(--fd-site-muted);
    font-family: var(--fd-site-sans);
    letter-spacing: 0.04em;
}

body.page-id-11929 .fds-sf-guide h2 {
    color: var(--fd-site-ink);
    font-family: var(--fd-site-serif);
    font-size: clamp(1.65rem, 2.8vw, 2rem);
    letter-spacing: -0.035em;
}

body.page-id-11929 .fds-sf-guide__intro > p:last-child,
body.page-id-11929 .fds-sf-guide__principle p {
    color: var(--fd-site-muted);
    font-family: var(--fd-site-serif);
}

body.page-id-11929 .fds-sf-guide__principles {
    gap: 22px;
    margin-top: 22px;
}

body.page-id-11929 .fds-sf-guide__principle {
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid var(--fd-site-line);
    border-radius: 0;
    background: transparent;
}

body.page-id-11929 .fds-sf-guide__principle h3,
body.page-id-11929 .fds-sf-guide__faq > h3 {
    color: var(--fd-site-ink);
    font-family: var(--fd-site-sans);
}

body.page-id-11929 .fds-sf-guide__number {
    border-radius: 50%;
    background: var(--fd-site-soft);
    color: var(--fd-site-moss-dark);
}

body.page-id-11929 .fds-sf-guide__footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 26px;
    padding-top: 24px;
    border-top-color: var(--fd-site-line);
}

body.page-id-11929 .fds-sf-guide__question {
    border-bottom-color: var(--fd-site-line);
}

body.page-id-11929 .fds-sf-guide__question summary {
    color: var(--fd-site-ink);
    font-family: var(--fd-site-sans);
}

body.page-id-11929 .fds-sf-guide__question summary::after {
    color: var(--fd-site-moss-dark);
}

body.page-id-11929 .fds-sf-guide__question p {
    color: var(--fd-site-muted);
    font-family: var(--fd-site-serif);
}

body.page-id-11929 .fds-sf-related-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 14px auto 0;
    text-align: center;
    font-family: var(--fd-site-sans);
    font-size: 0.88rem;
}

body.page-id-11929 .fds-sf-related-links a,
body.page-id-11929 .fds-sf-related-links a:visited {
    padding-bottom: 2px;
    border-bottom: 1px solid var(--fd-site-line);
    color: var(--fd-site-moss-dark);
    font-family: var(--fd-site-sans);
    text-decoration: none;
}

body.page-id-11929 .fds-sf-related-links a:hover,
body.page-id-11929 .fds-sf-related-links a:focus-visible {
    color: var(--fd-site-moss);
}

body.page-id-11929 .fds-sf-related-links a:focus-visible {
    outline: 2px solid var(--fd-site-moss-dark);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    body.page-id-11929 .fd-site-header__inner {
        width: calc(100% - 32px);
        min-height: 64px;
    }

    body.page-id-11929 .fds-sf-wrapper {
        max-width: calc(100% - 24px);
        padding: 24px 0 36px;
    }

    body.page-id-11929 .fds-sf-container {
        padding: 28px 18px;
    }

    body.page-id-11929 .fds-sf-guide {
        margin-top: 24px;
        padding-top: 24px;
    }

    body.page-id-11929 .fds-sf-guide__footer {
        grid-template-columns: 1fr;
    }

    body.page-id-11929 .fds-sf-step[data-step="0"] {
        min-height: 260px;
    }

    body.page-id-11929 .fds-sf-step:not([data-step="0"]) {
        min-height: 360px;
    }
}

/* Franciscan resource pages. */
body.page-id-3898 .fd-saints-collection-nav,
body.page-id-3898 .fd-stigmata-grid {
    border-color: var(--fd-site-line);
    background: var(--fd-site-surface);
    box-shadow: var(--fd-shadow-soft);
}

body.page-id-3898 .fd-saints-collection-nav__card.is-current {
    border-color: var(--fd-site-moss);
    background: var(--fd-site-soft);
    box-shadow: none;
}

/* Confession remains clear about safety states, while its normal controls
 * follow the site's moss accent. */
body.page-id-29716 {
    --fdch-paper: var(--fd-site-surface);
    --fdch-ink: var(--fd-site-ink);
    --fdch-muted: var(--fd-site-muted);
    --fdch-line: var(--fd-site-line);
    --fdch-accent: var(--fd-site-moss);
    --fdch-accent-hover: var(--fd-site-moss-dark);
    --fdch-focus: var(--fd-site-moss);
}

/* --------------------------------------------------------------------------
   Intro, account, authentication, and policy pages
   -------------------------------------------------------------------------- */

body.um-page-account,
body.fd-auth-entry-page {
    --fd-account-bg: var(--fd-site-page);
    --fd-account-bg-alt: var(--fd-site-soft);
    --fd-account-panel: var(--fd-site-surface);
    --fd-account-ink: var(--fd-site-ink);
    --fd-account-muted: var(--fd-site-muted);
    --fd-account-border: var(--fd-site-line);
    --fd-account-primary: var(--fd-site-moss);
    --fd-account-shadow: var(--fd-shadow-soft);
    background: var(--fd-site-page);
}

body.um-page-account .fd-account-shell,
body.um-page-account .fd-account-hero,
body.um-page-account .fd-account-panel,
body.um-page-account .fd-account-manage-card,
body.fd-auth-entry-page .fd-auth-entry-shell,
body.fd-auth-entry-page .fd-account-hero,
body.fd-auth-entry-page .fd-account-panel,
body.fd-auth-entry-page .fd-auth-entry-side-section,
body.fd-auth-entry-page .fd-auth-entry-side-card,
body.fd-auth-entry-page .fd-auth-entry-trust {
    border-color: var(--fd-site-line);
    border-radius: 16px;
    background: var(--fd-site-surface);
    box-shadow: var(--fd-shadow-soft);
}

body.um-page-account .fd-account-hero,
body.fd-auth-entry-page .fd-account-hero {
    box-shadow: none;
}

body.um-page-account .fd-account-btn--primary,
body.fd-auth-entry-page .fd-auth-entry-main .um .um-button:not(.um-alt),
body.um-page-account .fd-account-panel--profile .um .um-button:not(.um-alt) {
    border-color: var(--fd-site-moss) !important;
    background: var(--fd-site-moss) !important;
    color: #fff !important;
}

body.um-page-account .fd-account-btn--primary:hover,
body.fd-auth-entry-page .fd-auth-entry-main .um .um-button:not(.um-alt):hover,
body.um-page-account .fd-account-panel--profile .um .um-button:not(.um-alt):hover {
    border-color: var(--fd-site-moss-dark) !important;
    background: var(--fd-site-moss-dark) !important;
}

body.um-page-account .um .um-form-field,
body.fd-auth-entry-page .um .um-form-field,
body.um-page-account .fd-account-quick-form input,
body.um-page-account .fd-account-quick-form textarea {
    border-color: var(--fd-site-line) !important;
    background: var(--fd-site-surface) !important;
    color: var(--fd-site-ink) !important;
}

body.privacy-policy .fd-policy-language-note,
body.privacy-policy .fd-policy-document,
body.terms-of-use .fd-policy-language-note,
body.terms-of-use .fd-policy-document {
    color: var(--fd-site-ink);
}

body.privacy-policy .fd-policy-language-note,
body.terms-of-use .fd-policy-language-note {
    border-color: var(--fd-site-line);
    border-radius: 16px;
    background: var(--fd-site-surface);
    box-shadow: var(--fd-shadow-soft);
}

body.privacy-policy .fd-policy-document .fd-policy-header,
body.terms-of-use .fd-policy-document .fd-policy-header {
    border-bottom-color: var(--fd-site-line);
}

body.privacy-policy .fd-policy-document .fd-policy-summary,
body.terms-of-use .fd-policy-document .fd-policy-summary,
body.privacy-policy .fd-policy-document .fd-policy-toc,
body.terms-of-use .fd-policy-document .fd-policy-toc,
body.privacy-policy .fd-policy-document .fd-policy-alert,
body.terms-of-use .fd-policy-document .fd-policy-alert {
    border-color: var(--fd-site-line);
    background: var(--fd-site-soft);
}

body.privacy-policy .fd-policy-document a,
body.terms-of-use .fd-policy-document a {
    color: var(--fd-site-moss-dark);
}

/* --------------------------------------------------------------------------
   Catholic board: same shell and palette, plugin behavior untouched
   -------------------------------------------------------------------------- */

body:is(.fdfb-public-board-root, .fd-ai-lab) {
    background: var(--fd-site-page);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper {
    --fdfb-ink: var(--fd-site-ink);
    --fdfb-muted: var(--fd-site-muted);
    --fdfb-line: var(--fd-site-line);
    --fdfb-soft: var(--fd-site-soft);
    --fdfb-navy: var(--fd-site-moss);
    --fdfb-navy-dark: var(--fd-site-moss-dark);
    --fdfb-sky: #eef2ed;
    color: var(--fd-site-ink);
    font-family: var(--fd-site-sans);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-header {
    border-bottom-color: var(--fd-site-line);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-navigation a,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-navigation-mobile a {
    color: var(--fd-site-muted) !important;
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-navigation a:hover,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-navigation a:focus-visible,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-navigation-mobile a:hover,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-navigation-mobile a:focus-visible,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-navigation a.home-link {
    color: var(--fd-site-moss-dark) !important;
    background: var(--fd-site-soft);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper #forum-search input,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-public-board-listing__search input {
    border-color: var(--fd-site-line);
    border-radius: 8px;
    background: var(--fd-site-surface);
    color: var(--fd-site-ink);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .main-title,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .forum-title,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .topic-name,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .forum-name {
    color: var(--fd-site-ink);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .main-description,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .forum-description,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .last-post-headline,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper small {
    color: var(--fd-site-muted);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .title-element,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .content-container,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .editor-element,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .content-element,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .content-element:nth-child(even) {
    border-color: var(--fd-site-line);
    background: var(--fd-site-surface);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .content-element:hover {
    background: var(--fd-site-soft);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .forum-menu .button,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .pages-and-menu .button,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .editor-element input[type="submit"],
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .editor-row-submit button,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-public-board-listing__write {
    border-color: var(--fd-site-moss);
    border-radius: 999px;
    background: var(--fd-site-moss);
    color: #fff;
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .forum-menu .button:hover,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .pages-and-menu .button:hover,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .editor-element input[type="submit"]:hover,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .editor-row-submit button:hover,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-public-board-listing__write:hover {
    border-color: var(--fd-site-moss-dark);
    background: var(--fd-site-moss-dark);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-public-board-listing,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-reference-composer,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-topic-references {
    border-color: var(--fd-site-line);
    border-radius: 16px;
    background: var(--fd-site-surface);
    box-shadow: var(--fd-shadow-soft);
}

body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-public-board-listing__title a,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-topic-references a,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-context-nav__back,
body:is(.fdfb-public-board-root, .fd-ai-lab) #af-wrapper .fdfb-context-nav__share {
    color: var(--fd-site-moss-dark);
}

/* --------------------------------------------------------------------------
   Prayer candle wall keeps candle colors, but inherits the quiet page frame.
   -------------------------------------------------------------------------- */

/*
 * The candle wall intentionally remains a dark devotional experience. Its
 * previous burgundy palette was the only full-screen surface left outside the
 * site's editorial system, so remap the plugin tokens at the page boundary
 * instead of touching its markup, candle SVGs, or interaction styles.
 */
body.pw-fullscreen-page {
    --pw-bg-main: var(--fd-site-ink);
    --pw-bg-end: #253329;
    --pw-bg-card: rgba(35, 47, 37, 0.85);
    --pw-text: #f5f7f2;
    --pw-text-muted: #c0c8be;
    --pw-gold: #bfc9b4;
    --pw-gold-light: #e1e8dd;
    --pw-gold-glow: rgba(167, 192, 170, 0.3);
    --pw-border: rgba(225, 232, 221, 0.16);
    --pw-glass-bg: rgba(21, 26, 24, 0.92);
    --pw-glass-border: rgba(225, 232, 221, 0.2);
    --pw-accent: var(--fd-site-moss);
    --pw-accent-light: #879789;
    --pw-focus-ring: #e1e8dd;
    --pw-surface-weak: rgba(255, 255, 255, 0.04);
    --pw-surface-soft: rgba(255, 255, 255, 0.09);
    --pw-surface-soft-hover: rgba(255, 255, 255, 0.16);
    --pw-surface-medium: rgba(255, 255, 255, 0.12);
    --pw-surface-medium-hover: rgba(255, 255, 255, 0.18);
    --pw-surface-focus: rgba(255, 255, 255, 0.14);
    --pw-modal-panel-bg: linear-gradient(180deg, #253329 0%, #151a18 100%);
    --pw-modal-sticky-header-bg: linear-gradient(180deg, rgba(37, 51, 41, 0.98) 35%, rgba(37, 51, 41, 0) 100%);
    --pw-modal-sticky-footer-bg: linear-gradient(0deg, rgba(21, 26, 24, 0.98) 35%, rgba(21, 26, 24, 0) 100%);
    --pw-modal-danger: #c85555;
    --pw-modal-danger-hover: #a84444;
    --pw-toast-bg: rgba(21, 26, 24, 0.96);
}

body.page-id-4821 .prayer-candle-wall-section {
    background-color: var(--fd-site-soft);
    background-image: none;
    border-top: 1px solid var(--fd-site-line);
    border-bottom: 1px solid var(--fd-site-line);
}

body.page-id-4821 .prayer-candle-wall-section::before,
body.page-id-4821 .prayer-candle-wall-section::after {
    opacity: 0;
}

body.page-id-4821 .prayer-wall-cta a {
    border-color: var(--fd-site-moss);
    border-radius: 999px;
    background: var(--fd-site-moss);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Mobile rhythm
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
    body:not(.fd-home-editorial-active) .site-content {
        padding-top: 16px;
    }

    body.fd-prayer-section-page .fd-prayer-hero,
    body.fd-prayer-section-page .fd-prayer-bridge,
    body.page-id-3710 .fd-wl-hero,
    body.page-id-3710 .fd-wl-post,
    body.page-id-3710 .fd-wl-note-card,
    body.page-id-3710 .fd-wl-path,
    body.page-id-3710 .fd-wl-resource,
    body.page-id-3710 .fd-wl-community,
    body.page-id-3710 .fd-wl-search,
    body.um-page-account .fd-account-shell,
    body.fd-auth-entry-page .fd-auth-entry-shell,
    body.fdfb-public-board-root #af-wrapper .fdfb-public-board-listing {
        border-radius: 14px;
    }

    body.fd-prayer-section-page--tracker .site-content {
        padding-top: 0;
    }

    body.fd-prayer-section-page--tracker .fd-prayer-hero,
    body.fd-prayer-section-page--tracker .fd-prayer-bridge,
    body.fd-prayer-section-page--tracker .fd-prayer-bridge__intro {
        border-radius: 0;
    }

    body.page-id-3710 .fd-wl-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    body.fdfb-public-board-root #af-wrapper .fdfb-public-board-listing__write {
        min-height: 2.65rem;
    }
}

/* --------------------------------------------------------------------------
   Shared UX repairs found during the cross-page mobile pass
   -------------------------------------------------------------------------- */

/* The close button inside the open panel is the only close affordance. */
body.fd-menu-open .fd-nav-toggle {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}

body.fd-menu-open .fd-primary-nav .fd-nav-close {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

/* Keep legacy GeneratePress pages inside the viewport instead of relying on
 * overflow-x:hidden to hide their fixed-width children. */
body.search .site-content,
body.archive .site-content,
body.error404 .site-content,
body.search .content-area,
body.archive .content-area,
body.error404 .content-area,
body.search .site-main,
body.archive .site-main,
body.error404 .site-main,
body.search .inside-article,
body.archive .inside-article,
body.error404 .inside-article,
body.search .entry-content,
body.archive .entry-content,
body.error404 .entry-content {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

body.search .inside-article,
body.archive .inside-article,
body.error404 .inside-article {
    overflow-wrap: anywhere;
}

body.search .entry-content,
body.archive .entry-content,
body.error404 .entry-content {
    word-break: keep-all;
}

body.search .entry-title,
body.archive .entry-title,
body.error404 .entry-title {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

/* MBJ used to leave guests with one orphaned paragraph. Give the same
 * editorial shell a clear next action without changing the login redirect. */
body.mbj-layout-page .mbj-guest-card {
    width: min(720px, 100%);
    margin: clamp(2rem, 7vw, 5rem) auto;
    padding: clamp(2rem, 6vw, 4.5rem);
    border: 1px solid var(--fd-site-line);
    border-radius: 24px;
    background: var(--fd-site-surface);
    box-shadow: var(--fd-shadow-soft);
    text-align: center;
}

body.mbj-layout-page .mbj-guest-card__eyebrow {
    margin: 0 0 .75rem;
    color: var(--fd-site-moss-dark);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
}

body.mbj-layout-page .mbj-guest-card__title {
    margin: 0;
    color: var(--fd-site-ink);
    font-size: clamp(1.65rem, 4vw, 2.45rem);
    line-height: 1.25;
    text-wrap: balance;
}

body.mbj-layout-page .mbj-guest-card__copy {
    max-width: 32rem;
    margin: 1rem auto 0;
    color: var(--fd-site-muted);
    line-height: 1.8;
}

body.mbj-layout-page .mbj-guest-card__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .85rem 1.1rem;
    margin-top: 1.8rem;
}

body.mbj-layout-page .mbj-guest-card__button,
body.mbj-layout-page .mbj-guest-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: .7rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

body.mbj-layout-page .mbj-guest-card__button {
    background: var(--fd-site-moss);
    color: #fff !important;
}

body.mbj-layout-page .mbj-guest-card__button:hover,
body.mbj-layout-page .mbj-guest-card__button:focus-visible {
    background: var(--fd-site-moss-dark);
    color: #fff !important;
}

body.mbj-layout-page .mbj-guest-card__link {
    color: var(--fd-site-moss-dark);
}

/* The board type rail becomes a wrapped group on narrow screens so every
 * category remains discoverable without a hidden horizontal scroll area. */
@media (max-width: 640px) {
    body.fdfb-public-board-root #af-wrapper .fdfb-board-type-filter > div {
        display: flex;
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
    }

    body.search .site-content,
    body.archive .site-content,
    body.error404 .site-content {
        padding-right: 16px;
        padding-left: 16px;
    }

    body.search.separate-containers .inside-article,
    body.archive.separate-containers .inside-article,
    body.error404.separate-containers .inside-article {
        padding: 20px 16px 28px;
    }

    body.mbj-layout-page .mbj-guest-card {
        margin-top: 1.25rem;
        margin-bottom: 2rem;
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }

    body.mbj-layout-page .mbj-guest-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    body.mbj-layout-page .mbj-guest-card__title {
        max-width: 19rem;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(1.45rem, 6.8vw, 1.8rem);
        letter-spacing: -.04em;
    }

    body.mbj-layout-page .mbj-guest-card__button,
    body.mbj-layout-page .mbj-guest-card__link {
        width: 100%;
    }
}

/* The contact hero uses a photo background; a quiet content surface keeps
 * the copy readable without replacing the page's existing imagery. */
body.page-id-2862 .uagb-block-q9h0ca1g .uagb-ifb-content,
body.page-id-2862 .uagb-block-fdknu1vk .uagb-ifb-content {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 30px rgba(21, 26, 24, .08);
}

body.page-id-2862 .uagb-block-q9h0ca1g .uagb-ifb-title,
body.page-id-2862 .uagb-block-q9h0ca1g .uagb-ifb-desc,
body.page-id-2862 .uagb-block-fdknu1vk .uagb-ifb-title,
body.page-id-2862 .uagb-block-fdknu1vk .uagb-ifb-desc {
    color: var(--fd-site-ink);
    text-shadow: none;
}

@media (max-width: 640px) {
    body.page-id-2862 .uagb-block-q9h0ca1g .uagb-ifb-content,
    body.page-id-2862 .uagb-block-fdknu1vk .uagb-ifb-content {
        padding: 1rem;
        border-radius: 14px;
    }
}

/* The church hero is an image layer. Keep its interactive details readable
 * when a global link color would otherwise turn them moss-green on a dark
 * photo. The primary pill intentionally keeps its dark text. */
.cig-single-church .cig-hero-content .cig-diocese-list-link,
.cig-single-church .cig-hero-content .cig-hero-summary-value,
.cig-single-church .cig-hero-content .cig-hero-user-guide a {
    color: rgba(255, 255, 255, .96) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .48);
}

.cig-single-church .cig-hero-content .cig-diocese-list-link:hover,
.cig-single-church .cig-hero-content .cig-diocese-list-link:focus-visible,
.cig-single-church .cig-hero-content .cig-hero-summary-value:hover,
.cig-single-church .cig-hero-content .cig-hero-summary-value:focus-visible,
.cig-single-church .cig-hero-content .cig-hero-user-guide a:hover,
.cig-single-church .cig-hero-content .cig-hero-user-guide a:focus-visible {
    color: #fff !important;
}

/* Keep the Rosary reader in the homepage's paper, ink, and moss palette. */
body.fd-prayer-section-page--rosary {
    --fd-prayer-ink: var(--fd-site-ink);
    --fd-prayer-muted: var(--fd-site-muted);
    --fd-prayer-paper: var(--fd-site-surface);
    --fd-prayer-paper-strong: var(--fd-site-surface);
    --fd-prayer-line: var(--fd-site-line);
    --fd-prayer-accent: var(--fd-site-moss);
    --fd-prayer-accent-soft: #eef2ed;
    --fd-prayer-green: var(--fd-site-moss-dark);
    --fd-prayer-shadow: transparent;
    background: var(--fd-site-page) !important;
    color: var(--fd-site-ink);
}

body.fd-prayer-section-page--rosary .fd-prayer-tool__frame {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--rosary .frm-container {
    --frm-color-primary: var(--fd-site-ink);
    --frm-color-accent: var(--fd-site-moss);
    --frm-color-accent-soft: #eef2ed;
    --frm-color-secondary: var(--fd-site-moss-dark);
    --frm-color-border: var(--fd-site-line);
    --frm-color-surface: var(--fd-site-surface);
    --frm-color-surface-strong: var(--fd-site-surface);
    --frm-color-text: var(--fd-site-ink);
    --frm-color-muted: var(--fd-site-muted);
    --frm-color-focus: var(--fd-site-moss-dark);
    background: var(--fd-site-surface) !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--fd-site-ink);
}

body.fd-prayer-section-page--rosary .frm-container .frm-header h1#frm-current-title {
    margin: 0;
    color: var(--fd-site-muted);
    font-family: var(--fd-site-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

body.fd-prayer-section-page--rosary .frm-container .frm-mystery-selector {
    border-color: var(--fd-site-line) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-mystery-btn,
body.fd-prayer-section-page--rosary .frm-container .frm-guide-btn {
    color: var(--fd-site-muted) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-mystery-btn.active {
    border-color: var(--fd-site-moss) !important;
    color: var(--fd-site-ink) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-progress-bar {
    background: var(--fd-site-soft) !important;
}

body.fd-prayer-section-page--rosary .frm-container #frm-progress-fill {
    background: var(--fd-site-moss-dark) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-bar {
    border-color: var(--fd-site-line) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-item {
    border-color: var(--fd-site-line) !important;
    border-radius: 6px !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-item.active {
    border-bottom-color: var(--fd-site-moss) !important;
    background: transparent !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-dot {
    border: 1px solid var(--fd-site-line) !important;
    background: var(--fd-site-surface) !important;
    color: var(--fd-site-muted) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-item.active .frm-nav-dot {
    border-color: var(--fd-site-moss-dark) !important;
    background: var(--fd-site-moss-dark) !important;
    color: #fff !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-label {
    color: var(--fd-site-muted) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-item.active .frm-nav-label {
    color: var(--fd-site-ink) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .text {
    color: var(--fd-site-ink);
    font-family: var(--fd-site-serif, "Noto Serif KR", Georgia, serif);
    line-height: 1.9;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .cta {
    border-color: var(--fd-site-line) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .cta a {
    border: 1px solid var(--fd-site-line) !important;
    border-radius: 6px !important;
    background: var(--fd-site-surface) !important;
    box-shadow: none !important;
    color: var(--fd-site-moss-dark) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .cta a:hover {
    background: var(--fd-site-soft) !important;
    transform: none !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-btn {
    min-height: 44px;
    border: 1px solid var(--fd-site-line) !important;
    border-radius: 6px !important;
    background: var(--fd-site-surface) !important;
    box-shadow: none !important;
    color: var(--fd-site-ink) !important;
}

body.fd-prayer-section-page--rosary .frm-container #frm-next-btn,
body.fd-prayer-section-page--rosary .frm-container .frm-btn.frm-completion-primary {
    border-color: var(--fd-site-moss-dark) !important;
    background: var(--fd-site-moss-dark) !important;
    color: #fff !important;
}

body.fd-prayer-section-page--rosary .frm-container #frm-next-btn:hover:not(:disabled),
body.fd-prayer-section-page--rosary .frm-container .frm-btn.frm-completion-primary:hover:not(:disabled) {
    background: var(--fd-site-moss) !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-completion-panel {
    border: 1px solid var(--fd-site-line);
    border-radius: 10px;
    background: var(--fd-site-surface);
    box-shadow: none;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .frm-sources-panel {
    border-color: var(--fd-site-line);
    background: var(--fd-site-soft);
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .frm-sources-title,
body.fd-prayer-section-page--rosary .frm-container .frm-content-area .endnotes h3,
body.fd-prayer-section-page--rosary .frm-container .frm-content-area .refs h3 {
    color: var(--fd-site-ink);
}

body.fd-prayer-section-page--rosary .frm-container .frm-modal-overlay {
    background: rgba(21, 26, 24, 0.58);
}

body.fd-prayer-section-page--rosary .frm-container .frm-modal-content {
    border-color: var(--fd-site-line);
    border-radius: 12px;
    background: var(--fd-site-surface);
    box-shadow: 0 18px 44px rgba(21, 26, 24, 0.16);
}

body.fd-prayer-section-page--rosary .frm-container .frm-modal-close {
    border: 0;
    background: transparent !important;
    color: var(--fd-site-muted);
}

body.fd-prayer-section-page--rosary .frm-container .frm-modal-close:hover {
    background: transparent !important;
    color: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page--rosary .frm-container .frm-modal-body {
    color: var(--fd-site-ink);
}

body.fd-prayer-section-page--rosary .frm-container .frm-guide-tabs {
    border-bottom-color: var(--fd-site-line);
}

body.fd-prayer-section-page--rosary .frm-container .frm-guide-tab.active {
    color: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page--rosary .frm-container .frm-guide-tab.active::after {
    background: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page--rosary .frm-container .frm-step-num {
    background: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page--rosary .frm-container .frm-step-content .prayer-toggle:hover {
    color: var(--fd-site-moss-dark);
}

body.fd-prayer-section-page--rosary .frm-container .frm-prayer-reveal,
body.fd-prayer-section-page--rosary .frm-container .frm-mystery-card {
    border-color: var(--fd-site-line);
    background: var(--fd-site-soft);
    color: var(--fd-site-ink);
}

body.fd-prayer-section-page--rosary .frm-container .frm-mystery-card h4 {
    color: var(--fd-site-moss-dark);
}

/* Keep the Rosary reader contemplative without adding a separate card system. */
body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .text {
    color: var(--fd-site-ink);
    font-family: var(--fd-site-sans, sans-serif);
    font-size: 1.02rem;
    line-height: 1.85;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .head h2,
body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .text h3,
body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .text blockquote p {
    font-family: var(--fd-site-serif, serif);
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .text > p:first-of-type {
    font-size: 1.05rem;
    line-height: 1.82;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .image figure {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .image figure > img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: none;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .image figcaption {
    margin-top: 10px;
    color: var(--fd-site-muted);
    font-family: var(--fd-site-sans, sans-serif);
    font-size: 0.84rem;
    line-height: 1.65;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .text blockquote {
    margin: 20px 0 !important;
    padding: 8px 0 8px 16px !important;
    border: 0 !important;
    border-left: 2px solid var(--fd-site-moss) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-content-area .fd-rosary .text blockquote p {
    margin: 0;
    color: var(--fd-site-ink);
    font-size: 1.08rem;
    line-height: 1.8;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-item {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 7px 8px !important;
}

body.fd-prayer-section-page--rosary .frm-container .frm-nav-dot {
    display: none !important;
}

body.fd-prayer-section-page--rosary .frm-main-area {
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Balance the Rosary reader's type scale and remove duplicate progress cues. */
body.fd-prayer-section-page--rosary #frm-rosary-app .frm-content-area .fd-rosary .head h2 {
    line-height: 1.15;
    letter-spacing: -0.025em;
    word-break: keep-all;
    overflow-wrap: normal;
    text-wrap: balance;
}

body.fd-prayer-section-page--rosary #frm-rosary-app .frm-content-area .fd-rosary .text > p:first-of-type {
    font-weight: 500;
}

body.fd-prayer-section-page--rosary #frm-rosary-app .frm-nav-label {
    font-size: 13px !important;
}

body.fd-prayer-section-page--rosary #frm-rosary-app .frm-progress-bar {
    display: none !important;
}

@media (max-width: 600px) {
    body.fd-prayer-section-page--rosary #frm-rosary-app {
        padding-inline: clamp(16px, 4vw, 22px) !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
    }

    body.fd-prayer-section-page--rosary #frm-rosary-app .frm-content-area .fd-rosary .head h2 {
        font-size: clamp(1.5rem, 6.3vw, 1.75rem);
        line-height: 1.18;
        letter-spacing: -0.02em;
    }
}
