/*
 * Homepage-Specific Styles
 * Auto-split from style.css — loaded conditionally via functions.php
 */

/* ============================================
   Homepage Categories - Mobile Snap Layout
   ============================================ */
.home .home-style-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    margin: 1.4rem auto 0.9rem;
    padding: 0 1rem;
    position: relative;
    z-index: 3;
    /* Button reset — no visual change from the div version */
    background: none;
    border: none;
    cursor: pointer;
    /* Subtle hover lift */
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.22s ease;
}

.home .home-style-pill:hover,
.home .home-style-pill:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.15);
    outline: none;
}

.home .home-style-pill:focus-visible {
    outline: 2px solid rgba(255, 3, 254, 0.6);
    outline-offset: 4px;
    border-radius: 999px;
}

/* Chevron icon — bounces on hover to signal "scroll down" */
.home-style-pill__icon {
    font-size: 1rem !important;
    color: rgba(255, 226, 253, 0.7);
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.home .home-style-pill:hover .home-style-pill__icon {
    transform: translateY(3px);
}

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

    .home .home-style-pill,
    .home-style-pill__icon {
        transition: none;
    }
}

.home .home-style-pill__text {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.56rem 1.1rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 3, 254, 0.5);
    background: linear-gradient(180deg, rgba(15, 11, 21, 0.94) 0%, rgba(9, 7, 14, 0.9) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 3, 254, 0.14),
        0 0 14px rgba(255, 3, 254, 0.2);
    color: rgba(255, 226, 253, 0.98);
    font-family: var(--wp--preset--font-family--manrope, 'Manrope', sans-serif);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 3, 254, 0.24);
}

.home .home-style-pill__text[data-lang="en"] {
    display: inline-flex;
}

body[data-site-language="en"] .home .home-style-pill__text[data-lang="en"] {
    display: inline-flex;
}

body[data-site-language="el"] .home .home-style-pill__text[data-lang="el"] {
    display: inline-flex;
}

body[data-site-language="el"] .home .home-style-pill__text[data-lang="en"] {
    display: none;
}

/* ============================================
   Featured Works Carousel
   ============================================ */

.featured-works-section {
    background-color: #0a0a0a;
    padding: 5rem 0 4rem;
    overflow: hidden;
    position: relative;
}

.featured-works-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    margin-bottom: 2.5rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.featured-works-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C5A059;
    width: 100%;
    margin-bottom: 0.25rem;
}

.featured-works-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: #FAFAFA;
    margin: 0;
    flex: 1;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.featured-works-controls {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.fw-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0;
}

.fw-btn .material-symbols-outlined {
    font-size: 18px !important;
}

.fw-btn:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: #C5A059;
    color: #C5A059;
    transform: scale(1.08);
}

/* Track */
.featured-works-track-wrap {
    position: relative;
    overflow: hidden;
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
    /* Let JS own horizontal swipes; browser handles vertical scroll */
    touch-action: pan-y;
}

.featured-works-track {
    display: flex;
    gap: 1.25rem;
    scrollbar-width: none;
    padding: 0.5rem 0 1rem;
    /* horizontal padding now lives on the wrap */
    cursor: grab;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    touch-action: pan-y;
}

.featured-works-track::-webkit-scrollbar {
    display: none;
}

.featured-works-track:active {
    cursor: grabbing;
}

/* Cards */
.fw-card {
    flex: 0 0 calc(25% - 1rem);
    min-width: 260px;
    max-width: 340px;
    background: #161616;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.3s ease,
        box-shadow 0.35s ease;
    will-change: transform;
}

.fw-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 160, 89, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(197, 160, 89, 0.1);
}

.fw-card__link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
}

.fw-card__img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.fw-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fw-card:hover .fw-card__img {
    transform: scale(1.04);
}

.fw-card__meta {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.fw-card__badge {
    font-family: 'Manrope', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C5A059;
}

.fw-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #FAFAFA;
    margin: 0;
    line-height: 1.3;
}

.fw-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    /* was 0.4 → 3.7:1 FAIL → now 8.1:1 PASS */
    margin-top: 0.4rem;
    transition: color 0.25s ease;
}

.fw-card__arrow {
    font-size: 14px !important;
    transition: transform 0.25s ease;
}

.fw-card:hover .fw-card__cta {
    color: #C5A059;
}

.fw-card:hover .fw-card__arrow {
    transform: translateX(4px);
}

/* Dot indicators */
.fw-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1.5rem;
    padding: 0 1.5rem;
}

.fw-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.3s ease, width 0.3s ease;
}

.fw-dot--active {
    background: #C5A059;
    width: 20px;
    border-radius: 3px;
}

/* View All */
.fw-view-all {
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 1.5rem;
}

.fw-view-all__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.fw-view-all__link .material-symbols-outlined {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.fw-view-all__link:hover {
    color: #C5A059;
    border-color: #C5A059;
}

.fw-view-all__link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

@media (min-width: 769px) and (max-width: 1200px) {
    .fw-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .featured-works-section {
        padding: 3.5rem 0 3rem;
    }

    .fw-card {
        flex: 0 0 80vw;
        max-width: 80vw;
        min-width: 0;
    }

    .featured-works-controls {
        display: none;
    }
}

@media (max-width: 481px) {
    .fw-card {
        flex: 0 0 88vw;
        max-width: 88vw;
    }
}

@media (max-width: 781px) {

    /* Reorder sections: Categories first, Featured Works second */
    .home .site-main {
        display: flex;
        flex-direction: column;
    }

    .home .site-main>.hero-section-home {
        order: 1;
    }

    .home .site-main>.home-style-pill {
        order: 2;
    }

    .home .site-main>.art-categories-home {
        order: 3;
    }

    .home .site-main>.featured-works-section {
        order: 4;
    }

    .home .site-main>.home-mobile-contact-cta {
        order: 5;
    }

    .home .home-style-pill {
        margin-top: 1.7rem;
        margin-bottom: 0.7rem;
    }

    .home .home-style-pill__text {
        font-size: 0.68rem;
        letter-spacing: 0.11em;
        padding: 0.52rem 0.95rem 0.55rem;
    }

    .home .art-categories-home {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.875rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1rem;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem 0.75rem !important;
        margin-top: 2.5rem !important;
    }

    .home .art-categories-home::-webkit-scrollbar {
        display: none;
    }

    .home .art-categories-home {
        scrollbar-width: none;
    }

    .home .art-categories-home>* {
        margin: 0 !important;
    }

    .home .art-categories-home .art-category-card {
        flex: 0 0 84vw !important;
        width: 84vw !important;
        min-width: 84vw !important;
        max-width: 84vw !important;
        height: min(72vh, 620px) !important;
        min-height: min(72vh, 620px) !important;
        max-height: min(72vh, 620px) !important;
        margin: 0 !important;
        scroll-snap-align: start;
        border-radius: 14px !important;
        border: 1px solid rgba(var(--category-accent-rgb, 197, 160, 89), 0.45) !important;
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.18),
            0 0 18px rgba(var(--category-accent-rgb, 197, 160, 89), 0.18),
            0 10px 30px rgba(0, 0, 0, 0.38),
            inset 0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.2);
        overflow: hidden !important;
    }

    .home .art-categories-home .art-category-card::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: inherit;
        box-shadow: inset 0 0 22px rgba(var(--category-accent-rgb, 197, 160, 89), 0.14);
    }

    .home .art-categories-home .art-category-card .wp-block-cover__inner-container {
        padding-top: 1rem !important;
    }

    .home .art-categories-home .art-category-card .wp-block-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 0 0.85rem 1.95rem !important;
        width: 100% !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button:last-child {
        display: none !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button__link {
        width: 100% !important;
        padding: 0.58rem 0.7rem !important;
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.09em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button:first-child .wp-block-button__link {
        animation: mobile-enter-gallery-pulse 2.8s ease-in-out infinite;
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.3),
            0 0 10px rgba(var(--category-accent-rgb, 197, 160, 89), 0.2);
    }

    .home .home-mobile-contact-cta {
        display: block !important;
        margin: 1rem 0 0 !important;
        padding: 0 1rem 0.5rem !important;
    }

    .home .home-mobile-contact-cta .wp-block-buttons {
        margin: 0 !important;
    }

    .home .home-mobile-contact-cta .wp-block-button {
        width: 100% !important;
    }

    .home .home-mobile-contact-cta .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.1em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (min-width: 782px) {
    .home .home-style-pill {
        margin-top: 1.1rem;
        margin-bottom: 0.8rem;
    }
}

@keyframes mobile-enter-gallery-pulse {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.3),
            0 0 10px rgba(var(--category-accent-rgb, 197, 160, 89), 0.18);
        background-color: rgba(var(--category-accent-rgb, 197, 160, 89), 0.05);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.5),
            0 0 18px rgba(var(--category-accent-rgb, 197, 160, 89), 0.32);
        background-color: rgba(var(--category-accent-rgb, 197, 160, 89), 0.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .art-category-card .wp-block-button__link {
        transition: none !important;
    }

    .art-category-card .wp-block-button__link::after {
        transition: none !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button:first-child .wp-block-button__link {
        animation: none !important;
    }
}

@media (min-width: 782px) {
    .home .home-mobile-contact-cta {
        display: none !important;
    }
}

/* ============================================
   Featured Works Carousel
   ============================================ */

.featured-works-section {
    background-color: #0a0a0a;
    padding: 5rem 0 4rem;
    overflow: hidden;
    position: relative;
}

.featured-works-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    margin-bottom: 2.5rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.featured-works-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C5A059;
    width: 100%;
    margin-bottom: 0.25rem;
}

