﻿/* ============================================================
   MIHS PHOTO GALLERY – New Brand Palette
   Teal #008fa5 · Sand #c4b49a · Bronze #9e896c · Ink #10252e
============================================================ */
.mihs-gallery-page {
    --g-teal: #008fa5;
    --g-blue: #89a2b1;
    --g-sand: #c4b49a;
    --g-bronze: #9e896c;
    --g-stone: #c7c3bd;
    --g-grey: #90908c;
    --g-ink: #10252e;
    --g-ink-2: #19343f;
    --g-teal-deep: #00707f;
    --g-bronze-deep: #7a6749;
    --g-teal-soft: #4cc3d6;
    --g-cream: #f5f3ef;
    --g-text: #1a2b32;
    --g-muted: #5f6867;
    --g-line: rgba(16, 37, 46, 0.10);
    --g-radius: 18px;
    --g-display: "DM Sans", "Inter", system-ui, sans-serif;
    --g-body: "Inter", system-ui, sans-serif;
    background: var(--g-cream);
    color: var(--g-text);
    font-family: var(--g-body);
    overflow: hidden;
}

    .mihs-gallery-page *,
    .mihs-gallery-page *::before,
    .mihs-gallery-page *::after {
        box-sizing: border-box;
    }

/* ============================================================
   HERO
============================================================ */
.mihs-gallery-page__hero {
    position: relative;
    padding: 100px 0 90px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 84% 22%, rgba(0, 143, 165, 0.28), transparent 34%), radial-gradient(circle at 8% 100%, rgba(196, 180, 154, 0.12), transparent 32%), linear-gradient(120deg, #0c1f27 0%, #10252e 55%, #0d2129 100%);
}

    .mihs-gallery-page__hero::before {
        content: "";
        position: absolute;
        width: 480px;
        height: 480px;
        right: -220px;
        top: -260px;
        border: 1px solid rgba(137, 162, 177, 0.18);
        border-radius: 50%;
        pointer-events: none;
    }

    .mihs-gallery-page__hero::after {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        left: -230px;
        bottom: -280px;
        border: 1px solid rgba(196, 180, 154, 0.22);
        border-radius: 50%;
        pointer-events: none;
    }

.mihs-gallery-page__hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 80px;
    align-items: center;
}

.mihs-gallery-page__hero-inner {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding: 0;
}

.mihs-gallery-page__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--g-sand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.mihs-gallery-page__eyebrow-line {
    width: 34px;
    height: 1px;
    background: var(--g-sand);
}

