.wedding-hero-inn {
    --maroon: #4a0e1c;
    --gold: #e0a22a;
    --gold-soft: #f1c36a;
    --heading: 'Runiga', 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', 'Brush Script MT', cursive;
    --body: 'Jost', system-ui, sans-serif;
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: #2a1f1a;
    font-family: var(--body);
}

.wedding-hero-inn * {
    box-sizing: border-box
}

.wedding-hero-inn .wedding-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.wedding-hero-inn .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgb(30 5 12 / 38%), rgb(30 5 12 / 79%))
}

.wedding-hero-inn .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.wedding-hero-inn .wedding-hero-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-block: 9rem 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wedding-hero-inn .wedding-subtitle {
    display: inline-block;
    font-family: var(--body);
    font-size: .82rem;
    font-weight: 400;
    letter-spacing: .34em;
    text-indent: .34em;
    color: var(--gold-soft);
    margin-bottom: 16px;
}

.wedding-hero-inn h1 {
    margin: 0;
    font-family: var(--heading);
    font-weight: 500;
    color: #fff;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1.05;
    letter-spacing: .01em;
}

.wedding-hero-inn h1 span {
    display: inline-block;
    font-family: var(--script);
    font-weight: 400;
    font-size: 1.35em;
    line-height: 1.2;
    color: var(--gold-soft);
}

.wedding-hero-inn p {
    max-width: 620px;
    margin: 0 auto 26px;
    text-align: center;
    font-family: var(--body);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    color: #fff;
    opacity: .95;
}

.wedding-hero-inn .wedding-hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.wedding-hero-inn .wedding-btn,
.wedding-hero-inn .wedding-btn-outline {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--body);
    font-weight: 400;
    font-size: 1rem;
    transition: all .25s;
}

.wedding-hero-inn .wedding-btn {
    background: var(--gold);
    color: #2a1208;
    border: 1.5px solid var(--gold)
}

.wedding-hero-inn .wedding-btn:hover {
    background: var(--gold-soft);
    border-color: var(--gold-soft);
    color: #2a1208
}

.wedding-hero-inn .wedding-btn-outline {
    border: 1.5px solid rgba(255, 255, 255, .85);
    color: #fff
}

.wedding-hero-inn .wedding-btn-outline:hover {
    background: #fff;
    color: var(--maroon)
}

.wedding-hero-inn .wedding-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: var(--body);
    font-size: .7rem;
    letter-spacing: .32em;
    text-indent: .32em;
    color: #fff;
    opacity: .85;
    padding-bottom: 34px;
    white-space: nowrap;
}

.wedding-hero-inn .wedding-scroll::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 24px;
    background: #fff;
    animation: wdScroll 1.8s ease-in-out infinite;
}

@keyframes wdScroll {
    0% {
        transform: scaleY(0);
        transform-origin: top
    }

    50% {
        transform: scaleY(1);
        transform-origin: top
    }

    51% {
        transform-origin: bottom
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom
    }
}

@media (max-width:600px) {
    .wedding-hero-inn .wedding-hero-content {
        padding: 110px 20px 120px
    }

    .wedding-hero-inn .wedding-btn,
    .wedding-hero-inn .wedding-btn-outline {
        width: 100%;
        text-align: center;
        padding: 15px 6px;
        font-size: 13px;
    }

    .wedding-hero-inn .wedding-hero-buttons {
        flex-wrap: nowrap;
        width: 100%;
        gap: 6px;
    }

    .wedding-hero-inn {
        min-height: 64svh;
    }


}

@media (prefers-reduced-motion:reduce) {
    .wedding-hero-inn .wedding-scroll::after {
        animation: none
    }
}

/* =====================================================
   2. WEDDING INTRODUCTION
   ===================================================== */
.wedding-intro {
    --maroon: #000;
    --gold: #e0a22a;
    --ivory: #fbf3e6;
    --muted: #75625b;
    --heading: 'Runiga', 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', 'Brush Script MT', cursive;
    --body: 'Jost', system-ui, sans-serif;
    background: var(--ivory);
    font-family: var(--body);
    overflow: hidden;
    padding: clamp(62px, 3vw, 94px) 3vw;
    position: relative;
}
.lion-left{
        position: absolute;
    top: 0px;
    z-index: 1;
    left: -20px;
    transform: rotate( 206deg);
    opacity: 0.5;
}
.lion-left img{
    display: block;
    width: 248px;
}
.lion-right{
    position: absolute;
    top: -29px;
    z-index: 1;
    right: -10px;
    opacity: 0.5;
    transform: rotate( 346deg);
}
.lion-right img{
    display: block;
    width: 248px;
}
.wedding-intro * {
    box-sizing: border-box
}

