:root {
    --gold: #c9a227;
    --gold-light: #e6c860;
    --gold-dark: #a68820;
    --bg-dark: #1a1d21;
    --bg-medium: #232730;
    --bg-light: #2d323b;
    --bg-card: #353b47;
    --text-light: #f5f5f5;
    --text-medium: #c5c8ce;
    --text-muted: #8a8f9a;
    --accent-warm: #3d3428;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 29, 33, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--gold) !important;
}

.external-icon {
    font-size: 0.75em;
    margin-left: 0.2em;
    opacity: 0.7;
    display: inline;
    transition: opacity 0.3s ease;
}
a:hover .external-icon {
    opacity: 1;
}

.nav-menu a.active {
    color: var(--gold);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 1px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* Page Header */
.page-header {
    padding: 7rem 4rem 1.5rem;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
}

.section-eyebrow {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Controls */
/* SEO Content - collapsible */
.gallery-seo {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 1rem;
    background: var(--bg-dark);
    position: relative;
}

.gallery-seo-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.gallery-seo-text.expanded {
    max-height: 2000px;
}

.gallery-seo-text p {
    margin-bottom: 0.75rem;
}

.gallery-seo-text p:last-child {
    margin-bottom: 0;
}

.gallery-seo-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.gallery-seo-text h2 em {
    color: var(--gold);
    font-style: italic;
}

.seo-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--gold);
    font-family: 'Jost', sans-serif;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.3rem 0;
    margin: 0.5rem auto 0;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}

.seo-toggle:hover {
    opacity: 0.7;
}

.gallery-controls {
    position: sticky;
    top: 60px;
    z-index: 100;
    background: var(--bg-dark);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-controls::-webkit-scrollbar {
    display: none;
}

.gallery-filters {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: nowrap;
    min-width: max-content;
    padding: 0 0.5rem;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 162, 39, 0.1);
}

.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg-dark);
    font-weight: 500;
}

.filter-count {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-left: 0.25rem;
}

/* Gallery Grid */
.gallery-container {
    padding: 1.5rem 2rem 4rem;
    background: var(--bg-dark);
    min-height: 60vh;
    position: relative;
}

/* Subtle gold diagonal lines (same as homepage) */
.page-header::before,
.gallery-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(201,162,39,0.025) 40px,
        rgba(201,162,39,0.025) 41px
    );
    pointer-events: none;
    z-index: 0;
}

.page-header > *,
.gallery-container > * {
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-light);
    border-radius: 4px;
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item.hidden {
    display: none;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 29, 33, 0.95) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-cat {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.gallery-item-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Category Section Headers */
.category-section {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.category-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-light);
}

.category-header h2 em {
    color: var(--gold);
    font-style: italic;
}

.category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    opacity: 0.3;
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Loading State */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    color: var(--text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--bg-card);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Load More Indicator */
.load-more-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.load-more-indicator .loading-spinner {
    width: 24px;
    height: 24px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-results h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Footer */
footer {
    padding: 5rem 4rem 3rem;
    background: var(--bg-medium);
    border-top: 1px solid var(--bg-card);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand h4 span {
    color: var(--gold);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h5 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-copy a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copy a:hover {
    color: var(--gold);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 15, 0.98);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Top bar with info and close */
.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(10, 12, 15, 0.9) 0%, transparent 100%);
    z-index: 10;
    transition: opacity 180ms ease;
}

.lightbox-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.lightbox-header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.lightbox-category {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 162, 39, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.lightbox-counter {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.lightbox-slideshow,
.lightbox-share,
.lightbox-fullscreen,
.lightbox-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-share {
    position: relative;
}

.lightbox-slideshow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lightbox-share:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lightbox-share[data-feedback]::after {
    content: attr(data-feedback);
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(10, 12, 15, 0.92);
    border: 1px solid rgba(201, 162, 39, 0.35);
    color: var(--text-light);
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
}

.lightbox-share.is-copied {
    color: var(--gold);
}

.lightbox-share.is-error {
    color: #f3a6a6;
}

.lightbox-close {
    font-size: 1.25rem;
}

.lightbox-slideshow[hidden],
.lightbox-share[hidden],
.lightbox-fullscreen[hidden] {
    display: none;
}

.lightbox.fullscreen-unavailable .lightbox-header-actions {
    gap: 0.25rem;
}

.lightbox-slideshow svg,
.lightbox-share svg,
.lightbox-fullscreen svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lightbox-slideshow svg {
    fill: currentColor;
    stroke: none;
}

.lightbox-slideshow .slideshow-icon-pause {
    display: none;
}

.lightbox-slideshow.active .slideshow-icon-play {
    display: none;
}

.lightbox-slideshow.active .slideshow-icon-pause {
    display: block;
}

.lightbox-slideshow:hover:not(:disabled),
.lightbox-slideshow.active,
.lightbox-fullscreen:hover,
.lightbox-fullscreen.active,
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--gold);
}

/* Main image area */
.lightbox-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 4rem 1rem;
    position: relative;
    min-height: 0;
}

