/* =========================================================
   Fondasi halaman dan breadcrumb
   ========================================================= */
.mosque-page {
    --mosque-dark: #242424;
    --mosque-light: #f4f6fb;

    color: var(--color-white);
    background: var(--mosque-dark);
}

.mosque-header {
    padding: 146px 0 18px;
    background: var(--mosque-dark);
}

.mosque-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 14px;
    font-weight: 700;
}

.mosque-breadcrumb a:hover,
.mosque-breadcrumb a:focus-visible,
.mosque-breadcrumb span:last-child {
    color: var(--color-white);
}

/* =========================================================
   Hero dan identitas fasilitas
   ========================================================= */
.mosque-hero {
    min-height: 443px;
    background: url("../../assets/images/masjid-detail-2.webp") center / cover no-repeat;
}

.mosque-title-band {
    padding: 52px 0 58px;
    background: var(--mosque-dark);
}

.mosque-title-band h1 {
    margin: 0 0 24px;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
}

.mosque-title-band span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
}

/* =========================================================
   Tentang masjid dan statistik fasilitas
   ========================================================= */
.mosque-about {
    position: relative;
    padding: 140px 0 60px;
    color: var(--color-black);
    background: var(--mosque-light);
}

.mosque-about::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 74px;
    background: var(--mosque-dark);
    clip-path: polygon(0 0, 27% 0, 31% 100%, 100% 100%, 100% 0);
    pointer-events: none;
}

.mosque-about-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 532px);
    gap: 70px;
    align-items: start;
}

.mosque-about-copy h2 {
    margin: 0 0 38px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

.mosque-about-copy p {
    max-width: 600px;
    margin: 0 0 26px;
    color: #59616d;
    font-size: 17px;
    line-height: 1.55;
}

.mosque-about-copy p:last-of-type {
    color: #929292;
}

.mosque-about-grid > img {
    width: 100%;
    aspect-ratio: 532 / 442;
    object-fit: cover;
    border-radius: 14px;
}

.mosque-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 38px;
}

.mosque-stat-grid div {
    min-height: 92px;
    padding: 18px 20px;
    background: #f8f9fb;
    border-top: 4px solid var(--color-green);
    border-radius: 7px;
}

.mosque-stat-grid span {
    display: block;
    margin-bottom: 10px;
    color: #89919e;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.mosque-stat-grid strong {
    color: #111827;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
}

/* =========================================================
   Penyesuaian tablet dan perangkat seluler
   ========================================================= */
@media (max-width: 1024px) {
    .mosque-about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .mosque-about-grid > img {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .mosque-header {
        padding-top: 126px;
    }

    .mosque-hero {
        min-height: 320px;
    }

    .mosque-about {
        padding: 104px 0 72px;
    }

    .mosque-about::before {
        height: 54px;
        clip-path: polygon(0 0, 42% 0, 52% 100%, 100% 100%, 100% 0);
    }
}

@media (max-width: 576px) {
    .mosque-breadcrumb {
        font-size: 12px;
    }

    .mosque-title-band {
        padding: 42px 0 50px;
    }

    .mosque-title-band h1 {
        font-size: 38px;
    }

    .mosque-about-copy h2 {
        margin-bottom: 28px;
        font-size: 29px;
    }

    .mosque-stat-grid {
        grid-template-columns: 1fr;
    }
}