.wedding-intro-grid {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 56px;
    align-items: center;
}

.wedding-intro-img {
    position: relative
}

.wedding-intro-img img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 999px 999px 20px 20px;
}

.wedding-intro-img::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px solid var(--gold);
    border-radius: 999px 999px 28px 28px;
    pointer-events: none;
}

.wedding-intro .img-left {
    margin-top: 80px
}

.wedding-intro .img-right {
    margin-bottom: 80px
}

.wedding-intro-content {
    text-align: center
}

.wedding-intro-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .3em;
    text-indent: .3em;
    color: var(--gold);
    margin-bottom: 3px;
}

.wedding-intro h2 {
    margin: 0;
    font-family: var(--heading);
    font-weight: 500;
    color: var(--maroon);
    line-height: 1.50;
    font-size: clamp(32px, 4vw, 48px);
}

.wedding-intro h2 span {
    display: inline-block;
    font-family: var(--script);
    font-weight: 400;
    font-size: 1em;
    line-height: 1.2;
    color: var(--gold);
}

.wedding-intro-orn {
    display: block;
    width: 110px;
    margin: 22px auto;
    color: var(--gold)
}

.wedding-intro-content p {
    margin: 0 auto 16px;
    max-width: 480px;
    font-size: 1.06rem;
    font-weight: 300;
    line-height: 1.85;
    color: #747970;
    line-height: 1.8;
}

.wedding-intro-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 15px 36px;
    border-radius: 50px;
    background: #e0a22a;
    color: #fff;
    border: 1.5px solid #e0a22a;
    text-decoration: none;
    font-family: var(--body);
    font-weight: 400;
    font-size: 1rem;
    transition: all .25s;
}

.wedding-intro-btn:hover {
    background: transparent;
    color: var(--maroon)
}

/* =====================================================
   3. WEDDING VENUE & LAWNS
   (isse wedding.css ke end me paste karein)
   ===================================================== */
.wedding-lawns {
    --maroon: #e0a22a;
    --gold: #e0a22a;
    --gold-soft: #f1c36a;
    --muted: #75625b;
    --heading: 'Runiga', 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', 'Brush Script MT', cursive;
    --body: 'Jost', system-ui, sans-serif;
    background: #f6e8dc;
    font-family: var(--body);
    padding: clamp(55px, 3vw, 94px) 3vw;
    position: relative;
    overflow: hidden;
}

.wedding-lawns * {
    box-sizing: border-box
}

.wedding-lawns-wrap {
    max-width: 1250px;
    margin: 0 auto
}

/* heading */
.wedding-lawns-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px
}

.wedding-lawns-label {
    color: rgb(167, 123, 63);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.wedding-lawns h2 {
       color: #173f30;
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    margin: 14px 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.wedding-lawns h2 span {
    display: inline-block;
    font-family: var(--script);
    font-weight: 400;
    font-size: 1.0em;
    line-height: 1.2;
    color: var(--gold);
}

.wedding-lawns-head p {
       color: #747970;
    font-size: 15px;
    line-height: 1.8;
}

/* accordion arch panels */
.wedding-lawns-panels {
    display: flex;
    gap: 14px;
    height: 418px;
}

.wedding-lawn {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #fff;
    border-radius: 11px;
    outline-offset: 4px;
    transition: flex .6s cubic-bezier(.2, .7, .2, 1);
}

.wedding-lawn:has(.wedding-lawn-radio:checked) {
    flex: 4
}

.wedding-lawn:has(.wedding-lawn-radio:focus-visible) {
    outline: 2px solid var(--gold)
}

/* hidden radio + click area */
.wedding-lawn-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.wedding-lawn-hit {
    position: absolute;
    inset: 0;
    z-index: 3;
    cursor: pointer
}

.wedding-lawn-hit span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.wedding-lawn img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s;
}

.wedding-lawn:has(.wedding-lawn-radio:checked) img {
    transform: scale(1.05)
}

.wedding-lawn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(30, 5, 12, .15), rgba(30, 5, 12, .85));
    transition: background .5s;
}

