﻿/* =========================
   STILI PAGINA
========================= */

.page-hero {
    padding: 36px 20px;
    border-radius: 0 0 12px 12px;
    background: #f5f5f5;
    text-align: center;
}
.page-hero__title {
    margin: 0;
    font-size: 2em;
    font-weight: 600;
    color: #111;
}


.page-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 16px;
}
.page-content #map-canvas {
    max-width: 100%;
}
/* =========================
   TABLET
========================= */

@media (min-width: 768px) {


    .page-content-hero {
        padding: 48px 36px;
    }

    .page-content-hero__title {
        font-size: 2.6em;
    }

}

/* =========================
   DESKTOP
========================= */

@media (min-width: 1200px) {

    .page-content-hero {
        padding: 60px 48px;
    }

    .page-content-hero__title {
        font-size: 3.2em;
    }

}
/* =========================
   PAGE GALLERY BASE
========================= */

.page-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.page-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

    .page-gallery__item img {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        transition: transform 0.25s ease;
    }

    .page-gallery__item:hover img {
        transform: scale(1.04);
    }

/* =========================
   TABLET
========================= */

@media (min-width: 768px) {

    .page-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 1101px) {

    .page-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}