.page-gallery-editorial #mainContent {
    overflow: clip;
}

.page-gallery-editorial .breadcrumbs {
    display: none;
}

.gallery-editorial-hero {
    position: relative;
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100svh;
    padding-top: 88px;
    overflow: hidden;
    background: var(--lux-bg);
}

.gallery-editorial-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(70px, 8vw, 150px);
}

.gallery-editorial-breadcrumb {
    display: flex;
    gap: 12px;
    margin-bottom: 44px;
    color: var(--lux-muted);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gallery-editorial-breadcrumb a {
    color: var(--lux-muted);
}

.gallery-editorial-breadcrumb span:last-child {
    color: var(--lux-gold);
}

.gallery-editorial-hero h1 {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--lux-white);
    font-family: var(--lux-display);
    font-size: clamp(4rem, 6.4vw, 7.4rem);
    font-weight: 300;
    letter-spacing: .01em;
    line-height: .87;
}

.gallery-editorial-hero h1 em {
    color: var(--lux-muted);
    font-weight: 300;
}

.gallery-editorial-hero-copy > p {
    max-width: 490px;
    margin: 38px 0 0;
    color: var(--lux-muted);
    font-size: .9rem;
    line-height: 2;
}

.gallery-editorial-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 500px;
    margin-top: 52px;
    padding-top: 22px;
    border-top: 1px solid var(--lux-line);
}

.gallery-editorial-hero-meta div {
    display: grid;
    gap: 8px;
}

.gallery-editorial-hero-meta span,
.gallery-editorial-hero-meta strong {
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gallery-editorial-hero-meta span {
    color: var(--lux-gold);
}

.gallery-editorial-hero-meta strong {
    color: var(--lux-muted);
}

.gallery-editorial-hero-media {
    position: relative;
    min-height: calc(100svh - 88px);
    overflow: hidden;
}

.gallery-editorial-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, .72), transparent 38%), linear-gradient(0deg, rgba(10, 10, 10, .6), transparent 48%);
}

.gallery-editorial-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.55) contrast(1.05);
    animation: galleryHeroReveal 12s ease-out both;
}

.gallery-editorial-hero-media span {
    position: absolute;
    z-index: 2;
    right: 38px;
    bottom: 34px;
    color: rgba(245, 242, 238, .68);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gallery-editorial-monogram {
    position: absolute;
    z-index: 1;
    left: 33%;
    bottom: -2vw;
    color: rgba(245, 242, 238, .035);
    font-family: var(--lux-display);
    font-size: clamp(9rem, 20vw, 24rem);
    font-style: italic;
    font-weight: 300;
    line-height: .7;
    pointer-events: none;
}

@keyframes galleryHeroReveal {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}

.gallery-editorial-archive {
    padding: clamp(110px, 12vw, 190px) 0 clamp(120px, 14vw, 220px);
    background: var(--lux-bg-soft);
}

.gallery-editorial-shell {
    width: min(calc(100% - clamp(48px, 9vw, 180px)), 1640px);
    margin-inline: auto;
}

.gallery-editorial-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(50px, 10vw, 180px);
    align-items: end;
    margin-bottom: clamp(70px, 9vw, 140px);
    padding-bottom: clamp(34px, 4vw, 60px);
    border-bottom: 1px solid var(--lux-line);
}

.gallery-editorial-heading h2 {
    max-width: 670px;
    margin: 18px 0 0;
    color: var(--lux-white);
    font-family: var(--lux-display);
    font-size: clamp(3.4rem, 6vw, 7rem);
    font-weight: 300;
    line-height: .9;
}

.gallery-editorial-heading-note {
    display: grid;
    gap: 24px;
}

.gallery-editorial-heading-note span {
    color: var(--lux-gold);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gallery-editorial-heading-note p {
    max-width: 380px;
    margin: 0;
    color: var(--lux-muted);
    font-size: .85rem;
    line-height: 1.9;
}

.gallery-editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(50px, 8vw, 130px) clamp(26px, 5vw, 80px);
    align-items: start;
}

.gallery-search {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    margin: 0 0 clamp(52px, 7vw, 96px);
    padding: 18px 0;
    border-top: 1px solid var(--lux-line);
    border-bottom: 1px solid var(--lux-line);
}

.gallery-search label {
    color: var(--lux-gold);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gallery-search input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--lux-line);
    background: rgba(10, 10, 10, .42);
    color: var(--lux-white);
    padding: 0 14px;
}

.gallery-search button,
.gallery-search a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, .55);
    background: transparent;
    color: var(--lux-white);
    padding: 0 16px;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gallery-search button {
    cursor: pointer;
}