.wedding-lawn:has(.wedding-lawn-radio:checked)::after {
    background: linear-gradient(transparent 38%, rgba(30, 5, 12, .88));
}

.wedding-lawn-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 30px 22px
}

.wedding-lawn h3 {
    margin: 0;
    font-family: var(--heading);
    font-weight: 500;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.25;
    transition: font-size .4s;
}

.wedding-lawn:has(.wedding-lawn-radio:checked) h3 {
    font-size: 1.9rem
}

.wedding-lawn-more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .5s .1s, opacity .5s .1s
}

.wedding-lawn:has(.wedding-lawn-radio:checked) .wedding-lawn-more {
    max-height: 260px;
    opacity: 1
}

.wedding-lawn-more p {
    margin: 10px 0 14px;
    font-size: .97rem;
    font-weight: 300;
    line-height: 1.65;
    color: #fff;
    opacity: .95
}

.wedding-lawn-cap {
    display: inline-block;
    margin-bottom: 12px;
    padding: 3px 16px;
    border-radius: 30px;
    background: var(--gold);
    color: #2a1208;
    font-size: .85rem;
    font-weight: 400;
}

.wedding-lawn-more ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.wedding-lawn-more li {
    padding: 2px 14px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 300;
}

/* button */
.wedding-lawns-cta {
    text-align: center;
    margin-top: 48px
}

.wedding-lawns-btn {
    display: inline-block;
    padding: 15px 38px;
    border-radius: 50px;
    background: var(--maroon);
    color: #fff;
    border: 1.5px solid var(--maroon);
    text-decoration: none;
    font-family: var(--body);
    font-weight: 400;
    font-size: 1rem;
    transition: all .25s;
}

.wedding-lawns-btn:hover {
    background: transparent;
    color: var(--maroon)
}

/* tablet + mobile: sab stack, details hamesha dikhengi */
@media (max-width:991px) {
    .wedding-lawns-panels {
        flex-direction: column;
        height: auto
    }

    .wedding-lawn,
    .wedding-lawn:has(.wedding-lawn-radio:checked) {
        flex: none;
        height: 400px;
        border-radius: 50% 50% 24px 24px / 170px 170px 24px 24px;
    }

    .wedding-lawn-hit {
        display: none
    }

    .wedding-lawn h3,
    .wedding-lawn:has(.wedding-lawn-radio:checked) h3 {
        font-size: 1.9rem
    }

    .wedding-lawn-more {
        max-height: none;
        opacity: 1
    }

    .wedding-lawn::after,
    .wedding-lawn:has(.wedding-lawn-radio:checked)::after {
        background: linear-gradient(transparent 38%, rgba(30, 5, 12, .88));
    }

    .wedding-lawn img,
    .wedding-lawn:has(.wedding-lawn-radio:checked) img {
        transform: none
    }
}

@media (max-width:520px) {

    .wedding-lawn,
    .wedding-lawn:has(.wedding-lawn-radio:checked) {
        height: 440px;
        border-radius: 50% 50% 24px 24px / 150px 150px 24px 24px;
    }
}

@media (prefers-reduced-motion:reduce) {

    .wedding-lawn,
    .wedding-lawn img,
    .wedding-lawn-more,
    .wedding-lawn h3 {
        transition: none
    }
}

@media (max-width:991px) {
    .wedding-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px
    }

    .wedding-intro-content {
        grid-column: 1 / -1;
        order: -1
    }

    .wedding-intro .img-left,
    .wedding-intro .img-right {
        margin: 12px 0
    }

    .wedding-intro-img img {
        height: 340px
    }
}

@media (max-width:520px) {
    .wedding-intro-img img {
        height: 240px
    }

    .wedding-intro-img::before {
        inset: -8px
    }
}

.event-sec {
    --maroon: #e0a22a;
    --gold: #e0a22a;
    --gold-soft: #f1c36a;
    --muted: #75625b;
    --heading: 'Runiga', 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', 'Brush Script MT', cursive;
    --body: 'Jost', system-ui, sans-serif;
    background: #fffaf4;
    font-family: var(--body);
    padding: clamp(57px, 3vw, 94px) 3vw;
    position: relative;
    overflow: hidden;
}

.event-sec * {
    box-sizing: border-box
}

.event-sec .container {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0
}

/* heading */
.event-sec .wedding-events-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px
}