.featured-works-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: #FAFAFA;
    margin: 0;
    flex: 1;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.featured-works-controls {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.fw-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0;
}

.fw-btn .material-symbols-outlined {
    font-size: 18px !important;
}

.fw-btn:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: #C5A059;
    color: #C5A059;
    transform: scale(1.08);
}

/* Track */
.featured-works-track-wrap {
    position: relative;
    overflow: hidden;
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
    /* Let JS own horizontal swipes; browser handles vertical scroll */
    touch-action: pan-y;
}

.featured-works-track {
    display: flex;
    gap: 1.25rem;
    scrollbar-width: none;
    padding: 0.5rem 0 1rem;
    /* horizontal padding now lives on the wrap */
    cursor: grab;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    touch-action: pan-y;
}

.featured-works-track::-webkit-scrollbar {
    display: none;
}

.featured-works-track:active {
    cursor: grabbing;
}

/* Cards */
.fw-card {
    flex: 0 0 calc(25% - 1rem);
    min-width: 260px;
    max-width: 340px;
    background: #161616;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.3s ease,
        box-shadow 0.35s ease;
    will-change: transform;
}

.fw-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 160, 89, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(197, 160, 89, 0.1);
}

.fw-card__link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
}

.fw-card__img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.fw-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fw-card:hover .fw-card__img {
    transform: scale(1.04);
}

.fw-card__meta {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.fw-card__badge {
    font-family: 'Manrope', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C5A059;
}

.fw-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #FAFAFA;
    margin: 0;
    line-height: 1.3;
}

.fw-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    /* was 0.4 → 3.7:1 FAIL → now 8.1:1 PASS */
    margin-top: 0.4rem;
    transition: color 0.25s ease;
}

.fw-card__arrow {
    font-size: 14px !important;
    transition: transform 0.25s ease;
}

.fw-card:hover .fw-card__cta {
    color: #C5A059;
}

.fw-card:hover .fw-card__arrow {
    transform: translateX(4px);
}

/* Dot indicators */
.fw-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1.5rem;
    padding: 0 1.5rem;
}

.fw-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.3s ease, width 0.3s ease;
}

.fw-dot--active {
    background: #C5A059;
    width: 20px;
    border-radius: 3px;
}

/* View All */
.fw-view-all {
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 1.5rem;
}

.fw-view-all__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.fw-view-all__link .material-symbols-outlined {
    font-size: 16px !important;
    transition: transform 0.3s ease;
}

.fw-view-all__link:hover {
    color: #C5A059;
    border-color: #C5A059;
}

.fw-view-all__link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

@media (min-width: 769px) and (max-width: 1200px) {
    .fw-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .featured-works-section {
        padding: 3.5rem 0 3rem;
    }

    .fw-card {
        flex: 0 0 80vw;
        max-width: 80vw;
        min-width: 0;
    }

    .featured-works-controls {
        display: none;
    }
}

@media (max-width: 481px) {
    .fw-card {
        flex: 0 0 88vw;
        max-width: 88vw;
    }
}

@media (max-width: 781px) {

    .home .home-style-pill {
        margin-top: 1.7rem;
        margin-bottom: 0.7rem;
    }

    .home .home-style-pill__text {
        font-size: 0.82rem;
        letter-spacing: 0.11em;
        padding: 0.7rem 1.2rem 0.74rem;
    }

    .home .art-categories-home {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.875rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1rem;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem 0.75rem !important;
        margin-top: 2.5rem !important;
    }

    .home .art-categories-home::-webkit-scrollbar {
        display: none;
    }

    .home .art-categories-home {
        scrollbar-width: none;
    }

    .home .art-categories-home>* {
        margin: 0 !important;
    }

    .home .art-categories-home .art-category-card {
        flex: 0 0 84vw !important;
        width: 84vw !important;
        min-width: 84vw !important;
        max-width: 84vw !important;
        height: min(72vh, 620px) !important;
        min-height: min(72vh, 620px) !important;
        max-height: min(72vh, 620px) !important;
        margin: 0 !important;
        scroll-snap-align: start;
        border-radius: 14px !important;
        border: 1px solid rgba(var(--category-accent-rgb, 197, 160, 89), 0.45) !important;
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.18),
            0 0 18px rgba(var(--category-accent-rgb, 197, 160, 89), 0.18),
            0 10px 30px rgba(0, 0, 0, 0.38),
            inset 0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.2);
        overflow: hidden !important;
    }

    .home .art-categories-home .art-category-card::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: inherit;
        box-shadow: inset 0 0 22px rgba(var(--category-accent-rgb, 197, 160, 89), 0.14);
    }

    .home .art-categories-home .art-category-card .wp-block-cover__inner-container {
        padding-top: 1rem !important;
    }

    .home .art-categories-home .art-category-card .wp-block-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 0 0.85rem 1.95rem !important;
        width: 100% !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button:last-child {
        display: none !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button__link {
        width: 100% !important;
        padding: 0.58rem 0.7rem !important;
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.09em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button:first-child .wp-block-button__link {
        animation: mobile-enter-gallery-pulse 2.8s ease-in-out infinite;
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.3),
            0 0 10px rgba(var(--category-accent-rgb, 197, 160, 89), 0.2);
    }

    .home .home-mobile-contact-cta {
        display: block !important;
        margin: 1rem 0 0 !important;
        padding: 0 1rem 0.5rem !important;
    }

    .home .home-mobile-contact-cta .wp-block-buttons {
        margin: 0 !important;
    }

    .home .home-mobile-contact-cta .wp-block-button {
        width: 100% !important;
    }

    .home .home-mobile-contact-cta .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.1em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (min-width: 782px) {
    .home .home-style-pill {
        margin-top: 1.1rem;
        margin-bottom: 0.8rem;
    }
}

@keyframes mobile-enter-gallery-pulse {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.3),
            0 0 10px rgba(var(--category-accent-rgb, 197, 160, 89), 0.18);
        background-color: rgba(var(--category-accent-rgb, 197, 160, 89), 0.05);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.5),
            0 0 18px rgba(var(--category-accent-rgb, 197, 160, 89), 0.32);
        background-color: rgba(var(--category-accent-rgb, 197, 160, 89), 0.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .art-category-card .wp-block-button__link {
        transition: none !important;
    }

    .art-category-card .wp-block-button__link::after {
        transition: none !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button:first-child .wp-block-button__link {
        animation: none !important;
    }
}

@media (min-width: 782px) {
    .home .home-mobile-contact-cta {
        display: none !important;
    }
}

/* ============================================
   Homepage Hero - Mobile Art Direction
   Top visual + text below (no crop)
   ============================================ */
@media (max-width: 781px) {
    .home .hero-section-home {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: center !important;
        text-align: center !important;
        height: calc(var(--lara-vh, 100vh) - var(--lara-header-offset)) !important;
        min-height: calc(var(--lara-vh, 100vh) - var(--lara-header-offset)) !important;
        max-height: calc(var(--lara-vh, 100vh) - var(--lara-header-offset)) !important;
        padding-top: clamp(1rem, 4vw, 1.5rem) !important;
        padding-right: 1rem !important;
        padding-left: 1rem !important;
        padding-bottom: clamp(1rem, 4vw, 1.5rem) !important;
        background-image: none !important;
        background: url('/wp-content/uploads/2026/02/Lara-Melachrinou-new-mobile-wallpaper-scaled.webp') center center / cover no-repeat !important;
        position: relative;
        overflow: hidden !important;
    }

    @supports (height: 100dvh) {
        .home .hero-section-home {
            height: calc(100dvh - var(--lara-header-offset)) !important;
            min-height: calc(100dvh - var(--lara-header-offset)) !important;
            max-height: calc(100dvh - var(--lara-header-offset)) !important;
        }
    }

    .home .hero-section-home .wp-block-cover__image-background {
        opacity: 0 !important;
    }

    .home .hero-section-home::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        background:
            radial-gradient(36% 44% at 10% 14%, rgba(255, 3, 254, 0.28) 0%, rgba(255, 3, 254, 0.1) 32%, rgba(255, 3, 254, 0) 72%),
            radial-gradient(34% 42% at 88% 84%, rgba(255, 3, 254, 0.24) 0%, rgba(255, 3, 254, 0.08) 34%, rgba(255, 3, 254, 0) 74%);
        animation: hero-corner-bloom 9.8s ease-in-out infinite alternate;
    }

    .home .hero-section-home::after {
        content: none;
    }

    .home .hero-section-home .hero-content {
        max-width: min(92vw, 720px);
        margin: 0 auto !important;
        position: relative;
        z-index: 2;
        padding: 0 0 clamp(0.9rem, 3vw, 1.4rem);
        border: 0;
        box-shadow: none;
        background: transparent;
        animation: hero-mobile-rise 500ms ease-out both;
    }

    .home .hero-mobile-copy {
        display: none !important;
    }

    .home .hero-mobile-title {
        margin: 0;
        color: #FAFAFA;
        font-family: var(--wp--preset--font-family--playfair, 'Playfair Display', serif);
        font-size: clamp(2rem, 9.2vw, 3rem);
        font-weight: 400;
        line-height: 1.06;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        text-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
        animation: hero-mobile-fade 560ms ease-out both;
    }

    .home .hero-mobile-subtitle {
        margin: 0.65rem 0 0;
        color: #D4A574;
        font-family: var(--wp--preset--font-family--manrope, 'Manrope', sans-serif);
        font-size: clamp(0.78rem, 2.9vw, 1rem);
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        animation: hero-mobile-fade 640ms ease-out both;
    }

    .home .hero-section-home .hero-content>.wp-block-group {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .home .hero-section-home .wp-block-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.7rem !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: clamp(1rem, 3.5vh, 1.75rem) !important;
        animation: hero-mobile-fade 720ms ease-out both;
    }

    .home .hero-section-home .wp-block-buttons .wp-block-button,
    .home .hero-section-home .wp-block-buttons .wp-block-button__link {
        width: 100%;
        max-width: 320px;
    }

    .home .hero-section-home .wp-block-buttons .wp-block-button__link {
        justify-content: center !important;
    }

    .home .hero-section-home .wp-block-spacer {
        display: none !important;
    }

    .home .site-scroll-indicator {
        display: none !important;
    }

    .home .hero-mobile-photo {
        display: none;
    }
}