.lightbox-main::after {
    content: '';
    position: absolute;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-top-color: var(--gold);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
    animation: spin 0.9s linear infinite;
}

.lightbox-main.is-loading::after {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: min(90vw, 1800px);
    height: calc(100vh - 180px);
    min-height: 220px;
    isolation: isolate;
}

.lightbox-main img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity 180ms ease;
    will-change: opacity;
}

.lightbox-main img.is-switching {
    opacity: 0;
    transform: translate(-50%, -50%);
}

.lightbox-main img.is-crossfade-out {
    opacity: 0;
    transform: translate(-50%, -50%);
}

.lightbox-main img.lightbox-img-next {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 180ms ease;
    z-index: 2;
}

.lightbox-main img.lightbox-img-next.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 3;
    transition: opacity 180ms ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(201, 162, 39, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Thumbnail strip */
.lightbox-thumbnails {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: opacity 180ms ease;
}

.lightbox.controls-hidden .lightbox-header,
.lightbox.controls-hidden .lightbox-nav,
.lightbox.controls-hidden .lightbox-thumbnails {
    opacity: 0;
    pointer-events: none;
}

.lightbox-thumbs-inner {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem;
    justify-content: flex-start;
    scroll-padding-inline: 50%;
    scrollbar-width: none;
}

.lightbox-thumbs-inner::-webkit-scrollbar {
    display: none;
}

.lightbox-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    background: transparent;
    appearance: none;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.4);
}

.filter-btn:focus-visible,
.seo-toggle:focus-visible,
.lightbox-slideshow:focus-visible,
.lightbox-share:focus-visible,
.lightbox-fullscreen:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible,
.lightbox-thumb:focus-visible,
.back-to-top:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .page-header {
        padding: 6rem 2rem 2rem;
    }

    .gallery-controls {
        padding: 1rem 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-controls {
        top: 64px;
        padding: 0.6rem 0;
    }

    .gallery-filters {
        gap: 0.4rem;
        padding: 0 0.75rem;
    }

    .filter-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.75rem;
    }

    .filter-count {
        font-size: 0.65rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    footer {
        padding: 3rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .gallery-item {
        aspect-ratio: 1/1;
    }

    .lightbox-header {
        padding: 0.75rem 1rem;
    }

    .lightbox-category {
        font-size: 0.55rem;
        padding: 0.25rem 0.5rem;
    }

    .lightbox-counter {
        font-size: 0.7rem;
    }

    .lightbox-header-actions {
        gap: 0.25rem;
    }

    .lightbox-info {
        gap: 0.45rem;
    }

    .lightbox-category {
        max-width: calc(100vw - 245px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lightbox-slideshow,
    .lightbox-share,
    .lightbox-fullscreen,
    .lightbox-close {
        width: 36px;
        height: 36px;
    }

    .lightbox-slideshow svg,
    .lightbox-share svg,
    .lightbox-fullscreen svg {
        width: 16px;
        height: 16px;
    }

    .lightbox-main {
        padding: 3.5rem 0.5rem 0.5rem;
    }

    .lightbox-content {
        width: calc(100vw - 1rem);
        height: calc(100vh - 160px);
        min-height: 180px;
    }

    .lightbox-main img {
        max-height: 100%;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }

    .lightbox-thumbnails {
        padding: 0.5rem;
    }

    .lightbox-thumb {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 920px) and (orientation: landscape) {
    .lightbox-header {
        padding: 0.5rem 0.75rem;
    }

    .lightbox-category {
        max-width: calc(100vw - 190px);
    }

    .lightbox-slideshow,
    .lightbox-share,
    .lightbox-fullscreen,
    .lightbox-close {
        width: 34px;
        height: 34px;
    }

    .lightbox-main {
        padding: 3rem 3rem 0.4rem;
    }

    .lightbox-content {
        width: calc(100vw - 6rem);
        height: calc(100vh - 120px);
        min-height: 140px;
    }

    .lightbox-thumbnails {
        padding: 0.35rem 0.5rem;
    }

    .lightbox-thumb {
        width: 38px;
        height: 38px;
    }
}