.event-sec .wedding-events-label {
        color: rgb(167, 123, 63);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.event-sec h2 {
       color: #173f30;
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    margin: 14px 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.event-sec h2 span {
    display: inline-block;
    font-family: var(--script);
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1.2;
    color: var(--gold);
}

.event-sec .wedding-events-head p {
       color: #747970;
    font-size: 15px;
    line-height: 1.8;
}

/* event card (arch) */
.event-sec .wedding-owl .wedding-event {
    position: relative;
    height: 313px;
    overflow: hidden;
    color: #fff;
    border-radius: 11px;
    box-shadow: 0 18px 40px -24px rgba(74, 14, 28, .55);
}

.event-sec .wedding-owl .wedding-event img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s;
}

.event-sec .wedding-owl .wedding-event:hover img {
    transform: scale(1.06)
}

.event-sec .wedding-owl .wedding-event::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 55%, rgba(30, 5, 12, .88));
}

.event-sec .wedding-owl .wedding-event h3 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 0 16px 26px;
    text-align: center;
    font-family: var(--heading);
    font-weight: 500;
    color: #fff;
    font-size: 1.7rem;
    line-height: 1.2;
}

/* owl prev / next */
.event-sec .wedding-owl.owl-carousel .owl-nav {
    /* display:flex; */
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.event-sec .wedding-owl.owl-carousel .owl-nav button.owl-prev,
.event-sec .wedding-owl.owl-carousel .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--maroon);
    border: 1.5px solid var(--maroon);
    transition: all .25s;
}

.event-sec .wedding-owl.owl-carousel .owl-nav button.owl-prev:hover,
.event-sec .wedding-owl.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--maroon);
    color: #fff;
}

.event-sec .wedding-owl.owl-carousel .owl-nav button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* cta button */
.event-sec .wedding-events-cta {
    text-align: center;
    margin-top: 22px;
}

.event-sec .wedding-events-btn {
    display: inline-block;
    padding: 15px 38px;
    border-radius: 50px;
    background: var(--maroon);
    color: #fff;
    border: 1.5px solid var(--maroon);
    text-decoration: none;
    font-family: var(--body);
    font-weight: 400;
    font-size: 1rem;
    transition: all .25s;
}

.event-sec .wedding-events-btn:hover {
    background: transparent;
    color: var(--maroon)
}

.event-sec .wedding-events-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px
}

/* tablet */
@media (max-width:991px) {
    .event-sec .wedding-owl .wedding-event {
        height: 460px;
        border-radius: 50% 50% 24px 24px / 200px 200px 24px 24px;
    }
}

/* mobile */
@media (max-width:560px) {
    .event-sec .wedding-events-head {
        margin-bottom: 40px
    }

    .event-sec .wedding-owl .wedding-event {
        height: 430px;
        border-radius: 50% 50% 24px 24px / 170px 170px 24px 24px;
    }

    .event-sec .wedding-owl .wedding-event h3 {
        font-size: 1.5rem
    }
}

@media (prefers-reduced-motion:reduce) {
    .event-sec .wedding-owl .wedding-event img {
        transition: none
    }

    .event-sec .wedding-owl .wedding-event:hover img {
        transform: none
    }
}


.gallery-sec {
    --maroon: #4a0e1c;
    --gold: #e0a22a;
    --gold-soft: #f1c36a;
    --muted: #75625b;
    --heading: 'Runiga', 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', 'Brush Script MT', cursive;
    --body: 'Jost', system-ui, sans-serif;
    background: #f6e8dc;
    font-family: var(--body);
    padding: clamp(57px, 2vw, 87px) 3vw;
    position: relative;
    overflow: hidden;
}

.gallery-sec * {
    box-sizing: border-box
}

.gallery-sec .container {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0
}

/* heading */
.gallery-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px
}

