/* CHILD PAGES — menu, news, gallery, contacts */

/* Header */
.mollusca-child-page {
    padding-top: 7rem;
    padding-bottom: 5rem;
}

@media (max-width: 991.98px) {
    .mollusca-child-page {
        padding-bottom: 4rem;
    }
}

.child-page-header {
    padding: 2rem 0 3rem;
    text-align: center;
}

.child-page-back {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-color-light-2);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.child-page-back:hover {
    color: var(--text-color-light-1);
}

.child-page-title {
    font-family: 'Cormorant', serif;
    font-weight: 300;
    font-size: 4rem;
    color: var(--text-color-light-1);
    letter-spacing: 0;
    margin: 0;
}

@media (max-width: 575.98px) {
    .child-page-title {
        font-size: 3rem;
    }
}

/* Content section */
.child-page-content {
    padding: 0 0 3rem;
}

.child-page-empty {
    color: var(--text-color-light-2);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4rem 0;
}

/* Pagination */
.child-page-pagination {
    margin-top: 3rem;
}

.child-page-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-color-light-2);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.child-page-pagination .page-numbers:hover,
.child-page-pagination .page-numbers.current {
    color: var(--text-color-light-1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   GALLERY GRID
   ======================================== */

.gallery-grid {
    gap: 0;
}

.gallery-grid-item {
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
}

.gallery-grid-image {
    width: 100%;
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover .gallery-grid-image {
    transform: scale(1.05);
}

/* ========================================
   CONTACTS PAGE
   ======================================== */

.contacts-map-links {
    margin-top: 2.5rem;
    text-align: center;
}

.contacts-map-links-title {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-color-light-2);
    margin-bottom: 1.2rem;
}

.contacts-map-links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.rc-btn--small {
    padding: 10px 24px;
    font-size: 10px;
}

/* Contacts page map — taller */
.rc-footer-map--contacts {
    height: 50vh;
    min-height: 350px;
}
