:root {
    --core-sand: #f6f0e7;
    --core-ink: #1d2a2b;
    --core-forest: #294d4a;
    --core-gold: #c18d33;
    --core-clay: #8f5e3b;
    --core-paper: #fffdf8;
    --core-mist: #d9e4de;
    --core-shadow: rgba(29, 42, 43, 0.08);
}

html,
body {
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.18), transparent 22rem),
        radial-gradient(circle at bottom left, rgba(143, 94, 59, 0.08), transparent 18rem),
        linear-gradient(180deg, #fbf8f1 0%, #f3eee3 100%);
    color: var(--core-ink);
    max-width: 100%;
    overflow-x: clip;
}

body {
    min-height: 100vh;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img,
svg,
video {
    height: auto;
}

a, .btn-link {
    color: var(--core-forest);
}

.btn,
.nav-link,
.dropdown-item,
.footer-link,
.footer-social-link,
.content-card,
.hero-panel,
.page-hero-image-frame,
.hero-image-frame {
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn {
    border-radius: 999px;
    padding: 0.8rem 1.3rem;
    font-weight: 600;
}

.btn-lg {
    padding: 0.95rem 1.5rem;
}

.btn-primary {
    color: #fff;
    background-color: var(--core-forest);
    border-color: var(--core-forest);
    box-shadow: 0 12px 24px rgba(41, 77, 74, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1f3f3d;
    border-color: #1f3f3d;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--core-forest);
    border-color: rgba(41, 77, 74, 0.4);
    background: rgba(255, 253, 248, 0.72);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--core-forest);
    border-color: var(--core-forest);
    transform: translateY(-1px);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus, .form-select:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(41, 77, 74, 0.35);
}

h1:focus {
    outline: none;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: rgba(255, 253, 248, 0.86);
    border-bottom: 1px solid rgba(41, 77, 74, 0.12);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(29, 42, 43, 0.04);
}

.site-main {
    flex: 1;
    width: 100%;
}

.site-footer {
    background:
        linear-gradient(180deg, rgba(18, 28, 29, 0.96), rgba(29, 42, 43, 0.98)),
        radial-gradient(circle at top left, rgba(193, 141, 51, 0.14), transparent 20rem);
    color: #f7f1e5;
    margin-top: 4rem;
    border-top: 1px solid rgba(193, 141, 51, 0.14);
}

.footer-shell {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(247, 241, 229, 0.14);
}

.footer-meta-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 1rem;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-tagline {
    color: rgba(29, 42, 43, 0.75);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.site-footer .footer-tagline {
    color: rgba(247, 241, 229, 0.8);
}

.footer-copy {
    max-width: 30rem;
    color: rgba(247, 241, 229, 0.72);
    line-height: 1.8;
}

.footer-heading {
    margin-bottom: 0.9rem;
    color: rgba(247, 241, 229, 0.88);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-link-list {
    display: grid;
    gap: 0.7rem;
}

.footer-link {
    color: #f7f1e5;
    text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
    color: #fff;
}

.footer-inline-form {
    margin: 0;
}

.footer-button-link {
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.footer-auth-links {
    align-items: start;
}

.footer-email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(247, 241, 229, 0.18);
    color: #f7f1e5;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
}

.footer-social-link:hover,
.footer-social-link:focus {
    color: #fff;
    border-color: rgba(247, 241, 229, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.site-footer-copyright {
    color: rgba(247, 241, 229, 0.68);
    font-size: 0.92rem;
    line-height: 1.6;
}

.site-footer-version {
    color: rgba(247, 241, 229, 0.58);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-meta-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
}

.footer-meta-link {
    color: rgba(247, 241, 229, 0.84);
    text-decoration: none;
}

.footer-meta-link:hover,
.footer-meta-link:focus {
    color: #fff;
}

.navbar-brand {
    text-decoration: none;
}

.core-logo-brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    max-width: min(100%, 70vw);
}

.core-header-logo {
    display: block;
    width: clamp(12rem, 24vw, 20rem);
    max-width: 100%;
    max-height: 5.5rem;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(29, 42, 43, 0.14));
}

.navbar-toggler {
    border-color: rgba(41, 77, 74, 0.22);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2841,77,74,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link,
.nav-dropdown-toggle {
    color: var(--core-ink);
    border-radius: 999px;
    padding: 0.72rem 0.95rem !important;
    background: transparent;
    border: 0;
    font-weight: 600;
    text-decoration: none;
}

.nav-link.active,
.nav-link:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus,
.nav-dropdown-toggle.show {
    background: rgba(41, 77, 74, 0.09);
    color: var(--core-forest);
}

.nav-cta-item {
    margin-left: 0.35rem;
}

.nav-cta-link {
    background: linear-gradient(180deg, rgba(41, 77, 74, 0.94), rgba(31, 63, 61, 0.98));
    color: #fff;
    box-shadow: 0 14px 28px rgba(41, 77, 74, 0.18);
}

.nav-cta-link:hover,
.nav-cta-link:focus,
.nav-cta-link.active {
    background: linear-gradient(180deg, rgba(31, 63, 61, 0.98), rgba(23, 49, 47, 1));
    color: #fff;
}

.nav-dropdown-toggle::after {
    margin-left: 0.45rem;
}

.public-dropdown-menu {
    border: 1px solid rgba(41, 77, 74, 0.09);
    border-radius: 1rem;
    padding: 0.5rem;
    min-width: 16rem;
    max-width: min(100%, calc(100vw - 2rem));
    box-shadow: 0 18px 40px rgba(29, 42, 43, 0.12);
    background: rgba(255, 253, 248, 0.98);
}

.dropdown-item {
    border-radius: 0.8rem;
    padding: 0.7rem 0.9rem;
    color: var(--core-ink);
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(41, 77, 74, 0.09);
    color: var(--core-forest);
}

.nav-button {
    background: transparent;
    border: 0;
}

.admin-pill {
    border: 1px solid rgba(193, 141, 51, 0.45);
}

.page-section {
    padding: clamp(3.4rem, 5vw, 5rem) 0;
}

.page-section.page-section-flush-top {
    padding-top: 0;
}

.hero-panel,
.content-card,
.admin-card {
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(41, 77, 74, 0.09);
    border-radius: 1.65rem;
    box-shadow: 0 20px 45px var(--core-shadow);
    max-width: 100%;
}

.hero-panel {
    padding: clamp(1.5rem, 2.8vw, 2.4rem);
}

.content-card,
.admin-card {
    padding: 1.5rem;
}

.section-kicker {
    color: var(--core-clay);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-title {
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 0.98;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.hero-lead {
    font-size: clamp(1.03rem, 1.1rem + 0.25vw, 1.22rem);
    line-height: 1.85;
    color: rgba(29, 42, 43, 0.82);
    max-width: 60ch;
}

.body-copy {
    font-size: 1.06rem;
    line-height: 1.85;
    text-align: left;
}

.body-copy > :last-child,
.hero-lead:last-child,
.section-copy:last-child,
.form-intro-text:last-child {
    margin-bottom: 0;
}

.body-copy blockquote {
    border-left: 4px solid rgba(193, 141, 51, 0.55);
    margin: 1.5rem 0;
    padding: 0.5rem 0 0.5rem 1rem;
    font-style: italic;
}

.body-copy ul,
.body-copy ol {
    padding-left: 1.4rem;
}

.home-hero-section {
    padding-top: 0;
    padding-bottom: 2.5rem;
}

.home-hero-band {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(246, 240, 231, 0.82), rgba(217, 228, 222, 0.3));
}

.home-hero-band-image-shell {
    position: relative;
    min-height: clamp(20rem, 44vw, 38rem);
}

.home-hero-band-image {
    width: 100%;
    height: clamp(20rem, 44vw, 38rem);
    object-fit: cover;
    display: block;
}

.home-hero-band-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 23, 24, 0.08), rgba(16, 23, 24, 0.28)),
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.18), transparent 24rem);
    pointer-events: none;
}

.home-intro-panel,
.home-body-panel {
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.96)),
        radial-gradient(circle at top left, rgba(193, 141, 51, 0.14), transparent 20rem);
    border: 1px solid rgba(41, 77, 74, 0.09);
    border-radius: 1.65rem;
    box-shadow: 0 20px 45px var(--core-shadow);
}

