/*
Theme Name: Events By Paradise
Theme URI: https://eventsbyparadise.com/
Author: Events By Paradise
Description: A custom luxury wedding planning, floral design, and directory theme for Events By Paradise.
Version: 0.2.6
Text Domain: events-by-paradise
*/

:root {
    --ebp-ink: #172025;
    --ebp-soft-ink: #50595c;
    --ebp-white: #fff;
    --ebp-mist: #f3f6f4;
    --ebp-sea: #628b85;
    --ebp-palm: #385c52;
    --ebp-shell: #e8dfd7;
    --ebp-sunset: #b86d5d;
    --ebp-line: rgba(23, 32, 37, .14);
    --ebp-max: 1440px;
    --ebp-content: 1180px;
    --ebp-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ebp-white);
    color: var(--ebp-ink);
    font-family: var(--ebp-font);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
}

body.admin-bar .ebp-header {
    top: 32px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.ebp-container,
.ebp-page-content,
.alignwide {
    width: min(calc(100% - 64px), var(--ebp-content));
    margin-inline: auto;
}

.alignfull {
    width: 100%;
}

.ebp-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid var(--ebp-line);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
}

.ebp-header-inner {
    display: grid;
    width: min(calc(100% - 56px), var(--ebp-max));
    min-height: 88px;
    margin: auto;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
}

.ebp-brand {
    grid-column: 2;
    color: var(--ebp-ink);
    font-size: 20px;
    font-weight: 300;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.ebp-brand img {
    display: block;
    width: auto;
    max-width: 290px;
    max-height: 62px;
}

.ebp-nav {
    grid-column: 1;
    grid-row: 1;
}

.ebp-nav-utility {
    grid-column: 3;
    justify-self: end;
}

.ebp-menu {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.ebp-menu a {
    display: block;
    padding: 30px 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.ebp-menu a:hover,
.ebp-menu a:focus-visible {
    color: var(--ebp-sea);
}

.ebp-menu .menu-item-has-children {
    position: relative;
}

.ebp-menu .sub-menu {
    position: absolute;
    top: calc(100% - 12px);
    left: -22px;
    display: grid;
    visibility: hidden;
    width: 280px;
    margin: 0;
    padding: 14px 22px;
    border: 1px solid var(--ebp-line);
    background: var(--ebp-white);
    box-shadow: 0 18px 45px rgba(23, 32, 37, .09);
    gap: 0;
    list-style: none;
    opacity: 0;
    transform: translateY(8px);
    transition: .2s ease;
}

.ebp-menu .sub-menu a {
    padding: 10px 0;
    border-bottom: 1px solid var(--ebp-line);
    font-size: 12px;
}

.ebp-menu .menu-item-has-children:hover > .sub-menu,
.ebp-menu .menu-item-has-children:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.ebp-utility-menu {
    justify-content: flex-end;
    gap: 18px;
}

.ebp-mobile-utility-item {
    display: none;
}

.ebp-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
}

.ebp-menu-toggle span,
.ebp-menu-toggle::before,
.ebp-menu-toggle::after {
    display: block;
    width: 24px;
    height: 1px;
    margin: 6px auto;
    background: var(--ebp-ink);
    content: "";
}

.ebp-hero {
    position: relative;
    display: grid;
    min-height: min(820px, calc(100vh - 36px));
    align-items: end;
    overflow: hidden;
    background: #71827d center/cover no-repeat;
    color: #fff;
}

.ebp-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 25, 29, .64) 0%, rgba(11, 25, 29, .23) 52%, rgba(11, 25, 29, .08) 100%);
    content: "";
}

.ebp-hero-content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 64px), var(--ebp-content));
    margin: 0 auto;
    padding: 120px 0 90px;
}

.ebp-kicker {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ebp-hero h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(68px, 10vw, 148px);
    font-weight: 200;
    letter-spacing: 0;
    line-height: .88;
}

.ebp-hero-copy {
    max-width: 660px;
    margin: 30px 0 0;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
}

