/* ============================================
   Gallery Page
   ============================================ */

.gallery-page {
    padding: 0 0 60px 0;
}

.gallery-page__empty {
    text-align: center;
    color: #777;
    padding: 60px 0;
}


/* ============================================
   Hero Section
   ============================================ */

.gallery-page .hero-container {
    background: #F3F3F3;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='1' fill='%23e2e2e2'/%3E%3C/svg%3E");
    background-repeat: repeat;
    padding: 80px 0px;
}

.gallery-page .hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.gallery-page .hero-wrapper .hero-left,
.gallery-page .hero-wrapper .hero-right {
    flex: 1;
}

.gallery-page .hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-page .hero-wrapper h1 {
    color: #071209;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -1.44px;
    margin: 0;
}

.gallery-page .hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    color: #545454;
    margin: 0;
}

.gallery-page .hero-wrapper p:not(.hero-subtitle) {
    color: #071209;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

.gallery-page .hero-wrapper img {
    max-width: 570px;
    width: 100%;
    border-radius: 16px;
}


/* ============================================
   Mosaic Grid
   ============================================ */

.gallery-mosaic-container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.gallery-mosaic {
    column-count: 2;
    column-gap: 16px;
}

.gallery-mosaic__item {
    display: block;
    break-inside: avoid;
    margin-bottom: 16px;
    overflow: hidden;
    line-height: 0;
}

.gallery-mosaic__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-mosaic__item:hover img {
    transform: scale(1.04);
    opacity: 0.92;
}


/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1200px) {
    .gallery-mosaic {
        column-count: 2;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .gallery-page .hero-container {
        padding: 160px 0px 80px;
    }

    .gallery-page .hero-wrapper h1 {
        font-size: 42px;
        line-height: 51px;
        letter-spacing: -1px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery-page .hero-wrapper h1 {
        font-size: 35px;
        line-height: 43px;
    }
}

@media (max-width: 767px) {
    .gallery-page .hero-container {
        padding: 50px 0px 50px;
    }

    .gallery-page .hero-wrapper {
        flex-direction: column;
        padding: 0 15px;
        text-align: center;
    }

    .gallery-page .hero-wrapper h1 {
        font-size: 27px;
        line-height: 35px;
    }

    .gallery-page .hero-wrapper .hero-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .gallery-mosaic {
        column-count: 2;
        column-gap: 8px;
    }

    .gallery-mosaic__item {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .gallery-mosaic {
        column-count: 1;
    }
}