.home-intro-panel {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    z-index: 1;
}

.home-intro-panel-overlap {
    margin-top: clamp(-5.5rem, -8vw, -3rem);
}

.home-body-panel {
    width: min(100%, 56rem);
    max-width: 100%;
    margin-top: 1.4rem;
    margin-right: auto;
    padding: 1.35rem 1.4rem;
}

.home-hero-copy {
    display: grid;
    gap: 1.35rem;
}

.home-hero-lead {
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(41, 77, 74, 0.12);
    background: rgba(255, 253, 248, 0.72);
    color: var(--core-forest);
    font-size: 0.88rem;
    font-weight: 600;
}

.home-body-copy {
    width: 100%;
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
}

.home-scripture-card {
    position: relative;
    right: auto;
    bottom: auto;
    display: inline-flex;
    flex-direction: column;
    justify-self: start;
    align-self: start;
    width: auto;
    max-width: min(100%, 15.75rem);
    min-height: 0;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    line-height: 1.42;
}

.home-scripture-card .section-kicker {
    color: rgba(255, 248, 232, 0.9);
    margin-bottom: 0.35rem !important;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

.home-scripture-card p {
    margin-bottom: 0.35rem !important;
    line-height: 1.35;
}

.home-scripture-card .meta-line {
    font-size: 0.84rem;
}

.content-section-intro {
    max-width: 44rem;
    margin-bottom: 1.75rem;
}

.section-heading {
    font-size: clamp(1.9rem, 2rem + 0.6vw, 2.7rem);
    line-height: 1.05;
    margin-bottom: 0.8rem;
    text-wrap: balance;
}

.section-copy {
    color: rgba(29, 42, 43, 0.78);
    font-size: 1.02rem;
    line-height: 1.8;
}

.hero-image-frame,
.page-hero-image-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(29, 42, 43, 0.16);
    min-height: 100%;
}

.hero-image-frame::after,
.page-hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29, 42, 43, 0.02), rgba(29, 42, 43, 0.22));
}

