.fiea-news-gallery {
    --fiea-news-blue: #0a3d6b;
    --fiea-news-green: #2e8b57;
    margin: clamp(42px, 7vw, 76px) 0 12px;
    padding-top: clamp(25px, 4vw, 38px);
    border-top: 1px solid #dfe7ec;
}

.fiea-news-gallery-header {
    margin-bottom: 24px;
}

.fiea-news-gallery-header span {
    display: block;
    margin-bottom: 5px;
    color: var(--fiea-news-green);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.fiea-news-gallery-header h2 {
    margin: 0;
    color: var(--fiea-news-blue);
    font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.fiea-news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--fiea-news-columns, 2), minmax(0, 1fr));
    gap: clamp(15px, 2.5vw, 26px);
}

.fiea-news-gallery-item {
    margin: 0;
}

.fiea-news-gallery-open {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #e8eef1;
    box-shadow: 0 12px 28px rgba(10, 61, 107, .12);
    cursor: zoom-in;
}

.fiea-news-gallery-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.fiea-news-gallery-open:hover .fiea-news-gallery-image,
.fiea-news-gallery-open:focus-visible .fiea-news-gallery-image {
    transform: scale(1.025);
    filter: brightness(.88);
}

.fiea-news-gallery-open:focus-visible {
    outline: 4px solid rgba(46, 139, 87, .34);
    outline-offset: 4px;
}

.fiea-news-gallery-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 50%;
    font-size: 1.4rem;
    background: rgba(10, 61, 107, .9);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}

.fiea-news-gallery-open:hover .fiea-news-gallery-zoom,
.fiea-news-gallery-open:focus-visible .fiea-news-gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}

.fiea-news-gallery-item figcaption {
    padding: 9px 3px 0;
    color: #64717c;
    font-size: .9rem;
}

.fiea-news-lightbox {
    box-sizing: border-box;
    width: min(94vw, 1280px);
    max-width: none;
    max-height: 92vh;
    padding: 18px;
    border: 0;
    border-radius: 15px;
    background: #081d2e;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

.fiea-news-lightbox::backdrop {
    background: rgba(3, 20, 34, .88);
    backdrop-filter: blur(5px);
}

.fiea-news-lightbox-content {
    display: grid;
    place-items: center;
}

.fiea-news-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 85px);
    object-fit: contain;
}

.fiea-news-lightbox-content p {
    margin: 12px 0 0;
    color: #fff;
    text-align: center;
}

.fiea-news-lightbox-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    background: rgba(0, 0, 0, .55);
    cursor: pointer;
}

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

    .fiea-news-gallery-zoom {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fiea-news-gallery-image,
    .fiea-news-gallery-zoom {
        transition: none;
    }
}