@media (min-width: 782px) {
    .home .hero-mobile-copy {
        display: none !important;
    }

    .home .hero-mobile-photo {
        display: none;
    }
}

.home .hero-cta-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.home .hero-cta-icon {
    font-size: 18px !important;
    line-height: 1;
    flex: 0 0 auto;
}

@keyframes hero-mobile-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-mobile-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .home .hero-section-home .hero-content,
    .home .hero-color-wash__blob,
    .home .hero-atmosphere-speck,
    .home .hero-mobile-title,
    .home .hero-mobile-subtitle,
    .home .hero-section-home .wp-block-buttons {
        animation: none !important;
    }

    /* Stop the ambient corner bloom on mobile hero */
    .home .hero-section-home::before {
        animation: none !important;
    }
}

/* ============================================
   Homepage Hero - Aurora Multi-Color Accents
   ============================================ */
@media (min-width: 782px) {
    .home .hero-section-home {
        position: relative;
        isolation: isolate;
        background: url('/wp-content/uploads/2026/02/Lara-Melachrinou-wallpaper-new-scaled.webp') center center / cover no-repeat !important;
    }

    .home .hero-section-home::before {
        content: none;
    }

    .home .hero-section-home::after {
        content: none;
    }

    .home .hero-section-home .hero-content {
        position: relative;
        z-index: 2;
    }

    .home .hero-section-home .hero-content>.wp-block-group {
        max-width: min(92vw, 1060px);
        margin-inline: auto;
        padding: clamp(2rem, 4vw, 3.3rem) clamp(1.2rem, 3vw, 2.8rem);
        border: none;
        box-shadow: none;
        animation: none;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        position: relative;
        isolation: isolate;
        overflow: visible;
    }

    .home .hero-color-wash {
        --hero-bloom-shift-x: 0px;
        --hero-bloom-shift-y: 0px;
        position: absolute;
        inset: -12% -10% 10%;
        pointer-events: none;
        z-index: 1;
        filter: saturate(112%);
        opacity: 0.88;
        transform: translate3d(var(--hero-bloom-shift-x), var(--hero-bloom-shift-y), 0);
        transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    .home .hero-color-wash__blob {
        position: absolute;
        display: block;
        border-radius: 999px;
        mix-blend-mode: screen;
        filter: blur(22px);
        will-change: transform, opacity;
    }

    .home .hero-color-wash__blob--teal {
        top: 5%;
        left: 10%;
        width: clamp(220px, 27vw, 420px);
        height: clamp(220px, 24vw, 360px);
        background:
            radial-gradient(circle at 32% 32%,
                rgba(138, 239, 214, 0.68) 0%,
                rgba(92, 196, 185, 0.46) 34%,
                rgba(43, 98, 123, 0.16) 58%,
                rgba(43, 98, 123, 0) 78%);
        animation: hero-color-wash-drift-a 24s ease-in-out infinite alternate;
    }

    .home .hero-color-wash__blob--coral {
        top: 14%;
        right: 6%;
        width: clamp(240px, 29vw, 430px);
        height: clamp(210px, 23vw, 340px);
        background:
            radial-gradient(circle at 58% 40%,
                rgba(255, 154, 110, 0.6) 0%,
                rgba(232, 110, 92, 0.42) 36%,
                rgba(113, 42, 55, 0.18) 60%,
                rgba(113, 42, 55, 0) 80%);
        animation: hero-color-wash-drift-b 28s ease-in-out infinite alternate;
    }

    .home .hero-color-wash__blob--gold {
        bottom: 8%;
        left: 28%;
        width: clamp(210px, 24vw, 360px);
        height: clamp(180px, 20vw, 300px);
        background:
            radial-gradient(circle at 48% 42%,
                rgba(255, 215, 124, 0.48) 0%,
                rgba(214, 168, 95, 0.32) 36%,
                rgba(126, 82, 36, 0.14) 58%,
                rgba(126, 82, 36, 0) 78%);
        animation: hero-color-wash-drift-c 22s ease-in-out infinite alternate;
    }

    .home .hero-atmosphere-specks {
        position: absolute;
        inset: -4% 2% 8%;
        pointer-events: none;
        z-index: 1;
        opacity: 0.66;
    }

    .home .hero-atmosphere-speck {
        position: absolute;
        left: var(--x);
        top: var(--y);
        width: var(--size);
        height: var(--size);
        border-radius: 50%;
        background:
            radial-gradient(circle at 35% 35%,
                rgba(255, 250, 234, 0.82) 0%,
                rgba(255, 233, 184, 0.48) 42%,
                rgba(122, 205, 199, 0.12) 72%,
                rgba(122, 205, 199, 0) 100%);
        box-shadow:
            0 0 12px rgba(255, 228, 184, 0.14),
            0 0 24px rgba(112, 209, 202, 0.08);
        opacity: 0;
        animation:
            hero-atmosphere-drift var(--dur) ease-in-out infinite,
            hero-atmosphere-flicker calc(var(--dur) * 0.72) ease-in-out infinite;
        animation-delay: var(--delay), var(--delay);
    }

    .home .hero-section-home .hero-content>.wp-block-group::before {
        content: none;
    }



    .home .hero-section-home .hero-content>.wp-block-group>* {
        position: relative;
        z-index: 2;
    }

    .home .hero-section-home .wp-block-heading {
        --hero-title-shift-x: 0px;
        --hero-title-shift-y: 0px;
        --hero-glow-shift-x: 0px;
        --hero-glow-shift-y: 0px;
        color: #ffffff !important;
        background: linear-gradient(110deg,
                #2fd6b8 0%,
                #68c9ff 16%,
                #8ff2ce 32%,
                #9278eb 48%,
                #ff8160 64%,
                #ffa935 80%,
                #ffdc5c 100%);
        background-size: 260% 100%;
        background-position: 0% 50%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow:
            0 1px 0 rgba(255, 255, 255, 0.35),
            var(--hero-glow-shift-x) var(--hero-glow-shift-y) 14px rgba(106, 212, 255, 0.22),
            0 12px 30px rgba(0, 0, 0, 0.52);
        -webkit-text-stroke: 0.35px rgba(228, 247, 255, 0.2);
        letter-spacing: 0.22em !important;
        position: relative;
        display: block;
        opacity: 0;
        transform: translate3d(var(--hero-title-shift-x), calc(14px + var(--hero-title-shift-y)), 0) scale(0.988);
        transition: text-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
        animation:
            hero-h1-reveal 760ms cubic-bezier(0.23, 1, 0.32, 1) 120ms both,
            hero-h1-shimmer 14.5s ease-in-out 1.1s infinite;
    }

    .home .hero-section-home .wp-block-heading::before,
    .home .hero-section-home .wp-block-heading::after {
        content: none;
    }

    .home .hero-section-home .wp-block-heading::before {
        animation: none;
    }

    .home .hero-section-home .wp-block-heading::after {
        animation: none;
    }

    .home .hero-section-home p.has-accent-1-color {
        color: #8ff2ce !important;
        text-shadow: 0 0 14px rgba(116, 220, 196, 0.32);
        letter-spacing: 0.24em !important;
        position: relative;
        display: inline-block;
        opacity: 0;
        transform: translateY(8px);
        animation:
            hero-subtitle-reveal 680ms cubic-bezier(0.22, 1, 0.36, 1) 360ms both,
            hero-subtitle-glow 7.2s ease-in-out 1.6s infinite;
    }

    .home .hero-section-home p.has-accent-1-color::after {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        bottom: -0.38em;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 124, 90, 0) 0%, rgba(255, 153, 59, 0.88) 52%, rgba(255, 124, 90, 0) 100%);
        transform: scaleX(0);
        transform-origin: center;
        opacity: 0;
        animation: hero-subtitle-line-sweep 760ms cubic-bezier(0.23, 1, 0.32, 1) 540ms both;
    }

    .home .hero-section-home .wp-block-buttons {
        position: relative;
    }

    .home .hero-cta-primary {
        position: relative;
        isolation: isolate;
    }

    .home .hero-cta-primary::before {
        content: "";
        position: absolute;
        inset: -10px -14px;
        border-radius: 999px;
        pointer-events: none;
        z-index: 0;
        background:
            radial-gradient(60% 72% at 50% 50%,
                rgba(255, 218, 126, 0.34) 0%,
                rgba(232, 170, 84, 0.18) 38%,
                rgba(103, 205, 190, 0.12) 66%,
                rgba(103, 205, 190, 0) 100%);
        filter: blur(12px);
        opacity: 0.72;
        transform: scale(0.98);
        animation: hero-cta-halo-breathe 5.8s ease-in-out infinite;
    }

    .home .hero-cta-primary .wp-block-button__link {
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .home .hero-cta-primary .wp-block-button__link::after {
        content: "";
        position: absolute;
        top: 14%;
        bottom: 14%;
        left: -34%;
        width: 34%;
        pointer-events: none;
        border-radius: inherit;
        background: linear-gradient(90deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 247, 214, 0.12) 24%,
                rgba(255, 247, 214, 0.5) 50%,
                rgba(255, 247, 214, 0.12) 76%,
                rgba(255, 255, 255, 0) 100%);
        transform: skewX(-18deg);
        opacity: 0;
        animation: hero-cta-shimmer-line 7.4s ease-in-out 1.2s infinite;
    }



    .home .hero-cta-primary .wp-block-button__link {
        /* Gold filled - consistent with global style */
        background-color: #C5A059 !important;
        border-color: #C5A059 !important;
        color: #000000 !important;
        box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4) !important;
        font-weight: 600 !important;
    }

    .home .hero-cta-secondary .wp-block-button__link {
        background-color: transparent !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: #FFFFFF !important;
        box-shadow: none !important;
    }

    .home .hero-cta-primary .wp-block-button__link:hover {
        background-color: #b8935a !important;
        border-color: #b8935a !important;
        color: #000000 !important;
        box-shadow: 0 8px 28px rgba(197, 160, 89, 0.55) !important;
    }

    .home .hero-cta-secondary .wp-block-button__link:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        color: #FFFFFF !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    }

    .home .hero-cta-primary .wp-block-button__link:focus-visible,
    .home .hero-cta-secondary .wp-block-button__link:focus-visible {
        outline: none !important;
        box-shadow:
            0 0 0 2px rgba(255, 220, 92, 0.88),
            0 0 0 5px rgba(255, 220, 92, 0.3) !important;
    }

    .home .hero-section-home+.art-categories-home,
    .home .hero-section-home+.home-style-pill+.art-categories-home {
        position: relative;
        margin-top: 0 !important;
        padding-top: 3.25rem !important;
    }

    .home .hero-section-home+.art-categories-home::before,
    .home .hero-section-home+.home-style-pill+.art-categories-home::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 140px;
        pointer-events: none;
        background:
            radial-gradient(90% 120% at 50% 0%, rgba(92, 221, 194, 0.26) 0%, rgba(121, 174, 245, 0.14) 36%, rgba(255, 151, 62, 0.08) 58%, rgba(255, 151, 62, 0) 78%);
    }

    /* Home category cards: teal/mint default, warm hover pulse, yellow micro highlight */
    .home .art-categories-home .art-category-card {
        border: 1px solid rgba(111, 229, 201, 0.52) !important;
        box-shadow:
            0 0 0 1px rgba(111, 229, 201, 0.2),
            0 0 20px rgba(104, 209, 255, 0.14),
            0 12px 30px rgba(0, 0, 0, 0.34),
            inset 0 0 0 1px rgba(255, 220, 92, 0.1);
    }

    .home .art-categories-home .art-category-card::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: inherit;
        box-shadow:
            inset 0 0 0 1px rgba(108, 211, 254, 0.18),
            inset 0 0 28px rgba(255, 220, 92, 0.08);
    }

    .home .art-categories-home .art-category-card:hover {
        border-color: rgba(255, 134, 94, 0.92) !important;
        box-shadow:
            0 0 0 1px rgba(255, 168, 67, 0.32),
            0 0 24px rgba(255, 134, 94, 0.24),
            0 14px 34px rgba(0, 0, 0, 0.38),
            inset 0 0 0 1px rgba(255, 220, 92, 0.24);
    }
}