.ebp-actions,
.wp-block-buttons {
    display: flex;
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.ebp-button,
.wp-block-button__link {
    display: inline-flex;
    min-height: 52px;
    padding: 14px 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ebp-ink);
    border-radius: 0;
    background: var(--ebp-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.ebp-button-light {
    border-color: #fff;
    background: #fff;
    color: var(--ebp-ink) !important;
}

.ebp-button-ghost {
    border-color: rgba(255, 255, 255, .75);
    background: transparent;
}

.ebp-band {
    padding: clamp(72px, 10vw, 140px) 0;
}

.ebp-band-mist {
    background: var(--ebp-mist);
}

.ebp-band-ink {
    background: var(--ebp-ink);
    color: #fff;
}

.ebp-intro {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: clamp(50px, 9vw, 140px);
    align-items: start;
}

.ebp-intro h2,
.ebp-section-heading h2,
.ebp-page-hero h1,
.ebp-pattern-intro h2 {
    margin: 0;
    font-size: clamp(48px, 7vw, 92px);
    font-weight: 200;
    letter-spacing: 0;
    line-height: .98;
}

.ebp-intro-copy {
    max-width: 720px;
    color: var(--ebp-soft-ink);
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.55;
}

.ebp-recognition {
    padding: 18px 0;
    border-bottom: 1px solid var(--ebp-line);
}

.ebp-press h2 {
    margin: 0 0 28px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase;
}

.ebp-recognition-image {
    display: block;
    width: 100%;
    max-height: 116px;
    object-fit: contain;
    filter: grayscale(1);
}

.ebp-award-statement {
    max-width: 470px;
}

.ebp-award-statement p {
    margin: 0 0 10px;
    color: var(--ebp-soft-ink);
    font-size: 17px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ebp-award-statement p:first-child {
    text-transform: none;
}

.ebp-award-statement h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
}

.ebp-ethos {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: clamp(50px, 9vw, 140px);
    align-items: start;
}

.ebp-ethos h2 {
    margin: 0;
    font-size: clamp(52px, 8vw, 108px);
    font-weight: 200;
    line-height: .95;
}

.ebp-ethos p {
    margin: 0;
    color: var(--ebp-soft-ink);
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.55;
}

.ebp-section-heading {
    display: grid;
    margin-bottom: clamp(42px, 7vw, 90px);
    grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
    gap: 60px;
    align-items: end;
}

.ebp-section-heading p {
    margin: 0;
    color: var(--ebp-soft-ink);
}

.ebp-service-grid {
    display: grid;
    border-top: 1px solid var(--ebp-line);
    border-left: 1px solid var(--ebp-line);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebp-service {
    min-height: 440px;
    padding: clamp(30px, 4vw, 54px);
    border-right: 1px solid var(--ebp-line);
    border-bottom: 1px solid var(--ebp-line);
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.ebp-service:hover {
    background: var(--ebp-palm);
    color: #fff;
}

.ebp-service-number {
    font-size: 12px;
    letter-spacing: .12em;
}

.ebp-service h3 {
    margin: 100px 0 18px;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 300;
    line-height: 1.08;
}

.ebp-service p {
    margin: 0;
}

.ebp-work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(220px, 27vw, 440px);
    grid-auto-flow: dense;
    gap: 8px;
}

.ebp-work-item {
    position: relative;
    overflow: hidden;
}

.ebp-work-item:nth-child(1),
.ebp-work-item:nth-child(6) {
    grid-column: span 2;
}

.ebp-work-item:nth-child(3) {
    grid-row: span 2;
}

.ebp-work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.ebp-work-item:hover img {
    transform: scale(1.025);
}

.ebp-work-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 22px;
    background: linear-gradient(transparent, rgba(12, 24, 29, .75));
    color: #fff;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ebp-style-grid,
.ebp-destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ebp-style-card,
.ebp-destination-card {
    position: relative;
    display: grid;
    min-height: 520px;
    padding: 34px;
    align-content: end;
    overflow: hidden;
    background: var(--ebp-ink);
    color: #fff;
    text-decoration: none;
}

.ebp-style-card {
    min-height: 430px;
}

.ebp-style-card::before,
.ebp-destination-card::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, .18);
    content: "";
    transition: background .35s ease;
}

.ebp-style-card:hover::before,
.ebp-destination-card:hover::before {
    background: rgba(255, 255, 255, .76);
}

.ebp-style-card img,
.ebp-destination-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease, filter .35s ease;
}

.ebp-style-card:hover img,
.ebp-destination-card:hover img {
    filter: saturate(.75) contrast(.9);
    transform: scale(1.02);
}

.ebp-style-card-content,
.ebp-destination-card-content {
    position: relative;
    z-index: 2;
    width: fit-content;
    max-width: min(100%, 430px);
    padding: 18px 20px;
    background: rgba(255, 255, 255, .84);
    color: var(--ebp-ink);
    box-shadow: 0 18px 45px rgba(23, 32, 37, .08);
    transform: translateY(8px);
    transition: transform .35s ease, background .35s ease;
}

.ebp-style-card:hover .ebp-style-card-content,
.ebp-destination-card:hover .ebp-destination-card-content {
    background: rgba(255, 255, 255, .92);
    transform: none;
}

.ebp-style-card h3,
.ebp-destination-card h3 {
    margin: 0 0 8px;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 300;
    line-height: 1.05;
}

.ebp-style-card p,
.ebp-destination-card p {
    margin: 0;
}

