.mediahub-page,
.mediahub-detail {
    max-width: 1180px;
    margin: 0 auto;
}

.mediahub-hero {
    padding: 18px 0 24px;
    border-bottom: 1px solid rgba(15, 23, 42, .10);
    margin-bottom: 22px;
}

.mediahub-hero h1 {
    margin: 0 0 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.02em;
}

.mediahub-hero p {
    max-width: 760px;
    font-size: 1.05rem;
    color: #4b5563;
}

.mediahub-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.mediahub-categories a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
    text-decoration: none;
    color: #111827;
    background: #fff;
    font-weight: 650;
}

.mediahub-section h2,
.mediahub-featured h2 {
    font-size: 1.35rem;
    margin: 0 0 14px;
}

.mediahub-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.mediahub-album-grid--featured {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.mediahub-album-card {
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, .12);
}

.mediahub-album-card__cover {
    display: block;
    aspect-ratio: 4/3;
    background: #f3f4f6;
    overflow: hidden;
    text-decoration: none;
}

.mediahub-album-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .18s ease;
}

.mediahub-album-card__cover:hover img {
    transform: scale(1.03);
}

.mediahub-album-card__cover span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 2.4rem;
    color: #9ca3af;
}

.mediahub-album-card__body {
    padding: 12px 0 14px;
}

.mediahub-album-card__body p {
    margin: 0 0 6px;
    color: #b91c1c;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 750;
}

.mediahub-album-card__body h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.18;
}

.mediahub-album-card__body h3 a {
    color: #111827;
    text-decoration: none;
}

.mediahub-album-card__body span,
.mediahub-album-card__body small,
.mediahub-meta {
    color: #6b7280;
}

.mediahub-photo-masonry,
.mediahub-inline-grid {
    columns: 3 230px;
    column-gap: 14px;
}

.mediahub-photo-card,
.mediahub-inline-grid figure {
    break-inside: avoid;
    margin: 0 0 14px;
    background: #fff;
}

.mediahub-photo-card img,
.mediahub-inline-grid img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.mediahub-photo-card figcaption,
.mediahub-inline-grid figcaption {
    margin-top: 6px;
    color: #6b7280;
    font-size: .86rem;
    line-height: 1.35;
}

.mediahub-inline-album {
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid rgba(15, 23, 42, .10);
    border-bottom: 1px solid rgba(15, 23, 42, .10);
}

.mediahub-inline-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    margin-bottom: 12px;
}

.mediahub-inline-head h3 {
    margin: 0;
}

.catalog-map-section iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
}

.catalog-route-button,
.catalog-gallery-more {
    display: inline-flex;
    margin-top: 12px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #111827;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
}

.catalog-gallery-lead {
    color: #6b7280;
    margin-top: -4px;
}

@media (max-width: 720px) {
    .mediahub-album-grid {
        grid-template-columns: 1fr;
    }

    .mediahub-photo-masonry,
    .mediahub-inline-grid {
        columns: 2 150px;
    }

    .catalog-map-section iframe {
        min-height: 260px;
    }
}