.hero-image,
.page-hero-image,
.content-list-image,
.media-thumb {
    width: 100%;
    object-fit: cover;
    display: block;
}

.hero-image {
    min-height: 31rem;
}

.page-hero-image {
    min-height: clamp(16rem, 28vw, 24rem);
}

.scripture-overlay-card {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    max-width: 18rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1.2rem;
    background: rgba(29, 42, 43, 0.78);
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.feature-card {
    position: relative;
    overflow: hidden;
    padding-top: 2rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 0.38rem;
    background: linear-gradient(90deg, rgba(193, 141, 51, 0.96), rgba(41, 77, 74, 0.72));
}

.feature-card-grow::before {
    background: linear-gradient(90deg, rgba(193, 141, 51, 0.96), rgba(143, 94, 59, 0.72));
}

.feature-card-learn::before {
    background: linear-gradient(90deg, rgba(41, 77, 74, 0.94), rgba(217, 228, 222, 0.96));
}

.feature-card-belong::before {
    background: linear-gradient(90deg, rgba(143, 94, 59, 0.92), rgba(193, 141, 51, 0.82));
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(193, 141, 51, 0.35);
    box-shadow: 0 28px 55px rgba(29, 42, 43, 0.14);
}

.feature-card-title {
    color: var(--core-ink);
}

.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--core-forest);
    font-weight: 700;
}

.list-card {
    height: 100%;
    padding: 1.5rem;
}

.content-list-card {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 234, 0.98));
}

.list-card-header {
    margin-bottom: 1.15rem;
}

.list-entry + .list-entry {
    border-top: 1px solid rgba(41, 77, 74, 0.08);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.content-list-image {
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
}

.meta-line {
    color: rgba(29, 42, 43, 0.72);
    font-size: 0.92rem;
}

.metadata-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(41, 77, 74, 0.08);
    color: var(--core-forest);
    font-size: 0.82rem;
}

.user-list-table th,
.user-list-table td {
    vertical-align: middle;
}

.user-role-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.user-role-badge-admin {
    background: rgba(41, 77, 74, 0.14);
    color: var(--core-forest);
}

.user-role-badge-editor {
    background: rgba(193, 141, 51, 0.18);
    color: #815d17;
}

.user-role-badge-viewer {
    background: rgba(143, 94, 59, 0.12);
    color: var(--core-clay);
}

.user-role-badge-empty,
.user-status-badge-no-role,
.user-flag-badge-no {
    background: rgba(29, 42, 43, 0.1);
    color: rgba(29, 42, 43, 0.78);
}

.user-status-badge-active,
.user-flag-badge-yes {
    background: rgba(41, 77, 74, 0.12);
    color: var(--core-forest);
}

.user-status-badge-locked {
    background: rgba(143, 94, 59, 0.14);
    color: var(--core-clay);
}

.user-list-mobile-grid {
    display: grid;
    gap: 1rem;
}

.user-list-mobile-card {
    display: grid;
    gap: 0.75rem;
}

.user-mobile-meta-grid,
.user-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.user-detail-value {
    color: var(--core-ink);
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.user-role-form-grid {
    display: grid;
    gap: 0.85rem;
}

.user-role-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.92);
}

.user-action-list {
    display: grid;
    gap: 1rem;
}

.user-action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(41, 77, 74, 0.1);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.92);
}

.user-danger-zone {
    border-color: rgba(143, 94, 59, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.94)),
        radial-gradient(circle at top right, rgba(143, 94, 59, 0.08), transparent 14rem);
}

.public-page-card {
    padding: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.public-page-flow-card {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.public-page-flow-card::after,
.public-page-body::after {
    content: "";
    display: block;
    clear: both;
}

.public-page-shell {
    position: relative;
}

.public-page-card-layout {
    position: relative;
}

.public-page-open,
.public-page-legacy {
    position: relative;
}

.public-page-open .page-intro-section,
.public-page-legacy .page-intro-section {
    max-width: 58rem;
}

.public-page-open .page-body-section,
.public-page-legacy .page-body-section {
    gap: 1.35rem;
}

.public-page-content-section {
    padding-top: 2rem;
}

.public-page-centered-card {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.public-page-float-image {
    float: right;
    width: min(42%, 420px);
    max-width: calc(100% - 2rem);
    margin: 0.25rem 0 1.25rem 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(29, 42, 43, 0.16);
}

.public-page-float-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.public-page-hero-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.9)),
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.08), transparent 18rem);
}

.public-page-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(217, 228, 222, 0.35), transparent 24rem);
    pointer-events: none;
}

.public-page-hero-copy,
.public-form-card,
.list-card,
.content-card article {
    position: relative;
    z-index: 1;
}

.public-page-hero-flow {
    display: grid;
    gap: 1.6rem;
}

.page-hero-layout-standard,
.page-hero-layout-banner,
.page-hero-layout-fullwidth {
    position: relative;
    z-index: 1;
}

.page-hero-layout-fullwidth {
    gap: 1.9rem;
}

.page-hero-standard-text {
    display: grid;
    gap: 1.5rem;
}

.page-hero-body {
    display: grid;
    gap: 1.2rem;
}