.ebp-centered-action {
    display: flex;
    margin-top: 42px;
    justify-content: center;
}

.ebp-press {
    padding: 70px 0;
}

.ebp-press-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ebp-press-logo {
    display: grid;
    min-height: 100px;
    padding: 20px;
    place-items: center;
    border: 1px solid var(--ebp-line);
    color: var(--ebp-soft-ink);
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 300;
    text-align: center;
}

.ebp-directory-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ebp-directory-panel {
    position: relative;
    display: grid;
    min-height: 620px;
    padding: clamp(40px, 7vw, 90px);
    align-content: end;
    border-right: 1px solid rgba(255, 255, 255, .18);
    color: var(--ebp-panel-color, #fff);
    isolation: isolate;
}

.ebp-directory-panel.has-background-image {
    background-image: var(--ebp-panel-image);
    background-position: center;
    background-size: cover;
}

.ebp-directory-panel.has-background-image::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(16, 27, 30, .5);
    content: "";
}

.ebp-directory-panel h2 {
    max-width: 520px;
    margin: 0 0 20px;
    font-size: clamp(46px, 6vw, 80px);
    font-weight: 200;
    line-height: .98;
}

.ebp-directory-panel p {
    max-width: 560px;
}

.ebp-directory-panel:nth-child(1) {
    background: var(--ebp-palm);
}

.ebp-directory-panel:nth-child(2) {
    background: var(--ebp-sunset);
}

.ebp-directory-panel.has-background-image:nth-child(1),
.ebp-directory-panel.has-background-image:nth-child(2) {
    background-image: var(--ebp-panel-image);
}

.ebp-directory-panel .ebp-button-light {
    color: var(--ebp-ink) !important;
}

.ebp-testimonial {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.ebp-testimonial blockquote {
    margin: 0;
    font-size: clamp(34px, 5vw, 68px);
    font-weight: 200;
    line-height: 1.15;
}

.ebp-testimonial cite {
    display: block;
    margin-top: 28px;
    font-size: 12px;
    font-style: normal;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ebp-cta {
    display: grid;
    min-height: 600px;
    padding: 80px 32px;
    place-items: center;
    background: var(--ebp-shell);
    text-align: center;
}

.ebp-cta h2 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(52px, 8vw, 110px);
    font-weight: 200;
    line-height: .92;
}

.ebp-page-hero {
    padding: clamp(80px, 10vw, 150px) 0 clamp(54px, 8vw, 110px);
    border-bottom: 1px solid var(--ebp-line);
}

.ebp-page-hero p {
    max-width: 760px;
    color: var(--ebp-soft-ink);
    font-size: 21px;
}

.ebp-page-content {
    padding-block: clamp(60px, 9vw, 120px);
}

.ebp-page-content > * {
    margin-block-start: 0;
    margin-block-end: 32px;
}

.ebp-pattern-page {
    display: grid;
    gap: clamp(64px, 10vw, 130px);
}

.ebp-pattern-page > .wp-block-group__inner-container,
.ebp-pattern-grid > .wp-block-group__inner-container {
    display: contents;
}

.ebp-pattern-intro {
    max-width: 980px;
}

.ebp-pattern-intro p:not(.ebp-kicker) {
    max-width: 760px;
    color: var(--ebp-soft-ink);
    font-size: 21px;
}

.ebp-pattern-image {
    overflow: hidden;
    margin: 0;
    aspect-ratio: 16 / 9;
}

.ebp-pattern-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ebp-pattern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--ebp-line);
    border-left: 1px solid var(--ebp-line);
}

.ebp-pattern-card {
    min-height: 300px;
    padding: clamp(28px, 4vw, 46px);
    border-right: 1px solid var(--ebp-line);
    border-bottom: 1px solid var(--ebp-line);
}

.ebp-pattern-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 300;
}

.ebp-portfolio-gallery {
    display: grid !important;
    margin: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px !important;
}

.ebp-portfolio-gallery > figure.wp-block-image {
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.ebp-portfolio-gallery > figure:nth-child(1),
.ebp-portfolio-gallery > figure:nth-child(5) {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.ebp-portfolio-gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .6s ease;
}

.ebp-portfolio-gallery a:hover img {
    transform: scale(1.02);
}

.ebp-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    padding: 54px;
    place-items: center;
    background: rgba(7, 12, 14, .94);
}

.ebp-lightbox.is-open {
    display: grid;
}

.ebp-lightbox img {
    max-width: min(94vw, 1500px);
    max-height: 88vh;
    object-fit: contain;
}

.ebp-lightbox button {
    position: absolute;
    top: 18px;
    right: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 44px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}

body.ebp-lightbox-open {
    overflow: hidden;
}

