.aman-process-gallery {
    --aman-green: #062b27;
    --aman-green-light: #0b4039;
    --aman-gold: #fdbd06;
    --aman-cream: #fbf8f0;

    padding: 50px 0 65px;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
}


/* =========================
   HEADER
========================= */

.aman-gallery-header {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.aman-gallery-label {
    margin-bottom: 13px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;

    color: var(--aman-gold);
}

.aman-gallery-title {
    margin: 0;

    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;

    color: var(--aman-green);
}

.aman-gallery-subtitle {
    max-width: 720px;
    margin: 20px auto 0;

    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;

    color: #666;
}


/* =========================
   GALLERY
========================= */

.aman-gallery-grid {
    display: grid;

    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: 280px 280px;

    gap: 5px;

    width: 100%;
}


/* =========================
   POSITION
========================= */

/* Большое фото производства */

.gallery-production {
    grid-column: 1;
    grid-row: 1 / 3;
}


/* Верхние фото */

.gallery-apiary {
    grid-column: 2;
    grid-row: 1;
}

.gallery-harvest {
    grid-column: 3;
    grid-row: 1;
}


/* Нижние фото */

.gallery-lab {
    grid-column: 2;
    grid-row: 2;
}

.gallery-packing {
    grid-column: 3;
    grid-row: 2;
}


/*
Контроль качества делаем дополнительным
широким фото снизу
*/

.gallery-quality {
    grid-column: 1 / 4;
    height: 330px;
    margin-top: 0;
}


/* =========================
   ITEM
========================= */

.aman-gallery-item {
    position: relative;

    display: block;

    overflow: hidden;

    background: var(--aman-green);

    text-decoration: none;
    color: inherit;
}


/* IMAGE */

.aman-gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2,.7,.2,1),
        filter .5s ease;
}


/* =========================
   CAPTION
========================= */

.aman-gallery-caption {
    position: absolute;

    left: 0;
    bottom: 0;

    min-width: 62%;
    max-width: 90%;

    padding: 15px 20px 14px;

    background: rgba(255,255,255,.80);

    color: #111;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    transition:
        background .3s ease,
        padding .3s ease;
}


.aman-gallery-caption strong {
    display: block;

    margin-bottom: 4px;

    font-size: 16px;
    line-height: 1.3;

    font-weight: 700;

    color: #111;
}


.aman-gallery-caption span {
    display: block;

    font-size: 12px;
    line-height: 1.5;

    font-weight: 500;

    color: #333;
}


/* =========================
   HOVER
========================= */

.aman-gallery-item:hover img {
    transform: scale(1.035);
}


.aman-gallery-item:hover .aman-gallery-caption {
    background: rgba(255,255,255,.92);

    padding-bottom: 18px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .aman-process-gallery {
        padding: 75px 0 85px;
    }

    .aman-gallery-title {
        font-size: 34px;
    }


    .aman-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 420px 260px 260px;

        gap: 5px;
    }


    .gallery-production {
        grid-column: 1 / 3;
        grid-row: 1;
    }


    .gallery-apiary {
        grid-column: 1;
        grid-row: 2;
    }


    .gallery-harvest {
        grid-column: 2;
        grid-row: 2;
    }


    .gallery-lab {
        grid-column: 1;
        grid-row: 3;
    }


    .gallery-packing {
        grid-column: 2;
        grid-row: 3;
    }


    .gallery-quality {
        grid-column: 1 / 3;

        height: 300px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .aman-process-gallery {
        padding: 65px 0 75px;
    }


    .aman-gallery-header {
        margin-bottom: 35px;
    }


    .aman-gallery-title {
        font-size: 29px;
    }


    .aman-gallery-subtitle {
        font-size: 14px;
        line-height: 1.7;
    }


    .aman-gallery-grid {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-rows: none;

        gap: 4px;
    }


    .gallery-production,
    .gallery-apiary,
    .gallery-harvest,
    .gallery-lab,
    .gallery-packing,
    .gallery-quality {

        grid-column: auto;
        grid-row: auto;

        height: 280px;
    }


    .gallery-production {
        height: 360px;
    }


    .aman-gallery-caption {
        min-width: 75%;

        padding: 13px 16px;
    }


    .aman-gallery-caption strong {
        font-size: 15px;
    }


    .aman-gallery-caption span {
        font-size: 11px;
    }

}