/* Chamberi Font Family */
@font-face {
    font-family: "Chamberi";
    src: url("font/ChamberiHeadline-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Chamberi";
    src: url("font/ChamberiHeadline-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Global Font */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-radius: 0;
    margin: 0;
    transition:
        background 0.4s ease,
        backdrop-filter 0.4s ease,
        border-color 0.4s ease,
        top 0.4s ease,
        left 0.4s ease,
        right 0.4s ease,
        border-radius 0.4s ease,
        margin 0.4s ease,
        padding 0.4s ease;
    border: 1px solid transparent;
}

.navbar.is-scrolled {
    top: 16px;
    left: 24px;
    right: 24px;
    padding: 0 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.navbar__left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.navbar__logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.navbar__menu ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar__menu a {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar__menu a:hover {
    color: #fff;
}

.navbar__sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    list-style: none;
    user-select: none;
}

/* ─── Dropdown ─────────────────────────────────────── */
.navbar__has-dropdown {
    position: relative;
    list-style: none;
}

.navbar__dropdown-toggle {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.navbar__dropdown-toggle:hover {
    color: #fff;
}

.navbar__chevron {
    transition: transform 0.22s ease;
    opacity: 0.6;
}

.navbar__has-dropdown.is-open .navbar__chevron,
.navbar__dropdown-toggle[aria-expanded="true"] .navbar__chevron {
    transform: rotate(180deg);
}

.navbar__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(15, 15, 15, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 200;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    /* Animate */
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    pointer-events: none;
}

.navbar__has-dropdown:hover .navbar__dropdown,
.navbar__has-dropdown.is-open .navbar__dropdown {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Bridge gap so mouse can transit from link to dropdown */
.navbar__has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
}

.navbar__dropdown li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar__dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    transition:
        color 0.15s,
        background 0.15s;
}

.navbar__dropdown a:hover {
    color: #fff;
    background: rgba(255, 122, 20, 0.15);
    color: rgb(255, 122, 20);
}

.navbar__right {
    display: flex;
    align-items: center;
}

.navbar__btn {
    display: inline-block;
    padding: 10px 28px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease;
}

.navbar__btn:hover {
    background-color: #333;
}

/* ===== BUTTON PRIMARY ===== */
.button-primary {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 0;
    background-color: #fff;
    border: none;
    color: #1a1a1a;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    z-index: 1;
    transition: color 0.35s ease;
}

.button-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 122, 20);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}

.button-primary:hover::before {
    transform: scaleX(1);
}

.button-primary:hover {
    color: #fff;
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.75) 100%
        ),
        url("image/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0 64px 80px;
}

.hero__inner {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.hero__tagline {
    flex: 1;
    font-family: var(--font-heading);
    font-size: clamp(2.236rem, 6vw, 4.854rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 600px;
    margin: 0;
}

.hero__card {
    flex-shrink: 0;
    width: 520px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero__card-title {
    font-size: 2.618rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0;
}

.hero__card-desc {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.618;
    margin: 0;
}

.hero__card .button-primary {
    margin-top: 8px;
    align-self: flex-start;
}

/* ===== SECTION 2 ===== */
.section-2 {
    background-color: #0d0d0d;
    position: relative;
    overflow: hidden;
}

.section-2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: 120px;
    background: rgb(255, 122, 20);
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ===== JADWAL MISA ===== */
.jadwal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 64px;
    position: relative;
    z-index: 1;
}

.jadwal__header {
    margin-bottom: 72px;
}

.jadwal__label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 16px;
}

.jadwal__title {
    font-size: clamp(2.618rem, 4vw, 4.236rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}

.jadwal__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.jadwal__card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jadwal__card:hover {
    border-color: #1a1a1a;
    transform: translateY(-4px);
}

.jadwal__card--highlight {
    background: rgb(255, 122, 20);
}

.jadwal__card--highlight .jadwal__hari {
    color: rgb(255, 255, 255);
}

.jadwal__card--highlight .jadwal__waktu {
    color: rgb(255, 255, 255);
}

.jadwal__card--highlight .jadwal__nama {
    color: rgba(255, 255, 255, 0.85);
}

.jadwal__card--highlight:hover {
    border-color: #fff;
    transform: translateY(-4px);
}

.jadwal__hari {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
}

.jadwal__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jadwal__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.jadwal__card--highlight .jadwal__item {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.jadwal__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jadwal__waktu {
    font-size: 1.618rem;
    font-weight: 600;
    color: black;
    line-height: 1;
    letter-spacing: -0.01em;
}

.jadwal__nama {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.01em;
}

/* ===== MOBILE NAVBAR ===== */
.navbar__mobile {
    display: none;
    align-items: center;
    gap: 16px;
}

.navbar__toggle {
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.03em;
    padding: 0;
}

.navbar__mobile-btn {
    padding: 8px 20px;
}

/* ===== OFFCANVAS ===== */
.offcanvas {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
}

.offcanvas.is-open {
    display: block;
}

.offcanvas__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.offcanvas__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 48px);
    max-width: 420px;
    max-height: calc(100% - 48px);
    overflow-y: auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 56px 32px 48px;
    animation: fadeScaleIn 0.3s ease;
}

@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.offcanvas__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.offcanvas__close:hover {
    opacity: 1;
}

.offcanvas__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.offcanvas__menu a {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}

.offcanvas__menu a:hover {
    opacity: 0.7;
}

/* ─── Offcanvas accordion ───────────────────────────── */
.offcanvas__has-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    list-style: none;
}

