.gallery-toolbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:16px;
    padding:20px 24px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    margin:22px 0
}
.gallery-toolbar p {
    display:flex;
    gap:7px;
    align-items:center;
    flex-wrap:wrap;
    font-size:15px;
    margin:0;
    color:var(--muted)
}
.gallery-toolbar p>svg {
    width:21px;
    height:21px;
    color:var(--rose)
}
.gallery-toolbar .button {
    font-size:15px
}
.photo-grid .photo-card {
    padding:0;
    overflow:hidden;
    border-radius:20px;
    display:flex;
    flex-direction:column
}
.photo-card-image {
    display:block;
    background:#f8f1f4;
    border-bottom:1px solid var(--line);
    overflow:hidden
}
.photo-grid .photo-card-image img {
    display:block;
    width:100%;
    height:270px;
    max-height:none;
    object-fit:contain;
    border-radius:0
}
.photo-card figcaption,.photo-card-content {
    padding:21px;
    display:flex;
    flex-direction:column;
    gap:16px;
    flex:1
}
.photo-card p {
    font-size:15px;
    line-height:1.65;
    margin:0;
    overflow-wrap:anywhere
}
.photo-card .button {
    font-size:14px;
    min-height:46px;
    padding:12px 16px
}
.photo-card .wide {
    margin-top:auto
}
.photo-grid .photo-moderation {
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:3px
}
.photo-status {
    display:inline-flex;
    align-items:center;
    gap:7px;
    align-self:flex-start;
    font-size:12px;
    font-weight:600;
    line-height:1.5;
    border-radius:8px;
    padding:6px 9px;
    color:#835f30;
    background:#fff4df
}
.photo-status svg {
    width:16px;
    height:16px;
    flex-shrink:0
}
.photo-status.is-approved {
    color:#466448;
    background:#edf5eb
}
.gallery-empty {
    text-align:center;
    padding:44px 26px
}
.gallery-empty .icon-disc {
    margin-inline:auto
}
.gallery-empty h2 {
    font-size:28px
}
.gallery-empty p {
    font-size:16px;
    color:var(--muted);
    max-width:580px;
    margin:0 auto 22px
}
.gallery-footnote {
    font-size:13px;
    color:var(--muted);
    margin-top:24px
}
.gallery-home {
    padding-top:35px;
    padding-bottom:35px
}
.gallery-home h2 {
    font-size:32px;
    margin-bottom:10px
}
.gallery-home .page-heading {
    gap:20px
}
.gallery-home .page-heading p {
    max-width:650px;
    font-size:17px
}
.gallery-home-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px
}
.gallery-home-grid a {
    display:block;
    background:#f8f1f4;
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden
}
.gallery-home-grid img {
    display:block;
    object-fit:cover;
    width:100%;
    height:210px
}
.gallery-section .page-heading p {
    max-width:720px
}
.gallery-section .page-heading>.button {
    flex-shrink:0
}
@media(max-width:700px) {
    .gallery-toolbar {
        padding:19px
    }
    .gallery-toolbar .button {
        width:100%
    }
    .gallery-home-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px
    }
    .gallery-home-grid img {
        height:150px
    }
    .gallery-home h2 {
        font-size:29px
    }
    .gallery-section .photo-grid {
        grid-template-columns:1fr
    }
    .gallery-empty h2 {
        font-size:25px
    }
}
.photo-pagination {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
    margin-top:28px
}
.photo-pagination span {
    font-size:14px;
    color:var(--muted)
}
.photo-pagination .button {
    font-size:14px
}
@media print {
    .gallery-toolbar,.photo-moderation,.photo-pagination {
        display:none
    }
}
