/* ==================================================
GALLERY PAGE
================================================== */

.gallery-page {
width: 100%;
}

/* ==================================================
GALLERY ARCHIVE WRAPPER
================================================== */

#gallery-archive {


width: 100%;

min-height: 100%;


}

.gallery-content {


width: 100%;

max-width: 1100px;

margin: 0 auto;

padding: 40px;


}

/* ==================================================
GALLERY HEADER
================================================== */

.gallery-header {


width: 100%;

display: grid;

grid-template-columns:
    180px
    1fr;

gap: 30px;

align-items: stretch;

margin-bottom: 35px;

background: #1c1c1c;

color: white;


}

.gallery-header-image {


width: 100%;

min-height: 180px;

overflow: hidden;

background: #1c1c1c;


}

.gallery-header-image img {


width: 100%;

height: 100%;

display: block;

object-fit: cover;


}

.gallery-header-info {


display: flex;

flex-direction: column;

justify-content: center;

padding: 25px 0;


}

.gallery-header-label {


margin-bottom: 8px;

font-size: 10px;

font-weight: 700;

letter-spacing: .18em;

color: #bbb9b9;


}

.gallery-header-info h1 {


margin: 0 0 10px;

font-size: 32px;

line-height: 1.1;

letter-spacing: -.04em;


}

.gallery-header-info p {


max-width: 600px;

margin: 0;

color: #949292;

font-size: 14px;

line-height: 1.7;


}

/* ==================================================
ARCHIVE CONTROLS
================================================== */

.gallery-controls {


width: 100%;

display: flex;

align-items: center;

justify-content: space-between;

gap: 20px;

margin-bottom: 25px;

padding: 18px 20px;

background: #f7f7f5;


}

.gallery-controls-title {


font-size: 10px;

font-weight: 700;

letter-spacing: .16em;

white-space: nowrap;


}

.gallery-filter-buttons {


display: flex;

flex-wrap: wrap;

justify-content: flex-end;

gap: 8px;


}

.gallery-filter-button {


padding: 8px 14px;

border: 1px solid #dcdcd8;

background: #ffffff;

color: #1c1c1c;

font-family: inherit;

font-size: 10px;

font-weight: 700;

letter-spacing: .12em;

cursor: pointer;

transition:

    background .2s ease,

    color .2s ease,

    border-color .2s ease;


}

.gallery-filter-button:hover,

.gallery-filter-button.active {


border-color: #1c1c1c;

background: #1c1c1c;

color: #ffffff;


}

/* ==================================================
ARCHIVE GRID
================================================== */

.gallery-archive-grid {


width: 100%;

display: grid;

grid-template-columns:
    repeat(3, minmax(0, 1fr));

gap: 18px;


}

/* ==================================================
ARCHIVE ITEM
================================================== */

.gallery-archive-item {


min-width: 0;


}

.gallery-artwork-button {


width: 100%;

display: block;

padding: 0;

border: none;

background: #ffffff;

font-family: inherit;

text-align: left;

cursor: pointer;

overflow: hidden;

transition:

    transform .25s ease,

    box-shadow .25s ease;


}

.gallery-artwork-button:hover {


transform: translateY(-5px);

box-shadow:
    0 12px 30px rgba(0, 0, 0, .08);


}

/* ==================================================
ARTWORK IMAGE
================================================== */

.gallery-artwork-image {


width: 100%;

aspect-ratio: 4 / 5;

overflow: hidden;

background: #eeeeec;


}

.gallery-artwork-image img {


width: 100%;

height: 100%;

display: block;

object-fit: cover;

transition:

    transform .35s ease;


}

.gallery-artwork-button:hover
.gallery-artwork-image img {


transform: scale(1.04);


}

/* ==================================================
ARTWORK INFORMATION
================================================== */

.gallery-artwork-info {


min-height: 72px;

display: grid;

grid-template-columns:
    42px
    minmax(0, 1fr)
    30px;

align-items: center;

gap: 12px;

padding: 14px 16px;


}

.gallery-artwork-number {


color: #999999;

font-size: 10px;

font-weight: 700;

letter-spacing: .1em;


}

.gallery-artwork-details {


min-width: 0;


}

.gallery-artwork-title {


overflow: hidden;

text-overflow: ellipsis;

white-space: nowrap;

font-size: 12px;

font-weight: 700;

letter-spacing: .04em;


}

.gallery-artwork-meta {


margin-top: 3px;

color: #888888;

font-size: 9px;

font-weight: 600;

letter-spacing: .1em;


}

.gallery-artwork-arrow {


font-size: 18px;

text-align: right;

transition:

    transform .2s ease;


}

.gallery-artwork-button:hover
.gallery-artwork-arrow {


transform: translateX(4px);


}

/* ==================================================
HIDDEN FILTERED ITEMS
================================================== */

.gallery-archive-item.hidden {


display: none;


}

/* ==================================================
RESPONSIVE
================================================== */

@media (max-width: 900px) {


.gallery-content {

    padding: 30px;

}


.gallery-archive-grid {

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

}


}

@media (max-width: 640px) {


.gallery-content {

    padding: 24px;

}


.gallery-header {

    grid-template-columns:
        1fr;

    gap: 0;

}


.gallery-header-image {

    min-height: 220px;

}


.gallery-header-info {

    padding: 24px;

}


.gallery-controls {

    align-items: flex-start;

    flex-direction: column;

}


.gallery-filter-buttons {

    justify-content: flex-start;

}


.gallery-archive-grid {

    grid-template-columns:
        1fr;

}


}
