.hf-home-gallery { padding-top: 0.25rem; padding-bottom: 0.5rem; }
.hf-home-gallery .hf-gallery-album-card { height: 100%; }
.hf-home-gallery-card .hf-gallery-album-body { min-height: 4.5rem; }
@media (max-width: 575.98px) {
    .hf-home-gallery .col-6 { margin-bottom: 0.25rem; }
}

.hf-gallery-hero { padding-bottom: 0.5rem; }
.hf-gallery-section { padding-bottom: 3rem; }
.hf-gallery-album-card {
    display: block;
    border-radius: var(--eds-radius, 14px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--eds-line, #d8e4e0);
    box-shadow: var(--eds-shadow-sm, 0 2px 8px rgba(13, 79, 60, 0.06));
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hf-gallery-album-card:hover { transform: translateY(-3px); box-shadow: var(--eds-shadow, 0 8px 28px rgba(13, 79, 60, 0.1)); }
.hf-gallery-album-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.hf-gallery-album-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    background: var(--eds-soft, #f4f8f7);
    font-size: 2.5rem;
    color: var(--eds-muted, #5c6b68);
}
.hf-gallery-album-body { display: block; padding: 1rem; }
.hf-gallery-masonry {
    column-count: 2;
    column-gap: 1rem;
}
@media (min-width: 768px) { .hf-gallery-masonry { column-count: 3; } }
@media (min-width: 1200px) { .hf-gallery-masonry { column-count: 4; } }
.hf-gallery-tile {
    break-inside: avoid;
    margin-bottom: 1rem;
    width: 100%;
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}
.hf-gallery-tile img { width: 100%; display: block; border-radius: 10px; }
.hf-gallery-tile-cap {
    display: block;
    font-size: 0.85rem;
    padding: 0.35rem 0.25rem 0;
    text-align: left;
    color: var(--eds-muted, #5c6b68);
}
.hf-gallery-card {
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.hf-gallery-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hf-gallery-card span { display: block; padding: 0.5rem 0.75rem; font-weight: 600; }
.hf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(10, 20, 18, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.hf-lightbox[hidden] { display: none !important; }
.hf-lightbox-inner { max-width: min(960px, 100%); margin: 0; }
.hf-lightbox-inner img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; display: block; }
.hf-lightbox-inner figcaption { color: #fff; text-align: center; margin-top: 0.75rem; }
.hf-lightbox-close, .hf-lightbox-prev, .hf-lightbox-next {
    position: absolute;
    border: none;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.hf-lightbox-close { top: 1rem; right: 1rem; }
.hf-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.hf-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