.page-hero-standard-frame {
    min-height: clamp(16rem, 28vw, 24rem);
}

.page-hero-standard-image {
    min-height: clamp(16rem, 28vw, 24rem);
}

.page-hero-image-frame.hero-fit-contain,
.page-hero-banner-frame.hero-fit-contain,
.page-hero-natural-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.96));
}

.page-hero-banner-frame {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    aspect-ratio: 21 / 9;
    background: linear-gradient(180deg, rgba(217, 228, 222, 0.45), rgba(246, 240, 231, 0.65));
    box-shadow: 0 20px 45px rgba(29, 42, 43, 0.16);
}

.page-hero-banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.page-hero-placement-top .page-hero-standard-frame,
.page-hero-placement-top .page-hero-banner-frame {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.full-width-hero-section {
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
    margin-top: 0;
    padding: 0;
    overflow: hidden;
}

.full-width-hero-frame {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--core-sand);
}

.full-width-hero-frame.hero-fit-contain,
.full-width-hero-frame.hero-fit-natural,
.full-width-hero-frame-natural {
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-width-hero-image {
    width: 100%;
    height: clamp(26rem, 62vh, 48rem);
    object-fit: cover;
    display: block;
}

.full-width-hero-image.hero-fit-contain {
    height: auto;
    max-height: min(72vh, 48rem);
    object-fit: contain;
    background: var(--core-sand);
}

.full-width-hero-image.hero-fit-natural,
.full-width-hero-frame-natural .full-width-hero-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: unset;
    margin-left: auto;
    margin-right: auto;
}

.hero-fit-cover {
    object-fit: cover;
}

.hero-fit-contain {
    object-fit: contain;
}

.page-hero-natural-frame {
    min-height: 0;
    aspect-ratio: auto;
    padding: 0.9rem;
}

.page-hero-natural-frame::after {
    display: none;
}

.page-hero-banner-frame-natural {
    aspect-ratio: auto;
}

.page-hero-natural-image,
.hero-fit-natural {
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-placement-top .public-page-hero-copy,
.page-hero-placement-below-intro .public-page-hero-copy {
    max-width: 54rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-hero-placement-top .page-body-section {
    margin-left: auto;
    margin-right: auto;
}

.public-page-divider {
    width: 100%;
    height: 1px;
    margin: 1.75rem 0;
    background: linear-gradient(90deg, rgba(41, 77, 74, 0.22), rgba(41, 77, 74, 0));
}

.devotional-library-toolbar {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.94)),
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.08), transparent 16rem);
}

.devotional-library-card {
    display: grid;
    gap: 0.35rem;
}

.devotional-tag-pill {
    background: rgba(193, 141, 51, 0.14);
    color: #8f6718;
}

.devotional-series-badge {
    background: rgba(217, 228, 222, 0.82);
    color: var(--core-forest);
}

.devotional-related-card {
    height: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(41, 77, 74, 0.1);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.92);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    color: var(--core-forest);
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover,
.back-link:focus {
    text-decoration: underline;
}

.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.95rem;
    background: transparent;
}

.breadcrumb a {
    color: var(--core-forest);
    text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
    text-decoration: underline;
}

.article-footer-nav {
    clear: both;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(41, 77, 74, 0.12);
}

.public-page-body {
    max-width: 78ch;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.body-copy,
.public-page-body,
.content-card {
    overflow-wrap: anywhere;
}

.body-copy img,
.body-copy svg,
.body-copy video,
.public-page-body img,
.public-page-body svg,
.public-page-body video {
    max-width: 100%;
    height: auto;
}

.body-copy iframe,
.public-page-body iframe {
    display: block;
    max-width: 100%;
}

.public-page-open .public-page-body,
.public-page-legacy .public-page-body {
    max-width: 74ch;
}

.public-page-content-card {
    background: rgba(255, 253, 248, 0.97);
}

.writing-audio-card {
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.95)),
        radial-gradient(circle at top left, rgba(193, 141, 51, 0.1), transparent 12rem);
    box-shadow: 0 16px 34px rgba(29, 42, 43, 0.08);
}

.writing-audio-player {
    width: 100%;
    display: block;
}

.public-form-card {
    padding: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.96)),
        radial-gradient(circle at top left, rgba(193, 141, 51, 0.08), transparent 18rem);
}

.settings-section-card {
    padding: 1.4rem;
}

.support-giving-card {
    text-align: left;
    border: 1px solid rgba(193, 141, 51, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(245, 238, 226, 0.98)),
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.12), transparent 15rem);
    box-shadow: 0 18px 38px rgba(29, 42, 43, 0.1);
}

