/* Start custom CSS for shortcode, class: .elementor-element-088c5f7 *//* ── Tabs ── */

.exh-tabs {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 56px;
    padding: 5px;
    background: #f3f4f6;
    border-radius: 10px;
}

.exh-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #6b7280;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.exh-tab:hover {
    color: #111827;
    background: rgba(255, 255, 255, 0.6);
}

.exh-tab.active {
    color: #fff;
    background: #111827;
}


/* ── Section labels ── */

.exh-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.exh-section-label::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.exh-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: 0.12;
}

.exh-label--current {
    color: #2563eb;
}

.exh-label--current::before {
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    animation: exh-pulse 2.5s ease-in-out infinite;
}

.exh-label--upcoming {
    color: #059669;
}

.exh-label--upcoming::before {
    background: #059669;
}

.exh-label--past {
    color: #6b7280;
}

.exh-label--past::before {
    background: #9ca3af;
}

@keyframes exh-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
    50%      { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}


/* ── Featured cards (current + upcoming) ── */

.exh-featured-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
}

.exh-featured-card {
    display: flex;
    gap: 40px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.25s ease;
}

.exh-featured-card:hover {
    opacity: 0.88;
}

.exh-featured-card__image {
    width: 340px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f5f9;
    aspect-ratio: 1 / 1;
}

.exh-featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exh-featured-card__placeholder {
    width: 100%;
    height: 100%;
    background: #e2e8f0;
}

.exh-featured-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    flex: 1;
    min-width: 0;
}

/* Meta row: badge + dates */
.exh-featured-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.exh-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    line-height: 1.3;
    flex-shrink: 0;
}

.exh-badge--current {
    background: #eff6ff;
    color: #1d4ed8;
}

.exh-badge--upcoming {
    background: #ecfdf5;
    color: #047857;
}

.exh-featured-card__dates {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.exh-featured-card__title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.25;
    color: #111827;
}

.exh-featured-card__excerpt {
    font-size: 16px;
    line-height: 1.65;
    color: #6b7280;
    margin: 0 0 16px;
}

.exh-featured-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #1a5b8c;
    transition: gap 0.2s ease;
}

.exh-featured-card:hover .exh-featured-card__readmore {
    gap: 10px;
}

.exh-featured-card__readmore svg {
    transition: transform 0.2s ease;
}

.exh-featured-card:hover .exh-featured-card__readmore svg {
    transform: translateX(2px);
}


/* ── Past exhibitions grid ── */

.exh-past-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 24px;
}

.exh-past-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.exh-past-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 24px -4px rgba(0, 0, 0, 0.08),
        0 4px 8px -2px rgba(0, 0, 0, 0.03);
}

.exh-past-card__image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #f8fafc;
}

.exh-past-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(0.15);
}

.exh-past-card:hover .exh-past-card__image img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.exh-past-card__placeholder {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
}

.exh-past-card__body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.exh-past-card__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.35;
    color: #111827;
}

.exh-past-card__dates {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 0;
    font-weight: 500;
}

.exh-past-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 600;
    color: #1a5b8c;
    margin-top: auto;
    padding-top: 14px;
    transition: gap 0.2s ease;
}

.exh-past-card:hover .exh-past-card__link {
    gap: 8px;
}

.exh-past-card__link svg {
    transition: transform 0.2s ease;
}

.exh-past-card:hover .exh-past-card__link svg {
    transform: translateX(2px);
}


/* ── Pagination ── */

.exh-pagination {
    margin: 56px 0 24px;
    display: flex;
    justify-content: center;
}

.exh-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.exh-pagination .page-numbers li {
    list-style: none;
}

.exh-pagination .page-numbers a,
.exh-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.exh-pagination .page-numbers a:hover {
    background: #f3f4f6;
    color: #111827;
}

.exh-pagination .page-numbers .current {
    background: #111827;
    color: #fff;
}

.exh-pagination .page-numbers .dots {
    color: #d1d5db;
    background: transparent;
}


/* ── Empty state ── */

.exh-empty {
    text-align: center;
    color: #9ca3af;
    font-size: 15px;
    padding: 80px 20px;
    background: #f9fafb;
    border-radius: 16px;
    border: 1px dashed #e5e7eb;
    margin-bottom: 48px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .exh-featured-card__image {
        width: 280px;
    }

    .exh-featured-card {
        gap: 32px;
    }

    .exh-featured-card__title {
        font-size: 24px;
    }

    .exh-past-grid {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .exh-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 40px;
        scrollbar-width: none;
    }

    .exh-tabs::-webkit-scrollbar {
        display: none;
    }

    .exh-tab {
        flex-shrink: 0;
        padding: 10px 18px;
    }

    .exh-featured-card {
        flex-direction: column;
        gap: 0;
    }

    .exh-featured-card__image {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 10px 10px 0 0;
    }

    .exh-featured-card__body {
        padding: 20px 0;
    }

    .exh-featured-card__title {
        font-size: 22px;
    }

    .exh-featured-card__excerpt {
        font-size: 15px;
    }

    .exh-featured-list {
        margin-bottom: 48px;
    }

    .exh-past-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .exh-past-card__image {
        height: 160px;
    }

    .exh-past-card__body {
        padding: 14px 16px;
    }

    .exh-past-card__title {
        font-size: 14px;
    }

    .exh-past-card__dates {
        font-size: 12px;
    }

    .exh-past-card__link {
        font-size: 14px;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .exh-past-grid {
        grid-template-columns: 1fr;
    }

    .exh-featured-card__image {
        aspect-ratio: 3 / 2;
    }
}/* End custom CSS */