:root {
    --faith-ink: #183047;
    --faith-muted: #69798a;
    --faith-green: #426f5b;
    --faith-wine: #7c4653;
    --faith-gold: #c79a48;
    --faith-paper: #f5f7f6;
    --faith-line: #e4e7e5;
}

.faith-body { background: #fff; color: var(--faith-ink); }
.faith-navbar { box-shadow: 0 8px 28px rgba(24, 48, 71, .06); }
.faith-navbar .navbar-brand { color: var(--faith-ink); }
.faith-navbar .nav-link { color: #526577; font-weight: 650; }
.faith-navbar .nav-link:hover { color: var(--faith-green); }
.faith-hero { min-height: 590px; position: relative; display: grid; align-items: end; background: url("../../../public/img/vida-fe/hero-vida-fe.jpg") center 50%/cover no-repeat; color: #fff; }
.faith-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 44, .94) 0%, rgba(11, 31, 44, .75) 36%, rgba(11, 31, 44, .24) 70%, rgba(11, 31, 44, .08) 100%); }
.faith-hero-content { max-width: 720px; padding: 112px 0 88px; }
.faith-hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); line-height: .95; font-weight: 850; margin: 20px 0 18px; }
.faith-hero p { max-width: 610px; font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: rgba(255,255,255,.86); }
.faith-eyebrow, .faith-date { display: inline-flex; align-items: center; gap: 8px; }
.faith-eyebrow { padding: 9px 14px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12); font-weight: 750; }
.faith-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.faith-section-nav { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--faith-line); position: sticky; top: 75px; z-index: 10; backdrop-filter: blur(12px); }
.faith-section-links { display: grid; grid-template-columns: repeat(5, 1fr); }
.faith-section-links a { min-height: 76px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--faith-muted); font-weight: 750; border-right: 1px solid var(--faith-line); }
.faith-section-links a:first-child { border-left: 1px solid var(--faith-line); }
.faith-section-links a:hover { color: var(--faith-green); background: #f7faf8; }
.faith-section-links a.active { color: var(--faith-green); background: #edf4f0; box-shadow: inset 0 -3px 0 var(--faith-green); }
.faith-section { padding: 88px 0; scroll-margin-top: 140px; }
.faith-section-soft { background: var(--faith-paper); }
.faith-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.faith-section-heading h2, .prayer-section h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; margin: 6px 0 0; }
.faith-kicker { color: var(--faith-green); font-size: .76rem; font-weight: 850; letter-spacing: .08em; }
.faith-date { color: var(--faith-muted); font-weight: 700; }
.faith-card { background: #fff; border: 1px solid var(--faith-line); border-radius: 8px; box-shadow: 0 14px 34px rgba(24,48,71,.065); }
.readings-card, .saint-card { padding: 32px; }
.faith-card-head { display: flex; align-items: center; gap: 16px; }
.faith-card-head span { color: var(--faith-green); font-size: .75rem; font-weight: 850; }
.faith-card-head h3 { font-size: 1.35rem; font-weight: 800; margin: 3px 0 0; }
.faith-icon { width: 52px; height: 52px; display: grid; place-items: center; background: #eaf2ee; color: var(--faith-green); font-size: 1.45rem; border-radius: 8px; flex: 0 0 auto; }
.reading-list { display: grid; margin: 26px 0; border-top: 1px solid var(--faith-line); }
.reading-list div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--faith-line); }
.reading-list span { color: var(--faith-muted); }
.reading-list strong { font-weight: 800; }
.faith-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.faith-source-link { color: var(--faith-muted); font-size: .88rem; font-weight: 700; }
.faith-source-link:hover { color: var(--faith-green); }
.full-readings { padding: 32px; scroll-margin-top: 150px; }
.full-readings-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.full-readings-heading h3 { font-size: 1.65rem; font-weight: 800; margin: 5px 0 0; }
.faith-source-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--faith-line); border-radius: 999px; color: var(--faith-muted); font-size: .84rem; font-weight: 750; white-space: nowrap; }
.faith-source-badge:hover { color: var(--faith-green); border-color: #b9cbc2; }
.readings-accordion { border-top: 1px solid var(--faith-line); }
.readings-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--faith-line); }
.readings-accordion .accordion-button { display: grid; grid-template-columns: 180px 1fr 24px; gap: 18px; padding: 20px 4px; color: var(--faith-ink); background: #fff; box-shadow: none; }
.readings-accordion .accordion-button::after { grid-column: 3; grid-row: 1; }
.readings-accordion .accordion-button span { color: var(--faith-green); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.readings-accordion .accordion-button strong { font-size: 1rem; font-weight: 800; }
.readings-accordion .accordion-button:not(.collapsed) { color: var(--faith-ink); background: #f7faf8; }
.readings-accordion .accordion-body { max-width: 920px; padding: 22px 28px 28px; }
.reading-verse { color: #344b60; font-size: 1.03rem; line-height: 1.8; margin: 0 0 13px; }
.reading-verse sup { display: inline-block; min-width: 24px; color: var(--faith-wine); font-size: .72rem; font-weight: 850; vertical-align: super; }
.reading-attribution { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; color: var(--faith-muted); font-size: .82rem; }
.reading-attribution i { color: var(--faith-wine); }
.gospel-card { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; background: var(--faith-wine); color: #fff; overflow: hidden; position: relative; }
.gospel-card h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; position: relative; }
.gospel-card p { color: rgba(255,255,255,.8); font-size: 1.05rem; position: relative; }
.gospel-quote { position: absolute; top: 16px; right: 24px; font-size: 8rem; color: rgba(255,255,255,.08); }
.season-band { display: grid; grid-template-columns: 64px 220px 1fr; gap: 22px; align-items: center; padding: 24px 28px; background: #fff; border: 1px solid var(--faith-line); border-radius: 8px; }
.season-color { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--season-color); color: #fff; font-size: 1.3rem; border: 1px solid rgba(0,0,0,.08); }
.season-band span { color: var(--faith-muted); font-size: .72rem; font-weight: 850; }
.season-band h3 { font-weight: 800; margin: 3px 0 0; }
.season-description { border-left: 1px solid var(--faith-line); padding-left: 22px; }
.season-description p { color: var(--faith-muted); margin: 4px 0 0; }
.saint-image { min-height: 480px; position: relative; border-radius: 8px; overflow: hidden; background: #dfe4df; }
.saint-image::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(16,37,51,.82)); pointer-events: none; }
.saint-image img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center 20%; display: block; }
.saint-image-label { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; }
.saint-image-label { z-index: 1; }
.saint-card { display: flex; flex-direction: column; justify-content: center; }
.saint-card h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; margin: 12px 0; }
.saint-card > p { color: var(--faith-muted); font-size: 1.12rem; line-height: 1.75; max-width: 700px; }
.saint-feast { display: inline-flex; align-items: center; gap: 8px; color: var(--faith-wine); font-weight: 800; margin-bottom: 20px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(24,48,71,.11); }
.news-visual { aspect-ratio: 3 / 2; position: relative; overflow: hidden; background: #dfe4df; }
.news-visual::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(16,37,51,.52)); }
.news-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.news-card:hover .news-visual img { transform: scale(1.025); }
.news-visual-icon { position: absolute; left: 18px; bottom: 16px; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--faith-green); font-size: 1.15rem; box-shadow: 0 8px 20px rgba(16,37,51,.18); }
.news-content { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.news-content h3 { font-size: 1.25rem; font-weight: 800; margin: 10px 0; }
.news-content time { color: #85919e; font-size: .8rem; margin-bottom: 12px; }
.news-content p { color: var(--faith-muted); flex: 1; }
.news-content > a { font-weight: 800; color: var(--faith-green); }
.prayer-section { background: #17394a; color: #fff; position: relative; overflow: hidden; }
.prayer-section::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 30px 30px; pointer-events: none; }
.prayer-section .container { position: relative; }
.prayer-section p { color: rgba(255,255,255,.68); }
.prayer-search { min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 18px; background: #fff; color: var(--faith-muted); border-radius: 8px; }
.prayer-search input { width: 100%; border: 0; outline: 0; color: var(--faith-ink); }
.prayer-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.prayer-filters button { border: 1px solid rgba(255,255,255,.24); background: transparent; color: rgba(255,255,255,.72); padding: 8px 13px; border-radius: 999px; }
.prayer-filters button.active, .prayer-filters button:hover { background: #fff; color: var(--faith-ink); }
.prayer-card { height: 100%; min-height: 92px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 8px; }
.prayer-card:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }
.prayer-icon { width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 1.25rem; border-radius: 50%; }
.prayer-card small, .prayer-card strong { display: block; }
.prayer-card small { color: rgba(255,255,255,.58); font-size: .72rem; }
.prayer-card strong { margin-top: 3px; }
.prayer-empty { text-align: center; padding: 32px; color: rgba(255,255,255,.7); }
.prayer-empty i { display: block; font-size: 2rem; margin-bottom: 8px; }
.calendar-shell { padding: 26px; }
.calendar-toolbar { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 16px; margin-bottom: 22px; }
.calendar-toolbar h3 { text-align: center; font-size: 1.45rem; font-weight: 800; margin: 0; text-transform: capitalize; }
.calendar-toolbar button { width: 42px; height: 42px; border: 1px solid var(--faith-line); border-radius: 50%; background: #fff; color: var(--faith-ink); }
.liturgical-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--faith-line); border-left: 1px solid var(--faith-line); }
.liturgical-calendar > * { border-right: 1px solid var(--faith-line); border-bottom: 1px solid var(--faith-line); }
.calendar-weekday { padding: 10px; text-align: center; background: #f6f8f7; color: var(--faith-muted); font-size: .75rem; font-weight: 850; }
.faith-calendar-day { min-height: 112px; padding: 9px; background: #fff; }
.faith-calendar-day.is-outside { background: #fafafa; color: #a6afb7; }
.faith-calendar-day.is-today { box-shadow: inset 0 0 0 2px var(--faith-green); }
.calendar-day-number { width: 28px; height: 28px; display: grid; place-items: center; font-weight: 800; }
.is-today .calendar-day-number { border-radius: 50%; background: var(--faith-green); color: #fff; }
.liturgical-event { display: block; margin-top: 5px; padding: 5px 6px; border-left: 3px solid var(--faith-gold); background: #fbf5e8; color: #725418; font-size: .7rem; line-height: 1.2; }
.liturgical-event.feast { border-color: var(--faith-wine); background: #f8eef1; color: var(--faith-wine); }
.liturgical-event.memorial { border-color: #577890; background: #eef4f8; color: #375b74; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: var(--faith-muted); font-size: .85rem; }
.legend-dot { width: 10px; height: 10px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--faith-gold); }
.legend-dot.feast { background: var(--faith-wine); }
.legend-dot.memorial { background: #577890; }
.legend-dot.today { background: var(--faith-green); }
.faith-sources { padding: 44px 0 76px; background: var(--faith-paper); }
.faith-source-note { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 24px; border: 1px solid var(--faith-line); background: #fff; border-radius: 8px; }
.faith-source-note > i { width: 50px; height: 50px; display: grid; place-items: center; color: var(--faith-green); background: #eaf2ee; border-radius: 50%; font-size: 1.3rem; }
.faith-source-note p { margin: 4px 0 0; color: var(--faith-muted); }
.faith-footer { background: #102d3d; color: #fff; }
.faith-footer p { color: rgba(255,255,255,.64); }

@media (max-width: 991px) {
    .faith-hero { min-height: 560px; }
    .faith-section-nav { top: 0; }
    .faith-section-links span { display: none; }
    .faith-section-links a { min-height: 58px; font-size: 1.15rem; }
    .faith-section-heading { align-items: flex-start; flex-direction: column; }
    .full-readings-heading { align-items: flex-start; flex-direction: column; }
    .season-band { grid-template-columns: 64px 1fr; }
    .season-description { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--faith-line); padding: 18px 0 0; }
}

@media (max-width: 767px) {
    .faith-hero { min-height: 540px; background-position: 63% center; }
    .faith-hero-shade { background: linear-gradient(180deg, rgba(11,31,44,.25) 0%, rgba(11,31,44,.76) 58%, rgba(11,31,44,.96) 100%); }
    .faith-hero-content { padding: 72px 0 54px; }
    .faith-section { padding: 58px 0; }
    .reading-list div { grid-template-columns: 1fr; gap: 4px; }
    .readings-accordion .accordion-button { grid-template-columns: 1fr 24px; gap: 5px 12px; }
    .readings-accordion .accordion-button span, .readings-accordion .accordion-button strong { grid-column: 1; }
    .readings-accordion .accordion-button::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .readings-accordion .accordion-body { padding: 20px 4px 24px; }
    .calendar-shell { padding: 16px; overflow: hidden; }
    .calendar-toolbar { grid-template-columns: 36px 1fr 36px; gap: 8px; margin-bottom: 16px; }
    .calendar-toolbar h3 { font-size: 1.08rem; }
    .calendar-toolbar button { width: 36px; height: 36px; }
    .liturgical-calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--faith-line); border-left: 1px solid var(--faith-line); gap: 0; }
    .calendar-weekday { display: block; padding: 8px 1px; font-size: .62rem; }
    .faith-calendar-day { min-width: 0; min-height: 58px; padding: 5px 2px; display: flex; flex-direction: column; align-items: center; border: 0; }
    .faith-calendar-day.is-outside { display: flex; }
    .calendar-day-number { width: 25px; height: 25px; font-size: .78rem; }
    .liturgical-event { width: 7px; height: 7px; min-height: 7px; margin: 3px auto 0; padding: 0; border: 0; border-radius: 50%; background: var(--faith-gold); color: transparent; font-size: 0; overflow: hidden; }
    .liturgical-event.feast { background: var(--faith-wine); }
    .liturgical-event.memorial { background: #577890; }
    .calendar-legend { gap: 10px 14px; margin-top: 14px; font-size: .75rem; }
}

@media (max-width: 575px) {
    .faith-navbar .navbar-brand { gap: 6px !important; font-size: .88rem; white-space: nowrap; }
    .faith-navbar .brand-mark { width: 39px; height: 39px; font-size: .95rem; }
    .faith-navbar .navbar-toggler { padding: 5px 8px; }
    .faith-hero h1 { font-size: 3.4rem; }
    .faith-hero-actions .btn { width: 100%; }
    .readings-card, .saint-card, .gospel-card, .calendar-shell, .full-readings { padding: 22px; }
    .faith-section-links a { min-height: 52px; }
    .season-band { padding: 20px; grid-template-columns: 52px 1fr; }
    .season-color { width: 48px; height: 48px; }
    .faith-source-note { grid-template-columns: 1fr; }
    .saint-image, .saint-image img { min-height: 410px; }
}