.support-giving-title {
    margin: 0.4rem 0 0;
    color: var(--core-ink);
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.support-giving-text {
    max-width: 66ch;
    margin-top: 1rem;
    color: rgba(29, 42, 43, 0.8);
    line-height: 1.8;
}

.giving-button {
    min-width: min(100%, 18rem);
    min-height: 3.35rem;
    border-radius: 999px;
    padding-inline: 1.6rem;
    box-shadow: 0 14px 28px rgba(41, 77, 74, 0.18);
}

.giving-note {
    color: rgba(29, 42, 43, 0.72);
    line-height: 1.7;
}

.admin-giving-note code {
    color: var(--core-green);
}

.form-intro-text {
    color: rgba(29, 42, 43, 0.72);
    line-height: 1.8;
}

.empty-state-card {
    background: rgba(246, 240, 231, 0.75);
    border-style: dashed;
}

.empty-state-inline {
    padding: 1rem 0;
}

.empty-state-title {
    color: var(--core-ink);
    font-weight: 700;
}

.admin-shell {
    padding: 1.5rem 0 4rem;
}

.admin-container-fluid {
    width: 100%;
    max-width: none;
    padding-left: clamp(1rem, 2vw, 2rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

.admin-shell-grid > [class*="col-"] {
    min-width: 0;
}

.admin-content-wide {
    width: 100%;
    max-width: none;
    overflow-x: hidden;
}

.admin-sidebar .nav-link {
    display: block;
    margin-bottom: 0.45rem;
}

.generated-code-card {
    padding: 1.4rem;
}

.generated-code-value {
    display: block;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(246, 240, 231, 0.82);
    border: 1px dashed rgba(41, 77, 74, 0.2);
    color: var(--core-forest);
    font-family: Consolas, "Courier New", monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    word-break: break-word;
}

.registration-code-table code {
    color: var(--core-forest);
}

.registration-code-status-used {
    background: rgba(143, 94, 59, 0.14);
    color: var(--core-clay);
}

.registration-code-status-expired {
    background: rgba(193, 141, 51, 0.16);
    color: #8f6718;
}

.registration-code-status-revoked {
    background: rgba(29, 42, 43, 0.14);
    color: rgba(29, 42, 43, 0.8);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.contact-submission-toolbar {
    padding: 1.25rem;
}

.admin-search-row {
    align-items: end;
}

.sortable-table-header {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    color: var(--core-ink);
    font-weight: 700;
    text-decoration: none;
}

.sortable-table-header:hover,
.sortable-table-header:focus {
    color: var(--core-forest);
    text-decoration: none;
}

.pagination-controls {
    color: rgba(29, 42, 43, 0.78);
}

.admin-list-toolbar {
    padding: 1.25rem;
}

.admin-filter-panel {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.94)),
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.08), transparent 16rem);
}

.admin-summary-card {
    padding: 1.2rem 1.25rem;
}

.admin-summary-value {
    margin-top: 0.4rem;
    color: var(--core-ink);
    font-size: clamp(1.8rem, 2vw, 2.35rem);
    font-weight: 700;
    line-height: 1;
}

.contact-message-preview {
    max-width: min(36rem, 100%);
    color: rgba(29, 42, 43, 0.78);
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
}

.sort-indicator {
    min-width: 0.9rem;
    color: var(--core-forest);
    font-size: 0.82rem;
    text-align: center;
}

.contact-submission-detail {
    max-width: none;
}

.import-preview-table code {
    color: var(--core-forest);
    word-break: break-word;
}

.email-import-table td,
.email-import-table th {
    vertical-align: top;
}

.email-import-original-panel,
.email-import-source-panel {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 32rem;
    overflow-y: auto;
}

.email-import-source-panel {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.88rem;
    line-height: 1.55;
}

.media-summary-value {
    font-size: clamp(1.25rem, 1.5vw, 1.8rem);
}

.contact-message-panel {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.7;
    padding: 1.25rem;
    border-radius: 1rem;
    background: rgba(246, 240, 231, 0.6);
    border: 1px solid rgba(41, 77, 74, 0.12);
}

.contact-submission-badge-reviewed {
    background: rgba(41, 77, 74, 0.12);
    color: var(--core-forest);
}

.contact-submission-badge-unreviewed {
    background: rgba(193, 141, 51, 0.16);
    color: #8f6718;
}

.appointment-status-pending {
    background: rgba(193, 141, 51, 0.16);
    color: #8f6718;
}

.appointment-status-accepted {
    background: rgba(41, 77, 74, 0.12);
    color: var(--core-forest);
}

.appointment-status-declined {
    background: rgba(143, 94, 59, 0.14);
    color: var(--core-clay);
}

.calendar-sync-not-synced {
    background: rgba(29, 42, 43, 0.1);
    color: rgba(29, 42, 43, 0.78);
}

.calendar-sync-synced {
    background: rgba(41, 77, 74, 0.12);
    color: var(--core-forest);
}

.calendar-sync-failed {
    background: rgba(143, 94, 59, 0.14);
    color: var(--core-clay);
}

.calendar-sync-deleted {
    background: rgba(217, 228, 222, 0.7);
    color: rgba(29, 42, 43, 0.78);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.form-control,
.form-select {
    min-height: 3rem;
    border-radius: 1rem;
    border-color: rgba(41, 77, 74, 0.16);
    background: rgba(255, 253, 248, 0.98);
    padding: 0.78rem 0.95rem;
}

textarea.form-control {
    min-height: 10rem;
    resize: vertical;
}

.form-helper-text,
.scheduler-helper {
    color: rgba(29, 42, 43, 0.64);
    font-size: 0.92rem;
    line-height: 1.6;
}

.form-validation-list:empty {
    display: none;
}

.form-validation-list {
    margin-bottom: 0.25rem;
    padding-left: 1.15rem;
    color: #8a2d2d;
}

.form-submit-row {
    padding-top: 0.35rem;
}

.touch-button {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
}

.form-status-card {
    border-radius: 1rem;
}

.table td, .table th {
    vertical-align: middle;
}

.media-thumb {
    max-width: 180px;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
}

.media-picker {
    display: grid;
    gap: 1rem;
}

.media-picker-panel {
    display: grid;
    gap: 1rem;
}

.media-picker-toolbar {
    padding: 1rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.94)),
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.08), transparent 16rem);
}