.gallery-search button:hover,
.gallery-search a:hover {
    color: var(--lux-gold);
}

.gallery-editorial-item {
    grid-column: span 5;
    cursor: pointer;
    outline: none;
}

.gallery-editorial-item-1,
.gallery-editorial-item-5 {
    grid-column: 1 / span 7;
}

.gallery-editorial-item-2,
.gallery-editorial-item-6 {
    grid-column: 9 / span 4;
    margin-top: clamp(90px, 14vw, 230px);
}

.gallery-editorial-item-3 {
    grid-column: 2 / span 4;
    margin-top: clamp(30px, 5vw, 80px);
}

.gallery-editorial-item-4 {
    grid-column: 7 / span 6;
}

.gallery-editorial-item-media {
    position: relative;
    min-height: clamp(430px, 48vw, 760px);
    overflow: hidden;
    background: var(--lux-bg);
}

.gallery-editorial-item-2 .gallery-editorial-item-media,
.gallery-editorial-item-3 .gallery-editorial-item-media,
.gallery-editorial-item-6 .gallery-editorial-item-media {
    min-height: clamp(400px, 39vw, 620px);
}

.gallery-editorial-item-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(245, 242, 238, .12);
    pointer-events: none;
}

.gallery-editorial-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.55);
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1), filter .6s ease;
}

.gallery-editorial-view {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    padding: 10px 14px;
    color: var(--lux-white);
    border: 1px solid rgba(245, 242, 238, .32);
    background: rgba(10, 10, 10, .42);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .45s ease, transform .45s ease;
}

.gallery-editorial-item:hover img,
.gallery-editorial-item:focus-visible img {
    filter: saturate(.8);
    transform: scale(1.025);
}

.gallery-editorial-item:hover .gallery-editorial-view,
.gallery-editorial-item:focus-visible .gallery-editorial-view {
    opacity: 1;
    transform: translateY(0);
}

.gallery-editorial-item-meta {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 18px;
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid var(--lux-line);
}

.gallery-editorial-item-meta > span,
.gallery-editorial-item-meta p {
    margin: 0;
    color: var(--lux-gold);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gallery-editorial-item-meta h3 {
    margin: 8px 0 0;
    color: var(--lux-white);
    font-family: var(--lux-display);
    font-size: clamp(1.6rem, 2.2vw, 2.6rem);
    font-weight: 300;
    line-height: 1;
}

.gallery-editorial-item-meta p {
    margin: 8px 0 0;
    color: var(--lux-muted);
    font-size: .82rem;
    letter-spacing: 0;
    line-height: 1.6;
    text-transform: none;
}

.page-gallery-editorial .gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 56px);
    background: rgba(8, 7, 6, .9);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.page-gallery-editorial .gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.page-gallery-editorial .gallery-lightbox-figure {
    display: grid;
    gap: 16px;
    max-width: min(1120px, 82vw);
    max-height: 90vh;
    margin: 0;
}

.page-gallery-editorial .gallery-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
}

.page-gallery-editorial .gallery-lightbox-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: baseline;
    justify-content: center;
    color: var(--lux-muted);
    text-align: center;
}

.page-gallery-editorial .gallery-lightbox-title {
    color: var(--lux-white);
    font-family: var(--lux-display);
    font-size: clamp(1.35rem, 2.6vw, 2.4rem);
    font-weight: 300;
}

.page-gallery-editorial .gallery-lightbox-caption,
.page-gallery-editorial .gallery-lightbox-counter {
    font-size: .78rem;
    letter-spacing: .08em;
}

.page-gallery-editorial .gallery-lightbox-counter {
    color: var(--lux-gold);
}

.page-gallery-editorial .gallery-lightbox-close,
.page-gallery-editorial .gallery-lightbox-prev,
.page-gallery-editorial .gallery-lightbox-next {
    position: fixed;
    z-index: 10001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 242, 238, .22);
    background: rgba(10, 10, 10, .55);
    color: var(--lux-white);
    cursor: pointer;
}

.page-gallery-editorial .gallery-lightbox-close {
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    font-size: 2rem;
    line-height: 1;
}

.page-gallery-editorial .gallery-lightbox-prev,
.page-gallery-editorial .gallery-lightbox-next {
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
    font-size: 2.4rem;
}

.page-gallery-editorial .gallery-lightbox-prev {
    left: 22px;
}

.page-gallery-editorial .gallery-lightbox-next {
    right: 22px;
}

.page-gallery-editorial .gallery-lightbox-close:hover,
.page-gallery-editorial .gallery-lightbox-prev:hover,
.page-gallery-editorial .gallery-lightbox-next:hover {
    color: var(--lux-gold);
    border-color: rgba(201, 168, 76, .65);
}