.offcanvas__acc-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.04em;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s;
}

.offcanvas__acc-toggle:hover {
    opacity: 0.7;
}

.offcanvas__acc-arrow {
    font-size: 0.9rem;
    display: inline-block;
    transition: transform 0.25s ease;
    opacity: 0.5;
}

.offcanvas__acc-toggle[aria-expanded="true"] .offcanvas__acc-arrow {
    transform: rotate(180deg);
}

.offcanvas__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        opacity 0.3s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.offcanvas__submenu.is-open {
    max-height: 300px;
    opacity: 1;
    padding-top: 16px;
}

.offcanvas__submenu a {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
}

.offcanvas__btn {
    padding: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 24px;
    }

    .navbar__menu,
    .navbar__right {
        display: none;
    }

    .navbar__mobile {
        display: flex;
    }

    .hero {
        height: 100vh;
        background-position: center;
        padding: 0 24px 48px;
    }

    .hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .hero__card {
        width: 100%;
    }

    .section-2 {
        height: auto;
    }

    .jadwal {
        padding: 80px 24px;
    }

    .jadwal__header {
        margin-bottom: 48px;
    }

    .jadwal__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.font-italic {
    font-style: italic;
}

.font-bold {
    font-weight: bold;
}

/* ===== SEJARAH ===== */
.sejarah {
    min-height: 100vh;
    background-color: #0d0d0d;
    display: flex;
    align-items: center;
    padding: 120px 64px;
}

.sejarah__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.sejarah__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    position: sticky;
    top: 120px;
}

.sejarah__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.sejarah__body {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin: 0;
    text-indent: 2em;
}

.sejarah__right {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.sejarah__quote {
    font-family: var(--font-primary);
    font-size: clamp(1.618rem, 2.5vw, 2.618rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.sejarah__img-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.sejarah__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    filter: grayscale(30%) brightness(0.85);
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.sejarah__img:hover {
    transform: scale(1.03);
    filter: grayscale(0%) brightness(1);
}

@media (max-width: 768px) {
    .sejarah {
        padding: 80px 24px;
    }

    .sejarah__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sejarah__left {
        position: static;
    }
}

/* ===== BERITA ===== */
.berita {
    min-height: 100vh;
    background-color: #0d0d0d;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 64px;
}

/* Diagonal orange light beam: top-left → bottom-right */
.berita::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -15%;
    width: 70%;
    height: 70%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 122, 20, 0.55) 0%,
        transparent 70%
    );
    filter: blur(72px);
    transform: rotate(-35deg) translate(0, 0);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

.berita::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -15%;
    width: 55%;
    height: 55%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 122, 20, 0.3) 0%,
        transparent 70%
    );
    filter: blur(90px);
    transform: rotate(-35deg);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

.berita__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.berita__header {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

.berita__header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
}

.berita__label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.berita__counter {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.06em;
}

.berita__counter-sep {
    margin: 0 4px;
}

.berita__title {
    font-size: clamp(1.618rem, 2.8vw, 2.618rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0;
    white-space: pre-line;
}

.berita__viewport {
    position: relative;
    overflow: hidden;
}

.berita__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 24px;
    align-items: end;
}

