/* Facilities page */

.fac-hero-split__img,
.cp-feature-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.fac-hero-split__img img,
.cp-feature-img img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.fac-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    height: 100%;
}

.fac-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.35rem 1.15rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.fac-stat__value {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.fac-stat__label {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
}

.fac-section {
    margin-bottom: 2.5rem;
}

.fac-section__title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.fac-card {
    height: 100%;
    padding: 1.25rem 1.2rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
    box-shadow: var(--shadow-sm);
}

.fac-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.fac-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text);
}

.fac-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}

.fac-gallery img,
.fac-showcase img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    box-shadow: var(--shadow-md);
}

.fac-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}

@media (max-width: 767.98px) {
    .fac-gallery,
    .fac-showcase {
        grid-template-columns: 1fr;
    }

    .fac-gallery img,
    .fac-showcase img {
        height: 200px;
    }
}
