/* ==========================================================================
   Peter Weiler Official Website - Custom Frontend Stylesheet (LWS Framework)
   Exact match to original Divi 4.23.1 layout, keyframes, scroll & hover motion
   ========================================================================== */

:root {
    --font-heading: 'Prata', Georgia, "Times New Roman", serif;
    --font-ui: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
    --font-body: 'Open Sans', Arial, sans-serif;

    --color-text: #666666;
    --color-heading: #333333;
    --color-dark: #000000;
    --color-white: #ffffff;
    --color-lime: #aadb24;
    --color-red: #c5310d;
    --color-red-bright: #e02b20;
    --color-border: #e5e5e5;

    --container-max: 1080px;
    --container-wide: 1400px;
}

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

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    padding-bottom: 10px;
    line-height: 1em;
    font-weight: 500;
}

p {
    padding-bottom: 1em;
}

p:last-of-type {
    padding-bottom: 0;
}

.container {
    width: 80%;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
}

.container-wide {
    width: 90%;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.container-featured {
    width: 80%;
    max-width: 1280px;
    margin: 0 auto;
}

.container-instagram {
    width: 80%;
    max-width: 2258px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: var(--color-white) !important; }

.section-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 45px 0;
}

.rich-text p {
    padding-bottom: 1em;
}

.rich-text a {
    color: var(--color-red-bright);
}

/* ==========================================================================
   Divi Scroll-Triggered Animations (.et-waypoint & .et_animated)
   ========================================================================== */
.et-waypoint {
    opacity: 0;
}

.et-waypoint.et_animated {
    animation-duration: 1000ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both !important;
}