@media (max-width: 781px) {
    .home .hero-cta-primary .wp-block-button__link {
        border-color: rgba(255, 3, 254, 0.86) !important;
        background: linear-gradient(180deg, rgba(255, 3, 254, 0.24) 0%, rgba(255, 3, 254, 0.1) 100%) !important;
        box-shadow: 0 0 0 1px rgba(255, 3, 254, 0.28) inset, 0 8px 24px rgba(255, 3, 254, 0.24) !important;
    }

    .home .hero-cta-secondary .wp-block-button__link {
        border-color: rgba(255, 3, 254, 0.5) !important;
    }
}

@keyframes hero-h1-reveal {
    from {
        opacity: 0;
        transform: translate3d(var(--hero-title-shift-x), calc(14px + var(--hero-title-shift-y)), 0) scale(0.988);
        filter: blur(1px);
    }

    to {
        opacity: 1;
        transform: translate3d(var(--hero-title-shift-x), var(--hero-title-shift-y), 0) scale(1);
        filter: blur(0);
    }
}

@keyframes hero-h1-shimmer {

    0%,
    12% {
        background-position: 0% 50%;
    }

    46% {
        background-position: 62% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes hero-h1-accent-flicker {

    0%,
    84%,
    100% {
        opacity: 0.88;
        filter: drop-shadow(0 0 6px rgba(255, 3, 254, 0.36));
    }

    86% {
        opacity: 0.46;
        filter: drop-shadow(0 0 2px rgba(255, 3, 254, 0.2));
    }

    88% {
        opacity: 1;
        filter: drop-shadow(0 0 9px rgba(255, 3, 254, 0.5));
    }

    91% {
        opacity: 0.7;
        filter: drop-shadow(0 0 4px rgba(255, 3, 254, 0.28));
    }
}

@keyframes hero-subtitle-reveal {
    from {
        opacity: 0;
        transform: translateY(8px);
        letter-spacing: 0.34em;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.24em;
    }
}

@keyframes hero-subtitle-line-sweep {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    40% {
        opacity: 1;
        transform: scaleX(1);
    }

    100% {
        opacity: 0.7;
        transform: scaleX(1);
    }
}

@keyframes hero-subtitle-glow {

    0%,
    100% {
        text-shadow: 0 0 12px rgba(116, 220, 196, 0.26);
    }

    50% {
        text-shadow: 0 0 18px rgba(255, 220, 92, 0.36);
    }
}

@keyframes hero-corner-bloom {
    0% {
        opacity: 0.6;
        transform: translate3d(-0.6%, 0, 0) scale(1);
    }

    50% {
        opacity: 0.92;
        transform: translate3d(0.7%, -0.4%, 0) scale(1.03);
    }

    100% {
        opacity: 0.68;
        transform: translate3d(0.5%, 0.3%, 0) scale(1.01);
    }
}

@keyframes hero-ambient-aurora {
    0% {
        background-position: center center, 14% 20%, 86% 84%;
        filter: saturate(1) brightness(1);
    }

    50% {
        background-position: center center, 18% 24%, 82% 80%;
        filter: saturate(1.08) brightness(1.04);
    }

    100% {
        background-position: center center, 12% 17%, 88% 86%;
        filter: saturate(1.03) brightness(1.01);
    }
}

@keyframes hero-frame-edge-sweep {

    0%,
    100% {
        background-position: top left, bottom right;
        box-shadow: 0 0 0 1px rgba(104, 209, 255, 0.1) inset;
    }

    50% {
        background-position: top 6px left 6px, bottom 6px right 6px;
        box-shadow:
            0 0 0 1px rgba(255, 165, 64, 0.22) inset,
            0 0 16px rgba(104, 209, 255, 0.22);
    }
}

@keyframes hero-multicolor-glow {

    0%,
    100% {
        box-shadow:
            -8px -8px 28px rgba(90, 210, 185, 0.28),
            8px 8px 28px rgba(255, 128, 82, 0.22),
            -12px 0px 22px rgba(168, 100, 255, 0.16),
            0 12px 24px rgba(255, 200, 72, 0.16),
            0 -10px 22px rgba(106, 212, 255, 0.14),
            inset 0 0 0 1px rgba(116, 220, 196, 0.14),
            0 28px 60px rgba(0, 0, 0, 0.52);
    }

    25% {
        box-shadow:
            -8px -8px 32px rgba(168, 100, 255, 0.3),
            8px 8px 32px rgba(255, 200, 72, 0.26),
            -12px 0px 24px rgba(106, 212, 255, 0.22),
            0 12px 28px rgba(90, 210, 185, 0.2),
            0 -10px 24px rgba(255, 128, 82, 0.18),
            inset 0 0 0 1px rgba(168, 100, 255, 0.12),
            0 28px 60px rgba(0, 0, 0, 0.52);
    }

    50% {
        box-shadow:
            -8px -8px 30px rgba(106, 212, 255, 0.28),
            8px 8px 30px rgba(168, 100, 255, 0.22),
            -12px 0px 22px rgba(255, 200, 72, 0.18),
            0 12px 26px rgba(255, 128, 82, 0.18),
            0 -10px 22px rgba(90, 210, 185, 0.16),
            inset 0 0 0 1px rgba(106, 212, 255, 0.12),
            0 28px 60px rgba(0, 0, 0, 0.52);
    }

    75% {
        box-shadow:
            -8px -8px 32px rgba(255, 200, 72, 0.3),
            8px 8px 32px rgba(90, 210, 185, 0.24),
            -12px 0px 24px rgba(255, 128, 82, 0.2),
            0 12px 28px rgba(168, 100, 255, 0.18),
            0 -10px 24px rgba(106, 212, 255, 0.16),
            inset 0 0 0 1px rgba(255, 200, 72, 0.12),
            0 28px 60px rgba(0, 0, 0, 0.52);
    }
}

@media (min-width: 782px) and (prefers-reduced-motion: reduce) {

    .home .hero-section-home .wp-block-heading,
    .home .hero-section-home::before,
    .home .hero-section-home::after,
    .home .hero-color-wash__blob,
    .home .hero-atmosphere-speck,
    .home .hero-cta-primary::before,
    .home .hero-cta-primary .wp-block-button__link::after,
    .home .hero-section-home .hero-content>.wp-block-group,
    .home .hero-section-home .hero-content>.wp-block-group::before,
    .home .hero-section-home p.has-accent-1-color,
    .home .hero-section-home p.has-accent-1-color::after,
    .home .hero-section-home .wp-block-heading::before,
    .home .hero-section-home .wp-block-heading::after {
        animation: none !important;
    }

    .home .hero-section-home .wp-block-heading {
        opacity: 1 !important;
        transform: none !important;
    }

    .home .hero-section-home p.has-accent-1-color {
        opacity: 1 !important;
        transform: none !important;
    }
}

@keyframes home-hero-aurora {
    0% {
        transform: translate3d(-1.5%, -1.5%, 0) scale(1);
        opacity: 0.72;
    }

    100% {
        transform: translate3d(2.5%, 2%, 0) scale(1.06);
        opacity: 0.95;
    }
}

@keyframes hero-color-wash-drift-a {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(0.98) rotate(-7deg);
        opacity: 0.72;
    }

    50% {
        transform: translate3d(2%, 3%, 0) scale(1.05) rotate(-1deg);
        opacity: 0.9;
    }

    100% {
        transform: translate3d(5%, -2%, 0) scale(1.1) rotate(4deg);
        opacity: 0.78;
    }
}

@keyframes hero-color-wash-drift-b {
    0% {
        transform: translate3d(1%, -3%, 0) scale(1) rotate(8deg);
        opacity: 0.66;
    }

    50% {
        transform: translate3d(-3%, 2%, 0) scale(1.07) rotate(2deg);
        opacity: 0.84;
    }

    100% {
        transform: translate3d(-6%, 5%, 0) scale(1.12) rotate(-4deg);
        opacity: 0.72;
    }
}

@keyframes hero-color-wash-drift-c {
    0% {
        transform: translate3d(-1%, 2%, 0) scale(0.96) rotate(-3deg);
        opacity: 0.54;
    }

    50% {
        transform: translate3d(3%, -2%, 0) scale(1.04) rotate(2deg);
        opacity: 0.72;
    }

    100% {
        transform: translate3d(-4%, -4%, 0) scale(1.09) rotate(7deg);
        opacity: 0.62;
    }
}

@keyframes hero-atmosphere-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(0.96);
    }

    50% {
        transform: translate3d(8px, -14px, 0) scale(1.06);
    }

    100% {
        transform: translate3d(-6px, -26px, 0) scale(0.98);
    }
}

