:root {
    --site-bg: #f4f1ea;
    --surface: #ffffff;
    --surface-soft: #ece5da;
    --ink: #1d2128;
    --muted: #617082;
    --line: rgba(29, 33, 40, 0.08);
    --brand: #8b1e1e;
    --brand-dark: #5e1212;
    --brand-soft: #d6b08e;
    --accent: #c9a46c;
    --navy: #1f2e3d;
    --shadow: 0 24px 60px rgba(19, 23, 29, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(201, 164, 108, 0.18), transparent 28%),
        linear-gradient(180deg, #f7f3ec 0%, #f2efe8 45%, #ece7df 100%);
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
    color: inherit;
}

.site-header .navbar {
    background: rgba(244, 241, 234, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(29, 33, 40, 0.06);
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-title {
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.brand-subtitle {
    color: var(--muted);
}

.search-box {
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem;
    border: 1px solid rgba(29, 33, 40, 0.08);
    min-width: 320px;
}

.search-box .form-control,
.search-box .form-control:focus {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.btn-search,
.btn-hero,
.btn-donation {
    border-radius: 999px;
    padding: 0.75rem 1.4rem;
    font-weight: 600;
}

.btn-search,
.btn-hero {
    background: var(--brand);
    color: #fff;
}

.btn-search:hover,
.btn-hero:hover {
    background: var(--brand-dark);
    color: #fff;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    min-height: 540px;
    box-shadow: var(--shadow);
}

.hero-slide img {
    width: 100%;
    height: 540px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 22, 28, 0.88) 0%, rgba(18, 22, 28, 0.42) 55%, rgba(18, 22, 28, 0.18) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 2rem;
    color: #fff;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
    max-width: 680px;
    margin-bottom: 1rem;
}

.hero-content p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
}

.hero-eyebrow,
.section-kicker,
.highlight-label,
.podcast-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
}

.section-kicker,
.highlight-label,
.podcast-badge {
    color: var(--brand);
}

.custom-indicators button {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: rgba(29, 33, 40, 0.18);
}

.custom-indicators button.active {
    background: var(--brand);
}

.highlight-card,
.news-card,
.donation-card,
.agenda-card,
.media-card,
.address-card,
.podcast-card,
.verse-box,
.campaign-box {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.highlight-card {
    background: linear-gradient(145deg, #fff, #f6f0e7);
    padding: 1.5rem;
    border: 1px solid rgba(29, 33, 40, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover,
.news-card:hover,
.media-card:hover,
.address-card:hover,
.podcast-card:hover {
    transform: translateY(-4px);
}

.highlight-card h3,
.news-card h3,
.media-card h3,
.address-card h3,
.podcast-card h3 {
    font-size: 1.25rem;
    margin: 0.8rem 0;
}

.highlight-card p,
.news-card p,
.media-card p,
.address-card p,
.podcast-card p,
.footer-text,
.campaign-box p {
    color: var(--muted);
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2,
.campaign-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    margin-bottom: 0;
}

.news-card,
.address-card,
.podcast-card {
    background: rgba(255, 255, 255, 0.82);
    padding: 1.5rem;
    border: 1px solid rgba(29, 33, 40, 0.06);
}

.news-date {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 600;
}

.news-link {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
}

.donation-card {
    background: linear-gradient(180deg, var(--navy), #101a24);
    color: #fff;
    padding: 2rem;
}

.donation-card p {
    color: rgba(255, 255, 255, 0.76);
}

.btn-donation {
    background: var(--accent);
    color: #1b1510;
}

.campaign-section {
    color: #fff;
}

.campaign-box {
    background: linear-gradient(135deg, var(--brand-dark), #2a0d0d 60%, #1c2230 100%);
    padding: 2.25rem;
}

.countdown-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.count-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    text-align: center;
}

.count-item strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
    justify-content: center;
    gap: 1rem;
}

.agenda-card {
    background: #fff;
    padding: 1.4rem;
    border: 1px solid rgba(29, 33, 40, 0.06);
}

.agenda-day {
    color: var(--brand);
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
}

.agenda-time {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.media-card {
    background: #fff;
    overflow: hidden;
    border: 1px solid rgba(29, 33, 40, 0.06);
}

.media-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.media-card-body {
    padding: 1.4rem;
}

.verse-box {
    background: linear-gradient(145deg, #fff7ea, #fff);
    padding: 2.5rem;
    border: 1px solid rgba(139, 30, 30, 0.08);
    text-align: center;
}

.verse-box blockquote {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.5;
    margin: 1rem auto;
    max-width: 820px;
}

.site-footer {
    background: #12161d;
    color: #e9edf2;
}

.footer-title,
.footer-subtitle {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.65rem;
}

.footer-copy {
    color: rgba(233, 237, 242, 0.66);
}

.search-page,
.news-detail-page {
    min-height: 60vh;
}

.search-panel,
.news-detail-card,
.empty-state {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(29, 33, 40, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.search-form-page {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.search-form-page .form-control {
    flex: 1 1 320px;
    min-height: 52px;
    border-radius: 14px;
}

.news-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 18px;
}

.news-detail-content {
    color: var(--muted);
    line-height: 1.8;
    white-space: pre-line;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.news-back-link:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .search-box {
        min-width: 100%;
    }

    .hero-slide,
    .hero-slide img {
        min-height: 480px;
        height: 480px;
    }

    .agenda-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding: 1.5rem;
    }

    .hero-slide,
    .hero-slide img {
        min-height: 420px;
        height: 420px;
    }

    .campaign-box,
    .donation-card,
    .verse-box {
        padding: 1.5rem;
    }

    .countdown-card {
        grid-template-columns: 1fr 1fr;
    }

    .agenda-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
        justify-content: center;
    }

    .search-panel,
    .news-detail-card,
    .empty-state {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .countdown-card,
    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .search-form-page {
        flex-direction: column;
    }

    .search-form-page .btn-search {
        width: 100%;
    }
}