.media-picker-current-selection {
    padding: 1rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.92);
}

.media-picker-current-selection-audio {
    padding: 0.65rem 0.85rem;
}

.media-picker-current-selection-audio .section-kicker {
    margin-bottom: 0.35rem !important;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

.media-picker-current-card {
    display: grid;
    gap: 0.9rem;
    align-items: start;
}

.media-picker-current-card-audio {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem 0.85rem;
    align-items: center;
}

.media-picker-current-image {
    width: min(100%, 24rem);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.media-picker-current-meta {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.media-picker-current-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.media-picker-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-content: start;
    gap: 0.85rem;
    min-width: 0;
    height: 100%;
    padding: 0.95rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 10px 24px rgba(29, 42, 43, 0.06);
}

.media-picker-card-selected {
    border-color: rgba(41, 77, 74, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(41, 77, 74, 0.12);
}

.media-picker-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.9rem;
    display: block;
    background: rgba(246, 240, 231, 0.9);
}

.media-picker-audio-icon {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.9rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    background:
        linear-gradient(180deg, rgba(244, 236, 220, 0.96), rgba(232, 222, 205, 0.92)),
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.18), transparent 12rem);
    color: var(--core-forest);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.media-picker-audio-icon-compact {
    width: 4.25rem;
    min-width: 4.25rem;
    aspect-ratio: auto;
    height: 3rem;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
}

.media-picker-item-body {
    display: grid;
    align-content: start;
    gap: 0.35rem;
    min-width: 0;
}

.media-picker-item-title {
    color: var(--core-ink);
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.media-picker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.media-picker-preview {
    width: 100%;
    margin-top: 0.15rem;
}

.media-picker-current-audio {
    grid-column: 2;
    width: min(100%, 22rem);
    max-width: 100%;
    min-height: 2rem;
    margin-top: 0;
}

.media-picker-pagination {
    color: rgba(29, 42, 43, 0.78);
}

.media-picker-upload {
    display: grid;
    gap: 0.35rem;
}

.media-picker-empty {
    padding: 1rem;
    border: 1px dashed rgba(41, 77, 74, 0.18);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.88);
    color: rgba(29, 42, 43, 0.76);
}

.admin-image-preview {
    padding: 1rem;
    border: 1px dashed rgba(41, 77, 74, 0.18);
    border-radius: 1rem;
    background: rgba(246, 240, 231, 0.45);
}

.admin-media-picker-shell {
    padding: 1rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.82);
}

.admin-media-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.9rem;
}

.admin-audio-picker-shell {
    padding: 1rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.82);
}

.admin-audio-option-list {
    display: grid;
    gap: 0.75rem;
}

.admin-audio-option {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    text-align: left;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 10px 24px rgba(29, 42, 43, 0.06);
}

.admin-audio-option:hover,
.admin-audio-option:focus {
    border-color: rgba(193, 141, 51, 0.45);
    box-shadow: 0 16px 32px rgba(29, 42, 43, 0.1);
    transform: translateY(-1px);
}

.admin-audio-option.is-selected {
    border-color: rgba(41, 77, 74, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(41, 77, 74, 0.12);
}

.admin-audio-option-name {
    color: var(--core-ink);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}

.admin-audio-option-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: rgba(29, 42, 43, 0.68);
    font-size: 0.88rem;
}

.admin-audio-option-status {
    color: var(--core-forest);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-audio-preview {
    padding: 1rem;
    border: 1px dashed rgba(41, 77, 74, 0.18);
    border-radius: 1rem;
    background: rgba(246, 240, 231, 0.45);
}

.admin-audio-preview-name {
    margin-bottom: 0.75rem;
    color: var(--core-ink);
    font-weight: 600;
}

.admin-preview-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(193, 141, 51, 0.22);
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.94)),
        radial-gradient(circle at top left, rgba(193, 141, 51, 0.12), transparent 14rem);
    box-shadow: 0 16px 34px rgba(29, 42, 43, 0.08);
}

.admin-preview-banner-title {
    color: var(--core-ink);
    font-size: 1.02rem;
    font-weight: 600;
}

.admin-editor-action-bar {
    position: relative;
    z-index: 1;
}

.admin-live-preview-shell {
    display: grid;
    gap: 1.2rem;
}

.admin-media-option {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    overflow: hidden;
    text-align: left;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 10px 24px rgba(29, 42, 43, 0.06);
}

.admin-media-option:hover,
.admin-media-option:focus {
    border-color: rgba(193, 141, 51, 0.45);
    box-shadow: 0 16px 32px rgba(29, 42, 43, 0.1);
    transform: translateY(-1px);
}

