body { background: #fff; color: var(--jemj-ink); font-family: 'DM Sans', system-ui, sans-serif; }
.staff-role-disabled { background: #edf0f2; color: #65717a; }
.staff-role-disabled label { cursor: not-allowed; }
.admin-nav-toggle { background: transparent; border: 0; border-radius: .4rem; color: var(--jemj-navy); font-size: .9rem; padding: .45rem .8rem; }
.admin-nav-toggle:hover, .admin-nav-toggle.is-active { background: var(--jemj-sky); }
.admin-nav-toggle:focus-visible { outline: 3px solid var(--jemj-blue); outline-offset: 2px; }
.admin-navigation .dropdown-menu { border-color: var(--jemj-border); box-shadow: 0 .5rem 1.5rem rgb(7 56 93 / 12%); max-width: 90vw; min-width: 230px; }
.admin-navigation .dropdown-item { white-space: normal; }
.admin-nav-heading { border-top: 1px solid var(--jemj-border); color: var(--jemj-muted); font-size: .78rem; font-weight: 700; margin: .6rem 0 .2rem; padding: .6rem .8rem 0; }
.staff-identity { color: var(--jemj-navy); display: block; font-size: .85rem; padding: .5rem; }
.staff-identity small { color: var(--jemj-muted); display: block; }
.format-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.about-story > p, .about-intro { text-align: justify; hyphens: none; }
.promotional-video-section { padding-top: 0; }
.promotional-video-card { align-items: center; background: var(--jemj-cloud); border: 1px solid var(--jemj-border); border-radius: 1.5rem; display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: clamp(1.25rem, 3vw, 2.5rem); }
.promotional-video-copy h2 { color: var(--jemj-navy); font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.16; margin-bottom: .75rem; }
.promotional-video-reference { border-left: 3px solid var(--jemj-gold); color: var(--jemj-muted); font-size: .95rem; margin-bottom: 1.5rem; padding-left: .75rem; }
.promotional-video-copy .lead { color: var(--jemj-muted); font-size: 1.05rem; line-height: 1.7; }
.promotional-video-media { min-width: 0; }
.promotional-video-player { aspect-ratio: 16 / 9; background: var(--jemj-navy); border-radius: 1rem; box-shadow: var(--jemj-shadow); min-height: 200px; overflow: hidden; position: relative; }
.promotional-video-play { background: none; border: 0; cursor: pointer; display: block; height: 100%; padding: 0; position: absolute; width: 100%; }
.promotional-video-play img { display: block; height: 100%; object-fit: cover; width: 100%; }
.promotional-video-play-icon { align-items: center; background: white; border: 1px solid var(--jemj-border); border-radius: 50%; box-shadow: 0 4px 24px rgb(0 0 0 / 30%); color: var(--jemj-blue); display: flex; height: 72px; justify-content: center; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 72px; }
.promotional-video-play:hover .promotional-video-play-icon { background: var(--jemj-blue); color: white; }
.promotional-video-play:focus-visible { outline: 4px solid var(--jemj-gold); outline-offset: -5px; }
.promotional-video-player iframe { border: 0; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.promotional-video-youtube { color: var(--jemj-blue); display: block; font-size: .9rem; margin-top: .8rem; text-align: right; text-underline-offset: .2em; }
@media (max-width: 767px) { .promotional-video-card { grid-template-columns: minmax(0, 1fr); } }
.staff-header { position: sticky; top: 0; z-index: 100; }
.staff-header-caption { color: var(--jemj-muted); display: block; font-size: .75rem; letter-spacing: 0; }
.staff-account-button { max-width: min(45vw, 240px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-header .admin-navigation { position: static; box-shadow: none; }
.staff-header .admin-navigation-label { display: none; }
.legal-copy h2 { color: var(--jemj-blue); font-family: 'DM Sans', sans-serif; font-size: 1.3rem; font-weight: 700; margin: 2rem 0 1rem; }
.legal-copy strong { color: var(--jemj-blue); }
.cookie-details h2 { color: var(--jemj-blue); font-weight: 700; }
.about-story { max-width: 860px; }
.about-story > p { line-height: 1.85; margin-bottom: 1.5rem; }
.about-intro { line-height: 1.8; }
.about-prayer { border-left: 4px solid var(--jemj-gold); color: var(--jemj-navy); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin: 2.5rem 0 0; padding: 1.5rem; }
.about-gallery { margin-left: auto; margin-right: auto; max-width: 1100px; }
.admin-navigation { background: white; border-bottom: 1px solid var(--jemj-border); box-shadow: 0 3px 12px rgb(7 56 93 / 6%); position: sticky; top: 0; z-index: 100; }
.admin-navigation-desktop { align-items: center; display: flex; flex-wrap: wrap; gap: .5rem; padding: .6rem 0; }
.admin-navigation-label { color: var(--jemj-muted); font-size: .8rem; font-weight: 700; margin-right: .5rem; }
.admin-navigation a { border-radius: .4rem; color: var(--jemj-navy); display: block; font-size: .9rem; padding: .45rem .8rem; text-decoration: none; }
.admin-navigation a:hover, .admin-navigation a[aria-current="page"] { background: var(--jemj-sky); }
.admin-navigation-mobile { display: none; }
.header-preview { height: 160px; object-fit: cover; width: 100%; }
@media (max-width: 767px) {
    .admin-navigation-desktop { display: none; }
    .admin-navigation-mobile { display: block; }
    .admin-navigation-mobile summary { color: var(--jemj-navy); cursor: pointer; font-weight: 700; padding: .8rem 0; }
    .admin-navigation-mobile summary span { color: var(--jemj-muted); font-size: .85rem; font-weight: 400; }
    .admin-navigation-options { max-height: 40vh; overflow-y: auto; padding-bottom: .5rem; }
}
.site-header { background: rgb(255 255 255 / 96%); border-bottom: 1px solid rgb(7 56 93 / 7%); position: relative; z-index: 10; }
.site-header .navbar { min-height: 4.8rem; }
.nav-link { color: var(--jemj-ink); font-size: .95rem; font-weight: 600; }
.nav-link:hover { color: var(--jemj-blue); }
.locale-picker select { border-color: var(--jemj-border); font-size: .74rem; font-weight: 700; letter-spacing: .05em; width: 4.25rem; }
.flash-wrap { left: 0; position: fixed; right: 0; top: 5.5rem; z-index: 1000; }
.hero-section { align-items: center; display: flex; min-height: min(720px, calc(100vh - 4.8rem)); overflow: hidden; position: relative; }
.hero-image, .hero-overlay { height: 100%; inset: 0; position: absolute; width: 100%; }
.hero-image { object-fit: cover; object-position: center 42%; }
.hero-overlay { background: linear-gradient(90deg, rgb(3 27 47 / 88%) 0%, rgb(3 27 47 / 64%) 48%, rgb(3 27 47 / 28%) 100%); }
.hero-content { color: white; position: relative; z-index: 1; }
.hero-content h1 { color: white; line-height: 1.05; max-width: 750px; }
.hero-content h1 em { color: #d9eefd; font-weight: 600; }
.hero-lead { font-size: clamp(1.1rem, 2.1vw, 1.35rem); max-width: 600px; }
.hero-registration-note { color: #d9eefd; margin-bottom: 1.75rem; max-width: 600px; }
.btn-hero-outline { border-color: rgb(255 255 255 / 75%); color: white; }
.btn-hero-outline:hover { background: white; border-color: white; color: var(--jemj-navy); }
.section-pad { padding: clamp(2rem, 4vw, 3rem) 0; }
main > :is(.page-banner, .form-hero, .portal-banner) + .section-pad { padding-top: clamp(1.5rem, 3vw, 2rem); }
.page-back-link { padding-top: 1rem; padding-bottom: .25rem; }
.page-back-link + .section-pad { padding-top: .75rem; }
.section-tint { background: var(--jemj-cloud); }
.choice-card, .journey-card { border: 1px solid var(--jemj-border); border-radius: var(--jemj-radius); color: var(--jemj-ink); display: block; padding: 2rem; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.choice-card:hover, .journey-card:hover { box-shadow: var(--jemj-shadow); color: var(--jemj-ink); transform: translateY(-3px); }
.choice-card-blue { background: var(--jemj-navy); border-color: var(--jemj-navy); color: white; }
.choice-card-blue:hover, .choice-card-blue:focus-visible { color: white; }
.choice-card-blue h3, .choice-card-blue .choice-link { color: white; }
.choice-card h3 { font-size: 1.5rem; margin-top: 1rem; }
.choice-number { color: var(--jemj-gold); font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
.choice-link { color: var(--jemj-blue); font-weight: 700; }
.service-card { background: white; border-radius: .75rem; padding: 1.35rem; }
.service-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; }
.service-link, .service-link:hover, .service-link:focus-visible { color: var(--jemj-blue); font-weight: 600; }
.event-dates { background: var(--jemj-cloud); border: 1px solid var(--jemj-border); border-radius: .75rem; margin-bottom: 2rem; padding: 1rem; font-size: .9rem; }
.event-dates strong { color: var(--jemj-navy); display: block; margin-bottom: .3rem; }
.social-links { display: flex; gap: .45rem; }
.social-links a { align-items: center; border: 1px solid var(--jemj-border); border-radius: 50%; color: var(--jemj-navy); display: inline-flex; height: 2rem; justify-content: center; width: 2rem; }
.social-links a:hover { background: var(--jemj-sky); color: var(--jemj-blue); }
.social-links svg { height: 1rem; width: 1rem; }
.footer-brand { align-items: center; display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .official-logo { max-width: 260px; width: 100%; }
.footer-brand .official-motto { background: white; border-radius: .4rem; max-width: 400px; padding: .65rem; width: 100%; }
.legal-copy { white-space: normal; line-height: 1.8; }
.legal-copy p { margin-bottom: 1.2rem; text-align: justify; hyphens: none; }
.press-principles-copy p { text-align: justify; -webkit-hyphens: none; hyphens: none; }
.honeypot { position: absolute; left: -10000px; }
.donation-banner { align-items: center; background: linear-gradient(120deg, var(--jemj-navy), var(--jemj-blue)); border-radius: var(--jemj-radius); color: white; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); padding: clamp(1.5rem, 4vw, 3rem); }
.donation-banner h2 { color: white; }
.donation-banner .eyebrow { color: #d9eefd; }
.donation-banner p { margin-bottom: 0; }
.donation-banner > div { min-width: 0; }
.donation-bizum { background: white; border-radius: .75rem; color: var(--jemj-navy); padding: 1.5rem; }
.donation-bizum > span { font-size: .85rem; font-weight: 700; }
.donation-bizum strong { display: block; font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: .12em; }
.donation-bizum p { font-size: .95rem; }
.donation-bizum small { display: block; margin-top: 1rem; }
@media (max-width: 767px) { .donation-banner { grid-template-columns: 1fr; } }
.page-banner, .form-hero, .portal-banner { background: linear-gradient(120deg, var(--jemj-navy), var(--jemj-blue)); color: white; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.page-banner h1, .form-hero h1, .portal-banner h1 { color: white; margin-bottom: .5rem; }
.page-banner .eyebrow, .form-hero .eyebrow, .portal-banner .eyebrow { color: #d9eefd; }
.form-hero.compact { padding: 3.8rem 0; }
.form-hero p, .portal-banner p { color: rgb(255 255 255 / 83%); font-size: 1.08rem; max-width: 690px; }
.form-container { max-width: 920px; }
.narrow-container { max-width: 640px; }
.form-card, .notice-card, .portal-card { background: white; border: 1px solid var(--jemj-border); border-radius: var(--jemj-radius); box-shadow: var(--jemj-shadow); padding: clamp(1.5rem, 4vw, 2.6rem); }
.form-card-heading { border-bottom: 1px solid var(--jemj-border); margin-bottom: 1.75rem; padding-bottom: 1.25rem; }
.form-card-heading h2 { font-size: 1.8rem; margin: .55rem 0; }
.form-card-heading p { color: var(--jemj-muted); margin-bottom: 0; }
.step-chip, .status-pill { background: var(--jemj-sky); border-radius: 999px; color: var(--jemj-navy); display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: .35rem .7rem; text-transform: uppercase; }
.form-label { color: var(--jemj-navy); font-weight: 700; }
.form-control, .form-select { border-color: #c7d5dc; border-radius: .55rem; min-height: 2.85rem; }
.form-control:focus, .form-select:focus { border-color: var(--jemj-blue); box-shadow: 0 0 0 .2rem rgb(10 93 147 / 15%); }
.notice-card { background: #f0f8fc; border-color: #c9e6f5; box-shadow: none; }
.notice-card h2 { font-size: 1.45rem; }
.journey-card { padding: clamp(1.6rem, 4vw, 2.6rem); }
.journey-card h2 { font-size: 2rem; margin-top: 1.25rem; }
.journey-card p { color: var(--jemj-muted); }
.icon-orb { align-items: center; background: var(--jemj-sky); border-radius: 50%; color: var(--jemj-navy); display: inline-flex; font-size: 1.3rem; height: 3rem; justify-content: center; width: 3rem; }
.auth-shell { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 4.8rem); }
.auth-image { background: linear-gradient(rgb(3 27 47 / 25%), rgb(3 27 47 / 40%)), url('/images/brand/hero-altar.jpg') center / cover; min-height: 260px; }
.auth-panel { align-items: center; display: flex; justify-content: center; padding: 3rem 1.5rem; }
.auth-card { max-width: 440px; width: 100%; }
.portal-banner { padding: 4rem 0; }
.portal-card { box-shadow: none; }
.member-menu-toggle { line-height: 1; padding: .4rem .65rem; font-size: 1.35rem; }
.member-menu { position: fixed; z-index: 1040; min-width: 14rem; max-width: min(23rem, calc(100vw - 16px)); max-height: calc(100vh - 16px); overflow-y: auto; box-shadow: var(--jemj-shadow); }
.member-menu[hidden] { display: none; }
.member-menu .dropdown-item, .member-menu .dropdown-item-text { white-space: normal; }
.member-menu a { color: var(--jemj-navy); }
.member-is-minor > * { --bs-table-bg: var(--jemj-minor-row, #f0f7fc); }
.member-is-responsible > * { --bs-table-bg: var(--jemj-responsible-row, #eaf5ef); }
.minor-legend { display: inline-block; width: .9rem; height: .9rem; background: var(--jemj-minor-row, #f0f7fc); border: 1px solid var(--jemj-border); vertical-align: middle; margin-right: .25rem; }
.member-is-pending > * { --bs-table-bg: var(--jemj-pending-row, #fff7e8); }
.member-is-unverified:not(.member-is-pending):not(.member-is-transfer) > * { --bs-table-bg: #fcece8; }
.unverified-legend { display: inline-block; width: .9rem; height: .9rem; background: #fcece8; border: 1px solid var(--jemj-border); vertical-align: middle; margin-right: .25rem; }
.pending-legend { display: inline-block; width: .9rem; height: .9rem; background: var(--jemj-pending-row, #fff7e8); border: 1px solid var(--jemj-border); vertical-align: middle; margin-right: .25rem; }
.member-is-transfer > * { --bs-table-bg: var(--jemj-transfer-row, #f2edfc); }
.responsible-legend, .transfer-legend { display: inline-block; width: .9rem; height: .9rem; border: 1px solid var(--jemj-border); vertical-align: middle; margin-right: .25rem; }
.responsible-legend { background: var(--jemj-responsible-row, #eaf5ef); }
.transfer-legend { background: var(--jemj-transfer-row, #f2edfc); }
.member-actions-cell { width: 5rem; }
.staff-edition-selector { min-width: 0; max-width: 100%; flex: 0 1 auto; }
.staff-edition-selector select { width: auto; max-width: 100%; text-overflow: ellipsis; }
.is-invalid { scroll-margin-top: 7rem; }
.portal-card h2 { font-size: 1.5rem; }
.order-row { align-items: center; border-top: 1px solid var(--jemj-border); display: flex; justify-content: space-between; padding: .9rem 0; }
.payment-option { border: 1px solid var(--jemj-border); border-radius: .75rem; margin-top: 1rem; padding: 1.2rem; }
.payment-option h2 { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; }
.product-choice { border: 1px solid var(--jemj-border); border-radius: .75rem; cursor: pointer; display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; padding: 1rem; }
.product-choice:has(input:checked) { background: #f0f8fc; border-color: var(--jemj-blue); }
.product-choice small { color: var(--jemj-muted); }
.service-section > summary { cursor: pointer; list-style: none; }
.service-section > summary::-webkit-details-marker { display: none; }
.service-section > summary::after { border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; content: ''; flex-shrink: 0; height: .55rem; transform: rotate(45deg); width: .55rem; }
.service-section[open] > summary::after { transform: rotate(225deg); }
.service-section > summary:focus-visible { outline: 2px solid var(--jemj-blue); outline-offset: 6px; }
.product-price { color: var(--jemj-navy); font-weight: 700; white-space: nowrap; }
.product-price del { color: var(--jemj-muted); font-weight: 400; margin-right: .2rem; }
.service-product-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.service-product-copy { flex: 1; min-width: 0; }
.service-product-image { display: block; width: 260px; max-width: 42%; height: auto; max-height: 180px; object-fit: contain; border-radius: .5rem; background: white; }
.service-product-image-compact { width: 180px; max-width: 100%; max-height: 130px; margin: .75rem auto; }
@media (max-width: 575px) { .service-product-heading { flex-wrap: wrap; } .service-product-copy { flex-basis: 100%; } .service-product-heading > .service-product-image { width: 220px; max-width: 100%; margin-inline: auto; } }
code { background: #edf4f7; border-radius: .25rem; color: var(--jemj-navy); padding: .12rem .3rem; }
.back-to-top { align-items: center; background: var(--jemj-blue); border: 2px solid white; border-radius: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); box-shadow: 0 3px 14px #07385d33; color: white; cursor: pointer; display: flex; height: 46px; justify-content: center; position: fixed; right: max(1rem, env(safe-area-inset-right)); width: 46px; z-index: 1030; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--jemj-navy); }
.back-to-top:focus-visible { outline: 3px solid var(--jemj-gold, #c89c43); outline-offset: 3px; }
.site-footer { background: #062942; color: #cfe1eb; font-size: .9rem; padding: 1.7rem 0; }
.site-footer a { color: white; }
@media (min-width: 992px) { .auth-shell { grid-template-columns: 1fr 1fr; } .auth-image { min-height: 100%; } }
@media (max-width: 991px) { .navbar-nav { align-items: flex-start !important; padding: 1rem 0; } .locale-picker { margin-top: .5rem; } }
