/* Single exhibit pages: clear container backgrounds so the navy brand
   bg shows through (set by Elementor at the page/site level). */
body.single-b2506_exhibit .site-main,
body.single-b2506_exhibit .page-content,
body.single-b2506_exhibit .entry-content {
    background-color: transparent !important;
}

.b2506-exhibits-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.b2506-exhibits-section {
    margin-bottom: 50px;
}

.b2506-section-title {
    color: #F7D42D;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 44px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(247, 212, 45, 0.3);
}

.b2506-exhibits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.b2506-exhibit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.b2506-exhibit-card:hover {
    border-color: rgba(247, 212, 45, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.b2506-exhibit-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.b2506-exhibit-content {
    padding: 20px;
}

.b2506-exhibit-title {
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 8px;
}

.b2506-exhibit-dates {
    color: #F7D42D;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin: 0 0 12px;
}

.b2506-exhibit-desc {
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.b2506-exhibit-link {
    display: inline-block;
    background: #F7D42D;
    color: #0C2340;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2506-exhibit-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 212, 45, 0.3);
}

.b2506-no-exhibits {
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* ── Featured Exhibit Layout ── */
.b2506-featured-exhibit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 30px;
}

.b2506-featured-exhibit-image {
    display: block;
    text-decoration: none;
}

.b2506-featured-exhibit-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.b2506-featured-exhibit-image:hover img {
    transform: scale(1.02);
    opacity: 0.92;
}

.b2506-featured-exhibit-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.b2506-featured-exhibit-content h3 a:hover {
    color: #F7D42D;
}

.b2506-featured-exhibit-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #F7D42D;
    color: #0C2340;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2506-featured-exhibit-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 212, 45, 0.3);
}

.b2506-featured-exhibit-image .b2506-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    opacity: 0.5;
}

.b2506-featured-exhibit-content h3 {
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 28px;
    margin: 0 0 16px;
    line-height: 1.3;
}

.b2506-featured-exhibit-content .b2506-featured-desc,
.b2506-featured-exhibit-content .b2506-featured-desc p {
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 16px;
}

.b2506-featured-tag {
    display: inline-block;
    background: rgba(247, 212, 45, 0.15);
    color: #F7D42D;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ── Highlights Layout ── */
.b2506-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.b2506-highlight-card {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.b2506-highlight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247, 212, 45, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

.b2506-highlight-image img {
    transition: transform 0.4s ease;
}

.b2506-highlight-card:hover .b2506-highlight-image img {
    transform: scale(1.05);
}

.b2506-highlight-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.b2506-highlight-image .b2506-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    background: rgba(255, 255, 255, 0.03);
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    opacity: 0.4;
}

.b2506-highlight-content {
    padding: 28px;
}

.b2506-highlight-content h3 {
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 10px;
}

.b2506-highlight-content p {
    color: #EFF0EF;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.7;
    margin: 0 0 16px;
}

.b2506-highlight-link {
    display: inline-block;
    color: #F7D42D;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease;
}

.b2506-highlight-card:hover .b2506-highlight-link {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .b2506-exhibits-grid {
        grid-template-columns: 1fr;
    }

    .b2506-featured-exhibit {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .b2506-featured-exhibit-image img,
    .b2506-featured-exhibit-image .b2506-placeholder {
        height: 250px;
    }

    .b2506-highlights-grid {
        grid-template-columns: 1fr;
    }
}
