/**
 * Klay Pro Styles
 */

/* ========================================
   Preloader Effect
   ======================================== */
.Klay-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--wp--preset--color--page-bg);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.Klay-preloader.loaded {
    transform: translateY(-100%);
}

.Klay-preloader-counter {
    font-family: var(--wp--preset--font-family--heading);
    font-size: clamp(6rem, 20vw, 15rem);
    font-weight: 900;
    color: var(--wp--preset--color--text-heading);
    line-height: 1;
    letter-spacing: -0.05em;
}

.Klay-preloader-watermark {
    position: absolute;
    bottom: 48px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--wp--preset--color--brand-primary);
    opacity: 0.3;
}

body.preloader-active {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .Klay-preloader {
        display: none !important;
    }
}

/* ========================================
   Frontpage Pro Micro-Interactions & Elevate
   ======================================== */

/* Card Elevation & Interactive Hover */
.klay-pro-active .klay-glass,
.klay-pro-active .klay-pricing-box,
.klay-pro-active .klay-feature-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.klay-pro-active .klay-glass:hover,
.klay-pro-active .klay-pricing-box:hover,
.klay-pro-active .klay-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
}

/* Luxury Shimmer Effect on Primary CTA Buttons */
.klay-pro-active .klay-cta-btn a,
.klay-pro-active .wp-block-button.is-style-fill a {
    position: relative;
    overflow: hidden;
}

.klay-pro-active .klay-cta-btn a::after,
.klay-pro-active .wp-block-button.is-style-fill a::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: none;
    pointer-events: none;
}

.klay-pro-active .klay-cta-btn a:hover::after,
.klay-pro-active .wp-block-button.is-style-fill a:hover::after {
    left: 140%;
    transition: left 0.85s ease;
}

/* Marquee Pause on Hover */
.klay-pro-active .klay-marquee:hover,
.klay-pro-active .Klay-marquee:hover,
.klay-logo-marquee-track:hover {
    animation-play-state: paused;
}

/* ========================================
   Client Logo Marquee (Native FSE Pattern)
   ======================================== */
.klay-logo-marquee-section {
    overflow: hidden !important;
    width: 100% !important;
    position: relative;
    background-color: var(--wp--preset--color--page-bg, #0f1011);
    border-bottom: 1px solid var(--wp--preset--color--border-main, rgba(255, 255, 255, 0.08));
    padding-top: clamp(48px, 6vw, 64px) !important;
    padding-bottom: clamp(48px, 6vw, 64px) !important;
}

.klay-logo-eyebrow {
    font-family: var(--wp--preset--font-family--heading, 'Space Grotesk', sans-serif);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.85;
}

.klay-logo-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.klay-logo-marquee-wrapper::before,
.klay-logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    z-index: 3;
    pointer-events: none;
}

.klay-logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--wp--preset--color--page-bg, #0f1011) 0%, rgba(15, 16, 17, 0) 100%);
}

.klay-logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--wp--preset--color--page-bg, #0f1011) 0%, rgba(15, 16, 17, 0) 100%);
}

.klay-logo-marquee-track {
    display: flex !important;
    align-items: center;
    width: max-content !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    gap: clamp(64px, 8vw, 100px) !important;
}

.klay-logo-marquee-track.is-animated {
    animation: klayLogoMarquee 35s linear infinite;
}

.klay-logo-marquee-section:hover .klay-logo-marquee-track,
.klay-logo-marquee-track:hover {
    animation-play-state: paused;
}

/* Subtle, Sleek, Monochrome Logo Images */
.klay-logo-item {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.klay-logo-item img {
    height: 36px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain;
    opacity: 0.65;
    filter: grayscale(100%) contrast(1.1);
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.klay-logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.06);
}

