
.tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border: none;
    background: none;
}

.tab-btn {
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: dimgray;
    padding-left: 0;
    padding-right: 1rem;
    cursor: pointer;
    border-radius: 0;
    transition: color 0.2s;
}

    .tab-btn.active {
        color: black;
        font-weight: 500;
    }

.artwork-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
    max-width: 1238px;
}

.artwork-outer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artwork-container {
    background-color: rgb(232,232,232);
    box-shadow: none;
    cursor: zoom-in;
    transition: box-shadow 0.3s ease;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    margin-bottom: 0.5rem;
}

    .artwork-container:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

.artwork-frame {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.artwork-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    padding: 10%;
}

.artwork-info {
    text-align: center;
    font-size: 0.7rem;
    padding: 0 10%;
    color: #666;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.modal-artwork-container {
    width: min(80vw, 80vh);
    aspect-ratio: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #555;
    background-color: rgb(232,232,232);
    padding: 10px;
    box-sizing: border-box;
}

.modal-artwork-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 50px;
    color: #aaa;
    font-size: 2rem;
    font-weight: 500;
    cursor: pointer;
}

    .close-btn:hover,
    .close-btn:focus {
        color: #000;
        text-decoration: none;
    }

.column-grid {
    display: flex;
    gap: 50px;
}

.column-grid > * {
    width: 50%;
}

.grid-column {
    width: 100%;
}

.col-700 {
    max-width: 700px;
}

.col-380 {
    max-width: 380px;
}

.col-460 {
    max-width: 500px;
}

.image-column {
    width: 100%;
    max-width: 600px;
    margin-right: 20%;
}

.exhibitions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.exhibition-block {
    background: #f4f4f4;
    border-left: 4px solid #111;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}