@keyframes hero-atmosphere-flicker {
    0%,
    100% {
        opacity: 0.12;
    }

    25% {
        opacity: 0.26;
    }

    55% {
        opacity: 0.18;
    }

    78% {
        opacity: 0.3;
    }
}

@keyframes hero-cta-halo-breathe {
    0% {
        opacity: 0.58;
        transform: scale(0.97);
    }

    50% {
        opacity: 0.86;
        transform: scale(1.04);
    }

    100% {
        opacity: 0.64;
        transform: scale(0.99);
    }
}

@keyframes hero-cta-shimmer-line {
    0%,
    68%,
    100% {
        left: -38%;
        opacity: 0;
    }

    76% {
        opacity: 0.28;
    }

    88% {
        left: 108%;
        opacity: 0.4;
    }

    92% {
        opacity: 0;
    }
}

/* ============================================
   Art Page Filters - Soft Light + Pink Accent
   ============================================ */
.art-filter-section.rich-dark-bg {
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.96) 0%, rgba(5, 5, 8, 0.96) 100%) !important;
    border-bottom-color: rgba(255, 3, 254, 0.22) !important;
}

.art-filter-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(48% 62% at 10% 14%, rgba(255, 3, 254, 0.2) 0%, rgba(255, 3, 254, 0.08) 36%, rgba(255, 3, 254, 0) 74%),
        radial-gradient(54% 68% at 90% 88%, rgba(255, 3, 254, 0.2) 0%, rgba(255, 3, 254, 0.08) 34%, rgba(255, 3, 254, 0) 76%),
        radial-gradient(ellipse at center,
            rgba(255, 3, 254, 0.14) 0%,
            rgba(255, 3, 254, 0.08) 38%,
            rgba(255, 3, 254, 0) 74%);
    z-index: 0;
}