.page-gallery-editorial .pagination {
    margin-top: clamp(80px, 10vw, 150px);
}

.gallery-editorial-contact {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: clamp(30px, 6vw, 100px);
    align-items: end;
    margin-top: clamp(110px, 14vw, 220px);
    padding: clamp(48px, 7vw, 110px);
    border: 1px solid var(--lux-line);
    background: var(--lux-bg);
}

.gallery-editorial-contact-index {
    color: rgba(245, 242, 238, .08);
    font-family: var(--lux-display);
    font-size: clamp(4rem, 7vw, 8rem);
    line-height: .8;
}

.gallery-editorial-contact h2 {
    max-width: 720px;
    margin: 18px 0 22px;
    color: var(--lux-white);
    font-family: var(--lux-display);
    font-size: clamp(2.8rem, 5vw, 5.7rem);
    font-weight: 300;
    line-height: .92;
}

.gallery-editorial-contact p {
    max-width: 590px;
    margin: 0;
    color: var(--lux-muted);
    font-size: .86rem;
    line-height: 1.9;
}

.gallery-editorial-contact-actions {
    display: grid;
    gap: 18px;
    min-width: 190px;
}

.gallery-editorial-contact-actions a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--lux-line);
    color: var(--lux-white);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gallery-editorial-contact-actions a:first-child,
.gallery-editorial-contact-actions a:hover {
    color: var(--lux-gold);
}

.gallery-editorial-empty {
    padding: clamp(70px, 10vw, 150px);
    border: 1px solid var(--lux-line);
    text-align: center;
}

.gallery-editorial-empty h3 {
    margin: 18px 0;
    color: var(--lux-white);
    font-family: var(--lux-display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 300;
}

@media (max-width: 1000px) {
    .gallery-editorial-hero {
        grid-template-columns: 1fr;
        padding-top: 76px;
    }

    .gallery-editorial-hero-copy {
        min-height: 68svh;
        padding: 90px clamp(28px, 7vw, 70px);
    }

    .gallery-editorial-hero-media {
        min-height: 62svh;
    }

    .gallery-editorial-monogram {
        display: none;
    }

    .gallery-editorial-heading,
    .gallery-editorial-contact {
        grid-template-columns: 1fr;
    }

    .gallery-editorial-contact-index {
        display: none;
    }
}

@media (max-width: 767px) {
    .gallery-editorial-hero-copy {
        min-height: auto;
        padding: 84px 22px 76px;
    }

    .gallery-editorial-breadcrumb {
        margin-bottom: 32px;
    }

    .gallery-editorial-hero h1 {
        font-size: clamp(3.25rem, 15vw, 4.8rem);
    }

    .gallery-editorial-hero-copy > p {
        margin-top: 28px;
    }

    .gallery-editorial-hero-meta {
        gap: 18px;
        margin-top: 38px;
    }

    .gallery-editorial-hero-media {
        min-height: 58svh;
    }

    .gallery-editorial-hero-media span {
        right: 22px;
        bottom: 22px;
    }

    .gallery-editorial-archive {
        padding: 88px 0 110px;
    }

    .gallery-editorial-shell {
        width: calc(100% - 36px);
    }

    .gallery-editorial-heading {
        gap: 32px;
        margin-bottom: 60px;
        padding-bottom: 30px;
    }

    .gallery-editorial-heading h2 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    .gallery-editorial-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 58px;
    }

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

    .page-gallery-editorial .gallery-lightbox {
        padding: 72px 16px 28px;
    }

    .page-gallery-editorial .gallery-lightbox-figure {
        max-width: 100%;
    }

    .page-gallery-editorial .gallery-lightbox-prev,
    .page-gallery-editorial .gallery-lightbox-next {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .gallery-editorial-item,
    .gallery-editorial-item-1,
    .gallery-editorial-item-2,
    .gallery-editorial-item-3,
    .gallery-editorial-item-4,
    .gallery-editorial-item-5,
    .gallery-editorial-item-6 {
        grid-column: auto;
        margin-top: 0;
    }

    .gallery-editorial-item-media,
    .gallery-editorial-item-2 .gallery-editorial-item-media,
    .gallery-editorial-item-3 .gallery-editorial-item-media,
    .gallery-editorial-item-6 .gallery-editorial-item-media {
        min-height: 62svh;
    }

    .gallery-editorial-view {
        opacity: 1;
        transform: none;
    }

    .gallery-editorial-contact {
        gap: 36px;
        margin-top: 90px;
        padding: 44px 24px;
    }

    .gallery-editorial-contact h2 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }
}