.berita__card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.berita__card-img-wrap {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.berita__card-img-wrap--short {
    height: 280px;
}

.berita__card-img-wrap--tall {
    height: 420px;
}

.berita__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.berita__card-img--mono {
    filter: grayscale(100%) brightness(0.8);
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.berita__card:hover .berita__card-img--mono {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.04);
}

.berita__card:hover .berita__card-img:not(.berita__card-img--mono) {
    transform: scale(1.04);
}

.berita__card-overlay {
    display: none;
}

.berita__card-body {
    padding: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.berita__card-tag {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.berita__card--featured .berita__card-tag {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
}

.berita__card-title {
    font-size: 1.1.3rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.55;
    margin: 0;
}

.berita__card--featured .berita__card-title {
    font-size: 1.45rem;
    line-height: 1.45;
    font-weight: 500;
}

.berita__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.berita__nav-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.berita__nav-btn:hover {
    color: #fff;
}

.berita__nav-center {
    display: flex;
    align-items: center;
    gap: 16px;
}

.berita__nav-current {
    font-size: 2.618rem;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.berita__nav-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

.berita__nav-total {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.berita__dots {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 8px;
}

.berita__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.berita__dot--active {
    background: #fff;
    width: 10px;
    height: 10px;
}

.berita__footer {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

@media (max-width: 768px) {
    .berita {
        padding: 72px 24px;
    }

    .berita__inner {
        gap: 40px;
    }

    .berita__header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .berita__title {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
    }

    /* Single card on mobile — JS renders only 1 card at a time */
    .berita__grid {
        grid-template-columns: 1fr;
    }

    .berita__card-img-wrap--tall,
    .berita__card-img-wrap--short {
        height: 280px;
        border-radius: 12px;
    }

    .berita__card-tag {
        font-size: 0.78rem;
    }

    .berita__card-title {
        font-size: 1.2rem;
        line-height: 1.55;
    }

    .berita__card--featured .berita__card-title {
        font-size: 1.4rem;
    }

    /* On mobile, side cards never show, so mono filter not needed */
    .berita__card-img--mono {
        filter: none;
    }

    .berita__nav {
        flex-direction: column-reverse;
        gap: 16px;
        align-items: center;
        border-top: none;
        padding-top: 0;
    }

    .berita__nav-center {
        flex-direction: row;
        gap: 12px;
    }

    .berita__nav-current {
        font-size: 1.618rem;
    }

    .berita__footer {
        padding-top: 8px;
    }
}

/* ===== PENGUMUMAN ===== */
.pengumuman {
    background: #0d0d0d;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 64px;
}

.pengumuman__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.pengumuman__topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.pengumuman__intro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pengumuman__eyebrow {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.pengumuman__title {
    font-size: clamp(1.618rem, 2.8vw, 2.618rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

.pengumuman__nav {
    display: flex;
    gap: 24px;
    padding-bottom: 4px;
}

.pengumuman__nav-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.pengumuman__nav-btn:hover {
    color: #fff;
}

.pengumuman__viewport {
    position: relative;
    overflow: hidden;
}

.pengumuman__grid {
    display: grid;
    grid-template-columns: 1fr 1.618fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Image wraps */
.pengumuman__img-wrap {
    overflow: hidden;
    border-radius: 8px;
    height: 280px;
}

.pengumuman__img-wrap--side {
    height: 200px;
}

.pengumuman__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.pengumuman__img--mono {
    filter: grayscale(100%) brightness(0.65);
    transition:
        filter 0.5s ease,
        transform 0.5s ease;
}

.pengumuman__card--side:hover .pengumuman__img--mono {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.03);
}

.pengumuman__card--featured:hover .pengumuman__img {
    transform: scale(1.02);
}

/* Side card content */
.pengumuman__side-meta {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pengumuman__card-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.pengumuman__side-title {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    margin: 0;
}

/* Featured card content */
.pengumuman__content {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pengumuman__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pengumuman__card-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.35;
    margin: 0;
}

.pengumuman__card-author {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.pengumuman__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.pengumuman__col p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 14px;
}

.pengumuman__col p:last-child {
    margin-bottom: 0;
}

/* Footer */
.pengumuman__footer {
    display: flex;
    justify-content: center;
}

.pengumuman__view-all {
    font-family: inherit;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.pengumuman__view-all:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .pengumuman {
        padding: 72px 24px;
    }

    .pengumuman__inner {
        gap: 32px;
    }

    .pengumuman__topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pengumuman__nav {
        align-self: flex-end;
        padding-bottom: 0;
    }

    .pengumuman__title {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
    }

    .pengumuman__grid {
        grid-template-columns: 1fr;
    }

    .pengumuman__img-wrap {
        height: 320px;
    }

    .pengumuman__body {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 80px 64px 40px;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1.618fr;
    gap: 80px;
    align-items: start;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__logo {
    font-size: clamp(1.618rem, 2.5vw, 2.618rem);
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1;
}

.footer__tagline {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__nav-heading {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 4px;
}

.footer__nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
}

.footer__nav-link:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__copy,
.footer__address {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 24px 32px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ===== SUB-PAGE LAYOUT ===== */
.page-hero {
    height: 70vh;
    min-height: 480px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0 64px 80px;
    overflow: hidden;
    background-color: #0a0a0a;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("image/hero.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

img.page-hero__bg {
    background-image: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        #0a0a0a 0%,
        rgba(0, 0, 0, 0.4) 60%,
        transparent 100%
    );
    z-index: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.page-hero__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-hero__eyebrow {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(255, 122, 20);
    display: block;
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6.854rem);
    font-weight: 600;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}

.page-hero__right {
    text-align: right;
    flex-shrink: 0;
}

.page-hero__accent {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    line-height: 1.6;
}

/* ─── Common section ─────────────────────────────────── */
.page-section {
    background: #0d0d0d;
    padding: 120px 64px;
}

.page-section--alt {
    background: #111;
}

.page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-2col {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    align-items: start;
}

.page-2col__label {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    display: block;
}

.page-year {
    font-size: clamp(2.6rem, 5vw, 4.236rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.07);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
}

.page-body p {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 28px;
}

.page-body p:last-child {
    margin-bottom: 0;
}

.page-source {
    display: block;
    margin-top: 48px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

/* ─── Timeline ────────────────────────────────────────── */
.page-section-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin: 0 0 56px;
}

.timeline {
    display: flex;
    flex-direction: column;
}

.timeline__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 48px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    align-items: baseline;
}

.timeline__year {
    font-size: 1rem;
    font-weight: 600;
    color: rgb(255, 122, 20);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.timeline__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline__title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.timeline__text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* ─── Visi ────────────────────────────────────────────── */
.visi-statement {
    max-width: 820px;
}

.visi-statement__text {
    font-family: var(--font-primary);
    font-size: clamp(1.25rem, 2.2vw, 1.9rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.55;
    letter-spacing: -0.01em;
    margin: 0;
    border-left: 2px solid rgb(255, 122, 20);
    padding-left: 32px;
}

/* ─── Misi pillars ────────────────────────────────────── */
.misi-intro {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.misi-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 64px;
}

.misi-pillar {
    background: rgba(255, 255, 255, 0.025);
    padding: 40px 36px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.misi-pillar:hover {
    background: rgba(255, 122, 20, 0.05);
}

.misi-pillar__name {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgb(255, 122, 20);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 16px;
    display: block;
}

.misi-pillar__text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ─── Spiritualitas values ────────────────────────────── */
.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 16px;
}

.value-item {
    background: #0d0d0d;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.value-item__num {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.18);
    min-width: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.value-item__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ─── Pastor ──────────────────────────────────────────── */
.pastor-featured {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 72px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    align-items: start;
    margin-bottom: 72px;
}

.pastor-img-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.pastor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%);
    display: block;
    transition: filter 0.4s ease;
}

.pastor-img-wrap:hover img {
    filter: grayscale(0%);
}

.pastor-featured__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
}

.pastor-role {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(255, 122, 20);
}

.pastor-name {
    font-size: clamp(1.618rem, 3vw, 2.618rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.01em;
}

.pastor-order {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.pastor-bio {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ─── Pastor history list ─────────────────────────────── */
.pastor-list {
    display: flex;
    flex-direction: column;
}

.pastor-list__item {
    display: grid;
    grid-template-columns: 1fr auto 180px;
    gap: 24px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.pastor-list__name {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

.pastor-list__order {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
    white-space: nowrap;
}

.pastor-list__period {
    font-size: 0.82rem;
    color: rgb(255, 122, 20);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

/* ─── Map ─────────────────────────────────────────────── */
.map-embed {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: grayscale(80%) invert(90%) contrast(85%);
}

.map-embed img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.map-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 2px;
}

.map-info__item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-info__label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
}

.map-info__value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
}

/* ─── Pastor featured period ──────────────────────────── */
.pastor-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* ─── Pastor list dimmed note rows ───────────────────── */
.pastor-list__item--note .pastor-list__name {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
}

/* ─── Jam pelayanan (peta-paroki) ─────────────────────── */
.jadwal-ops {
    display: flex;
    flex-direction: column;
}

.jadwal-ops__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.jadwal-ops__item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jadwal-ops__day {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
}

.jadwal-ops__time {
    font-size: 1rem;
    font-weight: 600;
    color: rgb(255, 122, 20);
    letter-spacing: 0.05em;
}

/* ─── Responsive sub-pages ────────────────────────────── */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 24px 60px;
        height: auto;
        min-height: 55vh;
    }

    .page-hero__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-hero__right {
        text-align: left;
    }

    .page-section {
        padding: 72px 24px;
    }

    .page-2col {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-2col__label {
        position: static;
    }

    .timeline__item {
        grid-template-columns: 96px 1fr;
        gap: 20px;
    }

    .misi-pillars,
    .values-list {
        grid-template-columns: 1fr;
    }

    .pastor-featured {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pastor-img-wrap {
        aspect-ratio: 4 / 3;
    }

    .pastor-list__item {
        grid-template-columns: 1fr auto;
        gap: 16px;
    }

    .pastor-list__order {
        display: none;
    }

    .map-embed {
        height: 320px;
    }

    .map-info {
        grid-template-columns: 1fr;
    }
}

/* ===== BERITA PAGE ===== */
.berita-filter-section {
    background: #111;
    padding: 28px 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.berita-filter {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.berita-filter__btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.45);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.berita-filter__btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.berita-filter__btn--active {
    background: none;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

/* ─── Featured ────────────────────────────────────────── */
.berita-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.berita-featured__img-wrap {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
}

.berita-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.berita-featured__img-wrap:hover .berita-featured__img {
    transform: scale(1.04);
}

.berita-featured__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 12px;
}

.berita-featured__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.berita-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(255, 122, 20);
}

.berita-date {
    font-size: 0.8rem;
    color: rgba(255, 122, 20, 0.579) !important;
    letter-spacing: 0.04em;
}

.berita-author {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
    font-style: italic;
}

.berita-featured__title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0;
}

.berita-featured__excerpt {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.berita-featured__link {
    font-size: 1rem;
    color: rgb(255, 122, 20);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}

.berita-featured__link:hover {
    opacity: 0.7;
}

/* ─── Article grid ────────────────────────────────────── */
.berita-grid-header {
    margin-bottom: 48px;
}

.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.berita-card {
    display: block;
}

.berita-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
    height: 100%;
}

.berita-card__link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.berita-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.berita-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition:
        transform 0.5s ease,
        filter 0.4s ease;
}

.berita-card__link:hover .berita-card__img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.berita-card__body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.berita-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.berita-card__title {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
    margin: 0;
}

.berita-card__excerpt {
    font-size: 0.82rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.berita-load-more {
    display: flex;
    justify-content: center;
    padding-top: 64px;
}

.berita-load-more__btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.55);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    padding: 14px 48px;
    cursor: pointer;
    transition: all 0.2s;
}

.berita-load-more__btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

@media (max-width: 768px) {
    .berita-filter-section {
        padding: 20px 24px;
    }

    .berita-featured {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .berita-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PENGUMUMAN PAGE ===== */

/* ─── Pinned important items ──────────────────────────── */
.pengumuman-pinned {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pengumuman-pin {
    background: rgba(255, 122, 20, 0.04);
    border: 1px solid rgba(255, 122, 20, 0.15);
    border-radius: 8px;
    padding: 40px 44px;
    display: grid;
    gap: 28px;
    grid-template-columns: 280px 1fr;
    grid-template-areas:
        "foto content";
    align-items: start;
}

/* Jika tidak ada foto, gunakan layout column */
.pengumuman-pin:not(:has(img)) {
    grid-template-columns: 1fr;
    grid-template-areas: "content";
}

.pengumuman-pin__foto-wrap {
    grid-area: foto;
    width: 280px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    position: relative;
}

.pengumuman-pin__foto-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.pengumuman-pin:hover .pengumuman-pin__foto-wrap img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.15);
}

.pengumuman-pin__content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pengumuman-pin__header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pengumuman-pin__category {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(255, 122, 20);
}

.pengumuman-pin__date {
    font-size: 0.9rem;
    color: rgba(255, 122, 20, 0.668) !important;
    letter-spacing: 0.04em;
}

.pengumuman-pin__title {
    font-size: clamp(1.1.3rem, 1.8vw, 1.5rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.pengumuman-pin__body {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.pengumuman-pin__link {
    font-size: 0.82rem;
    color: rgb(255, 122, 20);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
    align-self: flex-start;
}

.pengumuman-pin__link:hover {
    opacity: 0.7;
}

/* ─── Announcement list ───────────────────────────────── */
.pengumuman-list {
    display: flex;
    flex-direction: column;
}

.pengumuman-item {
    display: grid;
    gap: 24px;
    padding: 36px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    align-items: start;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "left right";
}

.pengumuman-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Jika ada foto, ubah template */
.pengumuman-item:has(.pengumuman-item__foto) {
    grid-template-columns: 80px 1fr auto;
    grid-template-areas:
        "foto left right";
    gap: 20px;
}

/* ── Foto wrapper (hanya tampil kalau ada foto) ────── */
.pengumuman-item__foto {
    grid-area: foto;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
    transition: opacity 0.3s ease;
    display: block !important; /* Ensure visibility */
}

.pengumuman-item__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    filter: brightness(0.95) contrast(1.05);
}

.pengumuman-item:hover .pengumuman-item__foto img {
    transform: scale(1.04);
    filter: brightness(1) contrast(1.1);
}

.pengumuman-item__foto {
    position: relative;
}

.pengumuman-item__left {
    grid-area: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.pengumuman-item__category {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(255, 122, 20);
    display: block;
    margin-bottom: 0;
}

.pengumuman-item__title {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin: 0;
    word-break: break-word;
}

.pengumuman-item__desc {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pengumuman-item__right {
    grid-area: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 4px;
    gap: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}

.pengumuman-item__date {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

.pengumuman-item__year {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .pengumuman-pin {
        padding: 28px 24px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "foto"
            "content";
        gap: 16px;
    }

    .pengumuman-pin:not(:has(img)) {
        grid-template-columns: 1fr;
        grid-template-areas: "content";
    }

    .pengumuman-pin__foto-wrap {
        width: 100%;
        height: 240px;
        border-radius: 10px;
    }

    .pengumuman-pin__content {
        gap: 12px;
    }

    .pengumuman-item {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 24px 0;
    }

    .pengumuman-item__foto {
        width: 100%;
        height: 200px;
        border-radius: 10px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.04);
        order: -1;
    }

    .pengumuman-item__foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease, filter 0.4s ease;
        filter: brightness(0.95) contrast(1.05);
    }

    .pengumuman-item__left {
        gap: 8px;
    }

    .pengumuman-item__category {
        font-size: 0.65rem;
    }

    .pengumuman-item__title {
        font-size: 1rem;
    }

    .pengumuman-item__desc {
        -webkit-line-clamp: 1;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .pengumuman-item__right {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding-top: 0;
        order: 2;
    }

    .pengumuman-item__date {
        font-size: 1rem;
    }

    .pengumuman-item__year {
        display: none;
    }
}

/* ============================================================
   PHOTO MODAL LIGHTBOX
   ============================================================ */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.photo-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.photo-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(4px);
}

.photo-modal__content {
    position: relative;
    width: 90vw;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.photo-modal__image {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    animation: imageSlideIn 0.4s ease 0.1s backwards;
}

@keyframes imageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.photo-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.photo-modal__close:active {
    transform: scale(0.95);
}

/* Mobile: fullscreen modal */
@media (max-width: 768px) {
    .photo-modal__content {
        width: 100%;
        max-height: 100vh;
    }

    .photo-modal__image {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .photo-modal__close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================================
   UNDUHAN
   ============================================================ */

.unduhan-intro {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.45);
    max-width: 680px;
    margin: 0 0 48px;
}

/* Tabs */
.unduhan-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 52px;
}

.unduhan-tabs__btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 24px 12px;
    margin-bottom: -1px;
    font-family: inherit;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition:
        color 0.2s,
        border-color 0.2s;
}

.unduhan-tabs__btn:hover {
    color: rgba(255, 255, 255, 0.7);
}

.unduhan-tabs__btn--active {
    color: rgb(255, 122, 20);
    border-bottom-color: rgb(255, 122, 20);
}

/* Panels */
.unduhan-panel--hidden {
    display: none;
}

/* Category group */
.unduhan-category {
    margin-bottom: 52px;
}

.unduhan-category__title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgb(255, 122, 20);
    margin: 0 0 16px;
}

/* List */
.unduhan-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.unduhan-item {
    display: grid;
    grid-template-columns: 28px 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s;
}

.unduhan-item:hover {
    background: rgba(255, 255, 255, 0.02);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.unduhan-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.unduhan-item__name {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

.unduhan-item__fmt {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 122, 20, 0.722) !important;
    white-space: nowrap;
}

.unduhan-item__dl {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 14px;
    border-radius: 2px;
    white-space: nowrap;
    transition:
        color 0.2s,
        border-color 0.2s,
        background 0.2s;
}

.unduhan-item__dl:hover {
    color: #fff;
    border-color: rgb(255, 122, 20);
    background: rgba(255, 122, 20, 0.08);
}

/* Majalah Obor placeholder */
.unduhan-majalah-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 80px 0;
    opacity: 0.4;
}

.unduhan-majalah-empty__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .unduhan-item {
        grid-template-columns: 28px 1fr auto;
        gap: 12px;
    }

    .unduhan-item__fmt {
        display: none;
    }

    .unduhan-item:hover {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ============================================================
   FOOTER — EXTENSIONS (social, nav-text, copy-link)
   ============================================================ */

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition:
        color 0.2s,
        border-color 0.2s;
}

.footer__social-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.footer__nav-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1;
}

.footer__copy-link {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__copy-link:hover {
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   KONTAK
   ============================================================ */

/* Info cards row */
.kontak-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

.kontak-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kontak-card__icon {
    color: rgb(255, 122, 20);
    margin-bottom: 10px;
}

.kontak-card__label {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
}

.kontak-card__value {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

.kontak-card__sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.kontak-card__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.kontak-card__link:hover {
    color: rgb(255, 122, 20);
}

/* Form + sidebar layout */
.kontak-main {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
    align-items: start;
}

/* Form */
.kontak-form-wrap__title {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 36px;
    letter-spacing: -0.01em;
}

.kontak-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kontak-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.kontak-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kontak-form__label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.kontak-form__input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.85);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 12px 16px;
    outline: none;
    transition:
        border-color 0.2s,
        background 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.kontak-form__input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.kontak-form__input:focus {
    border-color: rgb(255, 122, 20);
    background: rgba(255, 122, 20, 0.04);
}

.kontak-form__textarea {
    resize: vertical;
    min-height: 148px;
}

.kontak-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(255, 122, 20);
    color: #000;
    border: none;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    cursor: pointer;
    transition:
        background 0.2s,
        opacity 0.2s;
    align-self: flex-start;
}

.kontak-form__submit:hover {
    background: #ff8c20;
}

/* Sidebar */
.kontak-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 68px;
}

.kontak-hours,
.kontak-misa,
.kontak-follow {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 28px;
}

.kontak-hours__title,
.kontak-misa__title,
.kontak-follow__title {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin: 0 0 20px;
}

.kontak-hours__list,
.kontak-misa__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kontak-hours__row,
.kontak-misa__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.kontak-hours__day,
.kontak-misa__day {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
}

.kontak-hours__time,
.kontak-misa__time {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.kontak-misa__cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(255, 122, 20);
    text-decoration: none;
    transition: opacity 0.2s;
}

.kontak-misa__cta:hover {
    opacity: 0.7;
}

.kontak-follow__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kontak-follow__link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.kontak-follow__link:hover {
    color: #fff;
}

/* Map */
.kontak-map {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.kontak-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(1) contrast(0.85);
    display: block;
}

@media (max-width: 960px) {
    .kontak-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kontak-main {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .kontak-sidebar {
        padding-top: 0;
    }

    .kontak-form__row {
        grid-template-columns: 1fr;
    }

    .kontak-map {
        height: 300px;
    }
}

/* ===================================================
   BERITA DETAIL PAGE
   =================================================== */

.berita-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    align-items: start;
}

.berita-detail-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.berita-detail__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.berita-detail__lead {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    border-left: 2px solid rgb(255, 122, 20);
    padding-left: 24px;
    font-style: italic;
}

/* ── Media Display (Image, Video, YouTube) ────────────── */
.berita-detail__media {
    margin: 48px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.berita-media-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.berita-media-wrapper:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.berita-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.berita-media-video {
    width: 100%;
    height: 100%;
    outline: none;
    border-radius: 8px;
}

/* Custom video controls styling */
.berita-media-video::-webkit-media-controls {
    background-color: rgba(0, 0, 0, 0.5);
}

.berita-media-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.7);
}

/* YouTube embed styling */
.berita-media-youtube {
    background: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.berita-youtube-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    display: block;
}

/* Featured berita badge */
.berita-featured__badge,
.berita-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.berita-featured__badge {
    font-size: 14px;
    padding: 8px 14px;
}

/* Position relative for badges on featured */
.berita-featured__img-wrap,
.berita-card__img-wrap {
    position: relative;
}

/* YouTube iframe styling */
.berita-featured__youtube,
.berita-card__youtube {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.berita-featured__youtube {
    min-height: 350px;
}

.berita-detail__isi {
    color: rgba(255, 255, 255, 0.75);
}

/* Prose reset for TinyMCE output */
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    margin: 1.5em 0 0.5em;
}
.prose h1 {
    font-size: 2rem;
}
.prose h2 {
    font-size: 1.6rem;
}
.prose h3 {
    font-size: 1.3rem;
}
.prose p {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.2em;
}
.prose a {
    color: rgb(255, 122, 20);
    text-decoration: underline;
}
.prose img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}
.prose ul,
.prose ol {
    margin: 0 0 1.2em 1.5em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
}
.prose blockquote {
    border-left: 3px solid rgb(255, 122, 20);
    margin: 1.5em 0;
    padding-left: 24px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.prose th,
.prose td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.prose th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.berita-detail__back {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.btn-back {
    font-size: 0.82rem;
    color: rgb(255, 122, 20);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}

.btn-back:hover {
    opacity: 0.7;
}

/* Sidebar related */
.berita-detail-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-related {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-related__title {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-related__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-decoration: none;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: opacity 0.2s;
}

.sidebar-related__item:hover {
    opacity: 0.75;
}

.sidebar-related__img-wrap {
    width: 80px;
    height: 56px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-related__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.sidebar-related__item:hover .sidebar-related__img {
    filter: grayscale(0%);
}

.sidebar-related__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-related__date {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
}

.sidebar-related__judul {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
}

@media (max-width: 900px) {
    .berita-detail-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .berita-detail-sidebar {
        position: static;
    }
}

/* =====================================================
   TABLET PORTRAIT  (769 px – 1024 px)
   These sit between the 768px mobile rules and the
   full desktop layout.  Fixes layouts that are too
   cramped but shouldn't collapse to single-column yet.
   ===================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* ── Navbar: use offcanvas on tablet (same as mobile) ── */
    .navbar {
        padding: 0 32px;
    }
    .navbar.is-scrolled {
        left: 12px;
        right: 12px;
        padding: 0 20px;
    }
    .navbar__menu,
    .navbar__right {
        display: none;
    }
    .navbar__mobile {
        display: flex;
    }

    /* ── Hero ─────────────────────────────────────── */
    .hero {
        padding: 0 40px 64px;
    }
    .hero__card {
        width: 380px;
        padding: 40px 36px;
    }
    .hero__card-title {
        font-size: 2rem;
    }
    .hero__tagline {
        max-width: 420px;
    }

    /* ── Jadwal (4-col → 2-col) ───────────────────── */
    .jadwal {
        padding: 96px 40px;
    }
    .jadwal__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    /* ── Sejarah (tighten gap) ────────────────────── */
    .sejarah {
        padding: 96px 40px;
    }
    .sejarah__inner {
        gap: 48px;
    }

    /* ── Berita section (3-col → 1-col) ──────────── */
    .berita {
        padding: 96px 40px;
    }
    .berita__header {
        grid-template-columns: 160px 1fr;
        gap: 32px;
    }
    .berita__grid {
        grid-template-columns: 1fr;
    }

    /* ── Pengumuman section ──────────────────────── */
    .pengumuman {
        padding: 80px 40px;
    }
    .pengumuman__grid {
        grid-template-columns: 1fr;
    }

    /* Pengumuman pinned (Now) pada tablet */
    .pengumuman-pin {
        grid-template-columns: 220px 1fr;
        gap: 24px;
        padding: 32px 36px;
    }

    .pengumuman-pin__foto-wrap {
        width: 220px;
        height: 160px;
    }

    /* Pengumuman list items pada tablet */
    .pengumuman-item {
        grid-template-columns: 100px 1fr auto;
        gap: 20px;
    }

    .pengumuman-item:has(.pengumuman-item__foto) {
        grid-template-columns: 100px 1fr auto;
        gap: 20px;
    }

    .pengumuman-item__foto {
        width: 100px;
        height: 100px;
    }

    /* ── Footer ───────────────────────────────────── */
    .footer {
        padding: 72px 40px 32px;
    }
    .footer__top {
        gap: 48px;
    }
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    /* ── Sub-page hero ────────────────────────────── */
    .page-hero {
        padding: 0 40px 64px;
    }

    /* ── Sub-page sections ────────────────────────── */
    .page-section {
        padding: 96px 40px;
    }
    .page-2col {
        gap: 48px;
    }

    /* ── Berita list page ─────────────────────────── */
    .berita-filter-section {
        padding: 24px 40px;
    }
    .berita-featured {
        gap: 48px;
    }
    .berita-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Berita detail ────────────────────────────── */
    .berita-detail-layout {
        gap: 48px;
    }

    /* ── Pastor ───────────────────────────────────── */
    .pastor-featured {
        gap: 48px;
    }

    /* ── Kontak ───────────────────────────────────── */
    .kontak-main {
        gap: 48px;
    }

    /* ── Map info (3-col → 2-col) ─────────────────── */
    .map-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================================================
   RENUNGAN PAGE
   =================================================================== */

/* ── Tema tag ──────────────────────────────────────────────────────── */
.renungan-tema-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c9a861;
    border: 1px solid rgba(201, 168, 97, 0.35);
    padding: 4px 12px;
    border-radius: 2px;
}

.renungan-tema-tag--sm {
    font-size: 0.62rem;
    padding: 3px 9px;
}

/* ── Featured Section ──────────────────────────────────────────────── */
.renungan-featured-section {
    background: #0e0e0f;
    padding: 96px 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.renungan-featured {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.renungan-featured__ornament {
    font-size: 1.25rem;
    color: rgba(201, 168, 97, 0.4);
    letter-spacing: 0.3em;
}

.renungan-featured__quote {
    font-size: clamp(1.1.3rem, 2vw, 1.45rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
    padding: 0 32px;
    border: none;
    position: relative;
}

.renungan-featured__title {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
}

.renungan-featured__meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px !important;
    flex-wrap: wrap;
}

.renungan-date {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.06em;
}

.renungan-featured__cta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a861;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 97, 0.35);
    padding-bottom: 2px;
    transition:
        border-color 0.2s,
        color 0.2s;
}

.renungan-featured__cta:hover {
    color: #e2c078;
    border-color: rgba(201, 168, 97, 0.7);
}

.renungan-featured__img-wrap {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 8px;
}

.renungan-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) brightness(0.85);
}

/* ── List Section ──────────────────────────────────────────────────── */
.renungan-list-header {
    margin-bottom: 40px;
}

.renungan-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.renungan-row {
    display: grid;
    grid-template-columns: 80px 1px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: background 0.2s;
}

.renungan-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.renungan-row:hover {
    background: rgba(255, 255, 255, 0.025);
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.renungan-row__left {
    text-align: center;
}

.renungan-row__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.renungan-row__day {
    font-size: 1.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
}

.renungan-row__month {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.renungan-row__divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
}

.renungan-row__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.renungan-row__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.renungan-row:hover .renungan-row__title {
    color: #c9a861;
}

.renungan-row__quote {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.6;
}

.renungan-row__author {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 8px;
    font-style: italic;
}

.renungan-author-badge {
    font-size: 1.3rem;
    color: rgba(201, 168, 97, 0.9);
    letter-spacing: 0.04em;
    font-style: italic;
}

.page-hero__author {
    font-size: 1.3rem;
    color: #fff;
    margin-top: 8px;
    font-style: italic;
    letter-spacing: 0.02em;
}

.page-hero__author strong {
    font-weight: 500;
    color: #fff;
}

.renungan-row__arrow {
    font-size: 1.1.3rem;
    color: rgba(255, 255, 255, 0.2);
    transition:
        color 0.2s,
        transform 0.2s;
}

.renungan-row:hover .renungan-row__arrow {
    color: #c9a861;
    transform: translateX(4px);
}

/* ── Detail Page ───────────────────────────────────────────────────── */
.renungan-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: start;
}

.renungan-detail-body {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.renungan-detail__scripture {
    background: rgba(201, 168, 97, 0.06);
    border-left: 3px solid #c9a861;
    padding: 28px 36px;
    margin: 0;
    border-radius: 0 6px 6px 0;
    position: relative;
}

.renungan-detail__scripture-mark {
    display: block;
    font-size: 2.5rem;
    color: rgba(201, 168, 97, 0.25);
    line-height: 1;
    margin-bottom: 8px;
    font-style: normal;
}

.renungan-detail__scripture {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
}

.renungan-detail__isi {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
}

.renungan-detail__back {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Sidebar ───────────────────────────────────────────────────────── */
.renungan-detail-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-renungan__title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-renungan__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-renungan__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: opacity 0.2s;
}

.sidebar-renungan__item:hover {
    opacity: 0.8;
}

.sidebar-renungan__item-title {
    font-size: 1rem;
    color: #fff;
    line-height: 1.45;
}

.sidebar-renungan__item-quote {
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.55;
}

.sidebar-renungan__item-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .renungan-featured-section {
        padding: 64px 24px;
    }

    .renungan-featured__quote {
        padding: 0 8px;
    }

    .renungan-row {
        grid-template-columns: 60px 1px 1fr auto;
        gap: 16px;
        padding: 20px 0;
    }

    .renungan-detail-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .renungan-detail-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .renungan-row {
        grid-template-columns: 50px 1px 1fr;
        gap: 14px;
    }

    .renungan-row__arrow {
        display: none;
    }
}

/* Responsive media display for berita */
@media (max-width: 768px) {
    .berita-detail__media {
        margin: 32px 0;
        border-radius: 10px;
    }

    .berita-media-wrapper {
        aspect-ratio: 16 / 9;
    }

    .berita-featured__badge,
    .berita-card__badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .berita-featured__badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}