/* 1. slideRight: 4-col Collections rows slide in from left (-50%) to right (0) */
@keyframes et_pb_slideRight_50 {
    0% {
        opacity: 0;
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.et-waypoint[data-et-anim="slideRight"].et_animated {
    animation-name: et_pb_slideRight_50;
}

/* 2. slideLeft: 4-col Collections rows 3 & 5 slide in from right (+50%) to left (0) */
@keyframes et_pb_slideLeft_50 {
    0% {
        opacity: 0;
        transform: translate3d(50%, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.et-waypoint[data-et-anim="slideLeft"].et_animated {
    animation-name: et_pb_slideLeft_50;
}

/* 3. slideCenter: Featured Exhibition images & second card zoom-slide from scale(0.5) to scale(1) */
@keyframes et_pb_slideCenter_50 {
    0% {
        opacity: 0;
        transform: scaleX(0.5) scaleY(0.5);
    }
    100% {
        opacity: 1;
        transform: scaleX(1) scaleY(1);
    }
}

.et-waypoint[data-et-anim="slideCenter"].et_animated {
    animation-name: et_pb_slideCenter_50;
    transform-origin: center;
}

/* 4. transformAnim: First Featured Exhibition card (Neociki) zoom-slides while preserving translate(-120px, 40px) */
@keyframes et_pb_slide_center_cta_0 {
    0% {
        opacity: 0;
        transform: scaleX(0.5) scaleY(0.5) translateX(-120px) translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(-120px) translateY(40px);
    }
}

.et-waypoint[data-et-anim="transformAnim"].et_animated {
    animation-name: et_pb_slide_center_cta_0;
    transform-origin: center;
    animation-delay: 4ms;
}

/* 5. flipInX: Picnic Gallery hero image */
@keyframes et_pb_flipInX {
    0% {
        transform: perspective(400px) rotateX(90deg);
        animation-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotateX(-20deg);
        animation-timing-function: ease-in;
    }
    60% {
        transform: perspective(400px) rotateX(10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotateX(-5deg);
    }
    100% {
        transform: perspective(400px);
        opacity: 1;
    }
}

.et-waypoint[data-et-anim="flip"].et_animated {
    animation-name: et_pb_flipInX;
}

/* ==========================================================================
   Divi Buttons & Hover Icon Reveal
   ========================================================================== */
.btn-lime {
    display: inline-block;
    position: relative;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600 !important;
    line-height: 1.7em !important;
    color: var(--color-dark) !important;
    background-color: var(--color-lime);
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 0px;
    padding: 14px 48px !important;
    box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 300ms ease 0ms;
}

.btn-lime::after {
    content: "\203A";
    font-size: 22px;
    line-height: 1em;
    position: absolute;
    top: 50%;
    transform: translateY(-52%);
    opacity: 0;
    margin-left: -0.6em;
    transition: all 300ms ease 0ms;
    font-weight: 400;
}

.btn-lime:hover::after {
    opacity: 1;
    margin-left: 0.35em;
}

.btn-red-submit {
    display: inline-block;
    position: relative;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7em !important;
    letter-spacing: 1px;
    text-transform: uppercase !important;
    color: var(--color-white) !important;
    background-color: var(--color-red) !important;
    border: 2px solid var(--color-red);
    border-radius: 3px;
    padding: 0.3em 1em;
    cursor: pointer;
    transition: all 200ms ease;
}

.btn-red-submit::after {
    content: "\2709";
    font-size: 15px;
    line-height: inherit;
    display: inline-block;
    opacity: 0;
    margin-left: -1em;
    transition: all 200ms ease;
}

.btn-red-submit:hover {
    border-color: transparent;
    padding: 0.3em 2em 0.3em 0.7em;
}

.btn-red-submit:hover::after {
    opacity: 1;
    margin-left: 0.4em;
}

.btn-black-submit,
.btn-outline-dark {
    display: inline-block;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 250ms ease;
    border: 2px solid var(--color-dark);
}

.btn-black-submit {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-black-submit:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
}

.btn-outline-dark {
    background-color: var(--color-white);
    color: var(--color-dark);
    margin: 6px;
}

.btn-outline-dark:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* ==========================================================================
   Header & Navigation (Fixed Top Center Divi Theme Builder Header)
   ========================================================================== */
.site-header {
    position: fixed !important;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 9999;
    background-color: var(--color-white);
    padding-top: 3px;
    padding-bottom: 3px;
}

.header-inner {
    width: 90%;
    max-width: 1859px;
    margin: 0 auto;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.site-logo img {
    height: auto;
    max-height: none;
}

.site-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    flex-wrap: wrap;
    margin: 0 -11px;
}

.site-nav li {
    padding: 0 11px;
}

.site-nav a {
    display: block;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.6);
    padding: 31px 0;
    line-height: 1.7em;
    transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;
}

.site-nav a:hover {
    opacity: 0.7;
}

.site-nav a.active {
    color: var(--color-red-bright);
}

/* Offset main content for fixed header on non-home pages */
body:not(.page-home) .site-main {
    padding-top: 84px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-red-bright);
    transition: 0.3s ease;
}

/* ==========================================================================
   1. Fullscreen Hero Slider (100vh + fadeBottom text animation + sliding arrows)
   ========================================================================== */
@keyframes fadeBottom {
    0% {
        opacity: 0;
        transform: translateY(10%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slider-section {
    position: relative;
    width: 100%;
    padding-top: 0px;
    padding-bottom: 3px;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background-color: var(--color-red-bright);
}

.hero-slide {
    position: absolute;
    inset: 0;
    padding: 0 6%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide-overlay {
    padding: 16% 8%;
    width: auto;
    margin: auto;
    max-width: 100%;
}

.hero-slide.active .hero-slide-overlay {
    animation-name: fadeBottom;
    animation-duration: 0.7s;
    animation-delay: 0.9s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
}

.hero-slide-heading {
    font-family: var(--font-body);
    font-weight: 700 !important;
    font-size: 48px;
    line-height: 1.1em !important;
    margin-top: 0;
    padding-bottom: 10px;
}

.hero-slide-subtitle {
    font-weight: 300;
    font-size: 18px;
    color: var(--color-white);
    line-height: 1.8em;
    text-shadow: 0em 0em 0.3em #000000;
}

/* Sliding Prev/Next Arrows on Hover */
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 100;
    font-size: 48px;
    line-height: 1;
    color: var(--color-white);
    background: transparent;
    border: none;
    margin-top: -24px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.slider-prev {
    left: -22px;
}

.slider-next {
    right: -22px;
}

.hero-slider:hover .slider-prev {
    left: 22px;
    opacity: 1;
}

.hero-slider:hover .slider-next {
    right: 22px;
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.slider-dot {
    display: inline-block;
    background-color: hsla(0, 0%, 100%, 0.5);
    border-radius: 7px;
    width: 7px;
    height: 7px;
    margin-right: 10px;
    padding: 0;
    border: none;
    opacity: 0.5;
    cursor: pointer;
}

.slider-dot:last-child {
    margin-right: 0;
}

.slider-dot.active {
    opacity: 1;
    background-color: var(--color-white);
}

/* ==========================================================================
   Section Headers & Eyebrows
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 27px;
}

.eyebrow {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.35) !important;
    letter-spacing: 5px;
    line-height: 2em;
    padding-bottom: 10px;
}

.section-header.dark .eyebrow {
    color: rgba(255, 255, 255, 0.35) !important;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 56px;
    line-height: 1.3em;
    color: var(--color-heading);
}

.section-actions {
    padding: 27px 0;
}

/* ==========================================================================
   2. Collections Grid (Unclipped 1.1x Hover Zoom & slideRight Scroll Motion)
   ========================================================================== */
.section-collections-preview {
    padding: 47px 0 0;
}

.section-page-collections {
    padding: 54px 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 3%;
    row-gap: 30px;
    padding: 27px 0;
}

.collections-row-spaced {
    padding: 27px 0;
}

.collection-card {
    text-align: center;
}

.collection-card-img-link {
    display: block;
    margin-bottom: 6.593%;
    transition: transform 300ms ease 0ms;
}

.collection-card-img-link:hover {
    transform: scaleX(1.1) scaleY(1.1) !important;
    position: relative;
    z-index: 5;
}

.collection-card-img-wrap {
    display: inline-block;
    position: relative;
    max-width: 100%;
}

.collection-card-img-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.collection-card-title,
.collection-card-heading {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark) !important;
    line-height: 1.7em;
    text-align: center;
    padding-bottom: 0;
}

.collection-card-subtitle {
    font-size: 13px;
    color: var(--color-text);
    text-align: center;
}

/* ==========================================================================
   3. Artist Bio Split Section (90deg 50/50 Vertical Split Gradient)
   ========================================================================== */
.section-artist-bio {
    background-image: linear-gradient(90deg, #ffffff 50%, rgba(233, 231, 232, 0.56) 50%) !important;
    padding-top: 4vw;
    padding-bottom: 4vw;
    margin-top: -1px;
}

.bio-split {
    display: grid;
    grid-template-columns: 47.25% 47.25%;
    column-gap: 5.5%;
    align-items: start;
    padding: 27px 0 0;
}

.artist-main-heading {
    font-family: var(--font-heading);
    font-size: 80px;
    color: #333333 !important;
    text-align: left;
    line-height: 1em;
    margin-top: 30px;
    padding-bottom: 10px;
}

.artist-bio-lead {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7em;
    margin-bottom: 8px;
}

.bio-image-col {
    text-align: center;
}

.bio-portrait-wrap {
    display: inline-block;
    box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
}

.bio-cta-row {
    padding-top: 43px;
    padding-bottom: 36px;
}

/* ==========================================================================
   4. Featured Exhibitions (Exact Divi Asymmetric Overlap & Zoom-Slide)
   ========================================================================== */
.section-featured-exhibitions {
    padding: 54px 0 0;
}

.featured-exhibitions-list {
    display: flex;
    flex-direction: column;
}

.featured-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 27px 0;
    cursor: pointer;
}

/* Row 1 (Neociki): 3/5 (57.8%) + 5.5% gutter + 2/5 (36.7%) */
.featured-row-first .featured-col-3-5 {
    width: 57.8%;
    margin-right: 5.5%;
}

.featured-row-first .featured-col-2-5 {
    width: 36.7%;
}

.featured-img-first {
    padding-bottom: 1px;
    padding-left: 78px;
    max-width: 800px;
    margin-left: auto;
    margin-right: 0;
}

.featured-img-wrap {
    display: inline-block;
    position: relative;
    box-shadow: 0px 20px 80px 0px rgba(67, 58, 122, 0.2);
}

.featured-cta-card {
    background-color: var(--color-white);
    padding: 40px 60px;
    box-shadow: -70px 70px 80px 0px rgba(67, 58, 122, 0.1);
    text-align: left;
    color: var(--color-text);
}

.featured-cta-first {
    transform: translateX(-120px) translateY(40px);
    transform-origin: center;
}

/* Row 2 (Újratervezés): 2/5 (40%) empty left + 3/5 (60%) right with negative-margin card */
.featured-row-second {
    padding-top: 4px;
    padding-bottom: 0;
}

.featured-row-second .featured-col-2-5 {
    width: 40%;
}

.featured-row-second .featured-col-3-5 {
    width: 60%;
}

.featured-img-second {
    padding-top: 40px;
    padding-right: 40px;
    margin-bottom: 30px;
    max-width: 560px;
    margin-left: auto;
    margin-right: 0;
}

.featured-cta-second {
    max-width: 450px;
    margin-top: -380px;
    margin-right: 9px;
    margin-bottom: 74px;
    margin-left: -200px;
    z-index: 2;
    position: relative;
}

.featured-exhibition-title {
    font-family: var(--font-body);
    font-weight: 700 !important;
    font-size: 20px !important;
    line-height: 1.3em !important;
    color: var(--color-heading);
    padding-bottom: 10px;
}

.featured-exhibition-excerpt p {
    padding-bottom: 1em;
}

.featured-exhibition-excerpt p:last-child {
    padding-bottom: 0;
}

/* ==========================================================================
   5. Instagram Feed Section
   ========================================================================== */
.section-instagram-feed {
    position: relative;
    z-index: 10;
    padding: 0 0 54px;
    background-color: var(--color-white);
    box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 27px 5px 10px;
}

.instagram-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eaeaea;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.instagram-item:hover img {
    opacity: 0.88;
}

.sbi-load-wrap {
    padding: 10px 0;
}

.sbi-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgb(64, 139, 209);
    color: var(--color-white) !important;
    padding: 7px 14px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.sbi-follow-btn:hover {
    background: rgb(53, 122, 189);
}

/* ==========================================================================
   6. Contact Sections (Home Parallax & Dedicated Contact Page)
   ========================================================================== */
.section-home-contact {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, #000000 100%) !important;
    padding: 54px 0;
}

.et-parallax-bg-wrap {
    overflow: hidden;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.et-parallax-bg {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.home-contact-inner {
    position: relative;
    z-index: 9;
    padding: 27px 0;
}

.home-contact-form {
    padding: 27px 0;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 48.5% 48.5%;
    column-gap: 3%;
}

.form-group {
    margin-bottom: 3%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 0;
    background-color: #eeeeee;
    font-family: var(--font-body);
    font-size: 14px;
    color: #999999;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    color: #333333;
}

.form-feedback {
    margin-top: 16px;
    font-weight: 600;
    font-size: 15px;
}

.form-feedback.success {
    color: var(--color-lime);
}

.page-contact-form .form-feedback.success {
    color: #2e7d32;
}

.form-feedback.error {
    color: #ff5252;
}

.section-contact-page {
    padding: 54px 0;
}

.contact-page-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5.5%;
    align-items: center;
}

.contact-page-heading {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 24px;
}

.contact-image-col img {
    width: 100%;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Collection Detail, Artworks, Book, Videos, CV, Picnic Gallery
   ========================================================================== */
.section-collection-detail,
.section-artworks-page,
.section-book-page,
.section-videos-page,
.section-cv-page,
.section-picnic-page {
    padding: 54px 0;
}

.collection-detail-header {
    margin-bottom: 24px;
}

.back-link {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
}

.back-link:hover {
    color: var(--color-red-bright);
}

.collection-descriptions {
    margin-bottom: 45px;
}

.collection-descriptions.bilingual-grid {
    display: grid;
    grid-template-columns: 47.25% 47.25%;
    column-gap: 5.5%;
}

.collection-descriptions.single-col {
    max-width: 860px;
    margin: 0 auto 45px;
}

.collection-external-links {
    margin-bottom: 45px;
}

.collection-media-section {
    margin-top: 50px;
}

.collection-section-heading {
    font-family: var(--font-heading);
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.captioned-artwork-stack {
    display: flex;
    flex-direction: column;
    gap: 55px;
    max-width: 920px;
    margin: 0 auto;
}

.captioned-artwork-item {
    text-align: center;
}

.captioned-artwork-item img {
    max-height: 82vh;
    width: auto;
    margin: 0 auto 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.captioned-artwork-item figcaption {
    font-size: 15px;
    color: var(--color-heading);
    max-width: 760px;
    margin: 0 auto;
}

.gallery-two-cols-captions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -1%;
}

.gallery-two-col-item {
    width: 48%;
    margin: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-two-col-item img {
    width: 100%;
    margin-bottom: 10px;
}

.gallery-grid-4,
.artworks-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 5.5%;
    row-gap: 30px;
}

.gallery-grid-item a,
.artwork-grid-item a {
    display: block;
    overflow: hidden;
}

.gallery-caption {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #444444;
}

.gallery-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.page-link {
    font-size: 14px;
    color: var(--color-text);
    padding: 4px 8px;
}

.page-link:hover,
.page-link.active {
    color: var(--color-red-bright);
    font-weight: 700;
}

.artworks-bottom-logo {
    margin-top: 60px;
}

.artworks-bottom-logo img {
    max-height: 70px;
    margin: 0 auto;
}

.book-split-layout,
.picnic-hero-split {
    display: grid;
    grid-template-columns: 47.25% 47.25%;
    column-gap: 5.5%;
    align-items: start;
}

.book-cover-img,
.picnic-hero-img img {
    width: 100%;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
}

.videos-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.video-row {
    display: grid;
    grid-template-columns: 58.8% 38.2%;
    column-gap: 3%;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 10px;
}

/* ==========================================================================
   Footer (Exact White Divi Footer with 2px Top Border & Inverted Socials)
   ========================================================================== */
.site-footer {
    background-color: var(--color-white);
    padding: 78px 0 54px;
    text-align: center;
}

.footer-inner {
    width: 80%;
    max-width: var(--container-max);
    margin: 0 auto;
    border-top: 2px solid #333333;
    padding-top: 27px;
}

.footer-social-heading {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 5px;
    line-height: 1.8em;
    color: var(--color-heading);
    margin-bottom: 12px;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 3px;
    color: var(--color-dark);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-links a:hover {
    color: var(--color-red-bright);
}

.footer-meta {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7em;
}

.footer-meta a {
    color: var(--color-red-bright);
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 88vh;
    text-align: center;
}

#lightboxImg {
    max-width: 90vw;
    max-height: 80vh;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: var(--color-white);
    font-size: 14px;
    margin-top: 12px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close { top: 20px; right: 28px; }
.lightbox-prev { top: 50%; left: 24px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 24px; transform: translateY(-50%); }

/* ==========================================================================
   Responsive Breakpoints (Match Divi 980px & 767px rules)
   ========================================================================== */
@media only screen and (max-width: 980px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        border-top: 3px solid var(--color-red-bright);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .site-nav.open {
        max-height: 500px;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 5%;
        margin: 0;
    }

    .site-nav li {
        padding: 0;
    }

    .site-nav a {
        padding: 10px 5%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .section-title {
        font-size: 40px;
    }

    .collections-grid,
    .gallery-grid-4,
    .artworks-gallery-grid,
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-artist-bio {
        background-image: linear-gradient(90deg, #efefef 73%, rgba(233, 231, 232, 0.56) 73%) !important;
    }

    .bio-split,
    .book-split-layout,
    .picnic-hero-split,
    .video-row,
    .contact-page-split,
    .collection-descriptions.bilingual-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .featured-row-first .featured-col-3-5,
    .featured-row-first .featured-col-2-5,
    .featured-row-second .featured-col-2-5,
    .featured-row-second .featured-col-3-5 {
        width: 100%;
        margin-right: 0;
    }

    .featured-img-first {
        padding: 40px 30px 0 0;
        max-width: 560px;
    }

    @keyframes et_pb_slide_center_cta_0 {
        0% {
            opacity: 0;
            transform: scaleX(0.5) scaleY(0.5) translateX(0px) translateY(0px);
        }
        100% {
            opacity: 1;
            transform: translateX(0px) translateY(0px);
        }
    }

    .featured-cta-first {
        transform: translateX(0px) translateY(0px);
        margin-top: -60px;
    }

    .featured-img-second {
        padding-right: 30px;
    }

    .featured-cta-second {
        max-width: 100%;
        margin-top: -60px !important;
        margin-left: 0px !important;
    }
}

@media only screen and (max-width: 767px) {
    .hero-slide-heading {
        font-size: 35px !important;
    }

    .section-title {
        font-size: 26px;
    }

    .artist-main-heading {
        font-size: 50px;
    }

    .collections-grid,
    .gallery-grid-4,
    .artworks-gallery-grid,
    .instagram-grid,
    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .gallery-two-col-item {
        width: 100%;
        margin: 0 0 20px 0;
    }
}