.mihs-gallery-page__hero h1 {
    margin: 0;
    max-width: 660px;
    color: #fff;
    font-family: var(--g-display);
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

    .mihs-gallery-page__hero h1 span {
        color: var(--g-sand);
    }

.mihs-gallery-page__hero p {
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    line-height: 1.8;
}

.mihs-gallery-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 44px;
}

    .mihs-gallery-hero__stats > div {
        min-width: 120px;
        padding-right: 26px;
        margin-right: 26px;
        border-right: 1px solid rgba(255, 255, 255, 0.16);
    }

        .mihs-gallery-hero__stats > div:last-child {
            border-right: 0;
            margin-right: 0;
            padding-right: 0;
        }

    .mihs-gallery-hero__stats strong {
        display: block;
        color: #fff;
        font-family: var(--g-display);
        font-size: 24px;
        letter-spacing: -0.03em;
    }

    .mihs-gallery-hero__stats span {
        display: block;
        margin-top: 6px;
        color: var(--g-blue);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

/* Right visual */
.mihs-gallery-page__hero-visual {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mihs-gallery-page__visual-card {
    position: relative;
    z-index: 3;
    width: min(360px, 100%);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border: 1px solid rgba(199, 195, 189, 0.22);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(137, 162, 177, 0.16), rgba(255, 255, 255, 0.03));
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    transform: rotate(2deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

    .mihs-gallery-page__visual-card:hover {
        transform: rotate(0deg) translateY(-8px);
        box-shadow: 0 45px 100px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

.mihs-gallery-page__visual-top {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.mihs-gallery-page__wordmark {
    margin: auto 0;
    text-align: center;
}

    .mihs-gallery-page__wordmark strong {
        display: block;
        color: #fff;
        font-family: Georgia, serif;
        font-size: 48px;
        letter-spacing: 0.02em;
    }

    .mihs-gallery-page__wordmark span {
        display: block;
        margin-top: 10px;
        color: var(--g-sand);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

.mihs-gallery-page__visual-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

    .mihs-gallery-page__visual-bottom span {
        color: rgba(255, 255, 255, 0.72);
        font-size: 11px;
    }

        .mihs-gallery-page__visual-bottom span:not(:last-child)::after {
            content: "·";
            margin-left: 10px;
            color: var(--g-teal-soft);
        }

.mihs-gallery-page__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.mihs-gallery-page__orb--1 {
    width: 160px;
    height: 160px;
    right: 5%;
    top: 8%;
    background: rgba(0, 143, 165, 0.16);
    animation: mihsGalleryFloat 6s ease-in-out infinite;
}

.mihs-gallery-page__orb--2 {
    width: 85px;
    height: 85px;
    left: 8%;
    bottom: 6%;
    border: 1px solid rgba(196, 180, 154, 0.40);
    animation: mihsGalleryFloat 7s ease-in-out infinite reverse;
}

@keyframes mihsGalleryFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

@media (max-width: 1100px) {
    .mihs-gallery-page__hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mihs-gallery-page__hero-visual {
        min-height: 320px;
    }
}

@media (max-width: 700px) {
    .mihs-gallery-page__hero {
        padding: 72px 0 65px;
    }

        .mihs-gallery-page__hero h1 {
            font-size: clamp(2.2rem, 10vw, 3.2rem);
        }

    .mihs-gallery-hero__stats > div {
        min-width: 100px;
        padding-right: 14px;
        margin-right: 0;
        border-right: 0;
    }

    .mihs-gallery-page__visual-card {
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .mihs-gallery-hero__stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* ============================================================
   BODY
============================================================ */
.mihs-gallery-page__body {
    padding: 72px 0 100px;
    background: radial-gradient(circle at 10% 0%, rgba(0, 143, 165, 0.05), transparent 26%), var(--g-cream);
}

.mihs-gallery-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    align-items: start;
}

/* Intro */
.mihs-gallery-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.5fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 56px;
}

.mihs-gallery-intro__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--g-teal-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.mihs-gallery-intro h2 {
    margin: 0;
    color: var(--g-ink);
    font-family: var(--g-display);
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 700;
}

    .mihs-gallery-intro h2 span {
        color: var(--g-bronze-deep);
        font-style: normal;
    }

.mihs-gallery-intro p {
    margin: 0;
    color: var(--g-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

/* Edition head */
.mihs-gallery-edition {
    margin-bottom: 64px;
}

.mihs-gallery-edition__head {
    display: grid;
    grid-template-columns: auto auto minmax(40px, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.mihs-gallery-edition__number {
    color: rgba(16, 37, 46, 0.08);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.mihs-gallery-edition__heading span {
    display: block;
    margin-bottom: 2px;
    color: var(--g-teal-deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.mihs-gallery-edition__heading h2 {
    margin: 0;
    color: var(--g-ink);
    font-family: var(--g-display);
    font-size: 20px;
    font-weight: 700;
}

.mihs-gallery-edition__line {
    height: 1px;
    background: linear-gradient(90deg, rgba(16, 37, 46, 0.14), transparent);
}

.mihs-gallery-edition__count {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* Grid + cards */
.mihs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mihs-gallery-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--g-radius);
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 10px 28px rgba(16, 37, 46, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .mihs-gallery-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 48px rgba(16, 37, 46, 0.12);
    }

.mihs-gallery-card__img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e2e8f0;
}

    .mihs-gallery-card__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.55s ease;
    }

.mihs-gallery-card:hover .mihs-gallery-card__img img {
    transform: scale(1.08);
}

.mihs-gallery-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(16, 37, 46, 0.7));
    opacity: 0.85;
}

.mihs-gallery-card__index {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 37, 46, 0.4);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mihs-gallery-card:hover .mihs-gallery-card__index {
    opacity: 1;
}

.mihs-gallery-card__open {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--g-sand);
    color: var(--g-ink);
    font-size: 14px;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.25s ease;
}

.mihs-gallery-card:hover .mihs-gallery-card__open {
    opacity: 1;
    transform: scale(1);
}

.mihs-gallery-card__content {
    position: relative;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 48px 16px 18px;
    background: #fff;
}

.mihs-gallery-card__label {
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.mihs-gallery-card__title {
    color: var(--g-ink);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

.mihs-gallery-card__arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--g-line);
    border-radius: 50%;
    color: var(--g-ink);
    transform: translateY(-50%);
    transition: 0.25s ease;
}

.mihs-gallery-card:hover .mihs-gallery-card__arrow {
    background: var(--g-ink);
    color: #fff;
    transform: translateY(-50%) rotate(45deg);
}

/* Sidebar */
.mihs-gallery-page__aside {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mihs-gallery-card-side {
    position: relative;
    min-height: 420px;
    padding: 24px;
    overflow: hidden;
    border-radius: 20px;
    color: #fff;
    background: radial-gradient(circle at 90% 10%, rgba(0, 143, 165, 0.20), transparent 38%), linear-gradient(145deg, #10252e, #19343f);
    box-shadow: 0 22px 50px rgba(16, 37, 46, 0.16);
}

.mihs-gallery-card-side__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .mihs-gallery-card-side__top span {
        color: var(--g-sand);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.14em;
    }

    .mihs-gallery-card-side__top b {
        color: rgba(255, 255, 255, 0.22);
        font-size: 36px;
        line-height: 0.8;
    }

.mihs-gallery-card-side__monogram {
    position: absolute;
    right: 10px;
    top: 70px;
    color: rgba(255, 255, 255, 0.04);
    font-size: 180px;
    font-weight: 900;
    line-height: 0.7;
    user-select: none;
}

.mihs-gallery-card-side__content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

    .mihs-gallery-card-side__content > span {
        color: var(--g-sand);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.14em;
    }

.mihs-gallery-card-side h3 {
    max-width: 240px;
    margin: 10px 0;
    font-family: var(--g-display);
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
}

.mihs-gallery-card-side p {
    max-width: 240px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.65;
}

.mihs-gallery-side-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 4px 4px 4px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--g-ink);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.25s ease;
}

    .mihs-gallery-side-btn i {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--g-sand);
        font-style: normal;
        transition: transform 0.3s ease;
    }

    .mihs-gallery-side-btn:hover {
        transform: translateY(-2px);
    }

        .mihs-gallery-side-btn:hover i {
            transform: rotate(45deg);
        }

/* Quick links */
.mihs-gallery-links {
    overflow: hidden;
    border: 1px solid var(--g-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 37, 46, 0.05);
}

.mihs-gallery-links__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--g-line);
}

    .mihs-gallery-links__header span {
        color: var(--g-ink);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.14em;
    }

    .mihs-gallery-links__header small {
        color: var(--g-sand);
        font-size: 10px;
        font-weight: 800;
    }

.mihs-gallery-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 18px;
    border-bottom: 1px solid var(--g-line);
    color: var(--g-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.22s ease;
}

    .mihs-gallery-links a:last-child {
        border-bottom: 0;
    }

    .mihs-gallery-links a b {
        color: var(--g-sand);
    }

    .mihs-gallery-links a:hover {
        padding-left: 22px;
        background: var(--g-ink);
        color: #fff;
    }

/* Empty */
.mihs-gallery-empty {
    padding: 64px 28px;
    text-align: center;
    border: 1px solid var(--g-line);
    border-radius: 18px;
    background: #fff;
}

    .mihs-gallery-empty h3 {
        margin: 0 0 8px;
        color: var(--g-ink);
        font-family: var(--g-display);
    }

    .mihs-gallery-empty p {
        margin: 0;
        color: var(--g-muted);
        font-size: 14px;
    }

/* ============================================================
   LIGHTBOX
============================================================ */
.mihs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .mihs-lightbox[hidden] {
        display: none;
    }

.mihs-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 12, 24, 0.92);
    backdrop-filter: blur(12px);
}

.mihs-lightbox__dialog {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: linear-gradient(145deg, #10252e, #0c1f27);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    animation: galleryLightboxIn 0.35s ease both;
}

@keyframes galleryLightboxIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mihs-lightbox__close {
    position: absolute;
    z-index: 10;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: 0.2s ease;
}

    .mihs-lightbox__close span {
        position: absolute;
        width: 16px;
        height: 1px;
        background: #fff;
    }

        .mihs-lightbox__close span:first-child {
            transform: rotate(45deg);
        }

        .mihs-lightbox__close span:last-child {
            transform: rotate(-45deg);
        }

    .mihs-lightbox__close:hover {
        background: var(--g-sand);
    }

.mihs-lightbox__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 70px 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mihs-lightbox__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--g-sand);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.mihs-lightbox__header h3 {
    margin: 0;
    color: #fff;
    font-family: var(--g-display);
    font-size: 18px;
    font-weight: 700;
}

.mihs-lightbox__counter {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

    .mihs-lightbox__counter strong {
        color: var(--g-sand);
        font-size: 22px;
    }

    .mihs-lightbox__counter span,
    .mihs-lightbox__counter small {
        color: rgba(255, 255, 255, 0.4);
        font-size: 11px;
    }

.mihs-lightbox__stage {
    position: relative;
    flex: 1;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 72px;
}

.mihs-lightbox__image-wrap {
    width: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mihs-lightbox__image-wrap img {
        max-width: 100%;
        max-height: 55vh;
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    }

.mihs-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.mihs-lightbox__nav--prev {
    left: 16px;
}

.mihs-lightbox__nav--next {
    right: 16px;
}

.mihs-lightbox__nav:hover {
    background: var(--g-sand);
    color: var(--g-ink);
}

.mihs-lightbox__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px 14px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
    letter-spacing: 0.1em;
}

.mihs-lightbox__thumbs {
    display: flex;
    gap: 8px;
    padding: 0 24px 20px;
    overflow-x: auto;
}

    .mihs-lightbox__thumbs button {
        flex: 0 0 72px;
        height: 52px;
        padding: 0;
        overflow: hidden;
        border: 2px solid transparent;
        border-radius: 8px;
        background: transparent;
        opacity: 0.45;
        cursor: pointer;
        transition: 0.2s ease;
    }

        .mihs-lightbox__thumbs button.is-active {
            border-color: var(--g-sand);
            opacity: 1;
        }

    .mihs-lightbox__thumbs img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Responsive */
@media (max-width: 1100px) {
    .mihs-gallery-page__layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 28px;
    }

    .mihs-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .mihs-gallery-page__layout {
        grid-template-columns: 1fr;
    }

    .mihs-gallery-page__aside {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 700px) {
    .mihs-gallery-page__hero {
        min-height: auto;
    }

    .mihs-gallery-page__hero-inner {
        padding: 72px 0 64px;
    }

    .mihs-gallery-intro {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .mihs-gallery-grid {
        grid-template-columns: 1fr;
    }

    .mihs-gallery-edition__head {
        grid-template-columns: auto 1fr auto;
    }

    .mihs-gallery-edition__number,
    .mihs-gallery-edition__line {
        display: none;
    }

    .mihs-gallery-page__aside {
        grid-template-columns: 1fr;
    }

    .mihs-lightbox__stage {
        min-height: 300px;
        padding: 16px 52px;
    }
}

@media (max-width: 480px) {
    .mihs-gallery-hero__meta {
        flex-wrap: wrap;
        gap: 14px;
    }

    .mihs-gallery-hero__divider {
        display: none;
    }
}