/* ============================================
   404 Page - Black + Pink
   ============================================ */
.error-404-page {
    min-height: calc(var(--lara-vh, 100vh) - var(--lara-header-offset, 73px));
    background:
        radial-gradient(54% 62% at 14% 18%, rgba(255, 3, 254, 0.18) 0%, rgba(255, 3, 254, 0) 70%),
        radial-gradient(52% 64% at 86% 84%, rgba(255, 3, 254, 0.14) 0%, rgba(255, 3, 254, 0) 72%),
        linear-gradient(180deg, #07060b 0%, #090611 52%, #07060b 100%);
    display: grid;
    align-items: center;
    padding: clamp(2.5rem, 6vw, 5rem) 1rem;
}

.error-404-shell {
    width: 100%;
}

.error-404-card {
    position: relative;
    border: 1px solid rgba(255, 3, 254, 0.42);
    box-shadow:
        inset 0 0 0 1px rgba(255, 3, 254, 0.14),
        0 24px 56px rgba(0, 0, 0, 0.44);
    background: linear-gradient(180deg, rgba(11, 9, 16, 0.86) 0%, rgba(9, 7, 14, 0.68) 100%);
    padding: clamp(2rem, 5vw, 4rem) clamp(1.1rem, 4vw, 3rem);
}

.error-404-code {
    margin: 0;
    font-size: clamp(4.5rem, 16vw, 9rem) !important;
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #ff8afe !important;
    text-shadow:
        0 0 26px rgba(255, 3, 254, 0.42),
        0 16px 34px rgba(0, 0, 0, 0.5);
}

.error-404-title {
    margin: 0.65rem 0 0;
    font-size: clamp(1.35rem, 3.4vw, 2.1rem) !important;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff !important;
}

.error-404-text {
    margin: 1.1rem auto 0;
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    line-height: 1.65;
}

.error-404-actions {
    margin-top: clamp(1.2rem, 3vw, 2.2rem);
    gap: 0.85rem !important;
}

.error-404-primary .wp-block-button__link,
.error-404-secondary .wp-block-button__link {
    min-width: 220px;
}

.error-404-primary .wp-block-button__link {
    border-color: rgba(255, 3, 254, 0.9) !important;
    background: linear-gradient(180deg, rgba(255, 3, 254, 0.36) 0%, rgba(214, 0, 218, 0.26) 100%) !important;
    box-shadow: 0 0 0 1px rgba(255, 3, 254, 0.34) inset, 0 10px 28px rgba(255, 3, 254, 0.3) !important;
}

.error-404-secondary .wp-block-button__link {
    border-color: rgba(255, 255, 255, 0.58) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
}

@media (max-width: 781px) {

    .error-404-actions .wp-block-button,
    .error-404-actions .wp-block-button__link {
        width: 100%;
    }
}

.art-filter-section::after {
    content: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.76;
    background-image:
        radial-gradient(circle at 10% 82%, rgba(255, 3, 254, 0.62) 0 2.7px, transparent 3.8px),
        radial-gradient(circle at 22% 74%, rgba(255, 3, 254, 0.5) 0 2.2px, transparent 3.3px),
        radial-gradient(circle at 34% 88%, rgba(255, 3, 254, 0.58) 0 2.8px, transparent 4px),
        radial-gradient(circle at 47% 78%, rgba(255, 3, 254, 0.46) 0 2.1px, transparent 3.2px),
        radial-gradient(circle at 59% 86%, rgba(255, 3, 254, 0.54) 0 2.5px, transparent 3.7px),
        radial-gradient(circle at 71% 80%, rgba(255, 3, 254, 0.48) 0 2.3px, transparent 3.4px),
        radial-gradient(circle at 83% 90%, rgba(255, 3, 254, 0.6) 0 2.9px, transparent 4.1px),
        radial-gradient(circle at 92% 76%, rgba(255, 3, 254, 0.42) 0 2px, transparent 3px);
    filter: drop-shadow(0 0 6px rgba(255, 3, 254, 0.3));
    animation: none;
}

@keyframes art-filter-particles-rise {
    0% {
        transform: translate3d(-1.2%, 13%, 0) scale(0.98);
        opacity: 0.42;
    }

    18% {
        transform: translate3d(1.3%, 7%, 0) scale(1.02);
        opacity: 0.58;
    }

    37% {
        transform: translate3d(-1.1%, 2%, 0) scale(1);
        opacity: 0.74;
    }

    61% {
        transform: translate3d(1.6%, -5%, 0) scale(1.03);
        opacity: 0.86;
    }

    100% {
        transform: translate3d(-1.5%, -16%, 0) scale(0.99);
        opacity: 0.5;
    }
}

.art-filter-section .mb-6>span {
    color: #ff03fe !important;
    opacity: 0.96;
    font-size: clamp(0.82rem, 1.05vw, 1rem) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.16em !important;
    text-shadow: 0 0 10px rgba(255, 3, 254, 0.26);
}

.art-side-nav {
    position: fixed;
    left: clamp(12px, 2vw, 26px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 72;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.55rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 3, 254, 0.35);
    background: linear-gradient(180deg, rgba(10, 10, 16, 0.9) 0%, rgba(8, 8, 13, 0.82) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 3, 254, 0.12),
        0 16px 36px rgba(0, 0, 0, 0.44);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.art-side-nav.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.art-side-nav__item {
    display: block;
    min-width: 126px;
    padding: 0.58rem 0.72rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--wp--preset--font-family--manrope, 'Manrope', sans-serif);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.art-side-nav__item:hover,
.art-side-nav__item:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 3, 254, 0.52);
    background: rgba(255, 3, 254, 0.14);
    box-shadow: 0 0 0 1px rgba(255, 3, 254, 0.2) inset;
    outline: none;
}

.art-side-nav__item.is-active {
    color: #ffffff;
    border-color: rgba(255, 3, 254, 0.84);
    background: rgba(255, 3, 254, 0.2);
    box-shadow:
        0 0 0 1px rgba(255, 3, 254, 0.28) inset,
        0 0 18px rgba(255, 3, 254, 0.24);
}

