/* Page Hero — shared pattern with news.css */
.page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5% 60px;
    background-color: #16181c;
    border-bottom: 2px solid #d9a637;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.4em;
}

.page-hero p {
    color: #c0c0c0;
    max-width: 560px;
    font-size: 1rem;
}

/* Gallery Page Section */
.gallery-page {
    padding-top: 4em;
    padding-bottom: 5em;
}

/* Filter buttons — reuse .news-filters + .filter-btn from news.css
   If news.css is not loaded here we define them again */
.news-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 3em;
}

.filter-btn {
    background: none;
    border: 1px solid #707070;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    cursor: pointer;
    transition: background .25s, border-color .25s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #d9a637;
    border-color: #d9a637;
}

/* Masonry-style grid using CSS columns */
.gallery-page-grid {
    columns: 4;
    column-gap: 12px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.gp-item {
    break-inside: avoid;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #d9a637;
    position: relative;
    cursor: pointer;
}

.gp-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .35s ease, filter .35s ease;
}

.gp-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.12);
}

/* Hover overlay with zoom icon */
.gp-item::after {
    content: '\2315';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: rgba(217, 166, 55, 0.35);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.gp-item:hover::after {
    opacity: 1;
}

/* Hidden filtered items */
.gp-item.hidden {
    display: none;
}

/* No results */
.gallery-no-results {
    text-align: center;
    color: #c0c0c0;
    margin-top: 2em;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .gallery-page-grid {
        columns: 3;
    }
}

@media (max-width: 720px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .gallery-page-grid {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .gallery-page-grid {
        columns: 1;
    }
}