.gallery-label {
       color: rgb(167, 123, 63);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.gallery-sec h2 {
       color: #173f30;
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    margin: 14px 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.gallery-sec h2 span {
    display: inline-block;
    font-family: var(--script);
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1.2;
    color: var(--gold);
}

.gallery-head p {
       color: #747970;
    font-size: 15px;
    line-height: 1.8;
}

/* mosaic grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    border-radius: 11px;
    outline-offset: 4px;
    box-shadow: 0 18px 40px -26px rgba(74, 14, 28, .6);
}

.g-large {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    border-radius: 11px;
}

.g-tall {
    grid-column: 4;
    grid-row: 1 / span 2;
    border-radius: 11px;
}

.g-small:nth-of-type(2) {
    grid-column: 3;
    grid-row: 1
}

.g-small:nth-of-type(4) {
    grid-column: 3;
    grid-row: 2
}

.g-wide:nth-of-type(5) {
    grid-column: 1 / span 2;
    grid-row: 3;
    border-radius: 10px;
}

.g-wide:nth-of-type(6) {
    grid-column: 3 / span 2;
    grid-row: 3;
    border-radius: 10px;
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.08)
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(30, 5, 12, .85));
    opacity: 0;
    transition: opacity .4s;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
    opacity: 1
}

/* caption */
.gallery-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 16px 22px;
    text-align: center;
    transform: translateY(16px);
    opacity: 0;
    transition: transform .45s, opacity .45s;
}

.gallery-cap b {
    font-family: var(--heading);
    font-weight: 500;
    font-size: 1.45rem;
    line-height: 1.2
}

.gallery-cap small {
    padding: 2px 14px;
    border-radius: 30px;
    background: var(--gold);
    color: #2a1208;
    font-size: .8rem;
    font-weight: 400;
}

.gallery-item:hover .gallery-cap,
.gallery-item:focus-visible .gallery-cap {
    transform: none;
    opacity: 1
}

/* button */
.gallery-cta {
    text-align: center;
    margin-top: 48px
}



/* lightbox (CSS only) */
.gallery-lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(30, 5, 12, .94);
}

.gallery-lb:target {
    display: flex;
    animation: gallery-fade .35s
}

@keyframes gallery-fade {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.gallery-lb-bg {
    position: absolute;
    inset: 0;
    cursor: zoom-out
}

.gallery-lb figure {
    position: relative;
    margin: 0;
    max-width: 90vw;
    text-align: center;
    pointer-events: none;
}

.gallery-lb img {
    display: block;
    max-width: 90vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: 24px;
    border: 2px solid var(--gold-soft);
}

.gallery-lb figcaption {
    margin-top: 16px;
    color: #fff;
    font-family: var(--heading);
    font-size: 1.6rem;
}

.gallery-lb-btn {
    position: absolute;
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
    transition: all .25s;
}

.gallery-lb-btn:hover,
.gallery-lb-btn:focus-visible {
    background: var(--gold);
    border-color: var(--gold);
    color: #2a1208;
    outline: none
}

.gallery-lb-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.lb-close {
    top: 22px;
    right: 22px
}

.lb-prev {
    left: 22px;
    top: 50%;
    transform: translateY(-50%)
}

.lb-next {
    right: 22px;
    top: 50%;
    transform: translateY(-50%)
}

/* tablet */
@media (max-width:991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px
    }

    .gallery-item,
    .g-small:nth-of-type(n),
    .g-wide:nth-of-type(n),
    .g-tall {
        grid-column: auto;
        grid-row: auto
    }

    .g-large {
        grid-column: 1 / span 2;
        grid-row: span 2;
        border-radius: 50% 50% 24px 24px / 220px 220px 24px 24px
    }

    .g-tall {
        grid-row: span 2;
        border-radius: 50% 50% 24px 24px / 160px 160px 24px 24px
    }

    .g-wide:nth-of-type(n) {
        grid-column: 1 / span 2;
        border-radius: 24px 90px 24px 90px
    }

    .g-wide:nth-of-type(6) {
        border-radius: 90px 24px 90px 24px
    }
}

/* mobile */
@media (max-width:560px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
        gap: 14px
    }

    .g-large,
    .g-tall,
    .g-wide:nth-of-type(n) {
        grid-column: auto;
        grid-row: auto
    }

    .g-large,
    .g-tall {
        border-radius: 50% 50% 24px 24px / 150px 150px 24px 24px
    }

    .g-wide:nth-of-type(n),
    .g-small:nth-of-type(n) {
        border-radius: 24px
    }

    .lb-prev {
        left: 10px
    }

    .lb-next {
        right: 10px
    }

    .lb-close {
        top: 14px;
        right: 14px
    }

    .gallery-lb img {
        max-height: 70vh
    }
}

/* touch devices: captions always visible */
@media (hover:none) {
    .gallery-item::after {
        opacity: 1
    }

    .gallery-cap {
        transform: none;
        opacity: 1
    }
}

@media (prefers-reduced-motion:reduce) {

    .gallery-item img,
    .gallery-cap,
    .gallery-item::after {
        transition: none
    }

    .gallery-lb:target {
        animation: none
    }
}