.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 56px;
    height: 50px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 800;
    background: var(--color-primary);
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 17px;
}

.brand-text span {
    color: var(--color-muted);
    font-size: 12px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-navigation a {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--color-primary);
}

.main-navigation .nav-login {
    padding: 10px 18px;
    color: #ffffff;
    background: var(--color-primary);
    border-radius: 8px;
}

.main-navigation .nav-login:hover {
    color: #ffffff;
    background: var(--color-primary-dark);
}

.menu-button {
    display: none;
    border: 0;
    font-size: 26px;
    background: transparent;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            120deg,
            #102352,
            #2857d6
        );
}

.hero::after {
    position: absolute;
    width: 520px;
    height: 520px;
    top: -180px;
    right: -120px;
    content: "";
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(255, 255, 255, 0.12),
            transparent 35%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-label {
    margin: 0 0 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.86;
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 8vw, 88px);
    line-height: 1;
}

.hero-description {
    max-width: 680px;
    margin: 24px 0 32px;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.7;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 9px;
}

.button-primary {
    color: var(--color-primary);
    background: #ffffff;
}

.button-secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.schedule-grid,
.sermon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.schedule-card,
.sermon-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.schedule-card {
    padding: 30px;
    text-align: center;
}

.schedule-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 26px;
    background: #edf2ff;
    border-radius: 50%;
}

.schedule-card h3 {
    margin: 0 0 10px;
}

.schedule-card p {
    margin: 0 0 6px;
    color: var(--color-primary);
    font-weight: 700;
}

.schedule-card small {
    color: var(--color-muted);
}

.sermon-card {
    overflow: hidden;
}

.sermon-image {
    min-height: 190px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    background:
        linear-gradient(
            135deg,
            #163173,
            #4a75eb
        );
}

.sermon-body {
    padding: 24px;
}

.sermon-date {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
}

.sermon-body h3 {
    margin: 10px 0;
}

.sermon-body p {
    color: var(--color-muted);
    line-height: 1.7;
}

.sermon-body a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    padding: 42px 0;
    color: #cbd5ea;
    background: #111b34;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.site-footer p {
    margin: 2px 0;
}

@media (max-width: 900px) {
    .menu-button {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 74px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        background: #ffffff;
        border: 1px solid var(--color-border);
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    .main-navigation.open {
        display: flex;
    }

    .main-navigation a {
        padding: 10px;
    }

    .schedule-grid,
    .sermon-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }
}

/* =========================================================
   FEATURED NEWS
========================================================= */

.featured-news-section {
    padding: 80px 0;
    background: #ffffff;
}

.featured-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.featured-main-news {
    min-width: 0;
}

.featured-main-image {
    position: relative;
    display: block;
    min-height: 480px;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #dfe8e2;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(19, 54, 37, 0.13);
}

.featured-main-image img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-main-image:hover img {
    transform: scale(1.05);
}

.featured-main-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(8, 28, 18, 0.94) 0%,
            rgba(8, 28, 18, 0.56) 45%,
            rgba(8, 28, 18, 0.08) 100%
        );
}

.featured-main-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 38px;
    color: #ffffff;
}

.news-category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 13px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #dfb85c;
    color: #173b29;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.featured-main-content h3 {
    max-width: 720px;
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.18;
}

.featured-main-content p {
    max-width: 650px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.7;
}

.featured-main-content small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.featured-side-news {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.side-news-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 228px;
    overflow: hidden;
    border: 1px solid #e4ece7;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(19, 54, 37, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.side-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(19, 54, 37, 0.13);
}

.side-news-image {
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: #dfe8e2;
}

.side-news-image img {
    width: 100%;
    height: 100%;
    min-height: 228px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.side-news-card:hover .side-news-image img {
    transform: scale(1.06);
}

.side-news-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
}

.side-news-content .news-category {
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 10px;
}

.side-news-content h3 {
    margin: 0 0 10px;
    color: #173b29;
    font-size: 19px;
    line-height: 1.35;
}

.side-news-content p {
    margin: 0 0 14px;
    color: #66766d;
    font-size: 14px;
    line-height: 1.6;
}

.news-read-more {
    color: #286544;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.news-read-more:hover {
    text-decoration: underline;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.news-list-card {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e4ece7;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(19, 54, 37, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.news-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(19, 54, 37, 0.12);
}

.news-list-card > a {
    display: block;
    min-height: 145px;
    overflow: hidden;
    background: #dfe8e2;
}

.news-list-card img {
    width: 100%;
    height: 100%;
    min-height: 145px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-list-card:hover img {
    transform: scale(1.06);
}

.news-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
}

.news-list-content span {
    margin-bottom: 7px;
    color: #b18429;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.news-list-content h3 {
    margin: 0 0 10px;
    color: #173b29;
    font-size: 16px;
    line-height: 1.45;
}

.news-list-content small {
    color: #849188;
    font-size: 12px;
}

.news-view-all {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

/* =========================================================
   FEATURED NEWS RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .featured-news-layout {
        grid-template-columns: 1fr;
    }

    .featured-side-news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

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

    .side-news-image img {
        height: 220px;
        min-height: 220px;
    }

    .news-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-news-section {
        padding: 60px 0;
    }

    .featured-main-image,
    .featured-main-image img {
        min-height: 430px;
    }

    .featured-main-content {
        padding: 26px;
    }

    .featured-main-content h3 {
        font-size: 28px;
    }

    .featured-side-news {
        grid-template-columns: 1fr;
    }

    .side-news-card {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .side-news-image img {
        min-height: 230px;
        height: 100%;
    }

    .news-list-card {
        grid-template-columns: 125px minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .featured-main-image,
    .featured-main-image img {
        min-height: 400px;
    }

    .featured-main-content {
        padding: 22px;
    }

    .featured-main-content h3 {
        font-size: 24px;
    }

    .featured-main-content p {
        font-size: 14px;
    }

    .side-news-card,
    .news-list-card {
        grid-template-columns: 1fr;
    }

    .side-news-image img,
    .news-list-card img {
        width: 100%;
        height: 210px;
        min-height: 210px;
    }
}

.server-status-bar {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.server-status-bar .container {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.server-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.14);
}

.server-status-dot.online {
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.server-status-dot.offline {
    background: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14);
}