/* Optional Typographic Text Logos */
.klay-logo-text,
.klay-logo-item.is-text,
.klay-logo-item p {
    font-family: var(--wp--preset--font-family--heading, 'Space Grotesk', sans-serif) !important;
    font-weight: 800 !important;
    font-size: clamp(20px, 2.2vw, 28px) !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    opacity: 0.5;
    white-space: nowrap !important;
    margin: 0 !important;
    transition: opacity 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.klay-logo-text:hover,
.klay-logo-item.is-text:hover,
.klay-logo-item:hover p {
    opacity: 1 !important;
    color: var(--wp--preset--color--brand-primary, #d9fb06) !important;
    transform: scale(1.05);
}

/* Native FSE Block Styles for core/group */
.is-style-klay-logos-invert .klay-logo-item img {
    filter: invert(1) brightness(1.8) contrast(1.1);
}

.is-style-klay-logos-invert .klay-logo-item:hover img {
    filter: invert(1) brightness(2.2);
}

.is-style-klay-logos-color .klay-logo-item img {
    filter: none !important;
    opacity: 0.8;
}

.is-style-klay-logos-color .klay-logo-item:hover img {
    opacity: 1;
}

@keyframes klayLogoMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .klay-logo-marquee-track.is-animated {
        animation: none !important;
    }
}

/* ==========================================================================
   WAAPI Motion Reveals & Stagger Groups
   ========================================================================== */
.klay-stagger-group > *,
.klay-motion-reveal {
    will-change: transform, opacity;
}

.editor-styles-wrapper .klay-stagger-group > *,
.editor-styles-wrapper .klay-motion-reveal,
@media (prefers-reduced-motion: reduce) {
    .klay-stagger-group > *,
    .klay-motion-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Editorial Bento Capabilities Grid (Pro) - Exact Match to Visual Reference
   ========================================================================== */
.klay-bento-section {
    position: relative;
    width: 100%;
}

.klay-bento-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

.klay-bento-editorial-col-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* Statement Card: Warm off-white / light stone signature card */
.klay-bento-statement-card,
.editor-styles-wrapper .klay-bento-statement-card,
body.block-editor-iframe__body .klay-bento-statement-card {
    background-color: #e6e6e2 !important;
    color: #0f1011 !important;
    border-radius: 24px !important;
    padding: clamp(36px, 4.5vw, 56px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto;
    min-height: 290px;
    box-sizing: border-box !important;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s ease;
}

.klay-bento-statement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.klay-bento-statement-title {
    font-family: var(--wp--preset--font-family--heading, 'Space Grotesk', sans-serif);
    font-size: clamp(2.4rem, 4vw, 3.8rem) !important;
    font-weight: 900 !important;
    line-height: 0.95 !important;
    letter-spacing: -0.04em !important;
    text-transform: uppercase !important;
    color: #0f1011 !important;
    margin: 0 0 28px 0 !important;
}

.klay-bento-arrow-svg,
.klay-bento-arrow {
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
    width: clamp(52px, 6vw, 76px);
    height: 18px;
    background-color: #0f1011;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 18' fill='none'%3E%3Cpath d='M0 9H64M64 9L54 2M64 9L54 16' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 18' fill='none'%3E%3Cpath d='M0 9H64M64 9L54 2M64 9L54 16' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.klay-bento-statement-desc {
    font-size: clamp(13px, 1.1vw, 15px) !important;
    line-height: 1.65 !important;
    color: rgba(15, 16, 17, 0.72) !important;
    max-width: 440px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

/* Bottom Row of 2 Thumbs */
.klay-bento-editorial-row-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.klay-bento-thumb-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--wp--preset--color--card-bg, #161819);
    display: flex;
    align-items: center;
    justify-content: center;
}

.klay-bento-thumb-card img,
.klay-bento-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.klay-bento-thumb-card:hover img,
.klay-bento-thumb-card:hover .klay-bento-thumb-img {
    transform: scale(1.06);
}

.klay-bento-thumb-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    font-family: var(--wp--preset--font-family--heading, 'Space Grotesk', sans-serif);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

/* Right Column Showcase Card */
.klay-bento-editorial-col-right {
    height: 100%;
}

.klay-bento-showcase-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 560px;
    background-color: var(--wp--preset--color--card-bg, #161819);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.klay-bento-showcase-card img:not(.emoji),
.klay-bento-showcase-card > figure img,
.klay-bento-showcase-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.klay-bento-showcase-card:hover img:not(.emoji),
.klay-bento-showcase-card:hover .klay-bento-showcase-img {
    transform: scale(1.04);
}

/* Floating Center Badge */
.klay-bento-floating-badge {
    position: absolute;
    top: 50%;
    right: 28%;
    transform: translate(50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff !important;
    font-family: var(--wp--preset--font-family--heading, 'Space Grotesk', sans-serif);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none !important;
    z-index: 3;
    transition: all 0.35s cubic-bezier(0.2, 1, 0.3, 1);
}

.klay-bento-floating-badge:hover {
    background: #ffffff;
    color: #0f1011 !important;
    transform: translate(50%, -50%) scale(1.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

/* Floating Bottom Action Pills */
.klay-bento-floating-actions {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    z-index: 3;
}

.klay-bento-action-pill,
.editor-styles-wrapper .klay-bento-action-pill,
body.block-editor-iframe__body .klay-bento-action-pill {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    display: inline-flex !important;
}

.klay-bento-action-pill a,
.klay-bento-action-pill.is-primary a,
.editor-styles-wrapper .klay-bento-action-pill a,
body.block-editor-iframe__body .klay-bento-action-pill a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 8px 10px 8px 24px !important;
    background: rgba(18, 20, 22, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 9999px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
    font-family: var(--wp--preset--font-family--heading, 'Space Grotesk', sans-serif) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #d9fb06 !important;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.klay-bento-action-pill a:hover,
.editor-styles-wrapper .klay-bento-action-pill a:hover,
body.block-editor-iframe__body .klay-bento-action-pill a:hover {
    background: rgba(24, 27, 30, 0.95) !important;
    border-color: rgba(217, 251, 6, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.65) !important;
    color: #d9fb06 !important;
}

.klay-bento-pill-icon,
.klay-bento-action-pill .klay-bento-pill-icon,
.klay-bento-action-pill a .klay-bento-pill-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease !important;
}

.klay-bento-pill-icon svg,
.klay-bento-action-pill a .klay-bento-pill-icon svg {
    width: 13px !important;
    height: 13px !important;
    display: block !important;
    stroke: currentColor !important;
    fill: none !important;
}

.klay-bento-pill-icon img.emoji,
.klay-bento-action-pill a .klay-bento-pill-icon img.emoji {
    display: none !important;
}

.klay-bento-action-pill a:hover .klay-bento-pill-icon {
    background: #d9fb06 !important;
    color: #0f1011 !important;
    transform: translate(2px, -2px) !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .klay-bento-editorial-grid {
        grid-template-columns: 1fr;
    }
    .klay-bento-showcase-card {
        min-height: 480px;
    }
}

@media (max-width: 640px) {
    .klay-bento-editorial-row-thumbs {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .klay-bento-statement-card {
        padding: 28px 20px;
    }
    .klay-bento-floating-actions {
        bottom: 16px;
        left: 16px;
        right: 16px;
        gap: 8px;
    }
    .klay-bento-action-pill {
        padding: 8px 14px;
        font-size: 11px;
    }
}

/* Backwards compatibility classes for legacy bento blocks */
.klay-bento-card {
    background: var(--wp--preset--color--card-bg, #161819);
    border: 1px solid var(--wp--preset--color--border-main, rgba(255, 255, 255, 0.1));
    border-radius: var(--klay-radius-card, 20px) !important;
    padding: 40px !important;
}

/* ==========================================================================
   Hero Showcase Slider (Pro) - Exact Match to Klay Hero Aesthetic
   ========================================================================== */
.klay-hero.klay-hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin-top: -89px !important;
    padding-top: 109px !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
}

body.admin-bar .klay-hero.klay-hero-slider {
    height: calc(100vh - 32px) !important;
    height: calc(100dvh - 32px) !important;
    min-height: calc(100vh - 32px) !important;
    max-height: calc(100vh - 32px) !important;
}

.klay-hero.klay-hero-slider .klay-hero-slider-track {
    position: relative;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    overflow: hidden !important;
    margin: 0;
    padding: 0;
}

.klay-hero.klay-hero-slider .klay-hero-slide {
    grid-column: 1 / -1 !important;
    grid-row: 1 / -1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    position: relative !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-bottom: clamp(90px, 12vh, 120px) !important;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.klay-hero.klay-hero-slider .klay-hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2;
}

.klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ========================================
   Hero Showcase Slider: 3D Visual (Crisp, Static & Clean - No Shadow)
   ======================================== */
.klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual {
    position: absolute;
    top: 50%;
    left: 36%;
    transform: translate(-50%, -50%);
    width: clamp(420px, 56vw, 920px);
    max-width: 95vw;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    filter: none !important;
    box-shadow: none !important;
    animation: none !important;
    transition: none !important;
}

.klay-hero.klay-hero-slider .klay-hero-slide.is-active .klay-hero-3d-visual {
    transform: translate(-50%, -50%);
    opacity: 1;
    filter: none !important;
    box-shadow: none !important;
    animation: none !important;
    transition: none !important;
}

.klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: none !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
}

/* Bottom Navigation Bar pinned to viewport bottom */
.klay-hero-slider-bottom-container {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 20 !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    pointer-events: none;
    box-sizing: border-box;
}

.klay-hero-bottom-bar.klay-hero-slider-bottom-bar {
    width: 100%;
    margin-top: 0 !important;
    padding-top: 10px;
    padding-bottom: clamp(14px, 2.2vh, 26px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    box-sizing: border-box;
    pointer-events: auto;
}

.klay-hero-bottom-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-bottom: 8px;
}

.klay-hero-meta-item {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wp--preset--color--text-body, rgba(255, 255, 255, 0.6));
}

/* ── Cinematic Thumbnail Strip Navigation (Flush Right) ── */
.klay-slider-thumbs {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    margin-left: auto;
}

/* Slide counter: removed per user specification */
.klay-slide-counter {
    display: none !important;
}

/* Smoothly Gliding Active Border Indicator (Netflix-Style Focus Frame) - Clean, Crisp Border (No Glow) */
.klay-slider-thumb-indicator {
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid var(--wp--preset--color--brand-primary, #d9fb06);
    border-radius: 4px;
    box-shadow: none !important;
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    opacity: 0;
}

.klay-thumb-num {
    display: none !important;
}

.klay-thumb-info {
    display: none !important;
}

.klay-slider-thumb {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    position: relative;
    user-select: none;
    box-shadow: none !important;
    outline: none;
}

/* Landscape filmstrip thumbnail: 16:9 */
.klay-thumb-preview {
    width: 106px;
    height: 60px;
    border-radius: 4px;
    background: #0d0e0f;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    display: block;
    position: relative;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    opacity: 0.45;
}

.klay-thumb-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    filter: none !important;
    transform: none !important;
    transition: none !important;
}

/* Hover */
.klay-slider-thumb:hover .klay-thumb-preview {
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: none !important;
}

/* Active: clean full opacity without static border conflict (handled by gliding indicator) */
.klay-slider-thumb.is-active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.klay-slider-thumb.is-active .klay-thumb-preview {
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Responsive: shrink on tablet */
@media (max-width: 1200px) {
    .klay-thumb-preview {
        width: 80px;
        height: 45px;
    }
    .klay-slider-thumbs {
        gap: 6px;
    }
}

/* Mobile: hide thumbnails, show only clean counter */
@media (max-width: 768px) {
    .klay-slider-thumbs {
        gap: 4px;
    }
    .klay-thumb-preview {
        width: 56px;
        height: 32px;
        border-radius: 3px;
    }
    .klay-slide-counter {
        top: -18px;
        font-size: 10px;
    }
}

/* Tactile Arrows (Removed per user request) */
.klay-slider-arrows {
    display: none !important;
}

.klay-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wp--preset--color--card-bg, #161819);
    border: 1px solid var(--wp--preset--color--border-main, rgba(255, 255, 255, 0.1));
    color: var(--wp--preset--color--text-heading, #ffffff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.3, 1, 0.3, 1), border-color 0.3s ease, color 0.3s ease;
}

.klay-slider-btn:hover {
    border-color: var(--wp--preset--color--brand-primary, #d9fb06);
    color: var(--wp--preset--color--brand-primary, #d9fb06);
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 1024px) {
    .klay-hero.klay-hero-slider {
        padding-top: 105px !important;
        min-height: auto;
    }
    .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-container > .wp-block-columns {
        margin-top: 24px !important;
        margin-bottom: 24px !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual {
        top: 48%;
        left: 64%;
        height: clamp(420px, 65vh, 680px);
        max-width: 60vw;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .klay-hero.klay-hero-slider {
        height: auto !important;
        min-height: 100svh !important;
        max-height: none !important;
        margin-top: 0 !important;
        padding-top: clamp(110px, 16vh, 140px) !important;
        padding-bottom: 24px !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-slide {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 80px !important;
        justify-content: flex-start !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual,
    .klay-hero.klay-hero-slider .klay-hero-slide.is-active .klay-hero-3d-visual {
        top: 45% !important;
        left: 68% !important;
        width: clamp(200px, 62vw, 320px) !important;
        max-width: 65vw !important;
        max-height: 42vh !important;
        opacity: 0.22 !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-container {
        position: relative !important;
        z-index: 2 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-slide h1,
    .klay-hero.klay-hero-slider .klay-hero-slide .has-giga-font-size {
        font-size: clamp(2.2rem, 9.2vw, 3.25rem) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.03em !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        word-wrap: normal !important;
        hyphens: none !important;
        white-space: normal !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-services-col {
        display: none !important;
    }
    .klay-hero.klay-hero-slider .klay-vertical-bar {
        display: none !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-slide .wp-block-columns {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-slide .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }
    /* Hide ONLY the arrow button and description on mobile, keep action text visible */
    .klay-hero.klay-hero-slider .klay-arrow-btn,
    .klay-hero.klay-hero-slider .wp-block-button.klay-arrow-btn,
    .klay-hero.klay-hero-slider .wp-block-buttons:has(.klay-arrow-btn),
    .klay-hero.klay-hero-slider .klay-hero-cta-row .wp-block-buttons,
    .klay-hero.klay-hero-slider .klay-hero-cta-row .klay-vertical-bar,
    .klay-hero.klay-hero-slider .klay-hero-cta-row hr.wp-block-separator,
    .klay-hero.klay-hero-slider .klay-hero-cta-row > p,
    .klay-hero.klay-hero-slider .klay-hero-cta-row > p.has-small-font-size {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-cta-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        margin-top: 20px !important;
        width: 100% !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-cta-row > .wp-block-group,
    .klay-hero.klay-hero-slider .klay-hero-cta-row > .wp-block-group .wp-block-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        width: 100% !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-cta-row p {
        white-space: normal !important;
        word-break: normal !important;
        margin: 0 !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-cta-row p.has-text-heading-color,
    .klay-hero.klay-hero-slider .klay-hero-cta-row p.has-text-heading-color a {
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: 0.1em !important;
        text-transform: uppercase !important;
        color: var(--wp--preset--color--brand-primary, #d9fb06) !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .klay-hero.klay-hero-slider .klay-hero-cta-row p.has-text-body-color {
        font-size: 12px !important;
        color: var(--wp--preset--color--text-body, rgba(255, 255, 255, 0.6)) !important;
    }
    .klay-hero-bottom-meta {
        display: none !important;
    }
    .klay-hero-bottom-bar.klay-hero-slider-bottom-bar {
        padding-top: 12px !important;
        padding-bottom: 20px !important;
    }
    .klay-thumb-preview {
        width: 50px !important;
        height: 28px !important;
    }
}

/* Gutenberg Editor Canvas Safety & Studio Experience */
.editor-styles-wrapper .klay-hero.klay-hero-slider,
body.block-editor-iframe__body .klay-hero.klay-hero-slider,
.block-editor-block-list__layout .klay-hero.klay-hero-slider {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-top: 180px !important;
    padding-bottom: 60px !important;
    background-color: var(--wp--preset--color--page-bg, #0f1011) !important;
    box-sizing: border-box !important;
}

.editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slider-track,
body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slider-track,
.block-editor-block-list__layout .klay-hero.klay-hero-slider .klay-hero-slider-track {
    display: flex !important;
    flex-direction: column !important;
    gap: 64px !important;
    overflow: visible !important;
    width: 100% !important;
    height: auto !important;
}

.editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide,
body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slide,
body.block-editor-iframe__body .klay-hero-slide,
.editor-styles-wrapper .klay-hero-slide,
.block-editor-block-list__layout .klay-hero.klay-hero-slider .klay-hero-slide {
    flex: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 600px !important;
    height: auto !important;
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    padding: 60px 48px 48px 48px !important;
    border: 1px dashed rgba(217, 251, 6, 0.35) !important;
    border-radius: 24px !important;
    background: rgba(22, 24, 25, 0.85) !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    margin-bottom: 32px !important;
}

body.block-editor-iframe__body .klay-hero-slide::before,
.editor-styles-wrapper .klay-hero-slide::before {
    display: inline-flex !important;
    align-items: center !important;
    position: absolute !important;
    top: 20px !important;
    right: 36px !important;
    padding: 5px 14px !important;
    border-radius: 9999px !important;
    background: rgba(217, 251, 6, 0.12) !important;
    border: 1px solid rgba(217, 251, 6, 0.4) !important;
    color: #d9fb06 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    content: 'CAROUSEL SLIDE' !important;
    z-index: 20 !important;
    pointer-events: none !important;
}

body.block-editor-iframe__body .klay-hero-slider-track > .klay-hero-slide:nth-child(1)::before,
.editor-styles-wrapper .klay-hero-slider-track > .klay-hero-slide:nth-child(1)::before {
    content: '✦ SLIDE 1 (INITIAL / ACTIVE)' !important;
}

body.block-editor-iframe__body .klay-hero-slider-track > .klay-hero-slide:nth-child(2)::before,
.editor-styles-wrapper .klay-hero-slider-track > .klay-hero-slide:nth-child(2)::before {
    content: '✦ SLIDE 2' !important;
}

body.block-editor-iframe__body .klay-hero-slider-track > .klay-hero-slide:nth-child(3)::before,
.editor-styles-wrapper .klay-hero-slider-track > .klay-hero-slide:nth-child(3)::before {
    content: '✦ SLIDE 3' !important;
}

/* Confine each slide's 3D sculpture strictly to its own slide card in the editor */
.editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual,
.editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide figure.klay-hero-3d-visual,
.editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide .wp-block-image.klay-hero-3d-visual,
body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual,
.block-editor-block-list__layout .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual {
    position: absolute !important;
    top: 50% !important;
    left: 60% !important;
    transform: translate(-50%, -50%) !important;
    height: 480px !important;
    max-height: 80% !important;
    width: auto !important;
    max-width: 44vw !important;
    pointer-events: none !important;
    z-index: 1 !important;
    opacity: 0.85 !important;
}

.editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual img,
body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual img,
.block-editor-block-list__layout .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual img {
    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
}

.editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-container,
body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-container,
.block-editor-block-list__layout .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-container {
    position: relative !important;
    z-index: 2 !important;
}

.editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slider-bottom-container,
body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slider-bottom-container,
.block-editor-block-list__layout .klay-hero.klay-hero-slider .klay-hero-slider-bottom-container {
    display: block !important;
    position: relative !important;
    z-index: 10 !important;
    margin-top: 32px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive Editor Canvas Mobile Mode (<= 768px) */
@media (max-width: 768px) {
    .editor-styles-wrapper .klay-hero.klay-hero-slider,
    body.block-editor-iframe__body .klay-hero.klay-hero-slider {
        padding-top: 130px !important;
        padding-bottom: 30px !important;
    }
    .editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide,
    body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slide,
    .editor-styles-wrapper .klay-hero-slide,
    body.block-editor-iframe__body .klay-hero-slide {
        min-height: auto !important;
        padding: 28px 20px 32px 20px !important;
    }
    .editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual,
    body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slide .klay-hero-3d-visual {
        top: 45% !important;
        left: 68% !important;
        width: 62vw !important;
        max-width: 65vw !important;
        opacity: 0.22 !important;
        z-index: 0 !important;
    }
    .editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-slide h1,
    body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-slide h1 {
        font-size: clamp(2.2rem, 9.2vw, 3.25rem) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.03em !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        word-wrap: normal !important;
        hyphens: none !important;
        white-space: normal !important;
    }
    .editor-styles-wrapper .klay-hero.klay-hero-slider .klay-hero-services-col,
    body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-hero-services-col {
        display: none !important;
    }
    .editor-styles-wrapper .klay-hero.klay-hero-slider .klay-vertical-bar,
    body.block-editor-iframe__body .klay-hero.klay-hero-slider .klay-vertical-bar,
    .editor-styles-wrapper .klay-hero .klay-arrow-btn,
    .editor-styles-wrapper .klay-hero .wp-block-buttons:has(.klay-arrow-btn),
    .editor-styles-wrapper .klay-hero-cta-row > p,
    body.block-editor-iframe__body .klay-hero .klay-arrow-btn,
    body.block-editor-iframe__body .klay-hero .wp-block-buttons:has(.klay-arrow-btn),
    body.block-editor-iframe__body .klay-hero-cta-row > p {
        display: none !important;
    }
}

/* ==========================================================================
   Editorial Studio Top Bar (Pro)
   ========================================================================== */
.klay-top-bar {
    position: relative;
    z-index: 1001;
    width: 100%;
    font-family: var(--wp--preset--font-family--heading, 'Space Grotesk', sans-serif);
    background-color: var(--wp--preset--color--page-bg, #0f1011) !important;
    border-bottom: 1px solid var(--wp--preset--color--border-main, rgba(255, 255, 255, 0.08)) !important;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.klay-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    width: 100%;
}

/* Pulsing Status Dot */
.klay-pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--brand-primary, #d9fb06);
    box-shadow: 0 0 8px var(--wp--preset--color--brand-primary, #d9fb06);
    position: relative;
    flex-shrink: 0;
}

.klay-pulse-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 1px solid var(--wp--preset--color--brand-primary, #d9fb06);
    opacity: 0.75;
    animation: klayPulseRing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes klayPulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.klay-top-bar-contact {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
}

.klay-top-bar-socials {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
}

.klay-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
}

.klay-top-bar-dot {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 8px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.klay-top-bar-hours {
    color: var(--wp--preset--color--text-body, #a1a1aa) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.klay-top-bar-vsep {
    width: 1px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

/* Links & Hover Effects */
.klay-top-bar-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: var(--wp--preset--font-family--heading, 'Space Grotesk', sans-serif);
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: var(--wp--preset--color--text-body, #a1a1aa) !important;
    margin: 0 !important;
    transition: color 0.25s ease, transform 0.25s ease;
}

.klay-top-bar-link a {
    color: inherit !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.klay-top-bar-link:hover,
.klay-top-bar-link a:hover {
    color: var(--wp--preset--color--brand-primary, #d9fb06) !important;
}

/* SVG Mask Icons */
.klay-top-bar-phone a::before,
a.klay-top-bar-phone::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.klay-top-bar-email a::before,
a.klay-top-bar-email::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.klay-top-bar-cta {
    color: var(--wp--preset--color--text-heading, #ffffff) !important;
}

.klay-top-bar-cta:hover {
    color: var(--wp--preset--color--brand-primary, #d9fb06) !important;
}

/* Responsive Hide */
@media (max-width: 900px) {
    .klay-hide-mobile,
    .klay-top-bar-clocks {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .klay-top-bar {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .klay-top-bar-vsep,
    .klay-top-bar-cta {
        display: none !important;
    }
}

/* ========================================
   Showcase Dynamic Query Loop Integration
   ======================================== */
.klay-showcase-query-wrapper {
    width: 100%;
    overflow: visible;
}

ul.klay-showcase-query-track {
    list-style: none !important;
    padding-left: clamp(20px, 5vw, 48px) !important;
    padding-right: clamp(20px, 5vw, 48px) !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 32px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: clamp(20px, 5vw, 48px) !important;
    scroll-padding-right: clamp(20px, 5vw, 48px) !important;
    padding-bottom: 16px !important;
    -webkit-overflow-scrolling: touch;
}

ul.klay-showcase-query-track::-webkit-scrollbar {
    display: none;
}

ul.klay-showcase-query-track > li {
    list-style: none !important;
    flex: 0 0 520px !important;
    max-width: 85vw !important;
    min-width: 320px !important;
    scroll-snap-align: start;
    margin: 0 !important;
    padding: 0 !important;
}

ul.klay-showcase-query-track .wp-block-post-featured-image {
    margin-bottom: 32px !important;
    overflow: hidden;
    border-radius: 8px;
}

ul.klay-showcase-query-track .wp-block-post-featured-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

ul.klay-showcase-query-track > li:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

ul.klay-showcase-query-track .wp-block-post-title {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

ul.klay-showcase-query-track .wp-block-post-title a {
    color: var(--wp--preset--color--text-heading) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

ul.klay-showcase-query-track > li:hover .wp-block-post-title a {
    color: var(--wp--preset--color--brand-primary) !important;
}

ul.klay-showcase-query-track .wp-block-post-terms a {
    color: var(--wp--preset--color--brand-primary) !important;
    text-decoration: none !important;
}

ul.klay-showcase-query-track .wp-block-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    border: 1px solid var(--wp--preset--color--border-main);
    color: var(--wp--preset--color--text-heading) !important;
    text-decoration: none !important;
    font-size: 20px;
    line-height: 1;
    transition: all 0.3s ease;
}

ul.klay-showcase-query-track > li:hover .wp-block-read-more {
    border-color: var(--wp--preset--color--brand-primary);
    background-color: var(--wp--preset--color--brand-primary);
    color: #000000 !important;
}








