/* =========================================================
   FOTOGALERIE - SEZNAM ALB
========================================================= */

.gallery-albums {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   KARTA ALBA
========================================================= */

.gallery-album {
    overflow: hidden;

    border:
        1px solid rgba(73, 48, 31, .06);

    border-radius:
        22px;

    background:
        #fff;

    text-decoration:
        none;

    box-shadow:
        0 8px 24px rgba(73, 48, 31, .06);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.gallery-album:hover,
.gallery-album:focus-visible {
    transform:
        translateY(-5px);

    box-shadow:
        0 14px 34px rgba(73, 48, 31, .11);
}


/* Foto */

.gallery-album__image {
    aspect-ratio:
        16 / 10;

    overflow: hidden;
}

.gallery-album__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit:
        cover;

    transition:
        transform .4s ease;
}

.gallery-album:hover .gallery-album__image img {
    transform:
        scale(1.04);
}


/* Obsah */

.gallery-album__content {
    padding:
        18px
        20px
        20px;
}

.gallery-album h2 {
    margin:
        0
        0
        12px;

    color:
        var(--color-brown);

    font-size:
        19px;

    font-weight:
        800;

    line-height:
        1.25;
}


/* Metadata */

.gallery-album__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    color:
        var(--color-text-light);

    font-size:
        14px;
}

.gallery-album__meta span {
    display: flex;
    align-items: center;

    gap: 8px;
}

.gallery-album__meta img {
    width:
        18px;

    height:
        18px;
}

/* třídy */


.gallery-class-tag {
    display: inline-flex;
    align-items: center;

    padding: 6px 12px;

    border-radius: 100px;

    font-size: 13px;
    font-weight: 800;
    line-height: 1;

    text-decoration: none;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.gallery-class-tag:hover,
.gallery-class-tag:focus-visible {
    transform: translateY(-2px);
}

.gallery-class-tag--pink {
    color: #b94466;
    background: #fdebf0;
}

.gallery-class-tag--yellow {
    color: #9c6b16;
    background: #fff2d9;
}

.gallery-class-tag--orange {
    color: #a9601c;
    background: #fce8d2;
}

.gallery-class-tag--gray {
    color: #64645f;
    background: #f0f0ed;
}

.gallery-class-tag--purple {
    color: #82538d;
    background: #f3e8f4;
}

.gallery-class-tag--sun {
    color: #9b7500;
    background: #fff4ce;
}

.gallery-class-tag--blue {
    color: #247d82;
    background: #e3f3f5;
}


@media (max-width: 1000px) {

    .gallery-albums {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .gallery-albums {
        grid-template-columns:
            1fr;
    }

}

/* =========================================================
   DETAIL ALBA
========================================================= */

.gallery-detail {
    max-width:
        1100px;

    margin-inline:
        auto;
}

.gallery-detail__meta {
    margin-bottom:
        26px;

    display: flex;
    align-items: center;

    gap: 10px 28px;

    color:
        var(--color-text-light);

    font-size:
        15px;
}

.gallery-detail__meta span {
    display: flex;
    align-items: center;

    gap: 8px;
}

.gallery-detail__meta img {
    width:
        20px;

    height:
        20px;
}
.gallery-detail__count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gallery-detail__count img {
    width: 20px;
    height: 20px;
}

.gallery-class-tag {
    display: inline-flex;
    align-items: center;

    padding: 6px 14px;

    border-radius: 100px;

    font-size: 14px;
    font-weight: 800;
    line-height: 1;

    text-decoration: none;
}