.art-gallery-section {
    margin-top: 18px;
}

.art-gallery-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.art-gallery-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.art-gallery-chip svg {
    width: 14px;
    height: 14px;
}

.art-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.art-gallery-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.art-gallery-image-link {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.art-gallery-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.art-gallery-card:hover .art-gallery-image-link img {
    transform: scale(1.03);
}

.art-gallery-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px 14px;
}

.art-gallery-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.art-gallery-meta strong {
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
}

.art-gallery-meta span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.58);
}

.art-gallery-link {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
}

.art-gallery-link.muted {
    color: rgba(255, 255, 255, 0.5);
}

.art-gallery-view-more {
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.07);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
}

.art-gallery-view-more:hover {
    border-color: rgba(251, 191, 36, 0.34);
    background: rgba(251, 191, 36, 0.11);
}

.art-gallery-view-more strong {
    color: #fbbf24;
}

.art-gallery-empty {
    margin-top: 14px;
    padding: 22px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.74);
    text-align: center;
    display: grid;
    gap: 8px;
    justify-items: center;
}

.art-gallery-empty svg {
    width: 28px;
    height: 28px;
    color: #fbbf24;
}

.art-gallery-empty strong {
    color: #fff;
    font-size: 15px;
}

.art-gallery-empty span {
    max-width: 36rem;
    font-size: 13px;
    line-height: 1.5;
}

.art-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.art-gallery-modal.active {
    display: flex;
}

.art-gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 12, 0.78);
    backdrop-filter: blur(8px);
}

.art-gallery-modal-panel {
    position: relative;
    width: min(960px, 100%);
    max-height: min(86vh, 820px);
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, #1c1f25 0%, #15181d 100%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
}

.art-gallery-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.art-gallery-modal-close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.art-gallery-modal-close:hover {
    border-color: rgba(239, 68, 68, 0.32);
    background: rgba(239, 68, 68, 0.12);
}

.art-gallery-modal-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
}

.art-gallery-modal-grid {
    overflow: auto;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 720px) {
    .art-gallery-grid {
        grid-template-columns: 1fr;
    }

    .art-gallery-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .art-gallery-modal {
        padding: 10px;
    }

    .art-gallery-modal-panel {
        max-height: calc(100dvh - 20px);
        border-radius: 18px;
    }

    .art-gallery-modal-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }
}