/* ── Available button — 6th side-nav item, gold variant ── */
.art-side-nav__available {
    /* Reset <button> specifics */
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    text-align: left;

    /* Gold colour scheme over the shared pill foundation */
    color: rgba(197, 160, 89, 0.85);
    border-color: rgba(197, 160, 89, 0.28);
    background: rgba(197, 160, 89, 0.05);

    display: flex;
    align-items: center;
    gap: 0.35em;
    margin-top: 0.5rem;

    /* Idle breathing glow — soft invitation to click */
    animation: lara-available-idle-pulse 3.6s ease-in-out infinite;
}

.art-side-nav__available:hover,
.art-side-nav__available:focus-visible {
    color: #C5A059;
    border-color: rgba(197, 160, 89, 0.6);
    background: rgba(197, 160, 89, 0.12);
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.2) inset;
    outline: none;
}

/* Active state (aria-pressed=true) */
.art-side-nav__available.filter-chip-available-active,
.art-side-nav__available[aria-pressed="true"] {
    color: #C5A059;
    border-color: rgba(197, 160, 89, 0.85);
    background: rgba(197, 160, 89, 0.18);
    box-shadow:
        0 0 0 1px rgba(197, 160, 89, 0.28) inset,
        0 0 14px rgba(197, 160, 89, 0.22);
    animation: lara-available-ring 2.4s ease infinite;
}