.ebp-style-page-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px !important;
}

.ebp-style-page-gallery > figure {
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 1;
    overflow: hidden;
}

.ebp-style-page-gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ebp-portfolio-note {
    max-width: 860px;
    padding: clamp(36px, 6vw, 76px);
    background: var(--ebp-mist);
}

.ebp-portfolio-note h3 {
    margin: 0;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 200;
    line-height: 1;
}

.ebp-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
}

.ebp-feature h2 {
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 200;
    line-height: 1;
}

.ebp-faq details {
    padding: 22px 0;
    border-bottom: 1px solid var(--ebp-line);
}

.ebp-faq summary {
    cursor: pointer;
    font-size: 21px;
    font-weight: 400;
}

.ebp-footer {
    padding: 80px 0 28px;
    background: var(--ebp-ink);
    color: #fff;
}

.ebp-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(180px, .5fr));
    gap: 70px;
}

.ebp-footer h2 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 200;
    line-height: 1;
}

.ebp-footer h3 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ebp-footer a {
    color: #fff;
}

.ebp-footer-meta {
    margin-top: 70px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 12px;
}

.ebp-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .75s ease, transform .75s ease;
}

.ebp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Directory plugin integration */
.ebp-directory {
    --ebp-accent: var(--ebp-palm);
    color: var(--ebp-ink);
    font-family: var(--ebp-font);
}

.ebp-vendor-grid {
    gap: 18px !important;
}

.ebp-vendor-card,
.ebp-vendor-profile,
.ebp-dashboard {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ebp-vendor-card {
    border-color: var(--ebp-line) !important;
}

.ebp-vendor-card h2,
.ebp-vendor-card h3,
.ebp-vendor-profile h1,
.ebp-vendor-profile h2 {
    font-weight: 300 !important;
    letter-spacing: 0 !important;
}

@media (max-width: 1050px) {
    .ebp-header-inner {
        grid-template-columns: 1fr auto;
    }

    .ebp-brand {
        grid-column: 1;
        justify-self: start;
    }

    .ebp-menu-toggle {
        display: block;
        grid-column: 2;
    }

    .ebp-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 18px 32px 30px;
        border-bottom: 1px solid var(--ebp-line);
        background: #fff;
    }

    .ebp-nav.is-open {
        display: block;
    }

    .ebp-menu {
        display: grid;
        gap: 0;
    }

    .ebp-menu a {
        padding: 12px 0;
        border-bottom: 1px solid var(--ebp-line);
    }

    .ebp-menu .sub-menu {
        position: static;
        display: none;
        visibility: visible;
        width: auto;
        padding: 0 0 0 18px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
    }

    .ebp-menu .is-open > .sub-menu {
        display: grid;
    }

    .ebp-nav-utility {
        display: none;
    }

    .ebp-mobile-utility-item {
        display: block;
    }

    .ebp-service-grid,
    .ebp-style-grid,
    .ebp-destination-grid,
    .ebp-pattern-grid,
    .ebp-style-page-gallery,
    .ebp-portfolio-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ebp-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ebp-work-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    body.admin-bar .ebp-header {
        top: 46px;
    }

    .ebp-container,
    .ebp-page-content,
    .alignwide,
    .ebp-hero-content {
        width: min(calc(100% - 32px), var(--ebp-content));
    }

    .ebp-header-inner {
        width: calc(100% - 32px);
        min-height: 72px;
    }

    .ebp-brand img {
        max-width: 220px;
    }

    .ebp-hero {
        min-height: 720px;
        background-position: 58% center;
    }

    .ebp-hero::before {
        background: linear-gradient(0deg, rgba(11, 25, 29, .72), rgba(11, 25, 29, .12));
    }

    .ebp-hero h1 {
        font-size: 66px;
    }

    .ebp-intro,
    .ebp-ethos,
    .ebp-section-heading,
    .ebp-feature,
    .ebp-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ebp-service-grid,
    .ebp-style-grid,
    .ebp-destination-grid,
    .ebp-pattern-grid,
    .ebp-style-page-gallery,
    .ebp-portfolio-gallery,
    .ebp-directory-split {
        grid-template-columns: 1fr;
    }

    .ebp-portfolio-gallery > figure:nth-child(n) {
        grid-column: auto;
        aspect-ratio: 4 / 5;
    }

    .ebp-service {
        min-height: 340px;
    }

    .ebp-service h3 {
        margin-top: 60px;
    }

    .ebp-work-grid {
        grid-auto-rows: 260px;
    }

    .ebp-style-card,
    .ebp-destination-card {
        min-height: 440px;
    }

    .ebp-press-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ebp-directory-panel {
        min-height: 520px;
    }
}

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

    .ebp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