.admin-media-option.is-selected {
    border-color: rgba(41, 77, 74, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(41, 77, 74, 0.12);
}

.admin-media-option-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.admin-media-option-body {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 0.9rem 1rem;
}

.admin-media-option-name {
    color: var(--core-ink);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.admin-media-option-status {
    color: var(--core-forest);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-preview-image {
    max-width: 100%;
    width: min(100%, 26rem);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.scheduler-date-list,
.scheduler-slot-grid,
.scheduler-days-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.scheduler-date-pill,
.scheduler-slot-button {
    border-radius: 999px;
}

.scheduler-date-pill {
    min-width: 5.5rem;
}

.scheduler-slot-button {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 9rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    text-align: left;
}

.scheduler-slot-button small {
    color: inherit;
    opacity: 0.72;
}

.scheduler-slot-button.is-selected {
    box-shadow: 0 14px 28px rgba(41, 77, 74, 0.18);
}

.scheduler-slot-summary {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(41, 77, 74, 0.08);
    color: var(--core-forest);
    font-weight: 600;
}

.scheduler-days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
}

.scheduler-day-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    background: rgba(246, 240, 231, 0.52);
}

.admin-availability-table td,
.admin-availability-table th {
    min-width: 7rem;
}

.admin-availability-view-toggle {
    display: flex;
    justify-content: flex-start;
}

.availability-calendar,
.availability-day-details {
    padding: 1.5rem;
}

.availability-calendar-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.availability-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.65rem;
}

.availability-calendar-weekday {
    padding: 0.55rem 0.35rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(29, 42, 43, 0.62);
}

.availability-calendar-day {
    min-width: 0;
    min-height: 9.5rem;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1.1rem;
    background: rgba(255, 253, 248, 0.96);
    text-align: left;
    color: var(--core-ink);
}

.availability-calendar-day:hover,
.availability-calendar-day:focus {
    border-color: rgba(41, 77, 74, 0.28);
    box-shadow: 0 14px 28px rgba(29, 42, 43, 0.08);
}

.availability-calendar-day-muted {
    background: rgba(246, 240, 231, 0.52);
    color: rgba(29, 42, 43, 0.55);
}

.availability-calendar-day-today {
    border-color: rgba(193, 141, 51, 0.5);
    box-shadow: inset 0 0 0 1px rgba(193, 141, 51, 0.22);
}

.availability-calendar-day-selected {
    border-color: rgba(41, 77, 74, 0.4);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(241, 247, 243, 0.96)),
        radial-gradient(circle at top right, rgba(193, 141, 51, 0.08), transparent 12rem);
    box-shadow: 0 18px 34px rgba(29, 42, 43, 0.1);
}

.availability-calendar-day-number {
    font-size: 1rem;
    font-weight: 700;
}

.availability-calendar-day-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-size: 0.82rem;
    color: rgba(29, 42, 43, 0.68);
}

.availability-calendar-day-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
}

.availability-slot-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.52rem;
    border-radius: 999px;
    background: rgba(41, 77, 74, 0.1);
    color: var(--core-forest);
    font-size: 0.78rem;
    font-weight: 600;
}

.availability-slot-chip-booked {
    background: rgba(143, 94, 59, 0.12);
    color: var(--core-clay);
}

.availability-slot-chip-unavailable {
    background: rgba(29, 42, 43, 0.1);
    color: rgba(29, 42, 43, 0.76);
}

.availability-slot-chip-more {
    background: rgba(193, 141, 51, 0.12);
    color: var(--core-gold);
}

.availability-calendar-empty {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(246, 240, 231, 0.78);
    color: rgba(29, 42, 43, 0.72);
}

.availability-day-slot-list {
    display: grid;
    gap: 1rem;
}

.availability-day-slot-card {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1rem;
    background: rgba(255, 253, 248, 0.88);
}

.availability-day-slot-meta {
    display: grid;
    gap: 0.35rem;
    color: rgba(29, 42, 43, 0.75);
    font-size: 0.94rem;
}

.html-editor-shell {
    display: grid;
    gap: 0.85rem;
}

.html-editor-toolbar {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(41, 77, 74, 0.1);
    border-radius: 1rem;
    background: rgba(246, 240, 231, 0.55);
}

.html-editor-mode-switch .btn {
    min-width: 8.5rem;
}

.html-editor-container {
    overflow: hidden;
    border: 1px solid rgba(41, 77, 74, 0.12);
    border-radius: 1.1rem;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.html-editor .ql-toolbar.ql-snow {
    border: 0;
    border-bottom: 1px solid rgba(41, 77, 74, 0.1);
    background: linear-gradient(180deg, rgba(246, 240, 231, 0.7), rgba(255, 253, 248, 0.98));
}

.html-editor .ql-container.ql-snow {
    border: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
}

.html-editor .ql-editor {
    min-height: var(--html-editor-min-height, 320px);
    line-height: 1.7;
    color: var(--core-ink);
}

.html-editor .ql-editor.ql-blank::before {
    color: rgba(29, 42, 43, 0.46);
    font-style: normal;
}

.html-editor-source {
    min-height: var(--html-editor-min-height, 320px);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95rem;
    line-height: 1.55;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 0.9rem 3.5rem 0.9rem 1.25rem;
    background: #fff2f2;
    color: #7a1f1f;
    border-top: 1px solid rgba(122, 31, 31, 0.18);
    box-shadow: 0 -6px 24px rgba(29, 42, 43, 0.12);
}

#blazor-error-ui .reload {
    color: inherit;
    font-weight: 700;
    margin-left: 0.75rem;
}

