/* Gallery — public page */
.gallery-page {
    background: #ffffff;
}

.gallery-hero {
    position: relative;
    padding: 48px 0 52px;
    overflow: hidden;
}

.gallery-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 26%, rgba(249, 200, 51, 0.16) 0%, transparent 44%),
        radial-gradient(circle at 84% 74%, rgba(249, 200, 51, 0.08) 0%, transparent 36%),
        linear-gradient(135deg, #04121c 0%, #061a28 52%, #081f2f 100%);
}

.gallery-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #04121c 0%, #f9c833 50%, #04121c 100%);
}

.gallery-hero .container {
    position: relative;
    z-index: 1;
}

.gallery-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
}

.gallery-breadcrumb a {
    color: #f9c833;
    text-decoration: none;
}

.gallery-breadcrumb a:hover {
    color: #ffffff;
}

.gallery-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #061a28;
    background: rgba(249, 200, 51, 0.9);
    border-radius: 999px;
}

.gallery-hero-title {
    margin: 0 0 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
}

.gallery-hero-text {
    margin: 0;
    max-width: 720px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.gallery-main {
    padding: 56px 0 68px;
    background:
        radial-gradient(circle at 90% 10%, rgba(249, 200, 51, 0.08) 0%, transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.gallery-section-header {
    max-width: 720px;
    margin: 0 auto 30px;
}

.gallery-section-header h2 {
    margin: 0 0 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #04121c;
}

.gallery-section-header p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #64748b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gallery-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(6, 26, 40, 0.08);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(6, 26, 40, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 52px rgba(6, 26, 40, 0.14);
}

.gallery-card-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #04121c 0%, #061a28 100%);
}

.gallery-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-card-media img {
    transform: scale(1.05);
}

.gallery-card-placeholder,
.gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card-placeholder {
    width: 100%;
    height: 100%;
    color: #f9c833;
}

.gallery-card-placeholder i {
    font-size: 2.5rem;
}

.gallery-card-body {
    padding: 18px 20px 20px;
}

.gallery-card-body h3 {
    margin: 0 0 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #04121c;
}

.gallery-card-body p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
}

.gallery-empty {
    max-width: 560px;
    margin: 0 auto;
    padding: 42px 28px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(6, 26, 40, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(6, 26, 40, 0.1);
}

.gallery-empty i {
    font-size: 2.5rem;
    color: #f0b429;
}

.gallery-empty h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    color: #04121c;
}

.gallery-empty p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #64748b;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .gallery-hero {
        padding: 36px 0 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