.art-side-nav__available .filter-available-icon {
    font-size: 0.9rem !important;
    line-height: 1;
    color: inherit;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.art-side-nav__available:hover .filter-available-icon {
    transform: scale(1.15);
}


.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5 {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 3, 254, 0.2) !important;
    background: rgba(14, 14, 19, 0.9) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5::before {
    content: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.48;
    background-image:
        radial-gradient(circle at 14% 92%, rgba(255, 3, 254, 0.55) 0 1.6px, transparent 2.4px),
        radial-gradient(circle at 28% 86%, rgba(255, 3, 254, 0.32) 0 1.3px, transparent 2.1px),
        radial-gradient(circle at 42% 90%, rgba(255, 3, 254, 0.44) 0 1.5px, transparent 2.2px),
        radial-gradient(circle at 56% 84%, rgba(255, 3, 254, 0.26) 0 1.1px, transparent 1.9px),
        radial-gradient(circle at 70% 94%, rgba(255, 3, 254, 0.5) 0 1.7px, transparent 2.5px),
        radial-gradient(circle at 84% 88%, rgba(255, 3, 254, 0.36) 0 1.3px, transparent 2.1px);
    animation: none;
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f2f2f7 !important;
    min-height: 142px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 782px) {
    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a:first-child {
        border-top-left-radius: 16px !important;
        border-bottom-left-radius: 16px !important;
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a:last-child {
        border-top-right-radius: 16px !important;
        border-bottom-right-radius: 16px !important;
    }
}

@keyframes art-filter-particles-rise-fine {
    0% {
        transform: translate3d(0, 14%, 0);
        opacity: 0.22;
    }

    40% {
        transform: translate3d(1.4%, 4%, 0);
        opacity: 0.46;
    }

    75% {
        transform: translate3d(-1.2%, -6%, 0);
        opacity: 0.4;
    }

    100% {
        transform: translate3d(1.1%, -14%, 0);
        opacity: 0.2;
    }
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a h3 {
    color: #f7f7fa !important;
    font-size: clamp(1.28rem, 1.5vw, 1.85rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0.01em !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 0.45em !important;
    flex-wrap: wrap !important;
}

/* Artwork count badge inside each filter chip */
.filter-chip-count {
    font-family: 'Manrope', sans-serif;
    font-size: 0.52em;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(197, 160, 89, 0.65);
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 20px;
    padding: 0.15em 0.55em 0.18em;
    line-height: 1.4;
    vertical-align: middle;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
    pointer-events: none;
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a:hover .filter-chip-count {
    color: rgba(255, 3, 254, 0.8);
    background: rgba(255, 3, 254, 0.08);
    border-color: rgba(255, 3, 254, 0.3);
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a.art-mobile-filter-active .filter-chip-count {
    color: #ff03fe;
    background: rgba(255, 3, 254, 0.12);
    border-color: rgba(255, 3, 254, 0.45);
}

/* ── Available Works pill (label row, right-aligned) ── */
.filter-available-chip {
    /* Reset */
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    outline: none;
    border: none;
    cursor: pointer;

    /* Pill shape */
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.35em 0.85em 0.35em 0.6em;
    border-radius: 999px;

    /* Gold ghost style */
    background: rgba(197, 160, 89, 0.06);
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.28);
    color: rgba(197, 160, 89, 0.8);

    transition: background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
    white-space: nowrap;
}

.filter-available-chip:hover {
    background: rgba(197, 160, 89, 0.14);
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.55);
    color: #C5A059;
}

.filter-available-icon {
    font-size: 0.95rem !important;
    line-height: 1;
    color: inherit;
    transition: transform 0.25s ease;
}

.filter-available-chip:hover .filter-available-icon {
    transform: scale(1.15);
}

.filter-available-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: inherit;
    line-height: 1;
}

/* Active state — filter is live */
.filter-chip-available-active {
    background: rgba(197, 160, 89, 0.2) !important;
    box-shadow: 0 0 0 1.5px #C5A059, 0 0 10px rgba(197, 160, 89, 0.25) !important;
    color: #C5A059 !important;
    animation: lara-available-ring 2.4s ease infinite;
}

@keyframes lara-available-ring {

    0%,
    100% {
        box-shadow: 0 0 0 1.5px #C5A059, 0 0 0 rgba(197, 160, 89, 0);
    }

    50% {
        box-shadow: 0 0 0 1.5px #C5A059, 0 0 14px rgba(197, 160, 89, 0.3);
    }
}

/* Idle breathing glow — subtle, slower, lower opacity than the active ring */
@keyframes lara-available-idle-pulse {

    0%,
    100% {
        box-shadow: 0 0 6px 0px rgba(197, 160, 89, 0);
    }

    50% {
        box-shadow: 0 0 14px 3px rgba(197, 160, 89, 0.22);
    }
}

/* Count badge on the pill */
.filter-available-chip .filter-chip-count {
    font-size: 0.65em;
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.25);
    color: inherit;
}

.filter-chip-available-active .filter-chip-count {
    background: rgba(197, 160, 89, 0.2);
    border-color: rgba(197, 160, 89, 0.5);
    color: #C5A059;
}

/* ── Available Works — gallery item hiding ──────────── */
@supports selector(:has(*)) {
    .filter-available-active .art-gallery-item-vertical:not(:has(.status-available)) {
        display: none !important;
    }

    /* Collapse category hero images when the whole section has no available works */
    .filter-available-active .art-category-section:not(:has(.status-available)) .art-category-featured-image {
        display: none !important;
    }
}

/* JS-class fallback for browsers without :has() */
.art-gallery-item-vertical.lara-unavailable-hidden {
    display: none !important;
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a p {
    color: rgba(255, 255, 255, 0.54) !important;
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 3, 254, 0.55) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 3, 254, 0.2);
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a:hover h3 {
    color: #ff03fe !important;
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a.art-mobile-filter-active {
    background: rgba(255, 3, 254, 0.1) !important;
    border-color: #ff03fe !important;
    box-shadow: 0 0 0 2px rgba(255, 3, 254, 0.2), inset 0 0 0 1px rgba(255, 3, 254, 0.25);
}

.art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a.art-mobile-filter-active h3 {
    color: #ff03fe !important;
}

.about-confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10060;
}

.art-filter-section .mobile-filter-swipe-hint,
.art-filter-section .animate-scroll-cue .material-symbols-outlined {
    color: rgba(255, 3, 254, 0.75) !important;
}

@media (max-width: 1024px) {
    .art-filter-section {
        position: -webkit-sticky;
        position: sticky !important;
        top: var(--lara-header-offset, 73px);
        z-index: 60;
        overflow: visible !important;
    }

    body.admin-bar .art-filter-section {
        top: calc(var(--lara-header-offset, 73px) + 46px);
    }
}

@media (max-width: 781px) {
    .art-filter-section {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        padding-left: 0.9rem !important;
        padding-right: 0.9rem !important;
        border-bottom-color: rgba(255, 3, 254, 0.14) !important;
        background: rgba(8, 8, 11, 0.96) !important;
        backdrop-filter: blur(8px);
    }

    .art-filter-section::before {
        background:
            radial-gradient(42% 58% at 8% 10%, rgba(255, 3, 254, 0.11) 0%, rgba(255, 3, 254, 0.04) 36%, rgba(255, 3, 254, 0) 74%),
            radial-gradient(46% 62% at 92% 88%, rgba(255, 3, 254, 0.11) 0%, rgba(255, 3, 254, 0.04) 34%, rgba(255, 3, 254, 0) 76%),
            radial-gradient(ellipse at center, rgba(255, 3, 254, 0.07) 0%, rgba(255, 3, 254, 0.03) 38%, rgba(255, 3, 254, 0) 74%);
    }

    .art-filter-section .mb-6 {
        margin-bottom: 0.55rem !important;
    }

    .art-filter-section .mb-6>span {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.12em !important;
        line-height: 1.35 !important;
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5 {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        gap: 0.5rem !important;
        border: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 2px 0 4px !important;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5::-webkit-scrollbar {
        display: none;
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5 {
        scrollbar-width: none;
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a {
        flex: 0 0 auto !important;
        min-height: 0 !important;
        padding: 0.7rem 1rem !important;
        border-radius: 999px !important;
        border: 1px solid rgba(255, 3, 254, 0.36) !important;
        background: rgba(255, 255, 255, 0.04) !important;
        text-decoration: none !important;
        scroll-snap-align: start;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a.art-mobile-filter-active {
        border-color: #ff03fe !important;
        background: rgba(255, 3, 254, 0.16) !important;
        box-shadow: 0 0 0 2px rgba(255, 3, 254, 0.22);
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a.art-mobile-filter-active h3 {
        color: #ff03fe !important;
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a h3 {
        margin: 0 !important;
        font-size: 0.92rem !important;
        line-height: 1.1 !important;
        letter-spacing: 0.06em !important;
        text-transform: none !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5>a p {
        display: none !important;
    }

    .art-filter-section .mt-4 {
        margin-top: 0.45rem !important;
    }

    .art-filter-section .desktop-scroll-cue {
        display: none !important;
    }

    .art-filter-section .mobile-filter-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        margin-top: 0.5rem;
        font-family: var(--wp--preset--font-family--manrope, 'Manrope', sans-serif);
        font-size: 0.66rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 3, 254, 0.72);
    }

    .art-filter-section .mobile-filter-swipe-hint .material-symbols-outlined {
        font-size: 15px !important;
        opacity: 0.7;
    }

    .art-filter-section .animate-scroll-cue .material-symbols-outlined {
        font-size: 18px !important;
        opacity: 0.5;
    }

    body.art-mobile-tabs-enabled .art-category-section {
        display: none !important;
    }

    body.art-mobile-tabs-enabled .art-category-section.is-mobile-active {
        display: block !important;
    }

    .art-category-section .art-category-featured-image {
        display: block !important;
    }

    .art-category-section {
        padding-top: var(--wp--preset--spacing--40) !important;
    }
}

@media (max-width: 1024px) {
    .art-side-nav {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .art-filter-section::after {
        animation: none !important;
    }

    .art-filter-section .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5::before {
        animation: none !important;
    }

    .art-side-nav__available,
    .art-side-nav__available[aria-pressed="true"],
    .art-side-nav__available.filter-chip-available-active {
        animation: none !important;
    }
}

@media (hover: none),
(pointer: coarse) {

    .art-gallery-item-vertical,
    .art-gallery-image-full {
        transition: none !important;
    }

    .art-gallery-item-vertical:hover {
        transform: none;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
        border-color: rgba(197, 160, 89, 0.35);
    }

    .art-gallery-item-vertical:hover .art-gallery-image-full {
        transform: none;
    }
}

@media (min-width: 782px) {
    .art-filter-section .mobile-filter-swipe-hint {
        display: none !important;
    }
}

/* ============================================
   Homepage Categories - Mobile/Tablet Vertical Stack
   Full images, no crop
   ============================================ */
@media (max-width: 1024px) {
    .home .art-categories-home {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: clamp(0.75rem, 2vw, 1rem) !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
        scroll-padding-left: 0 !important;
        -webkit-overflow-scrolling: auto;
        padding: 0 1rem !important;
        margin-top: clamp(1.5rem, 4vw, 2.5rem) !important;
    }

    .home .art-categories-home::-webkit-scrollbar {
        display: none;
    }

    .home .art-categories-home {
        scrollbar-width: none;
    }

    .home .art-categories-home>* {
        margin: 0 !important;
    }

    .home .art-categories-home .art-category-card {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
        scroll-snap-align: none !important;
        justify-content: flex-start !important;
    }

    .home .art-categories-home .art-category-card .wp-block-cover__background {
        display: none !important;
    }

    .home .art-categories-home .art-category-card .wp-block-cover__image-background {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        left: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        display: block !important;
    }

    .home .art-categories-home .art-category-card .wp-block-cover__inner-container {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        justify-content: flex-start !important;
        padding-top: 0 !important;
    }

    .home .art-categories-home .art-category-card .wp-block-buttons {
        padding: 0.75rem 0.85rem 0.85rem !important;
    }
}

/* ============================================
   Homepage Categories - Desktop Full Image Layout
   Keep the full artwork visible without crop
   ============================================ */
@media (min-width: 1025px) {
    .home,
    .home .wp-site-blocks,
    .home .hero-section-home,
    .home .art-categories-home,
    .home .art-categories-home .art-category-card {
        background-color: #0A0A0A !important;
    }

    .home .art-categories-home .art-category-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: calc(100% - (2 * clamp(1rem, 3vw, 2.5rem))) !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: clamp(1.25rem, 3.2vw, 3rem) !important;
        padding-right: clamp(1.25rem, 3.2vw, 3rem) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        border-radius: 14px !important;
        border: 1px solid rgba(var(--category-accent-rgb, 197, 160, 89), 0.45) !important;
        transition:
            transform 0.28s ease,
            border-color 0.28s ease,
            box-shadow 0.28s ease !important;
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.2),
            0 0 22px rgba(var(--category-accent-rgb, 197, 160, 89), 0.2),
            0 14px 34px rgba(0, 0, 0, 0.42),
            inset 0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.22) !important;
    }

    .home .art-categories-home .art-category-card::after {
        box-shadow:
            inset 0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.12),
            inset 0 0 24px rgba(var(--category-accent-rgb, 197, 160, 89), 0.16) !important;
    }

    .home .art-categories-home .art-category-card:hover {
        border-color: rgba(var(--category-accent-rgb, 197, 160, 89), 0.8) !important;
        box-shadow:
            0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.26),
            0 0 30px rgba(var(--category-accent-rgb, 197, 160, 89), 0.28),
            0 18px 40px rgba(0, 0, 0, 0.44),
            inset 0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.28) !important;
    }

    .home .art-categories-home .art-category-card:hover::after {
        box-shadow:
            inset 0 0 0 1px rgba(var(--category-accent-rgb, 197, 160, 89), 0.14),
            inset 0 0 30px rgba(var(--category-accent-rgb, 197, 160, 89), 0.2) !important;
    }

    .home .art-categories-home .art-category-card .wp-block-cover__image-background {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        left: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        width: 100% !important;
        height: auto !important;
        max-width: 1280px !important;
        max-height: min(78vh, 900px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    .home .art-categories-home .art-category-card > .wp-block-cover__inner-container {
        position: relative !important;
        width: 100% !important;
        max-width: 1280px !important;
        height: auto !important;
        min-height: 0 !important;
        justify-content: flex-start !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: clamp(0.9rem, 1.5vw, 1.25rem) !important;
        padding-bottom: clamp(1.25rem, 2vw, 2rem) !important;
    }

    .home .art-categories-home .art-category-card .wp-block-buttons {
        max-width: 1120px !important;
        gap: clamp(0.85rem, 1.4vw, 1.1rem) !important;
        padding: 0 clamp(0.85rem, 1.6vw, 1.75rem) 1.5rem !important;
    }

    .home .art-categories-home .art-category-card .wp-block-button__link {
        padding: 0.8rem 1.05rem !important;
        letter-spacing: 0.11em !important;
    }
}