#blazor-error-ui .dismiss {
    position: absolute;
    right: 1rem;
    top: 0.7rem;
    cursor: pointer;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.public-error-card {
    max-width: 44rem;
    margin: 4rem auto;
    text-align: center;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

@media (max-width: 991.98px) {
    .page-section {
        padding: 2.5rem 0;
    }

    .home-hero-section {
        padding-top: 0;
    }

    .home-hero-band-image-shell,
    .home-hero-band-image {
        min-height: 18rem;
        height: clamp(18rem, 56vw, 28rem);
    }

    .home-intro-panel-overlap {
        margin-top: -2.5rem;
    }

    .home-scripture-card {
        margin-top: 0.25rem;
        max-width: min(100%, 17rem);
        padding: 0.8rem 0.95rem;
    }

    .core-header-logo {
        width: min(14rem, 70vw);
        max-height: 4.25rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1.25rem;
        background: rgba(255, 253, 248, 0.98);
        box-shadow: 0 18px 40px rgba(29, 42, 43, 0.08);
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-link,
    .nav-dropdown-toggle {
        width: 100%;
        text-align: left;
    }

    .nav-cta-item {
        margin-left: 0;
    }

    .public-dropdown-menu {
        position: static !important;
        transform: none !important;
        margin-top: 0.35rem;
        margin-bottom: 0.75rem;
        min-width: 0;
        max-width: 100%;
        box-shadow: none;
        border-radius: 1rem;
    }

    .hero-actions .btn,
    .form-submit-row .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-image {
        min-height: 22rem;
    }

    .page-hero-banner-frame {
        aspect-ratio: 16 / 8;
    }

    .public-page-content-section {
        padding-top: 1.6rem;
    }

    .public-page-float-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 1rem 0 1.5rem;
    }

    .public-page-float-image img {
        aspect-ratio: 16 / 9;
    }

    .full-width-hero-image {
        height: clamp(22rem, 58vh, 38rem);
    }

    .media-picker-current-card-audio {
        grid-template-columns: 1fr;
    }

    .media-picker-current-audio {
        grid-column: 1;
        width: 100%;
    }

    .user-action-row {
        align-items: stretch;
    }

    .user-action-row .btn {
        width: 100%;
    }

    .availability-calendar-day {
        min-height: 8.25rem;
        padding: 0.65rem;
    }

    .availability-calendar-day-summary {
        font-size: 0.76rem;
    }
}

@media (max-width: 575.98px) {
    .core-header-logo {
        width: min(12rem, 72vw);
        max-height: 3.8rem;
    }

    .home-hero-band-image-shell,
    .home-hero-band-image {
        min-height: 15rem;
        height: clamp(15rem, 66vw, 22rem);
    }

    .home-intro-panel-overlap {
        margin-top: -1.5rem;
    }

    .home-intro-panel,
    .home-body-panel {
        border-radius: 1.25rem;
    }

    .availability-calendar,
    .availability-day-details {
        padding: 1.1rem;
    }

    .availability-calendar-header {
        flex-direction: column;
        align-items: stretch;
    }

    .availability-calendar-grid {
        gap: 0.45rem;
    }

    .availability-calendar-weekday {
        font-size: 0.72rem;
        padding-inline: 0.1rem;
    }

    .availability-calendar-day {
        min-height: 6.5rem;
        padding: 0.5rem;
        gap: 0.45rem;
    }

    .availability-slot-chip {
        font-size: 0.7rem;
        padding: 0.18rem 0.42rem;
    }

    .admin-container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .scripture-overlay-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    .public-page-card,
    .public-form-card,
    .content-card,
    .hero-panel,
    .admin-card {
        padding: 1.25rem;
    }

    .hero-trust-strip {
        gap: 0.55rem;
    }

    .trust-pill {
        width: 100%;
        justify-content: center;
    }

    .footer-shell {
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
    }

    .footer-meta {
        justify-content: center;
        text-align: center;
    }

    .footer-meta-copy {
        justify-content: center;
    }

    .page-hero-banner-frame {
        aspect-ratio: 16 / 9;
    }

    .public-page-content-section {
        padding-top: 1.25rem;
    }

    .page-hero-standard-frame,
    .page-hero-standard-image {
        min-height: 14rem;
    }

    .full-width-hero-image {
        height: clamp(20rem, 56vh, 34rem);
    }

    .full-width-hero-frame.hero-fit-contain,
    .full-width-hero-frame.hero-fit-natural,
    .full-width-hero-frame-natural {
        padding: 0.65rem 0;
    }

    .media-picker-grid {
        grid-template-columns: 1fr;
    }

    .user-mobile-meta-grid,
    .user-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
