
/* ── 1. Custom Properties ─────────────────────────────────────────── */
:root {
    /* Colors – Apple palette */
    --bg: #fff;
    --bg-secondary: #f5f5f7;
    --bg-dark: #000;
    --bg-dark-alt: #1d1d1f;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-on-dark: #f5f5f7;
    --text-muted: #86868b;
    --primary: #063a6d;
    --primary-hover: #68055f;
    --link: #06c;
    --link-hover: #68055f;
    --border: #d2d2d7;
    --border-light: #e8e8ed;
    --surface: #fbfbfd;
    --card-bg: #fff;
    --card-bg-dark: #1d1d1f;

    /* Typography – Apple system fonts */
    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;

    /* Sizing */
    --container-width: 1200px;
    --container-wide: 1200px;
    --section-padding: 100px;
    --section-padding-lg: 140px;
    --header-height: 54px;

    /* Radius */
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --radius-pill: 980px;

    /* Shadows */
    --shadow: 0 2px 10px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --duration: 0.4s;
    --duration-fast: 0.2s;
}

/* Scroll Image Gallery — alternating Apple-style image rails */
.section-type-scroll-gallery {
    overflow: hidden;
    background: var(--surface, #fff);
}
.section-type-scroll-gallery > .container {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}
.section-type-scroll-gallery .section-head {
    width: min(980px, calc(100% - 48px));
    margin: 0 auto clamp(38px, 5vw, 70px);
    text-align: center;
}
.section-type-scroll-gallery .section-head > div { width: 100%; }
.section-type-scroll-gallery .section-head h2 {
    max-width: 940px;
    margin-inline: auto;
    font-family: var(--font-display);
    font-size: clamp(32px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -0.003em;
}
.section-type-scroll-gallery .section-head .section-intro {
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 21px;
    line-height: 1.381;
}
.section-type-scroll-gallery .section-head .section-intro p {
    max-width: none;
    margin: 0;
    color: inherit;
    font: inherit;
}
.scroll-gallery {
    --sg-gap: clamp(10px, 1vw, 16px);
    display: grid;
    gap: var(--sg-gap);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding-block: 2px;
    contain: layout paint;
}
.scroll-gallery-row {
    width: 100%;
    overflow: visible;
}
.scroll-gallery-track {
    position: relative;
    left: 50%;
    display: flex;
    gap: var(--sg-gap);
    width: max-content;
    transform: translate3d(-50%, 0, 0) translate3d(var(--sg-shift, 0px), 0, 0);
    will-change: transform;
}
.scroll-gallery-card {
    flex: 0 0 clamp(260px, 24vw, 410px);
    width: clamp(260px, 24vw, 410px);
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    border-radius: clamp(14px, 1.25vw, 20px);
    background: #f5f5f7;
}
.scroll-gallery-card img,
.scroll-gallery-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.scroll-gallery-card video { background: #000; }

@media (min-width: 768px) and (max-width: 1024px) {
    .scroll-gallery-card {
        flex-basis: clamp(190px, 27vw, 230px);
        width: clamp(190px, 27vw, 230px);
        border-radius: 14px;
    }
}

@media (max-width: 767px) {
    .section-type-scroll-gallery .section-head {
        width: min(100% - 36px, 620px);
        margin-bottom: 32px;
    }
    .section-type-scroll-gallery .section-head h2 {
        font-size: 32px;
        line-height: 1.08349;
        letter-spacing: -0.003em;
    }
    .section-type-scroll-gallery .section-head .section-intro {
        margin-top: 12px;
        font-size: 17px;
    }
    .scroll-gallery {
        --sg-gap: 10px;
    }
    .scroll-gallery-card {
        flex-basis: min(45vw, 200px);
        width: min(45vw, 200px);
        border-radius: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-gallery-track {
        transform: translate3d(-50%, 0, 0);
        will-change: auto;
    }
}

/* ── 2. Reset / Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    max-width: 100%;
    overflow-x: clip;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--duration-fast) var(--ease); }
a:hover { color: var(--link-hover); text-decoration: underline; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; line-height: 1.08; color: var(--text); }

/* ── 3. Gallery Lightbox (hidden by default) ──────────────────────── */
#galleryLightbox { display: none; }
#galleryLightbox.is-open { display: flex; }
#mediaBlockVideoLightbox { display: none; }
#mediaBlockVideoLightbox.is-open { display: flex; }

.glb-overlay {
    position: fixed;
    inset: 0;
    z-index: 10010;
    background: rgba(3, 7, 18, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: clamp(18px, 4vw, 40px);
}

/* ── 4. Layout / Container ────────────────────────────────────────── */
.container {
    width: 87.5%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

main { overflow: clip; }

/* ── 5. Scroll Reveal (Apple-style fade-in) ───────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ── 6. Icons ─────────────────────────────────────────────────────── */
[data-lucide] { width: 20px; height: 20px; stroke-width: 1.5; }

/* ── 7. Header / Navigation (Apple-style thin nav) ────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10002;
    background: rgba(255,255,255,0.8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    transition: background var(--duration) var(--ease);
}

.site-header .container {
    max-width: var(--container-wide);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 0;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.brand img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
}

.header-wa-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    margin-left: auto;
    margin-right: 6px;
}

.header-wa-btn:hover {
    background: #1ebe5d;
    color: #fff;
}

.header-wa-btn svg {
    width: 17px;
    height: 17px;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
}

/* Nav actions (Login + CTA buttons) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-actions .btn {
    font-size: 13px;
    padding: 5px 16px;
    min-height: 32px;
}
.nav-actions .btn-primary [data-lucide] {
    width: 13px;
    height: 13px;
}

/* Mobile overlay backdrop */
.nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    pointer-events: none;
}
.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin-left: 24px;
}

.nav-links > a,
.nav-links > .has-menu > button.submenu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: var(--header-height);
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--duration-fast) var(--ease);
    text-decoration: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    opacity: 0.8;
}
.nav-links > a:hover,
.nav-links > .has-menu > button.submenu-toggle:hover {
    opacity: 1;
    text-decoration: none;
}

.nav-links > a [data-lucide],
.submenu-toggle [data-lucide] {
    width: 14px;
    height: 14px;
}

.nav-links > a svg,
.submenu-toggle svg {
    width: 14px;
    height: 14px;
}

/* ── Dropdown / Mega Menu (Apple-style full-width) ────────────────── */
.has-menu { position: relative; }

/* Simple dropdown (non-mega) */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm, 12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.22s var(--ease), visibility 0.22s, transform 0.22s var(--ease);
    z-index: 9997;
    white-space: nowrap;
}
.has-menu:not(.has-mega):hover .dropdown-menu,
.has-menu:not(.has-mega).is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: calc(var(--radius-sm, 12px) - 4px);
    font-size: 13px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--text);
    text-decoration: none;
}

.has-mega .mega-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 30px 0 32px;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    z-index: 9998;
}
.has-mega:hover .mega-menu,
.has-mega .mega-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mega-menu-inner {
    display: flex;
    gap: 32px;
    width: 87.5%;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.mega-left { flex: 2 1 0; min-width: 0; }
.mega-right { display: block; flex: 0 1 300px; min-width: 260px; }
.mega-divider { display: block; }
.mega-divider {
    width: 1px;
    background: var(--border-light);
    align-self: stretch;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.mega-section { min-width: 0; }
.mega-section-title {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.mega-section-links { display: grid; gap: 2px; }

.mega-item-wrap { position: relative; }

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 2px;
    border-radius: var(--radius-xs);
    color: var(--text);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease);
}
.mega-item:hover {
    background: transparent;
    text-decoration: none;
    color: var(--text);
}

.mega-item [data-lucide] {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.mega-item svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.mega-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mega-item-text strong {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.mega-item-text span {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mega-view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 13px 2px 0;
    border-top: 1px solid var(--border-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.mega-view-all:hover { color: var(--primary-hover); text-decoration: none; }
.mega-view-all svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mega-view-all:hover svg { transform: translateX(3px); }

.submenu-indicator { width: 12px; height: 12px; margin-left: auto; color: var(--text-muted); }

.mega-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 8px;
    min-width: 200px;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 6px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-4px);
    transition: opacity 0.2s var(--ease), visibility 0.2s, transform 0.2s var(--ease);
    white-space: nowrap;
}
.mega-item-wrap:hover .mega-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.mega-submenu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text);
    border-radius: calc(var(--radius-sm) - 4px);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease);
}
.mega-submenu a:hover { background: var(--bg-secondary); text-decoration: none; color: var(--text); }

.mega-media { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; }
.mega-media img { width: 100%; height: auto; }
.mega-content { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.mega-media-panel { display: none; }
.mega-media-panel.is-active { display: block; }

/* Mobile drawer header */
.mobile-drawer-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 6px 20px;
    border-bottom: 1px solid var(--border-light);
}
.mobile-drawer-header .brand img { height: 20px; }
.mobile-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background var(--duration-fast) var(--ease);
}
.mobile-drawer-close:hover {
    background: var(--bg-secondary);
}

/* Nested dropdown (L3 inside simple dropdown) */
.dropdown-menu .has-submenu {
    position: relative;
}
.dropdown-menu .has-submenu > a {
    justify-content: space-between;
}
.dropdown-menu .has-submenu > a [data-lucide] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 4px;
}
.dropdown-menu .has-submenu:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0);
}

/* ── 7. Buttons (Apple-style) ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.17648;
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease);
    text-decoration: none;
    white-space: nowrap;
    min-height: 44px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: none;
    padding: 8px 4px;
    transition: opacity var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.btn-secondary:hover {
    color: var(--primary-hover);
    text-decoration: none;
    background: transparent;
    opacity: 0.75;
}

/* Link-style button (Apple uses text links with > arrow) */
.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 17px;
    color: var(--link);
    text-decoration: none;
    font-weight: 400;
}
.badge-link::after {
    content: ">";
    font-size: 16px;
    transition: transform var(--duration-fast) var(--ease);
}
.badge-link:hover {
    text-decoration: underline;
}
.badge-link:hover::after {
    transform: translateX(3px);
}

.btn-danger {
    background: #e30000;
    color: #fff;
}
.btn-danger:hover {
    background: #cc0000;
    color: #fff;
    text-decoration: none;
}

/* ── 8. Hero Section (Apple-style centered) ───────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
    background-size: cover;
    background-position: center;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
}

.hero-bg-media.is-playing .hero-bg-poster {
    opacity: 0;
    pointer-events: none;
}

.hero-bg-media video,
.hero-bg-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.hero-bg-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255,255,255,0.85);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: auto;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.hero-bg-play-btn:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: scale(1.08);
}

.hero-bg-play-btn svg {
    margin-left: 4px;
}

.hero-bg-media.is-playing .hero-bg-play-btn {
    display: none;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero .hero-grid {
    position: relative;
    z-index: 2;
}

.hero-pro {
    padding: 80px 0 40px;
}

.hero.hero-tall {
    min-height: 620px;
}

.hero.hero-tall .hero-grid {
    min-height: 620px;
    align-content: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    color: var(--text);
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 20px;
}

.kicker {
    display: inline-block;
    font-size: 21px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

@media (min-width: 769px) {
    .hero-actions.has-primary-note {
        align-items: flex-start;
    }
}

.hero-primary-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    width: fit-content;
    min-width: max-content;
}

.hero-primary-note {
    display: block;
    width: 100%;
    margin-top: 6px;
    text-align: center;
    font-style: italic;
    line-height: 1.25;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-secondary);
}

.hero.text-light .hero-primary-note {
    color: var(--text-on-dark);
}

.hero-media {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
.hero-media img,
.hero-media video {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}
.hero-media .video-wrap {
    width: 100%;
    min-width: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}
.hero-media .hero-video-wrap {
    position: relative;
    background: #071629;
}
.hero-media .hero-video-wrap .hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media iframe {
    width: 100%;
    height: 100%;
}

/* Dark hero theme */
.hero.theme-dark {
    background-color: var(--bg-dark);
}

.hero.text-light h1 { color: var(--text-on-dark); }
.hero.text-light p { color: var(--text-on-dark); }
.hero.text-light .kicker { color: var(--text-on-dark); }

.hero.text-dark h1 { color: var(--text); }
.hero.text-dark p { color: var(--text-secondary); }
.hero.text-dark .kicker { color: var(--text-secondary); }

/* Hero button themes */
.hero.buttons-dark .hero-actions .btn.btn-primary {
    background: var(--primary);
    color: #fff;
}
.hero.buttons-dark .hero-actions .btn.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
}
.hero.buttons-dark .hero-actions .btn.btn-secondary {
    color: var(--primary);
    border: none;
    background: transparent;
}
.hero.buttons-dark .hero-actions .btn.btn-secondary:hover {
    color: var(--primary-hover);
    background: transparent;
}

.hero.buttons-light .hero-actions .btn.btn-primary {
    background: #fff;
    color: #111827;
}
.hero.buttons-light .hero-actions .btn.btn-primary:hover {
    background: #f3f4f6;
    color: #111827;
}
.hero.buttons-light .hero-actions .btn.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
}
.hero.buttons-light .hero-actions .btn.btn-secondary:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

/* Left-aligned hero */
.hero.align-left .hero-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
}
.hero.align-left h1 { margin-left: 0; margin-right: 0; }
.hero.align-left p { margin-left: 0; margin-right: 0; }
.hero.align-left .hero-actions { justify-content: flex-start; }

/* Floating card (removed glassmorphism, clean Apple look) */
.floating-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

/* ── 9. Sections (Apple-style large padding, alternating bg) ──────── */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: clip;
}

.section-first { padding-top: 60px; }
.section-last { padding-bottom: 80px; }

/* Background media */
.section-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.section-bg-media img,
.section-bg-media video,
.section-bg-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-bg-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    pointer-events: none;
}
.has-media-bg .container { position: relative; z-index: 1; }
.has-media-bg,
.has-media-bg h2,
.has-media-bg p,
.has-media-bg .stat strong,
.has-media-bg .stat span {
    color: #fff;
}

.section-full-width { padding-left: 0; padding-right: 0; }
.section-full-width .container { max-width: 100%; width: 100%; padding: 0; }

/* Section Head (Apple-style centered headings) */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-head h2 {
    font-size: clamp(32px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -0.003em;
    color: var(--text);
    margin-bottom: 12px;
}
.section-head p {
    font-size: 21px;
    line-height: 1.381;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

.section-eyebrow {
    margin: 0 0 18px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #e91e63;
}

/* ── 10. Grid Layouts ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* ── 11. Cards (Apple-style clean, flat) ──────────────────────────── */
.card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: transform var(--duration) var(--ease);
    text-align: center;
    border: none;
}
.card:hover {
    transform: scale(1.02);
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.16667;
    margin-bottom: 10px;
    color: var(--text);
}
.card p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.card-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}
.card-item img,
.card-item video {
    width: 100%;
    height: auto;
    display: block;
}
.card-item iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

/* Refined page-builder card grids for cleaner, consistent presentation */
.section-type-cards .grid-2,
.section-type-cards .grid-3,
.section-type-cards .grid-4 {
    align-items: stretch;
}

.section-type-cards .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.section-type-cards .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.section-type-cards .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    border-color: #d7deea;
}

.section-type-cards .card-item {
    margin-bottom: 0;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.section-type-cards .card-item img,
.section-type-cards .card-item video,
.section-type-cards .card-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-type-cards .card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.section-type-cards .card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.58;
}

.section-type-cards .grid-4 .card {
    padding: 20px;
    gap: 12px;
}

.section-type-cards .grid-4 .card h3 {
    font-size: 20px;
}

.section-type-cards .grid-4 .card p {
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 1400px) {
    .section-type-cards .grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .section-type-cards .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .section-type-cards .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .section-type-cards .card {
        padding: 20px;
        gap: 12px;
    }

    .section-type-cards .card h3 {
        font-size: 20px;
    }

    .section-type-cards .card p {
        font-size: 15px;
    }
}

/* Icon wrap in feature cards */
.icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: var(--bg);
    overflow: hidden;
}
.icon-wrap img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.icon-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-type-feature-grid .feature-grid-icon-mask {
    width: 32px;
    height: 32px;
    display: block;
    background: var(--feature-icon-color, var(--text));
    -webkit-mask-image: var(--feature-icon-url);
    mask-image: var(--feature-icon-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.section-type-feature-grid .feature-grid-lucide-icon {
    width: 32px;
    height: 32px;
    display: block;
    color: var(--feature-icon-color, var(--text));
    stroke: currentColor;
}

.section-type-feature-grid .card[style*="--feature-text-color"] h3,
.section-type-feature-grid .card[style*="--feature-text-color"] p {
    color: var(--feature-text-color);
}

/* Glass cards — feature grid on dark/media background sections */

.has-media-bg.section-type-feature-grid .card,
.section.theme-dark.section-type-feature-grid .card {
    background: linear-gradient(
        160deg,
        rgba(8, 16, 48, 0.55) 0%,
        rgba(8, 16, 48, 0.40) 100%
    );
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top-color: rgba(255, 255, 255, 0.32);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12);
    color: #fff;
    transition: background 0.3s ease, border-color 0.3s ease,
                box-shadow 0.3s ease, transform 0.3s ease;
}

.has-media-bg.section-type-feature-grid .card:hover,
.section.theme-dark.section-type-feature-grid .card:hover {
    background: linear-gradient(
        160deg,
        rgba(8, 16, 48, 0.68) 0%,
        rgba(8, 16, 48, 0.52) 100%
    );
    border-color: rgba(255, 255, 255, 0.30);
    border-top-color: rgba(255, 255, 255, 0.50);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.40),
        inset 0 -1px 0 rgba(0, 0, 0, 0.14);
    transform: scale(1.02) translateY(-3px);
}

.has-media-bg.section-type-feature-grid .card h3,
.section.theme-dark.section-type-feature-grid .card h3 {
    color: #fff;
}

.has-media-bg.section-type-feature-grid .card p,
.section.theme-dark.section-type-feature-grid .card p {
    color: rgba(255, 255, 255, 0.72);
}

/* Icon wrap inside glass cards */
.has-media-bg.section-type-feature-grid .icon-wrap,
.section.theme-dark.section-type-feature-grid .icon-wrap {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.25);
}

.has-media-bg.section-type-feature-grid .feature-grid-icon-mask,
.section.theme-dark.section-type-feature-grid .feature-grid-icon-mask {
    background: #fff;
}

/* ── 12. Stats (Apple-style large numbers) ────────────────────────── */
.stat {
    text-align: center;
    padding: 40px 20px;
}
.stat strong {
    display: block;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    color: var(--text);
    margin-bottom: 4px;
    font-family: var(--font-display);
}
.stat span {
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Stats: Apple editorial view (selectable in Page Builder). */
.stats-view-apple .section-head {
    margin-bottom: clamp(34px, 5vw, 64px);
    text-align: center;
}
.stats-apple {
    display: grid;
    grid-template-columns: repeat(var(--stats-columns, 4), minmax(0, 1fr));
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.stats-apple.stats-cols-1 { --stats-columns: 1; }
.stats-apple.stats-cols-2 { --stats-columns: 2; }
.stats-apple.stats-cols-3 { --stats-columns: 3; }
.stats-apple.stats-cols-4 { --stats-columns: 4; }
.stats-apple .stat {
    position: relative;
    min-width: 0;
    padding: clamp(36px, 4.5vw, 68px) clamp(18px, 2.8vw, 42px);
    text-align: left;
}
.stats-apple .stat::before {
    content: "";
    position: absolute;
    top: 24%;
    bottom: 24%;
    left: 0;
    width: 1px;
    background: var(--border-light);
}
.stats-apple.stats-cols-1 .stat::before,
.stats-apple.stats-cols-2 .stat:nth-child(2n + 1)::before,
.stats-apple.stats-cols-3 .stat:nth-child(3n + 1)::before,
.stats-apple.stats-cols-4 .stat:nth-child(4n + 1)::before {
    display: none;
}
.stats-apple .stat strong {
    margin: 0 0 12px;
    color: var(--primary);
    max-width: 100%;
    font-size: var(--stat-fit-size, clamp(42px, 4.5vw, 64px));
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.045em;
    overflow-wrap: normal;
    white-space: nowrap;
}
.stats-apple .stat span {
    display: block;
    max-width: 22ch;
    color: var(--text-secondary);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 500;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .stats-apple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stats-apple .stat:nth-child(odd)::before { display: none; }
    .stats-apple .stat:nth-child(even)::before { display: block; }
    .stats-apple .stat:nth-child(n + 3) {
        border-top: 1px solid var(--border-light);
    }
}

@media (max-width: 560px) {
    .stats-apple {
        grid-template-columns: 1fr;
    }
    .stats-apple .stat {
        padding: 26px 4px;
    }
    .stats-apple .stat::before { display: none !important; }
    .stats-apple .stat + .stat {
        border-top: 1px solid var(--border-light);
    }
    .stats-apple .stat strong {
        font-size: var(--stat-fit-size, clamp(38px, 12vw, 48px));
    }
}

/* ── 13. Timeline — flat Apple-style connected steps ──────────────── */
.timeline-v2 {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--timeline-count, 3), minmax(210px, 1fr));
    align-items: stretch;
    gap: clamp(14px, 1.5vw, 22px);
    width: 100%;
    margin: 0;
    padding: 34px 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.timeline-v2::-webkit-scrollbar { display: none; }

.timeline-line {
    position: absolute;
    z-index: 0;
    top: 55px;
    left: max(24px, calc(50% / var(--timeline-count, 3)));
    right: max(24px, calc(50% / var(--timeline-count, 3)));
    height: 1px;
    background: var(--border-light);
}

.timeline-step {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    list-style: none;
    scroll-snap-align: start;
}

.timeline-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 7px var(--bg);
}

.timeline-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--timeline-step-number-color, var(--text));
}
.timeline-content {
    height: calc(100% - 64px);
    padding: clamp(22px, 2vw, 30px);
    border-radius: clamp(20px, 2vw, 28px);
    background: var(--bg-secondary);
    text-align: left;
}

.timeline-title {
    margin: 0 0 9px;
    font-size: clamp(19px, 1.5vw, 23px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
    color: var(--text);
}

.timeline-text {
    font-size: clamp(14px, 1vw, 16px);
    color: var(--text-secondary);
    line-height: 1.5;
}
.timeline-text p,
.timeline-text ul,
.timeline-text ol { margin-top: 0; margin-bottom: 0; }

/* Timeline Number Strip — large numeral, compact editorial card */
.timeline-strip {
    display: grid;
    grid-template-columns: repeat(var(--timeline-columns, 3), minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 22px);
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-strip-item {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: clamp(16px, 1.5vw, 22px);
    margin: 0;
    padding: clamp(24px, 2.3vw, 34px);
    border: 0;
    border-radius: clamp(20px, 2vw, 28px);
    background: var(--bg-secondary);
    box-shadow: none;
    list-style: none;
}

.timeline-strip-number {
    min-width: 1.1ch;
    font-size: clamp(44px, 4.7vw, 68px);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.055em;
    color: var(--timeline-step-number-color, var(--primary));
    flex: 0 0 auto;
}

.timeline-strip-copy {
    min-width: 0;
    padding-top: 2px;
}

.timeline-strip-title,
.timeline-strip-text {
    color: var(--text);
}

.timeline-strip-title {
    font-size: clamp(19px, 1.5vw, 23px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.timeline-strip-text {
    margin-top: 9px;
    color: var(--text-secondary);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    line-height: 1.5;
}

.timeline-strip-text p,
.timeline-strip-text li {
    font: inherit;
}

/* Number Strip becomes an accessible four-up rail when it has 5+ items. */
.timeline-strip-wrap {
    position: relative;
    min-width: 0;
}

.timeline-strip.timeline-strip-slider {
    --timeline-slider-gap: clamp(14px, 1.6vw, 22px);
    display: flex;
    align-items: stretch;
    gap: var(--timeline-slider-gap);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
}

.timeline-strip.timeline-strip-slider::-webkit-scrollbar { display: none; }
.timeline-strip.timeline-strip-slider:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; border-radius: 28px; }
.timeline-strip.timeline-strip-slider.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }

.timeline-strip-slider .timeline-strip-item {
    flex: 0 0 calc((100% - (3 * var(--timeline-slider-gap))) / 4);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.timeline-strip-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: clamp(26px, 3vw, 40px);
}

.timeline-strip-controls .cc-btn {
    position: relative;
    inset: auto;
    width: 44px;
    height: 44px;
    opacity: 1;
    transform: none;
    background: var(--bg-secondary);
    color: var(--text);
}

.timeline-strip-controls .cc-btn:hover { background: var(--border-light); }
.timeline-strip-controls .cc-btn:disabled { opacity: .38 !important; pointer-events: none; }

@media (max-width: 1000px) {
    .timeline-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timeline-strip-slider .timeline-strip-item { flex-basis: calc((100% - var(--timeline-slider-gap)) / 2); }
}

@media (max-width: 640px) {
    .timeline-strip.timeline-strip-slider { gap: 14px; }
    .timeline-strip-slider .timeline-strip-item { flex: 0 0 min(88%, 340px); }
    .timeline-strip-controls { gap: 10px; margin-top: 24px; }
    .timeline-strip-controls .cc-btn { width: 40px; height: 40px; }
}

/* ── 14. Media Block (Apple-style split sections) ─────────────────── */
.media-block {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(48px, 7vw, 104px);
    align-items: center;
    width: 100%;
    min-width: 0;
}
.media-block.reverse {
    direction: rtl;
}
.media-block.reverse > * {
    direction: ltr;
}

.section-type-media-block {
    --media-block-edge-top: var(--section-padding);
    --media-block-edge-bottom: var(--section-padding);
    overflow: clip;
}
.section-type-media-block.section-first { --media-block-edge-top: 60px; }
.section-type-media-block.section-last { --media-block-edge-bottom: 80px; }
.section-type-media-block .container { min-width: 0; }

.media-text {
    width: min(100%, 560px);
    min-width: 0;
    justify-self: start;
}
.media-block.reverse .media-text { justify-self: end; }
.media-text .section-eyebrow {
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
}

.media-text h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(32px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -.003em;
    color: var(--text);
}
.media-text .pb-rich-text,
.media-text .pb-rich-text p,
.media-text .pb-rich-text li {
    font-family: var(--font-body);
    font-size: clamp(17px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -.005em;
    color: var(--text-secondary);
}
.media-text .pb-rich-text > :last-child { margin-bottom: 0; }
.media-text .hero-actions { margin-top: clamp(24px, 3vw, 34px); }
.media-text .btn.btn-primary {
    min-height: 46px;
    padding: 11px 22px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
}

.media-image {
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: clamp(22px, 2.4vw, 34px);
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}
.media-image.media-v-align-top { align-self: start; }
.media-image.media-v-align-center { align-self: center; }
.media-image.media-v-align-bottom { align-self: end; }
.media-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* Keep a stable section height while showing the complete image. Alignment
   positions content inside this stage and never moves the whole section. */
.media-image.media-type-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
.section-type-media-block .media-image.media-type-image.media-v-align-top {
    top: calc(-1 * var(--media-block-edge-top));
}
.section-type-media-block .media-image.media-type-image.media-v-align-center { top: 0; }
.section-type-media-block .media-image.media-type-image.media-v-align-bottom {
    top: var(--media-block-edge-bottom);
}
.media-image.media-type-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.media-image.media-v-align-top img,
.media-image.media-v-align-top video { object-position: center top; }
.media-image.media-v-align-center img,
.media-image.media-v-align-center video { object-position: center center; }
.media-image.media-v-align-bottom img,
.media-image.media-v-align-bottom video { object-position: center bottom; }

/* Media Block — Apple Feature view: large visual followed by centered copy. */
.media-block.media-block-view-showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "copy";
    gap: clamp(38px, 4.5vw, 62px);
    width: min(100%, 1120px);
    margin-inline: auto;
    direction: ltr;
}
.media-block-view-showcase .media-image {
    grid-area: media;
    width: 100%;
    justify-self: center;
    border-radius: clamp(24px, 2.4vw, 34px);
    background: var(--bg-secondary);
    overflow: hidden;
}
.section-type-media-block .media-block-view-showcase .media-image.media-type-image {
    top: 0;
    aspect-ratio: 16 / 9;
    border-radius: clamp(24px, 2.4vw, 34px);
    background: var(--bg-secondary);
    overflow: hidden;
}
.media-block-view-showcase .media-text,
.media-block-view-showcase.reverse .media-text {
    grid-area: copy;
    width: min(100%, 900px);
    justify-self: center;
    text-align: center;
}
.media-block-view-showcase .media-text h2 {
    max-width: 780px;
    margin-inline: auto;
}
.media-block-view-showcase .media-text .pb-rich-text {
    max-width: 900px;
    margin-inline: auto;
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.45;
}
.media-block-view-showcase .media-text .hero-actions { justify-content: center; }
.media-block-view-showcase .mb-video-card,
.media-block-view-showcase .mb-slider { border-radius: inherit; }
.media-block-view-showcase.media-block-fit-contain .media-image.media-type-image > img,
.media-block-view-showcase.media-block-fit-contain .mb-video-card > video,
.media-block-view-showcase.media-block-fit-contain .mb-video-card .video-wrap video,
.media-block-view-showcase.media-block-fit-contain .mb-slide img,
.media-block-view-showcase.media-block-fit-contain .mb-slide video {
    object-fit: contain;
}
.media-block-view-showcase.media-block-fit-cover .media-image.media-type-image > img,
.media-block-view-showcase.media-block-fit-cover .mb-video-card > video,
.media-block-view-showcase.media-block-fit-cover .mb-video-card .video-wrap video,
.media-block-view-showcase.media-block-fit-cover .mb-slide img,
.media-block-view-showcase.media-block-fit-cover .mb-slide video {
    object-fit: cover;
}

@media (max-width: 767px) {
    .media-block { gap: 30px; }
    .media-text,
    .media-block.reverse .media-text {
        width: 100%;
        text-align: center;
    }
    .media-text h2 {
        margin-bottom: 16px;
        font-size: 32px;
        line-height: 1.08349;
    }
    .media-text .pb-rich-text,
    .media-text .pb-rich-text p,
    .media-text .pb-rich-text li { font-size: 17px; line-height: 1.45; }
    .media-text .hero-actions { justify-content: center; margin-top: 24px; }
    .media-image { border-radius: 20px; }
    .media-block.media-block-view-showcase { gap: 28px; width: 100%; }
    .media-block-view-showcase .media-image,
    .section-type-media-block .media-block-view-showcase .media-image.media-type-image {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }
    .media-block-view-showcase .media-text .pb-rich-text {
        padding-inline: 4px;
        font-size: 17px;
        line-height: 1.45;
    }
}

.mb-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: inherit;
    overflow: hidden;
    background: #111827;
}

.mb-video-card.card-video-shell > video,
.mb-video-card.card-video-shell > iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center;
}
.section-type-media-block .card-video-shell > video {
    -webkit-appearance: none;
    appearance: none;
}
.section-type-media-block .card-video-shell > video::-webkit-media-controls,
.section-type-media-block .card-video-shell > video::-webkit-media-controls-enclosure,
.section-type-media-block .card-video-shell > video::-webkit-media-controls-panel,
.section-type-media-block .card-video-shell > video::-webkit-media-controls-overlay-play-button,
.section-type-media-block .card-video-shell > video::-webkit-media-controls-start-playback-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    -webkit-appearance: none;
}

.mb-video-launch {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.mb-video-launch[hidden] {
    display: none !important;
}

.mb-video-launch img,
.mb-video-poster-video,
.mb-video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mb-video-poster-video {
    pointer-events: none;
    background: #000;
}

.mb-video-fallback {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #111827, #374151);
    padding: 24px;
    text-align: center;
}

.mb-video-launch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.55) 100%);
}

.mb-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.mb-video-launch:hover .mb-video-play-icon {
    transform: translate(-50%, -50%) scale(1.05);
}

.mb-video-inline-player[hidden] {
    display: none !important;
}

.mb-video-card.is-playing {
    background: transparent;
}

.mb-video-card.is-playing .mb-video-inline-player .video-wrap {
    border-radius: inherit;
    overflow: hidden;
}

.mb-video-inline-player,
.mb-video-card .video-wrap {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.mb-video-card .video-wrap video {
    background: #000;
    object-fit: contain;
}

/* Media block slider */
.mb-slider {
    position: relative;
    border-radius: inherit;
    overflow: hidden;
    background: #f4f5f8;
}
.mb-slider-track {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: inherit;
    overflow: hidden;
}

/* Fade mode (default) */
.mb-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s var(--ease);
    pointer-events: none;
}
.mb-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.mb-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: inherit;
}

.mb-slide video,
.mb-slide iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    border-radius: inherit;
}

/* Slide mode */
.mb-slider[data-effect="slide"] .mb-slider-track {
    display: flex;
    overflow: hidden;
    transition: transform 0.55s var(--ease);
}
.mb-slider[data-effect="slide"] .mb-slide {
    position: relative;
    inset: auto;
    min-width: 100%;
    flex-shrink: 0;
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.55s var(--ease);
    border-radius: inherit;
    overflow: hidden;
}

/* Paddle nav — hidden until hover */
.mb-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s var(--ease);
}
.mb-slider:hover .mb-slider-nav { opacity: 1; }
.mb-slider-prev,
.mb-slider-next {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
.mb-slider-prev:hover,
.mb-slider-next:hover {
    background: #fff;
    transform: scale(1.04);
}

@media (hover: none), (pointer: coarse) {
    .mb-slider-nav { opacity: 1; }
}

/* Pill dots — Apple style */
.mb-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.mb-slider .mb-slider-dot {
    all: unset;
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.55) !important;
    opacity: 0.9;
    cursor: pointer;
    display: block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
    transition: transform 0.16s var(--ease), background 0.2s var(--ease), opacity 0.2s var(--ease);
}
.mb-slider .mb-slider-dot.is-active {
    background: #ffffff !important;
    opacity: 1;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.mb-slider .mb-slider-dot:hover {
    transform: scale(1.08);
}

/* ── 15. CTA Band ─────────────────────────────────────────────────── */
.cta-band {
    text-align: center;
    padding: 80px 0;
    background: var(--bg-secondary);
    border-radius: 28px;
}
.cta-band h2 {
    font-size: clamp(28px, 2.4vw, 40px);
    font-weight: 600;
    font-family: var(--font-display);
    margin-bottom: 16px;
    line-height: 1.14;
    letter-spacing: -0.02em;
}
.cta-band p {
    font-size: clamp(15px, 1.2vw, 18px);
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.58;
}
.cta-band-copy {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

@media (max-width: 760px) {
    .section-type-cta .card.cta-band {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .section-type-cta .card.cta-band .cta-band-copy {
        max-width: 100%;
    }

    .section-type-cta .card.cta-band .cta-band h2,
    .section-type-cta .card.cta-band h2 {
        font-size: clamp(24px, 7.2vw, 32px);
        line-height: 1.16;
        letter-spacing: -0.02em;
    }

    .section-type-cta .card.cta-band .cta-band p,
    .section-type-cta .card.cta-band p {
        font-size: 16px;
        line-height: 1.54;
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .section-type-cta .card.cta-band {
        padding: 24px 16px;
        border-radius: 18px;
    }

    .section-type-cta .card.cta-band .cta-band h2,
    .section-type-cta .card.cta-band h2 {
        font-size: clamp(21px, 8.2vw, 28px);
        line-height: 1.18;
    }

    .section-type-cta .card.cta-band .cta-band p,
    .section-type-cta .card.cta-band p {
        font-size: 15px;
        line-height: 1.52;
        margin-bottom: 20px;
    }
}

/* ── 16. FAQ (Apple-style accordion) ──────────────────────────────── */
.faq-list {
    max-width: 680px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-light);
}
.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    line-height: 1.4;
}
.faq-toggle [data-lucide] {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--duration) var(--ease);
}
.faq-item.is-open .faq-toggle [data-lucide] {
    transform: rotate(45deg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration) var(--ease), padding var(--duration) var(--ease);
}
.faq-item.is-open .faq-body {
    max-height: 600px;
    padding-bottom: 20px;
}
.faq-body p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
}

.faq-more-wrap {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.faq-more-btn {
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 14px;
}

.faq-more-btn:hover {
    color: var(--primary-hover);
}

.faq-cta-band {
    margin: 48px auto 0;
    max-width: 820px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    box-shadow: none;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.faq-cta-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-cta-copy h3 {
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #1d1d1f;
    margin: 0;
}

.faq-cta-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #6e6e73;
    font-weight: 400;
}

.faq-cta-btn {
    min-width: 164px;
    min-height: 46px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.faq-cta-btn:hover {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

.faq-cta-arrow {
    font-size: 24px;
    line-height: 1;
    transform: translateY(-1px);
}

/* ── 17. Custom List ──────────────────────────────────────────────── */
.custom-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 17px;
    color: var(--text-secondary);
}
.custom-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 9px;
}

/* ── 18. Social Icons ─────────────────────────────────────────────── */
.social-icons {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 16px 0;
}
.social-icons li { list-style: none; }
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    transition: color var(--duration-fast) var(--ease);
}
.social-icons a:hover { color: var(--text); }

/* ── 19. Gallery ──────────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    gap: 12px;
}
.gallery-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.gallery-card:hover img { transform: scale(1.05); }

.gallery-video-poster {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-play-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-play-badge svg {
    width: 58px;
    height: 58px;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.25));
}

/* Editorial gallery */
.gallery-editorial {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.pb-columns-layout {
    display: grid;
    gap: clamp(18px, 2.2vw, 30px);
    align-items: stretch;
}
.pb-column {
    position: relative;
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(29, 29, 31, 0.09);
    border-radius: clamp(24px, 2.2vw, 32px);
    background: #f5f5f7;
    box-shadow: none;
    transition: background-color 240ms ease, border-color 240ms ease;
}
.section-type-columns .pb-column,
.section-type-columns .pb-column *,
.section-type-columns .pb-column *::before,
.section-type-columns .pb-column *::after {
    box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
    .pb-column:hover {
        border-color: rgba(29, 29, 31, 0.15);
        background-color: #f0f0f2;
    }
}
.column-section {
    flex: 1 0 auto;
    padding: clamp(34px, 4vw, 58px);
    overflow: visible;
    background-color: transparent;
}
.column-section.section-first {
    padding-top: clamp(34px, 4vw, 58px);
}
.column-section.section-last {
    padding-bottom: clamp(34px, 4vw, 58px);
}
.column-section + .column-section {
    border-top: 1px solid rgba(29, 29, 31, 0.08);
}
.column-section > .container {
    width: 100%;
    max-width: none;
    margin: 0;
}
.column-section .section-head {
    margin-bottom: clamp(24px, 3vw, 36px);
    text-align: left;
}
.column-section .section-head h2 {
    max-width: 15ch;
    margin: 0 0 14px;
    font-size: clamp(28px, 2.65vw, 40px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
}
.column-section .section-head p {
    max-width: 42rem;
    margin: 0;
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.45;
}
.column-section .section-eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.column-section .content-block,
.column-section .content-block .pb-rich-text {
    height: 100%;
}
.column-section .content-block .pb-rich-text,
.column-section .content-block .pb-rich-text p,
.column-section .content-block .pb-rich-text li {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.55;
}
.column-section .content-block .pb-rich-text ul,
.column-section .content-block .pb-rich-text ol {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}
.column-section .content-block .pb-rich-text li {
    position: relative;
    padding-left: 28px;
}
.column-section .content-block .pb-rich-text li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0071e3;
}
.column-section .content-block .pb-rich-text > :last-child {
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .pb-columns-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .pb-column {
        min-height: auto;
    }
}
@media (max-width: 640px) {
    .pb-column {
        border-radius: 24px;
        box-shadow: none;
    }
    .column-section,
    .column-section.section-first,
    .column-section.section-last {
        padding: 30px 24px 32px;
    }
    .column-section .section-head {
        margin-bottom: 22px;
    }
    .column-section .section-head h2 {
        font-size: clamp(27px, 8vw, 34px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .pb-column {
        transition: none;
    }
}
.ge-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.ge-media {
    width: 100%;
    height: 100%;
    position: relative;
}
.ge-media img,
.ge-media video,
.ge-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ge-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}
.ge-item:hover .ge-overlay { opacity: 1; }
.ge-caption {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

/* ── 20. Testimonials (Apple-style clean quotes) ──────────────────── */
/* legacy testimonial slider rules removed; modern rules live in F3 */
.testimonial-author strong {
    font-size: 17px;
    color: var(--text);
}
.testimonial-author span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Slick overrides */
.slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 24px 0 0;
    list-style: none;
}
.slick-dots li button {
    font-size: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background var(--duration-fast);
}
.slick-dots li.slick-active button { background: var(--text); }

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 0;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}
.slick-prev { left: -20px; }
.slick-next { right: -20px; }
.slick-prev::before, .slick-next::before {
    font-size: 18px;
    color: var(--text);
    font-family: inherit;
}

/* Cards Carousel */
/* ── 20. Cards Carousel — Apple flat style ────────────────────────── */
.cards-carousel-wrap {
    position: relative;
}
/* Edge fade: removed — Apple uses no edge gradients */

/* Paddle nav — overlaid on left/right edges, Apple-style */
.cc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text);
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.cards-carousel-wrap:hover .cc-btn {
    opacity: 1;
}
.cc-btn:hover {
    background: rgba(0, 0, 0, 0.15);
}
.cc-btn:disabled {
    opacity: 0 !important;
    pointer-events: none;
}
.cc-prev {
    left: -18px;
}
.cc-next {
    right: -18px;
}

/* Rail */
.cards-carousel {
    display: flex;
    align-items: stretch;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 0 2px;
    scroll-padding: 0 2px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    will-change: scroll-position;
    cursor: grab;
}
.cards-carousel::-webkit-scrollbar {
    display: none;
}
.cards-carousel.is-dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
    cursor: grabbing;
    user-select: none;
    -webkit-overflow-scrolling: auto;
}

/* Cards — Apple flat, no shadow */
.cards-carousel .card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    margin: 0;
    scroll-snap-align: start;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: none;
    box-shadow: none;
    padding: 0 0 24px;
    text-align: left;
    /* override .reveal hidden state */
    opacity: 1 !important;
    transform: none !important;
    transition: none;
}
.cards-carousel .card:hover {
    transform: none !important;
    box-shadow: none;
}

/* Image area */
.cards-carousel .card-item {
    border-radius: 0;
    margin-bottom: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e8e8ed;
}
.cards-carousel .card-item img,
.cards-carousel .card-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cards-carousel .card-item iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

/* Text area */
.cards-carousel .card h3,
.cards-carousel .card p,
.cards-carousel .card .badge-link {
    margin-left: 28px;
    margin-right: 28px;
}
.cards-carousel .card h3 {
    margin-top: 28px;
    margin-bottom: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.21;
    letter-spacing: 0.012em;
    color: var(--text);
}
.cards-carousel .card p {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.43;
    color: var(--text-secondary);
}
.cards-carousel .card p:empty {
    display: none;
}

.cards-carousel .card .card-copy {
    margin: 8px 28px 0;
    font-size: 14px;
    line-height: 1.43;
    color: var(--text-secondary);
}

.cards-carousel .card .card-copy p,
.cards-carousel .card .card-copy ul,
.cards-carousel .card .card-copy ol {
    margin: 0;
}

.cards-carousel .card .card-copy p + p,
.cards-carousel .card .card-copy li + li {
    margin-top: 6px;
}

.cards-carousel .card .badge-link {
    margin-bottom: 0;
}
.cards-carousel .card .badge-link {
    margin-top: 14px;
    margin-bottom: 28px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 1100px) {
    .cards-carousel .card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 740px) {
    .cards-carousel {
        gap: 14px;
    }
    .cards-carousel .card {
        flex: 0 0 85%;
        min-width: 0;
        border-radius: 16px;
    }
    .cc-prev { left: -8px; }
    .cc-next { right: -8px; }
}

/* ── 21. Logo Cloud / Marquee ─────────────────────────────────────── */
.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
}
.logo-cloud img {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity var(--duration-fast), filter var(--duration-fast);
}
.logo-cloud img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* Device Grid */
.device-grid-box {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.device-grid-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.device-grid-head .section-eyebrow {
    display: none;
}

.device-grid-head h2 {
    max-width: 820px;
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(32px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -0.003em;
}

.device-grid-head .section-intro {
    max-width: 720px;
    margin: 0;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.381;
}

.device-grid-head .section-intro > :last-child {
    margin-bottom: 0;
}

.device-grid-tiles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
    width: min(820px, 100%);
    margin: 0 auto;
}

.device-grid-tile {
    min-width: 0;
    min-height: 96px;
    padding: 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.25s ease, background 0.25s ease;
}

.device-grid-tile:hover {
    transform: translateY(-2px);
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.device-grid-icon-wrap {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    place-items: center;
}

.device-grid-icon-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: none;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.device-grid-tile--player .device-grid-icon-wrap img {
    width: 56px;
    height: 56px;
}

.device-grid-tile:hover .device-grid-icon-wrap img {
    transform: scale(1.06);
}

.device-grid-copy {
    min-width: 0;
}

.device-grid-copy strong,
.device-grid-copy small {
    display: block;
}

.device-grid-copy strong {
    overflow: hidden;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.device-grid-copy small {
    display: none;
}

.device-grid-link {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #0066cc;
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.device-grid-link:hover {
    transform: none;
    background: transparent;
    color: #0066cc;
    box-shadow: none;
    text-decoration: underline;
}

.device-grid-link-arrow {
    width: 18px;
    height: 18px;
    border-radius: 0;
    background: transparent;
    display: grid;
    place-items: center;
}

.device-grid-link:focus-visible {
    outline: 3px solid rgba(0, 113, 227, 0.28);
    outline-offset: 3px;
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 30s linear infinite;
    width: max-content;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── 22. Tabs Section (Apple-style underline tabs) ────────────────── */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
}
.tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--duration-fast), border-color var(--duration-fast);
    font-family: var(--font-body);
}
.tab-btn.is-active,
.tab-btn:hover {
    color: var(--text);
    border-bottom-color: var(--text);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ── 23. Card Gallery (Apple-style horizontal scroll) ─────────────── */
.card-gallery-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}
.card-gallery-grid::-webkit-scrollbar { height: 4px; }
.card-gallery-grid::-webkit-scrollbar-track { background: transparent; }
.card-gallery-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.card-gallery-item {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
}
.card-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-gallery-item .cg-text {
    padding: 20px;
}
.card-gallery-item h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.card-gallery-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.42859;
}

/* ── 24. Image Accordion (Apple-style expanding panels) ───────────── */
.image-accordion {
    display: flex;
    gap: 8px;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
}
.accordion-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex var(--duration) var(--ease);
    border-radius: var(--radius-xs);
}
.accordion-panel.is-active { flex: 4; }

.accordion-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.accordion-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}
.accordion-panel.is-active .accordion-caption { opacity: 1; }
.accordion-caption h3 {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.accordion-caption p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ── 25. Scrolling Story (Apple-style full-bleed pinned scroll) ───── */
.scrolling-story {
    position: relative;
}
.story-scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.story-scene-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.story-scene-bg img,
.story-scene-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-scene-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    max-width: 680px;
}
.story-scene-content h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.08;
}
.story-scene-content p {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
    line-height: 1.381;
}

/* ── 26. Parallax Section ─────────────────────────────────────────── */
.section-type-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.parallax-content {
    text-align: center;
    padding: 80px 0;
}
.parallax-content h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.parallax-content p {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 20px;
}

/* ── 27. Slider Section (Pro slider, full-width) ──────────────────── */
.pro-slider {
    position: relative;
    overflow: hidden;
}
.pro-slide {
    position: relative;
    min-height: 600px;
}
.pro-slide-bg {
    position: absolute;
    inset: 0;
}
.pro-slide-bg img,
.pro-slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pro-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
}
.pro-slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
    padding: 60px 40px;
    max-width: 600px;
}
.pro-slide-content h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.pro-slide-content p {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

/* ── 28. Pricing Section ──────────────────────────────────────────── */
.section-type-pricing .plan-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.section.section-type-slider.section-full-width { padding-top: 0; padding-bottom: 0; margin-top: 0; }
.section.section-last.section-type-slider.section-full-width { padding-bottom: 0; margin-bottom: 0; }
.section.section-last.section-type-cta { padding-bottom: 80px; margin-bottom: 0; }


/* ── 29. Contact Cards ────────────────────────────────────────────── */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* ── 30. Footer (Apple-style minimal) ─────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(140px, 1fr));
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.footer-section-group + .footer-section-group {
    margin-top: 40px;
}

.footer .brand {
    margin-bottom: 12px;
}
.footer .brand img {
    height: 24px;
}

.footer-copy {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.42859;
    margin-bottom: 8px;
}
.footer .small-muted {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.footer h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.005em;
}

.footer h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
    text-decoration: none;
}
.footer a:hover {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    padding: 10px 0;
}

/* ── 31. Forms (Apple-style clean inputs) ─────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select,
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 17px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    outline: none;
    transition: border-color var(--duration-fast);
    appearance: none;
    -webkit-appearance: none;
}
input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}

textarea { resize: vertical; min-height: 120px; }

/* ── 32. Login / Auth (Apple-style) ───────────────────────────────── */
.login-box,
.auth-box {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.login-box h2,
.auth-box h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

/* Registration / Plans */
.plan-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.plan-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}
.plan-card.is-popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    position: relative;
}
.plan-card.is-popular::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.plan-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}
.plan-price {
    font-size: 40px;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--text);
    margin-bottom: 4px;
}
.plan-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.plan-features {
    text-align: left;
    margin-bottom: 24px;
}
.plan-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Plan meta (Billing / Screens pill-boxes inside plan card) */
.plan-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.plan-meta > div {
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.plan-meta span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.plan-meta strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* OTP Card */
.otp-card {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0;
}
.otp-inputs input {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
}

/* Coupon */
.coupon-box {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}
.coupon-box input {
    flex: 1;
}

/* ── 33. Admin Panel Styles ───────────────────────────────────────── */
/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--bg);
    border-right: 1px solid var(--border-light);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 100;
    padding: 20px 0;
}

.admin-main {
    margin-left: 260px;
    padding: 24px;
    min-height: 100vh;
    background: var(--bg-secondary);
}

/* Admin tables */
.table-wrap {
    background: var(--bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
}
table {
    width: 100%;
    border-collapse: collapse;
}
th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-secondary);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}
td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}

/* Status pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-pill);
}
.status-pill.success { background: #e8f5e9; color: #2e7d32; }
.status-pill.warning { background: #fff3e0; color: #e65100; }
.status-pill.danger { background: #ffebee; color: #c62828; }
.status-pill.info { background: #e3f2fd; color: #1565c0; }

/* Admin tabs */
.admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}
.admin-tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.admin-tab.is-active {
    color: var(--text);
    border-bottom-color: var(--primary);
}

/* ── 34. Builder UI ───────────────────────────────────────────────── */
.builder-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.builder-block {
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.builder-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary);
    cursor: grab;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration), visibility var(--duration);
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 560px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.modal-box h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

/* ── 35. Blog (Apple-style editorial) ─────────────────────────────── */
.pb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pb-blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--duration) var(--ease);
}
.pb-blog-card:hover { transform: translateY(-4px); }

.pb-blog-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.pb-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.pb-blog-card:hover .pb-blog-thumb img {
    transform: scale(1.05);
}

.pb-blog-body {
    padding: 20px;
}
.pb-blog-body h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--text);
}
.pb-blog-body h3 a {
    color: inherit;
    text-decoration: none;
}
.pb-blog-body h3 a:hover { color: var(--primary); }

.pb-blog-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.pb-blog-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.42859;
    margin-bottom: 12px;
}

/* Blog list layout */
.pb-blog-list .pb-blog-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}
.pb-blog-list .pb-blog-thumb { aspect-ratio: auto; }

/* Blog masonry */
.pb-blog-masonry {
    columns: 3;
    column-gap: 24px;
}
.pb-blog-masonry .pb-blog-card {
    break-inside: avoid;
    margin-bottom: 24px;
}

/* Blog sidebar */
.pb-blog-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}
.pb-blog-sidebar {
    padding: 0;
}
.pb-blog-sidebar-widget {
    margin-bottom: 32px;
}
.pb-blog-sidebar-widget h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Blog pagination */
.pb-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 40px 0;
}
.pb-blog-pagination a,
.pb-blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--duration-fast);
}
.pb-blog-pagination a:hover { background: var(--bg-secondary); text-decoration: none; }
.pb-blog-pagination .current {
    background: var(--primary);
    color: #fff;
}

/* Single post */
.pb-blog-single {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Single post — new template classes */
.pb-blog-single-hero {
    padding: 56px 0;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
}

.pb-blog-single-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.pb-blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 22px;
}

.pb-blog-breadcrumb a {
    color: #4b5563;
    text-decoration: none;
}

.pb-blog-breadcrumb a:hover {
    color: #1f2937;
}

.pb-blog-breadcrumb .is-current {
    color: var(--primary);
    font-weight: 600;
}

.pb-blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.pb-blog-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .02em;
    font-weight: 700;
    color: var(--primary);
    background: rgba(6,58,109,0.08);
    border: 1px solid rgba(6,58,109,0.2);
}

.pb-blog-dot,
.pb-blog-read-time,
.pb-blog-published {
    font-size: 14px;
    color: #6b7280;
}

.pb-blog-read-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pb-blog-read-time-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pb-blog-read-time-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.pb-blog-single-hero h1 {
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    max-width: 100%;
    letter-spacing: -0.03em;
}

.pb-blog-summary {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.5;
    color: #6b7280;
}

.pb-blog-author-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.pb-blog-author-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pb-blog-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    background: linear-gradient(145deg, #0f172a, #334155);
}

.pb-blog-author-name {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    color: #111827;
    font-weight: 700;
}

.pb-blog-author-role {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.pb-blog-author-bio {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
    max-width: 420px;
}

.pb-blog-share-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.pb-blog-share-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
}

.pb-blog-share-btn:hover {
    color: #111827;
    border-color: #9ca3af;
    text-decoration: none;
}

.pb-blog-share-sep {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
    margin: 0 4px;
}

.pb-blog-copy-link {
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pb-blog-copy-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pb-blog-copy-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.pb-blog-copy-link:hover {
    color: #111827;
}

.pb-blog-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}
.pb-blog-author { font-weight: 500; color: var(--text); }

.pb-blog-single-section { padding-top: 40px; }

.pb-blog-single-section .pb-blog-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}

.pb-blog-single-section .pb-blog-with-sidebar.is-no-toc {
    grid-template-columns: minmax(0, 1fr);
}

.pb-blog-single-section .pb-blog-with-sidebar.is-no-toc .pb-blog-main {
    max-width: 820px;
    margin: 0 auto;
}

.pb-blog-single-section .pb-blog-main {
    max-width: none;
    margin: 0;
    min-width: 0;
}

.pb-blog-toc-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
}

.pb-blog-mobile-toc-wrap {
    display: none;
    margin-bottom: 18px;
}

.pb-blog-mobile-toc {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(6, 58, 109, 0.08);
}

.pb-blog-mobile-toc-btn {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.pb-blog-mobile-toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
}

.pb-blog-mobile-toc-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-blog-mobile-toc-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(6, 58, 109, 0.08);
    border: 1px solid rgba(6, 58, 109, 0.18);
}

.pb-blog-mobile-toc-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.pb-blog-mobile-toc-title {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
}

.pb-blog-mobile-toc-sub {
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-secondary);
}

.pb-blog-mobile-toc-chevron {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: #f7f9fc;
    border: 1px solid var(--border-light);
    transition: transform .2s ease;
}

.pb-blog-mobile-toc-chevron svg {
    width: 15px;
    height: 15px;
    display: block;
}

.pb-blog-mobile-toc-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .25s ease, opacity .25s ease;
    border-top: 1px solid var(--border-light);
}

.pb-blog-mobile-toc[data-open="true"] .pb-blog-mobile-toc-panel {
    max-height: 60vh;
    opacity: 1;
}

.pb-blog-mobile-toc[data-open="true"] .pb-blog-mobile-toc-chevron {
    transform: rotate(180deg);
}

.pb-blog-toc-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(6, 58, 109, 0.08);
    overflow: hidden;
}

.pb-blog-toc-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 14px;
    border-bottom: 1px solid var(--border-light);
}

.pb-blog-toc-card-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}

.pb-blog-toc-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(6, 58, 109, 0.08);
    border: 1px solid rgba(6, 58, 109, 0.18);
    flex-shrink: 0;
}

.pb-blog-toc-card-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.pb-blog-toc-nav {
    max-height: min(62vh, 560px);
    overflow: auto;
    padding: 10px;
}

.pb-blog-toc-nav-mobile {
    max-height: 55vh;
}

.pb-blog-toc-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 5px;
}

.pb-blog-toc-item a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 12px;
    color: var(--text-secondary);
    transition: background .2s ease, color .2s ease;
}

.pb-blog-toc-item a:hover {
    background: rgba(6, 58, 109, 0.06);
    color: var(--primary);
}

.pb-blog-toc-index {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    color: #7f8da2;
    background: #f8fafc;
    border: 1px solid var(--border-light);
}

.pb-blog-toc-text {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-blog-toc-item.is-active a {
    background: rgba(6, 58, 109, 0.10);
    color: var(--primary);
}

.pb-blog-toc-item.is-active .pb-blog-toc-index {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pb-blog-toc-item.lvl-3 a { padding-left: 18px; }
.pb-blog-toc-item.lvl-4 a { padding-left: 26px; }

.pb-blog-toc-stats {
    border-top: 1px solid var(--border-light);
    padding: 14px 16px;
    display: grid;
    gap: 12px;
    background: #fcfdff;
}

.pb-blog-toc-stat-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
}

.pb-blog-toc-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pb-blog-toc-stat-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.pb-blog-toc-stat-icon.is-time {
    color: var(--primary);
    background: rgba(6, 58, 109, 0.10);
}

.pb-blog-toc-stat-icon.is-updated {
    color: #16945c;
    background: #eaf9f1;
}

.pb-blog-toc-stat-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.pb-blog-toc-stat-value {
    font-size: 14px;
    line-height: 1.18;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.pb-blog-single-featured {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 0 auto 36px;
    max-width: 820px;
}
.pb-blog-single-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.pb-blog-takeaways {
    margin: 0 0 34px;
    border-radius: 18px;
    border: 1px solid rgba(27, 74, 189, 0.16);
    background: #f8f9fd;
    padding: 16px 18px 14px;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
}

.pb-blog-takeaways-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.pb-blog-single-hero .pb-blog-admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.pb-blog-single-hero .pb-blog-edit-post-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(6, 58, 109, 0.22);
    background: rgba(6, 58, 109, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-decoration: none;
}

.pb-blog-single-hero .pb-blog-edit-post-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pb-blog-single-hero .pb-blog-edit-post-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.pb-blog-single-hero .pb-blog-edit-post-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    text-decoration: none;
}

.pb-blog-single-hero .pb-blog-edit-post-btn:hover .pb-blog-edit-post-icon {
    color: #fff;
}

.pb-blog-takeaways-bar {
    width: 4px;
    height: 28px;
    border-radius: 999px;
    background: #1b4abd;
    flex-shrink: 0;
    margin-top: 0;
}

.pb-blog-single-content .pb-blog-takeaways h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #273248;
    white-space: nowrap;
}

.pb-blog-takeaways ul {
    margin: 0;
    padding-left: 26px;
    list-style: disc;
    list-style-position: outside;
    display: block;
}

.pb-blog-takeaways li {
    display: list-item;
    list-style-type: disc;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    color: #374151;
}

.pb-blog-takeaways li + li {
    margin-top: 8px;
}

.pb-blog-takeaways-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pb-blog-takeaways-chips span {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f1f3f7;
    padding: 6px 12px;
    font-size: 12px;
    color: #374151;
}

.pb-blog-inline-cta {
    margin: 22px 0 30px;
}

.pb-blog-inline-cta-inner {
    border-radius: 18px;
    border: 1px solid var(--border-light);
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-secondary) 100%);
    padding: 22px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.pb-blog-inline-cta-copy h3 {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--text);
}

.pb-blog-inline-cta-copy p {
    margin: 10px auto 0;
    max-width: 860px;
    font-size: 15px;
    line-height: 1.52;
    color: var(--text-secondary);
}

.pb-blog-single-content .pb-blog-inline-cta-btn {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 46px;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: 0 6px 14px rgba(6, 58, 109, 0.22);
}

.pb-blog-single-content .pb-blog-inline-cta-btn:hover {
    text-decoration: none;
    color: #fff;
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.pb-blog-single-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
}
.pb-blog-single-content p { margin-bottom: 20px; }
.pb-blog-single-content h2 { font-size: 28px; font-weight: 600; margin: 40px 0 16px; }
.pb-blog-single-content h3 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.pb-blog-single-content h4 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; }
.pb-blog-single-content img { border-radius: var(--radius-xs); margin: 24px 0; max-width: 100%; }
.pb-blog-single-content ul,
.pb-blog-single-content ol { padding-left: 24px; margin-bottom: 20px; }
.pb-blog-single-content ul { list-style: disc outside; }
.pb-blog-single-content ol { list-style: decimal outside; }
.pb-blog-single-content li { margin-bottom: 8px; }
.pb-blog-single-content ul li,
.pb-blog-single-content ol li { display: list-item; }
.pb-blog-single-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    color: var(--text-secondary);
    font-style: italic;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.pb-blog-single-content a { color: var(--primary); text-decoration: underline; }
.pb-blog-single-content a:hover { color: var(--primary-hover); }

.pb-blog-single-content table {
    width: 100%;
    margin: 26px 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d9e4f1;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(16, 46, 79, 0.08);
}

.pb-blog-single-content table thead th {
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #133c67;
    background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
    border-bottom: 1px solid #d9e4f1;
}

.pb-blog-single-content table td {
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.65;
    color: #1f2937;
    vertical-align: top;
    border-top: 1px solid #e5edf7;
}

.pb-blog-single-content table th + th,
.pb-blog-single-content table td + td {
    border-left: 1px solid #e5edf7;
}

.pb-blog-single-content table tbody tr:nth-child(even) {
    background: #f9fcff;
}

.pb-blog-single-content table tbody tr:hover {
    background: #f2f7ff;
}

.pb-blog-single-content table[border],
.pb-blog-single-content table[border] th,
.pb-blog-single-content table[border] td {
    border-style: solid;
}

.pb-blog-single-content table[border] {
    border-width: 1px;
    border-color: #d9e4f1;
}

.pb-blog-single-content table[border] th,
.pb-blog-single-content table[border] td {
    border-color: #e5edf7;
}

.pb-blog-single-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 28px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 36px;
    font-size: 13px;
}
.pb-blog-single-tags strong { color: var(--text-secondary); margin-right: 4px; }

.pb-blog-single-nav {
    padding-bottom: 40px;
}

.pb-blog-bottom-meta {
    margin-top: 46px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.pb-blog-bottom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.pb-blog-bottom-tags .pb-blog-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: #eef4ff;
    border: 1px solid #dbe7ff;
    text-decoration: none;
}

.pb-blog-bottom-tags a.pb-blog-tag:hover {
    background: #e5efff;
}

.pb-blog-author-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border-light);
    background: rgba(245, 247, 250, 0.75);
    border-radius: 18px;
}

.pb-blog-author-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, #0f172a, #334155);
}

.pb-blog-author-card-copy {
    min-width: 0;
}

.pb-blog-author-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.pb-blog-author-card-name {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.pb-blog-author-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #d8405a;
    background: rgba(216, 64, 90, 0.1);
    border: 1px solid rgba(216, 64, 90, 0.2);
}

.pb-blog-author-card-bio {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}

.pb-blog-author-card-date {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.pb-blog-related-section {
    padding: 8px 0 18px;
}

.pb-blog-related-title {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.pb-blog-related-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pb-blog-related-card {
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.pb-blog-related-card .pb-blog-card-img {
    aspect-ratio: 40 / 21;
    background: transparent;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

.pb-blog-related-card .pb-blog-card-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    border: 0;
}

.pb-blog-related-card .pb-blog-card-body {
    background: #fff;
}

.pb-blog-related-card .pb-blog-card-title {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 0;
}

.pb-blog-related-card .pb-blog-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pb-blog-related-card .pb-blog-card-meta {
    margin-bottom: 10px;
    font-size: 12px;
    color: #6b7280;
}

/* Sidebar */
.pb-blog-sidebar { display: flex; flex-direction: column; gap: 32px; }
.pb-blog-sidebar-widget h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.pb-blog-sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pb-blog-sidebar-widget ul li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-xs);
    transition: background var(--duration-fast) var(--ease);
}
.pb-blog-sidebar-widget ul li a:hover { background: var(--bg-secondary); color: var(--text); }
.pb-blog-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-blog-single h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 12px;
}
.pb-blog-single .pb-blog-meta {
    margin-bottom: 24px;
}
.pb-blog-single .pb-blog-featured-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
}
.pb-blog-single .pb-blog-content {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text);
}
.pb-blog-single .pb-blog-content p { margin-bottom: 20px; }
.pb-blog-single .pb-blog-content h2 { font-size: 28px; margin: 40px 0 16px; }
.pb-blog-single .pb-blog-content h3 { font-size: 22px; margin: 32px 0 12px; }
.pb-blog-single .pb-blog-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.pb-blog-single .pb-blog-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* Blog tags */
.pb-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0;
}
.pb-blog-tag {
    display: inline-flex;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    text-decoration: none;
}
.pb-blog-tag:hover {
    background: var(--border-light);
    text-decoration: none;
}

/* Blog categories sidebar widget */
.pb-blog-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
}
.pb-blog-cat-list a:hover { color: var(--text); }

/* ── 36. Video wrap ───────────────────────────────────────────────── */
.video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
}
.video-wrap iframe,
.video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.single-image-wrap {
    border-radius: var(--radius);
    overflow: hidden;
}

.single-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── 37. Lightbox ─────────────────────────────────────────────────── */
.ge-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration), visibility var(--duration);
}
.ge-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}
.ge-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}
.ge-lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
}
.ge-lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
}

.mbv-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(3, 7, 18, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 40px);
}

.mbv-overlay.is-open {
    display: flex;
}

.mbv-dialog {
    width: min(1080px, 100%);
}

.mbv-body .video-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.mbv-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.mbv-close:hover {
    background: rgba(255, 255, 255, 0.24);
}

/* ── 38. Utilities ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── 39. Dark Section Themes ──────────────────────────────────────── */
.section[style*="background:#000"],
.section[style*="background: #000"],
.section[style*="background:#1d1d1f"],
.section[style*="background: #1d1d1f"],
.section.theme-dark {
    color: var(--text-on-dark);
}
.section[style*="background:#000"] h2,
.section[style*="background:#000"] h3,
.section[style*="background:#000"] .stat strong,
.section.theme-dark h2,
.section.theme-dark h3,
.section.theme-dark .stat strong {
    color: var(--text-on-dark);
}
.section[style*="background:#000"] p,
.section[style*="background:#000"] .stat span,
.section.theme-dark p,
.section.theme-dark .stat span {
    color: var(--text-muted);
}
.section[style*="background:#000"] .card,
.section.theme-dark .card {
    background: var(--card-bg-dark);
}
/* Carousel cards in dark sections */
.section[style*="background:#000"] .cards-carousel .card,
.section.theme-dark .cards-carousel .card {
    background: rgba(255, 255, 255, 0.06);
}
.section[style*="background:#000"] .cards-carousel .card h3,
.section.theme-dark .cards-carousel .card h3 {
    color: #fff;
}
.section[style*="background:#000"] .cards-carousel .card p,
.section.theme-dark .cards-carousel .card p {
    color: rgba(255, 255, 255, 0.62);
}
.section[style*="background:#000"] .cc-btn,
.section.theme-dark .cc-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.section[style*="background:#000"] .cards-carousel .card-item,
.section.theme-dark .cards-carousel .card-item {
    background: rgba(255, 255, 255, 0.05);
}

/* ── 40. Responsive ───────────────────────────────────────────────── */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
    }
    .section-head h2 { font-size: 40px; }
    .hero h1 { font-size: 48px; }
    .stat strong { font-size: 48px; }
}

@media (max-width: 992px) {
    .container { width: 90%; }

    .hero.align-left .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero.align-left .hero-actions { justify-content: center; }
    .hero.align-left h1, .hero.align-left p { margin-left: auto; margin-right: auto; }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    .media-block {
        grid-template-columns: 1fr;
        gap: clamp(32px, 6vw, 48px);
    }
    .media-block.reverse { direction: ltr; }
    .media-text,
    .media-block.reverse .media-text {
        width: min(100%, 680px);
        justify-self: center;
    }
    .media-image { width: min(100%, 760px); justify-self: center; }

    .footer-grid {
        grid-template-columns: 2fr repeat(4, minmax(120px, 1fr));
        gap: 20px;
    }

    .pb-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .pb-blog-list .pb-blog-card { grid-template-columns: 1fr; }
    .pb-blog-masonry { columns: 2; }
    .pb-news-grid { grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); }
    .pb-blog-with-sidebar { grid-template-columns: 1fr; }

    .pb-blog-single-section .pb-blog-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .pb-blog-toc-sidebar {
        display: none;
    }

    .pb-blog-mobile-toc-wrap {
        display: block;
    }

    .pb-blog-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .image-accordion { height: 400px; }
}

@media (max-width: 1023px) {
    /* Mobile/tablet menu */
    .header-wa-btn { display: inline-flex; }
    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(100vw, 420px);
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        max-height: 100dvh;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        z-index: 10003;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        overflow: visible;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        visibility: hidden;
        pointer-events: none;
    }
    .nav-menu.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    body.menu-is-open .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10004;
    }

    body.menu-is-open .nav-menu {
        z-index: 10005;
    }

    .mobile-drawer-header {
        display: flex;
        position: relative;
        flex: 0 0 64px;
        z-index: 10;
        min-height: 64px;
        padding: 10px 18px;
        background: #fff;
        border-bottom: 1px solid var(--border-light);
    }
    .mobile-drawer-header .brand { display: flex; }
    .mobile-drawer-header .brand img { width: auto; max-width: 150px; height: 30px; }
    .nav-links {
        position: relative;
        z-index: 1;
        isolation: isolate;
        contain: paint;
        flex: 1 1 auto;
        min-height: 0;
        flex-direction: column;
        gap: 0;
        padding: 0 14px 18px;
        margin-left: 0;
        align-items: initial;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links > a,
    .nav-links > .has-menu > button.submenu-toggle {
        height: auto;
        padding: 15px 14px;
        font-size: 14px;
        font-weight: 600;
        border-bottom: 1px solid var(--border-light);
        opacity: 1;
        width: 100%;
        background: transparent;
        color: var(--text);
    }
    .nav-links > a:hover,
    .nav-links > .has-menu > button.submenu-toggle:hover,
    .nav-links > a:active,
    .nav-links > .has-menu > button.submenu-toggle:active {
        background: var(--bg-secondary);
        opacity: 1;
        color: var(--text);
    }
    .nav-links > a {
        justify-content: flex-start;
        gap: 12px;
    }
    .nav-links > .has-menu > button.submenu-toggle {
        justify-content: flex-start;
        gap: 12px;
    }
    .nav-links > .has-menu.is-open { display: contents; }
    .nav-links > .has-menu.is-open > button.submenu-toggle {
        position: sticky !important;
        top: 0 !important;
        z-index: 4 !important;
        color: var(--primary);
        background: #eef3ff;
        border-bottom-color: transparent;
        box-shadow: 0 1px 0 var(--border-light);
    }
    .nav-links > .has-menu.is-open > button.submenu-toggle > svg:last-child { transform: rotate(180deg); }
    .nav-links > .has-menu > button.submenu-toggle > svg:last-child { transition: transform .2s var(--ease); }
    .nav-links > .has-menu > button.submenu-toggle > span {
        flex: 1;
        text-align: left;
    }
    body.menu-is-open #simi-chatbot { display: none !important; }

    /* Mobile mega menu becomes accordion */
    .has-mega .mega-menu {
        position: static;
        z-index: 1 !important;
        opacity: 1;
        visibility: visible;
        border-bottom: none;
        padding: 0;
        display: none;
    }
    /* Mobile visibility is click-state only. These explicit values prevent
       Safari's retained :hover state from fading the open menu to opacity: 0. */
    body.menu-is-open .nav-menu .has-mega:not(.is-open) > .mega-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: none !important;
    }
    body.menu-is-open .nav-menu .has-mega.is-open > .mega-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: none !important;
    }
    body.menu-is-open .nav-menu .has-mega.is-open > .mega-menu .mega-menu-inner,
    body.menu-is-open .nav-menu .has-mega.is-open > .mega-menu .mega-left,
    body.menu-is-open .nav-menu .has-mega.is-open > .mega-menu .mega-grid,
    body.menu-is-open .nav-menu .has-mega.is-open > .mega-menu .mega-section,
    body.menu-is-open .nav-menu .has-mega.is-open > .mega-menu .mega-section-links {
        opacity: 1 !important;
        visibility: visible !important;
    }
    body.menu-is-open .nav-menu .has-mega.is-open > .mega-menu .mega-menu-inner {
        position: static !important;
        top: auto !important;
        transform: none !important;
        translate: none !important;
    }
    body.menu-is-open .nav-menu .mega-menu,
    body.menu-is-open .nav-menu .mega-menu * {
        animation: none !important;
        transition: none !important;
    }

    /* Mobile simple dropdown becomes accordion */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-secondary);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        display: none;
        min-width: 0;
        width: 100%;
        transition: none;
    }
    .has-menu:not(.has-mega).is-open .dropdown-menu { display: block; transform: unset;}
    /* mega-submenu on mobile: show inline below item */
    .mega-submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-left: 0;
        background: var(--bg);
        padding: 0;
    }
    .mega-item-wrap.is-open .mega-submenu { display: block !important; }
    .mega-submenu a { padding: 12px 20px 12px 52px; font-size: 14px; border-radius: 0; }
    .dropdown-menu a {
        padding: 12px 20px 12px 32px;
        font-size: 15px;
        border-radius: 0;
    }

    /* Mobile nav-actions: stack buttons at bottom of drawer */
    .nav-actions {
        position: relative;
        z-index: 10;
        flex: 0 0 auto;
        flex-direction: row;
        align-items: stretch;
        padding: 12px 14px calc(72px + env(safe-area-inset-bottom, 0px));
        margin-left: 0;
        gap: 8px;
        border-top: 1px solid var(--border-light);
        margin-top: 0;
        background: #fff;
        box-shadow: 0 -8px 24px rgba(15, 23, 42, .06);
    }
    .nav-actions .btn {
        flex: 1 1 0;
        font-size: 13px;
        padding: 10px 12px;
        min-height: 44px;
        text-align: center;
        justify-content: center;
    }

    .mega-menu-inner {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0 0 8px;
    }
    .mega-left { flex: auto; }
    .mega-right { display: none; }
    .mega-divider { display: none; }
    .mega-grid { grid-template-columns: 1fr; gap: 0; }
    .mega-section { padding: 12px 14px 4px; }
    .mega-section + .mega-section { padding-top: 14px; }
    .mega-section-title {
        margin: 0 0 5px;
        padding: 0 2px;
        font-size: 10px;
        letter-spacing: .055em;
    }
    .mega-section-links { gap: 0; }

    /* Unify all mega items with top-level link style */
    .mega-item {
        padding: 9px 2px;
        font-size: 13px;
        border-radius: 6px;
        align-items: center;
        gap: 0;
    }
    .mega-item [data-lucide]:not(.submenu-indicator),
    .mega-item > svg:not(.submenu-indicator) {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        margin-right: 10px;
    }
    .mega-item .submenu-indicator {
        display: block;
        margin-left: auto;
        width: 16px;
        height: 16px;
    }
    .mega-item-text strong {
        font-size: 13px;
        font-weight: 500;
    }
    .mega-item-text span { display: none; }
    .mega-menu-inner {
        padding: 0 0 8px;
    }
    .mega-view-all { margin-top: 8px; padding: 11px 2px 5px; font-size: 12px; }

}

@media (max-width: 760px) {
    :root {
        --section-padding: 60px;
        --header-height: 48px;
    }

    /* Tabs nav: horizontal scroll on mobile */
    .tabs-nav {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0;
    }
    .tabs-nav::-webkit-scrollbar { display: none; }
    .tabs-nav button,
    .tabs-nav .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Hero mobile */
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 17px; }
    .hero-pro { padding: 60px 0 30px; }
    .kicker { font-size: 17px; }

    .section-head h2 { font-size: 32px; }
    .section-head p { font-size: 17px; }

    .section-type-stats.section-first {
        padding-top: 24px;
    }

    .section-type-stats {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .section-type-stats .section-head {
        margin-bottom: 20px;
    }

    .section-type-stats .grid-4 {
        gap: 8px;
    }

    .section-type-stats .stat {
        padding: 12px 8px;
    }

    .section-type-stats .stat strong {
        margin-bottom: 2px;
    }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .stat strong { font-size: 40px; }

    .media-text h2 { font-size: 32px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .pb-blog-grid { grid-template-columns: 1fr; }
    .pb-blog-masonry { columns: 1; }
    .pb-news-grid { grid-template-columns: 1fr; }

    .timeline-v2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 0 0 62px;
        overflow: visible;
        scroll-snap-type: none;
    }
    .timeline-line {
        top: 22px;
        bottom: 22px;
        left: 21px;
        right: auto;
        width: 1px;
        height: auto;
    }
    .timeline-step {
        width: 100%;
        text-align: left;
        padding: 0;
        min-width: 0;
    }
    .timeline-node {
        position: absolute;
        top: 0;
        left: -62px;
        margin: 0;
        box-shadow: 0 0 0 6px var(--bg);
    }
    .timeline-content { height: auto; padding: 22px 20px; border-radius: 20px; }
    .timeline-title { font-size: 20px; }
    .timeline-text { font-size: 15px; }

    .timeline-strip {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .timeline-strip-item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 16px;
        padding: 22px 20px;
        border-radius: 20px;
    }

    .timeline-strip-number {
        font-size: 46px;
        line-height: .9;
    }

    .timeline-strip-title {
        font-size: 20px;
    }

    .timeline-strip-text {
        margin-top: 8px;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.5;
    }

    .image-accordion {
        flex-direction: column;
        height: auto;
    }
    .accordion-panel { min-height: 200px; }

    .hero-actions { flex-direction: column; gap: 12px; }

    .pro-slide { min-height: 400px; }
    .pro-slide-content { min-height: 400px; padding: 40px 20px; }
    .pro-slide-content h2 { font-size: 32px; }

    .parallax-content h2 { font-size: 32px; }
    .story-scene-content h2 { font-size: 32px; }
}

@media (max-width: 520px) {
    :root {
        --section-padding: 48px;
    }
    .container { width: 92%; }
    .hero h1 { font-size: 28px; }
    .section-head h2 { font-size: 28px; }
    .stat strong { font-size: 32px; }
    .card { padding: 28px 20px; }

    .section-type-stats.section-first,
    .section-type-stats {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .section-type-stats .section-head {
        margin-bottom: 14px;
    }

    .section-type-stats .grid-4 {
        gap: 6px;
    }

    .section-type-stats .stat {
        padding: 8px 6px;
    }

    .section-type-stats.stats-view-apple {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .section-type-stats.stats-view-apple .section-head {
        margin-bottom: 28px;
    }
    .section-type-stats.stats-view-apple .stats-apple .stat {
        padding: 26px 4px;
    }

    .card-gallery-item { flex: 0 0 260px; }
}

/* ── 41. Print ────────────────────────────────────────────────────── */
@media print {
    .site-header, .footer, .hero-actions { display: none; }
    .section { padding: 20px 0; }
    body { color: #000; background: #fff; }
}

/* ── 42. Reduced Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ── 43. Surface / Glass (backward compat, simplified) ────────────── */
.surface {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
}

/* ── 44. Step Badge (for timeline/tour) ───────────────────────────── */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
/* ── F1. FAQ — HTML button has no class, target .faq-item button ─── */
.faq-item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    line-height: 1.4;
    gap: 16px;
}
.faq-item button span:last-child {
    font-size: 22px;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--duration) var(--ease);
    line-height: 1;
}
.faq-item.is-open button span:last-child {
    transform: rotate(45deg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.3s var(--ease);
}
.faq-item.is-open .faq-body {
    max-height: 600px;
    padding-bottom: 20px;
}

/* ── F2. Tabs — HTML uses plain button, .tab-content-panel ────────── */
.tabs-section {
    width: 100%;
}
.tabs-nav button {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--duration-fast), border-color var(--duration-fast);
    font-family: var(--font-body);
}
.tabs-nav button.is-active,
.tabs-nav button:hover {
    color: var(--text);
    border-bottom-color: var(--text);
}
.tab-content-panel {
    display: none;
}
.tab-content-panel.is-active {
    display: block;
}
.tab-content-inner {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
}
.tab-content-inner.has-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.tab-content-inner.layout-image-left.has-media {
    direction: rtl;
}
.tab-content-inner.layout-image-left.has-media > * {
    direction: ltr;
}
.tab-text-content p {
    margin-bottom: 16px;
}
.tab-actions {
    margin-top: 20px;
}
.tab-media-content {
    border-radius: var(--radius);
    overflow: hidden;
}
.tab-media-content img {
    width: 100%;
    height: auto;
    display: block;
}
.tabs-content {
    padding-top: 8px;
}

/* ── Apple-style Tabbed Showcase ─────────────────────────────────── */
.tabs-view-showcase .section-head,
.section-type-tabbed-showcase .section-head {
    justify-content: center;
    text-align: center;
}
.tabs-view-showcase .section-head > div,
.section-type-tabbed-showcase .section-head > div {
    margin-inline: auto;
}
.tabbed-showcase {
    width: 100%;
    color: var(--text);
}
.tabbed-showcase-stage {
    position: relative;
    width: min(100%, 980px);
    margin-inline: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: clamp(20px, 2.4vw, 34px);
    background: var(--bg-secondary);
}
.tabbed-showcase--screen .tabbed-showcase-stage {
    aspect-ratio: 4 / 3;
}
.tabbed-showcase--square .tabbed-showcase-stage {
    width: min(100%, 760px);
    aspect-ratio: 1;
}
.tabbed-showcase-media {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 360ms var(--ease), visibility 0s linear 360ms;
}
.tabbed-showcase-media.is-active {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}
.tabbed-showcase-media img,
.tabbed-showcase-media video,
.tabbed-showcase-media iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center;
}
/* Apple Showcase supplies its own accessible play/pause button. Prevent
   WebKit/Safari from drawing a second native play glyph over the video. */
.tabbed-showcase-media video::-webkit-media-controls,
.tabbed-showcase-media video::-webkit-media-controls-enclosure,
.tabbed-showcase-media video::-webkit-media-controls-panel,
.tabbed-showcase-media video::-webkit-media-controls-overlay-play-button,
.tabbed-showcase-media video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}
.tabbed-showcase--fit-contain .tabbed-showcase-media img,
.tabbed-showcase--fit-contain .tabbed-showcase-media video {
    object-fit: contain;
}
.tabbed-showcase-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
}
.tabbed-showcase-placeholder svg {
    width: 54px;
    height: 54px;
    stroke-width: 1.3;
}
.tabbed-showcase-nav-shell {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: min(100%, 760px);
    margin: clamp(34px, 4.5vw, 60px) auto 0;
}
.tabbed-showcase-nav {
    display: flex;
    justify-content: flex-start;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    border-bottom: 1px solid var(--border-light);
}
.tabbed-showcase-nav::-webkit-scrollbar {
    display: none;
}
.tabbed-showcase-tab {
    flex: 0 0 auto;
    scroll-snap-align: center;
    appearance: none;
    border: 0;
    border-bottom: 2px solid transparent;
    margin: 0;
    padding: 0 24px 14px;
    background: transparent;
    color: var(--text-secondary);
    font: 600 17px/1.2 var(--font-body);
    letter-spacing: -0.005em;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--duration-fast), border-color var(--duration-fast);
}
.tabbed-showcase-tab:first-child { margin-inline-start: auto; }
.tabbed-showcase-tab:last-child { margin-inline-end: auto; }
.tabbed-showcase-tab:hover,
.tabbed-showcase-tab:focus-visible,
.tabbed-showcase-tab.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tabbed-showcase-tab:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}
.tabbed-showcase-arrow {
    display: none;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
}
.tabbed-showcase-arrow svg {
    width: 19px;
    height: 19px;
}
.tabbed-showcase-arrow:disabled {
    opacity: 0.28;
    cursor: default;
}
.tabbed-showcase-copy {
    display: grid;
    width: min(100%, 760px);
    margin: clamp(28px, 3.5vw, 46px) auto 0;
}
.tabbed-showcase-copy-panel {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.47059;
    letter-spacing: 0;
    transition: opacity 240ms var(--ease), visibility 0s linear 240ms;
}
.tabbed-showcase-copy-panel.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}
.tabbed-showcase-copy-panel .pb-rich-text,
.tabbed-showcase-copy-panel .pb-rich-text > :last-child {
    margin-bottom: 0;
}
.tabbed-showcase-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.tabbed-showcase-actions .btn.btn-primary {
    min-height: 44px;
    padding: 8px 22px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff;
    font: 400 17px/1.17648 var(--font-body);
    text-decoration: none;
}
.tabbed-showcase-actions .btn.btn-primary:hover,
.tabbed-showcase-actions .btn.btn-primary:focus-visible {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .tabs-view-showcase .container,
    .section-type-tabbed-showcase .container {
        padding-inline: 20px;
    }
    .tabbed-showcase-stage,
    .tabbed-showcase--screen .tabbed-showcase-stage,
    .tabbed-showcase--square .tabbed-showcase-stage {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }
    .tabbed-showcase-nav-shell {
        margin-top: 26px;
    }
    .tabbed-showcase-nav {
        justify-content: flex-start;
        scroll-padding-inline: 18px;
    }
    .tabbed-showcase-arrow {
        display: inline-flex;
    }
    .tabbed-showcase-tab {
        padding: 0 18px 12px;
        font-size: 17px;
    }
    .tabbed-showcase-copy {
        margin-top: 22px;
    }
    .tabbed-showcase-copy-panel {
        padding-inline: 26px;
        text-align: left;
        font-size: 17px;
        line-height: 1.28;
    }
    .tabbed-showcase-actions {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tabbed-showcase-media,
    .tabbed-showcase-copy-panel {
        transition: none;
    }
}

/* ── F3. Testimonials — actual HTML class names ───────────────────── */
/* ── F3. Testimonials ─────────────────────────────────────────────── */
.testimonial-slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

/* Scrollable track */
.testimonial-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}
.testimonial-slider-track::-webkit-scrollbar {
    display: none;
}

.testimonial-slide {
    flex: 0 0 33.3333%;
    scroll-snap-align: start;
    padding: 0 12px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 680px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
}

/* Prev / Next nav */
.testimonial-slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.testimonial-slider-prev,
.testimonial-slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast) var(--ease),
                border-color var(--duration-fast) var(--ease);
}
.testimonial-slider-prev:hover,
.testimonial-slider-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.testimonial-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-card-heading {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: var(--font-display);
}
.testimonial-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 20px;
}
.testimonial-profile-div {
    margin-top: auto;
}
.testimonial-profile-div .hr {
    height: 1px;
    background: var(--border-light);
    margin-bottom: 16px;
}
.testimonial-profile-section {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.testimonial-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}
.testimonial-company {
    font-size: 13px;
    color: var(--text-muted);
}

/* Testimonials: showcase/media layout */
.testimonial-showcase {
    position: relative;
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 34px 40px;
}

.testimonial-showcase-track {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    min-height: 470px;
}

.testimonial-showcase-slide {
    position: relative;
    flex: 0 0 30%;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: transform .35s var(--ease), opacity .35s var(--ease), filter .35s var(--ease);
    pointer-events: none;
    filter: none;
    display: none;
    border-radius: 18px;
    overflow: hidden;
    order: 4;
}

.testimonial-showcase-slide.is-prev,
.testimonial-showcase-slide.is-next {
    display: block;
    opacity: .58;
    pointer-events: auto;
}

.testimonial-showcase-slide.is-prev { order: 1; }
.testimonial-showcase-slide.is-active { order: 2; }
.testimonial-showcase-slide.is-next { order: 3; }

.testimonial-showcase-slide.is-prev {
    transform: translateX(-18%) scale(0.9);
}

.testimonial-showcase-slide.is-next {
    transform: translateX(18%) scale(0.9);
}

.testimonial-showcase-slide.is-active {
    flex-basis: 52%;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    filter: none;
    z-index: 2;
    display: block;
}

.testimonial-showcase-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.28);
    border-radius: inherit;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}

.testimonial-showcase-slide.is-active::after {
    opacity: 0;
}

.testimonial-showcase-slide:not(.is-active) .testimonial-showcase-content {
    display: block;
    opacity: .24;
}

.testimonial-showcase-media {
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    background: #d8dde5;
    position: relative;
    aspect-ratio: 16/9;
}

.testimonial-showcase-media img,
.testimonial-showcase-media video,
.testimonial-showcase-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    border-radius: inherit;
}

.testimonial-showcase-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(233, 30, 99, .92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    pointer-events: none;
}

@media (max-width: 760px) {
    .pb-blog-single-hero {
        padding: 38px 0;
    }

    .pb-blog-single-hero h1 {
        font-size: clamp(28px, 9vw, 38px);
        line-height: 1.1;
    }

    .pb-blog-summary {
        margin-top: 16px;
        margin-bottom: 22px;
        font-size: 17px;
    }

    .pb-blog-author-name {
        font-size: 16px;
    }

    .pb-blog-author-role {
        font-size: 13px;
    }

    .pb-blog-share-links {
        width: 100%;
        justify-content: flex-start;
    }

    .pb-blog-author-share-row {
        flex-wrap: wrap;
    }

    .pb-blog-author-card {
        flex-direction: column;
    }

    .pb-blog-takeaways {
        border-radius: 14px;
        padding: 13px 12px 12px;
        margin-bottom: 24px;
    }

    .pb-blog-takeaways-head {
        margin-bottom: 8px;
        gap: 7px;
    }

    .pb-blog-takeaways-bar {
        width: 4px;
        height: 22px;
        margin-top: 0;
    }

    .pb-blog-single-content .pb-blog-takeaways h2 {
        font-size: 17px;
        line-height: 1.24;
        white-space: nowrap;
    }

    .pb-blog-takeaways ul {
        padding-left: 22px;
    }

    .pb-blog-takeaways li {
        font-size: 14px;
        line-height: 1.46;
    }

    .pb-blog-takeaways-chips {
        gap: 8px;
        margin-top: 12px;
    }

    .pb-blog-takeaways-chips span {
        padding: 6px 11px;
        font-size: 11px;
    }

    .pb-blog-inline-cta {
        margin: 18px 0 24px;
    }

    .pb-blog-inline-cta-inner {
        border-radius: 14px;
        padding: 16px 12px;
    }

    .pb-blog-inline-cta-copy h3 {
        font-size: 21px;
        line-height: 1.2;
    }

    .pb-blog-inline-cta-copy p {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.55;
    }

    .pb-blog-single-content .pb-blog-inline-cta-btn {
        margin-top: 14px;
        min-width: 176px;
        height: 44px;
        font-size: 15px;
        border-radius: var(--radius-pill);
    }

    .pb-blog-single-hero .pb-blog-admin-actions {
        margin-bottom: 10px;
    }

    .pb-blog-single-hero .pb-blog-edit-post-btn {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
        gap: 6px;
    }

    .pb-blog-single-hero .pb-blog-edit-post-icon,
    .pb-blog-single-hero .pb-blog-edit-post-icon svg {
        width: 13px;
        height: 13px;
    }

    .pb-blog-related-title {
        font-size: 24px;
    }

    .pb-blog-related-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-showcase-content {
    background: var(--bg-soft);
    border-radius: 0 0 18px 18px;
    padding: 18px 22px 22px;
    min-height: 210px;
    transition: opacity .3s var(--ease);
}

.testimonial-showcase-company-logo {
    max-height: 30px;
    width: auto;
    margin-bottom: 8px;
}

.testimonial-showcase-company {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.testimonial-showcase-quote {
    font-size: 18px;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 14px;
    font-weight: 500;
}

.testimonial-showcase-person {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.testimonial-showcase-person strong {
    font-size: 15px;
    color: var(--text);
}

.testimonial-showcase-person span {
    font-size: 15px;
    color: var(--text-secondary);
}

.testimonial-showcase-nav {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.92);
    color: #505862;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    z-index: 3;
}

.testimonial-showcase-prev { left: calc(50% - 314px); }
.testimonial-showcase-next { right: calc(50% - 314px); }

@media (min-width: 981px) {
    .testimonial-showcase-prev { left: calc(50% - 332px); }
    .testimonial-showcase-next { right: calc(50% - 332px); }
}

.testimonial-showcase-dots {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.testimonial-showcase-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    background: #cfd5de;
    padding: 0;
    cursor: pointer;
    opacity: .95;
}

.testimonial-showcase-dot.is-active {
    background: #f62a6d;
}

@media (max-width: 980px) {
    .testimonial-showcase {
        padding: 0 16px 30px;
    }

    .testimonial-showcase-slide,
    .testimonial-showcase-slide.is-prev,
    .testimonial-showcase-slide.is-next,
    .testimonial-showcase-slide.is-active {
        flex: 0 0 100%;
        opacity: 1;
        transform: none;
        display: none;
    }

    .testimonial-showcase-slide.is-active {
        display: block;
    }

    .testimonial-showcase-nav {
        top: 26%;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .testimonial-showcase-prev { left: 8px; }
    .testimonial-showcase-next { right: 8px; }
}
/* Testimonial grid (non-slider) */
.section-type-testimonials .grid-2 .testimonial-card,
.section-type-testimonials .grid-3 .testimonial-card,
.section-type-testimonials .grid-4 .testimonial-card {
    height: 100%;
}

/* ── F4. Pro Slider — actual HTML structure ───────────────────────── */
.pro-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}
.pro-slider[data-layout="full"] {
    border-radius: 0;
}
.pro-slider-track {
    position: relative;
}
.pro-slide {
    position: relative;
    min-height: 540px;
    display: none;
}
.pro-slide.is-active {
    display: block;
}
.pro-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.pro-slide-bg img,
.pro-slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pro-slide-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
}
.pro-slide-content-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 60px;
    width: 87.5%;
    max-width: var(--container-width);
    margin: 0 auto;
}
.pro-slide-content {
    max-width: 560px;
}
.pro-slide-title {
    font-size: 44px;
    font-weight: 600;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
}
.pro-slide-text {
    font-size: 19px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    margin-bottom: 24px;
}
.pro-slide-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}
.pro-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 5;
}
.pro-slider-prev,
.pro-slider-next {
    pointer-events: all;
    background: rgba(255,255,255,0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background var(--duration-fast);
}
.pro-slider-prev:hover,
.pro-slider-next:hover {
    background: rgba(255,255,255,0.35);
}
.pro-slider-prev [data-lucide],
.pro-slider-next [data-lucide] {
    width: 20px;
    height: 20px;
    color: #fff;
}
.pro-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
.pro-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background var(--duration-fast), transform var(--duration-fast);
}
.pro-slider-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

/* ── F5. Logo Marquee — actual HTML classes ───────────────────────── */
.logo-marquee {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}
.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}
.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}
.logo-track {
    display: flex;
    gap: 48px;
    align-items: center;
    width: max-content;
    animation: logoScroll 30s linear infinite;
    will-change: transform;
}

.logo-track[data-direction="right"] {
    animation-direction: reverse;
}
.logo-item {
    flex-shrink: 0;
}
.logo-item img {
    height: 56px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(1);
    transition: opacity var(--duration-fast), filter var(--duration-fast);
}
.logo-item img:hover {
    opacity: 1;
    filter: grayscale(0);
}
@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

/* ── F6. Industry Showcase ────────────────────────────────────────── */
.industry-showcase {
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}

.industry-showcase-eyebrow {
    margin: 0 0 10px;
    font-weight: 700;
    color: #e91e63;
}

.industry-showcase-media {
    margin: 26px auto 24px;
    max-width: 700px;
}

.industry-showcase-panel {
    display: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f4f8;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.industry-showcase-panel.is-active {
    display: block;
}

.industry-showcase-panel > img,
.industry-showcase-template,
.industry-showcase-panel .video-wrap,
.industry-showcase-panel .industry-showcase-media-empty {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.industry-showcase-panel > img,
.industry-showcase-template {
    border: 0;
}

.industry-showcase-template {
    z-index: 1;
    opacity: 1;
    transition: opacity 0.28s ease;
}

.industry-showcase-panel.is-player-loading .industry-showcase-template {
    opacity: 0;
}

.industry-showcase-player-skeleton {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: clamp(12px, 2vw, 22px);
    padding: clamp(22px, 5vw, 46px);
    overflow: hidden;
    color: #64748b;
    background:
        radial-gradient(circle at 82% 18%, rgba(169, 30, 94, 0.13), transparent 32%),
        linear-gradient(145deg, #f7f9fc 0%, #eef3f9 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.industry-showcase-panel.is-player-loading .industry-showcase-player-skeleton {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.industry-showcase-skeleton-stage,
.industry-showcase-skeleton-stage i {
    position: relative;
    overflow: hidden;
    background: #dfe6f0;
}

.industry-showcase-skeleton-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: clamp(150px, 30%, 220px);
    height: clamp(38px, 6vw, 56px);
}

.industry-showcase-skeleton-brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.industry-showcase-skeleton-stage {
    align-self: stretch;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: 1fr 1fr;
    gap: clamp(8px, 1.5vw, 15px);
    min-height: 0;
    padding: clamp(10px, 2vw, 18px);
    border: 1px solid rgba(100, 116, 139, 0.1);
    border-radius: clamp(10px, 1.6vw, 18px);
    background: rgba(255, 255, 255, 0.72);
}

.industry-showcase-skeleton-stage i {
    display: block;
    border-radius: clamp(7px, 1.2vw, 12px);
}

.industry-showcase-skeleton-stage i:first-child {
    grid-row: 1 / 3;
    background: #d8e2ef;
}

.industry-showcase-skeleton-caption {
    justify-self: center;
    font-size: clamp(0.72rem, 1.4vw, 0.9rem);
    font-weight: 650;
    letter-spacing: 0.01em;
}

.industry-showcase-skeleton-stage i::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-105%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
    animation: industryShowcaseShimmer 1.35s ease-in-out infinite;
}

@keyframes industryShowcaseShimmer {
    100% { transform: translateX(105%); }
}

.industry-showcase-panel > img {
    object-fit: cover;
}

.industry-showcase-panel .video-wrap {
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 0;
}

.industry-showcase-media-empty {
    display: grid;
    place-items: center;
    color: var(--text-soft);
    font-size: 0.95rem;
    padding: 20px;
}

@media (prefers-reduced-motion: reduce) {
    .industry-showcase-template,
    .industry-showcase-player-skeleton {
        transition: none;
    }

    .industry-showcase-skeleton-stage i::after {
        animation: none;
    }
}

.industry-showcase-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: stretch;
    justify-content: center;
    padding-top: 34px;
    padding-bottom: 34px;
}

.industry-showcase-card {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    min-height: 185px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.06);
    padding: 14px 12px;
    text-align: left;
    color: inherit;
    font: inherit;
    line-height: 1.4;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.industry-showcase-card:not(.is-active) {
    transform: scale(0.88);
    transform-origin: center center;
}

.industry-showcase-card.is-active {
    flex-grow: 1.8;
    transform: translateY(-4px);
    border-color: #d1d5db;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
    z-index: 2;
}

.industry-showcase-icon {
    display: inline-flex;
    width: 30px !important;
    height: 30px !important;
    color: #b0a9ad;
    margin-bottom: 12px;
}

.industry-showcase-card h3 {
    margin: 0 0 10px;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.industry-showcase-card p {
    margin: 0;
    font-size: 0.84rem;
    color: #6d6b70;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.industry-showcase-card:not(.is-active) h3 {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.industry-showcase-card:not(.is-active) p {
    font-size: 0.74rem;
    line-height: 1.3;
}

.industry-showcase-cta {
    margin-top: 28px;
    display: grid;
    justify-items: center;
    gap: 10px;
}

.industry-showcase-cta p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .industry-showcase-media {
        max-width: 100%;
    }

    .industry-showcase-cards {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 20px 12px 18px;
        scroll-padding-left: 12px;
        scroll-padding-right: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .industry-showcase-card,
    .industry-showcase-card.is-active {
        width: 250px;
        min-height: 260px;
        transform: none;
        flex: 0 0 250px;
    }

    .industry-showcase-card.is-active {
        transform: translateY(-2px);
        border-color: #cbd5e1;
        box-shadow: 0 18px 34px rgba(17, 24, 39, 0.18);
    }

    .industry-showcase-card:not(.is-active) {
        transform: none;
        box-shadow: 0 6px 14px rgba(17, 24, 39, 0.07);
    }

    .industry-showcase-card h3,
    .industry-showcase-card:not(.is-active) h3 {
        font-size: 1.45rem;
        margin-bottom: 12px;
    }

    .industry-showcase-card p,
    .industry-showcase-card:not(.is-active) p {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .industry-showcase-icon {
        width: 30px !important;
        height: 30px !important;
    }
}

/* ── F6. Scrolling Story — Apple-style product story ──────────────── */
.section-type-scrolling-story {
    background: #f5f5f7;
}
.section-type-scrolling-story .section-head {
    margin-bottom: clamp(24px, 3vw, 40px);
}
.section-type-scrolling-story .section-head > div {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.section-type-scrolling-story .section-head h2 {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(28px, 2.7vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}
.section-type-scrolling-story .section-head .section-intro {
    max-width: 650px;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.5;
}

.ss-showcase {
    width: min(1160px, 100%);
    margin: 0 auto;
}
.ss-showcase-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(440px, 1.18fr);
    gap: clamp(24px, 3.2vw, 48px);
    align-items: start;
}
.ss-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ss-showcase-item {
    position: relative;
    width: 100%;
    border: 1px solid rgba(29, 29, 31, 0);
    border-radius: 18px;
    background: transparent;
    color: inherit;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-align: left;
    padding: 13px 15px;
    cursor: pointer;
    transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.ss-showcase-item:hover {
    border-color: rgba(29, 29, 31, 0.08);
    background: rgba(255, 255, 255, 0.58);
}
.ss-showcase-item.is-active {
    border-color: rgba(29, 29, 31, 0.08);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.045);
}
.ss-showcase-item:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--primary) 38%, transparent);
    outline-offset: 3px;
}
.ss-showcase-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, #fff);
    border-radius: 50%;
}
.ss-showcase-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}
.ss-showcase-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.ss-showcase-copy strong {
    font-size: clamp(16px, 1.22vw, 19px);
    font-weight: 650;
    color: #1d1d1f;
    line-height: 1.22;
    letter-spacing: -0.012em;
}
.ss-showcase-copy small {
    display: block;
    font-size: clamp(13px, 0.92vw, 15px);
    line-height: 1.42;
    color: #6e6e73;
}

.ss-showcase-media {
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    background: #fff;
    border-radius: clamp(22px, 2vw, 30px);
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(29, 29, 31, 0.06);
}
.ss-showcase-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.012);
    transition: opacity 0.36s ease, transform 0.36s ease;
}
.ss-showcase-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.ss-showcase-panel img,
.ss-showcase-panel video,
.ss-showcase-panel iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
}
.ss-showcase-fallback {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #f5f7fb 0%, #e8edf6 100%);
}
.ss-showcase-fallback::before {
    content: none;
    position: absolute;
    left: 13%;
    right: 13%;
    top: 18%;
    bottom: 18%;
    border: 5px solid #181d26;
    border-radius: 4px;
    background:
        linear-gradient(180deg, #f0ddcc 0%, #f0ddcc 56%, #ffffff 56%, #ffffff 100%);
    box-shadow: 0 22px 30px rgba(17, 24, 39, 0.18);
}
.ss-showcase-fallback::after {
    content: none;
    position: absolute;
    left: 26%;
    top: 34%;
    width: 48%;
    height: 34%;
    border-radius: 8px;
    background:
        linear-gradient(90deg, #ffffff 0 32%, transparent 32% 34%, #ffffff 34% 66%, transparent 66% 68%, #ffffff 68% 100%),
        linear-gradient(180deg, transparent 0 52%, #f78a24 52% 100%);
    box-shadow:
        -16% 6px 0 -2px rgba(255, 255, 255, 0.86),
        16% 6px 0 -2px rgba(255, 255, 255, 0.86),
        0 10px 26px rgba(17, 24, 39, 0.24);
}

.ss-showcase-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.ss-showcase-cta-wrap {
    margin-top: clamp(22px, 2.6vw, 32px);
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {
    .ss-showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ss-showcase-media {
        order: -1;
        width: min(720px, 100%);
        margin: 0 auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    .ss-showcase-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (min-width: 641px) and (max-width: 991px) {
    .device-grid-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .section-type-scrolling-story .section-head {
        margin-bottom: 24px;
    }
    .section-type-scrolling-story .section-head h2 {
        font-size: 28px;
    }
    .section-type-scrolling-story .section-head .section-intro {
        font-size: 15px;
        line-height: 1.45;
    }
    .ss-showcase-grid {
        gap: 18px;
    }
    .ss-showcase-list {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .ss-showcase-media {
        border-radius: 20px;
    }
    .ss-showcase-item {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 11px;
        padding: 11px 12px;
        border-radius: 15px;
    }
    .ss-showcase-icon {
        width: 32px;
        height: 32px;
    }
    .ss-showcase-icon svg {
        width: 16px;
        height: 16px;
    }
    .ss-showcase-copy strong {
        font-size: 16px;
    }
    .ss-showcase-copy small {
        font-size: 13px;
        line-height: 1.4;
    }
    .ss-showcase-cta-wrap {
        margin-top: 20px;
    }

    .faq-cta-band {
        margin-top: 36px;
        padding: 24px 20px;
        border-radius: 20px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 20px;
        box-shadow: none;
    }

    .faq-cta-copy {
        width: 100%;
    }

    .faq-cta-copy h3 {
        font-size: 26px;
    }

    .faq-cta-btn {
        width: 100%;
        min-width: 0;
        align-self: stretch;
        white-space: nowrap;
        box-shadow: none;
    }

    .device-grid-box {
        padding: 8px 0;
        gap: 22px;
        border-radius: 0;
    }

    .device-grid-head h2 {
        font-size: 28px;
    }

    .device-grid-head .section-intro {
        font-size: 17px;
    }

    .device-grid-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .device-grid-tile {
        width: auto;
        height: auto;
        min-height: 90px;
        padding: 4px;
        border-radius: 0;
    }

    .device-grid-icon-wrap {
        width: 54px;
        height: 54px;
        border-radius: 0;
    }

    .device-grid-icon-wrap img {
        width: 42px;
        height: 42px;
    }

    .device-grid-tile--player .device-grid-icon-wrap img {
        width: 48px;
        height: 48px;
    }

    .device-grid-copy strong {
        font-size: 14px;
    }

    .device-grid-link {
        width: auto;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .hero.hero-tall,
    .hero.hero-tall .hero-grid {
        min-height: 0;
    }
}

/* ── F7. Image Accordion — actual HTML class names ────────────────── */
.image-accordion-container {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(22px, 2.6vw, 40px);
    align-items: stretch;
}
.image-accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.image-accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.image-accordion-item:hover {
    border-color: rgba(6, 65, 120, 0.22);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}
.image-accordion-item.is-active {
    border-color: rgba(6, 65, 120, 0.35);
    box-shadow: 0 12px 28px rgba(6, 65, 120, 0.12);
    transform: translateY(-1px);
}
.image-accordion-title {
    margin: 0;
}
.image-accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    line-height: 1.24;
    gap: 14px;
}
.image-accordion-button > span:first-child {
    letter-spacing: -0.015em;
}
.image-accordion-icon {
    width: 28px;
    height: 28px;
    position: relative;
    flex-shrink: 0;
    border-radius: 999px;
    background: #f3f5f7;
    border: 1px solid #dfe5ea;
}
.image-accordion-icon::before,
.image-accordion-icon::after {
    content: "";
    position: absolute;
    background: var(--text-muted);
    transition: transform var(--duration) var(--ease);
}
.image-accordion-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    margin-left: -6px;
    transform: translateY(-50%);
}
.image-accordion-icon::after {
    width: 2px;
    height: 12px;
    left: 50%;
    top: 0;
    margin-top: 8px;
    transform: translateX(-50%);
}
.image-accordion-item.is-active .image-accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.image-accordion-item.is-active .image-accordion-icon {
    background: #e9f1f7;
    border-color: rgba(6, 65, 120, 0.28);
}
.image-accordion-tray {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
}
.image-accordion-item.is-active .image-accordion-tray {
    max-height: 600px;
}
.image-accordion-content {
    padding: 0 20px 20px;
}
.image-accordion-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 14px;
}
.image-accordion-media-sm {
    display: none;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.image-accordion-media-sm img {
    width: 100%;
    height: auto;
    display: block;
}
.image-accordion-media-lg {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: clamp(360px, 42vw, 540px);
    background: #edf1f5;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}
.image-accordion-figure {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s var(--ease);
}
.image-accordion-figure.is-active {
    opacity: 1;
}
.image-accordion-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.image-accordion-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.18) 100%);
    pointer-events: none;
}

/* ── F7B. Overlap Boxes (partner-style callout) ─────────────────── */
.overlap-boxes {
    --ob-primary-bg: #df1857;
    --ob-primary-text-color: #ffffff;
    --ob-secondary-bg: #f78a24;
    --ob-secondary-text-color: #ffffff;
    position: relative;
    padding: 12px 0 10px;
    min-height: 500px;
}

.overlap-box-primary,
.overlap-box-secondary {
    border-radius: 30px;
}

.overlap-box-primary {
    width: min(76%, 980px);
    background: var(--ob-primary-bg);
    color: var(--ob-primary-text-color);
    padding: clamp(26px, 3.2vw, 46px);
    min-height: 440px;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Reserve room for the overlapping secondary card so text never gets hidden */
.overlap-boxes:not(.small-left) .overlap-box-primary {
    padding-right: clamp(240px, 24vw, 310px);
}

.overlap-boxes.small-left .overlap-box-primary {
    padding-left: clamp(240px, 24vw, 430px);
}

.overlap-box-primary h3 {
    font-family: var(--font-display);
    font-size: clamp(30px, 2.75vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--ob-primary-text-color);
}

.overlap-box-primary p {
    font-size: clamp(18px, 1.45vw, 28px);
    line-height: 1.28;
    max-width: 880px;
    margin-bottom: 22px;
    color: var(--ob-primary-text-color);
}

.overlap-box-action-wrap {
    margin-top: 22px;
}

.overlap-box-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.overlap-box-btn:hover {
    transform: translateY(-1px);
}

.overlap-box-btn-primary {
    background: #ffffff;
    color: var(--ob-primary-bg);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.overlap-box-btn-primary:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ob-primary-bg);
}

.overlap-box-btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: var(--ob-secondary-text-color);
    backdrop-filter: blur(10px);
}

.overlap-box-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.26);
    color: var(--ob-secondary-text-color);
}

.overlap-box-primary h3,
.overlap-box-primary p,
.overlap-box-primary-media {
    max-width: min(100%, 760px);
}

.overlap-box-primary-media {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.overlap-box-media-frame {
    position: relative;
    width: clamp(180px, 18vw, 280px);
    height: clamp(102px, 10vw, 158px);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.overlap-box-media-frame img,
.overlap-box-media-frame video,
.overlap-box-secondary-media img,
.overlap-box-secondary-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlap-box-media-label {
    font-size: clamp(16px, 1.15vw, 24px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 500;
    color: var(--ob-primary-text-color);
}

.overlap-box-secondary {
    position: absolute;
    top: 70px;
    right: 0;
    width: min(48%, 700px);
    min-height: 370px;
    background: var(--ob-secondary-bg);
    color: var(--ob-secondary-text-color);
    padding: clamp(24px, 2.5vw, 38px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.18);
}

.overlap-boxes.small-left .overlap-box-secondary {
    right: auto;
    left: 0;
}

.overlap-boxes.small-left .overlap-box-primary {
    margin-left: auto;
}

.overlap-box-secondary h4 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.1vw, 34px);
    line-height: 1.08;
    margin-bottom: 14px;
    color: var(--ob-secondary-text-color);
}

.overlap-box-secondary p {
    font-size: clamp(17px, 1.3vw, 23px);
    line-height: 1.38;
    color: var(--ob-secondary-text-color);
}

.overlap-box-secondary-rich {
    display: grid;
    gap: 10px;
}

.overlap-box-secondary-rich p,
.overlap-box-secondary-rich li {
    font-size: clamp(17px, 1.35vw, 24px);
    line-height: 1.34;
    font-weight: 500;
    color: var(--ob-secondary-text-color);
    margin: 0;
}

.overlap-box-secondary-rich ul,
.overlap-box-secondary-rich ol {
    margin: 0;
    padding-left: 1.2em;
}

.overlap-box-secondary-rich ul {
    list-style: disc;
}

.overlap-box-secondary-rich ol {
    list-style: decimal;
}

.overlap-box-secondary-rich li + li {
    margin-top: 8px;
}

.overlap-box-secondary-rich a {
    color: inherit;
    text-decoration: underline;
}

.overlap-box-secondary.mode-media {
    padding: 0;
    overflow: hidden;
    width: min(38%, 540px);
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
}

.overlap-box-action-wrap-secondary {
    margin-top: 18px;
}

.overlap-box-action-wrap-overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    margin-top: 0;
    z-index: 2;
}

.overlap-box-secondary.mode-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.38) 100%);
    pointer-events: none;
}

.overlap-box-secondary-media,
.overlap-box-secondary.mode-media .video-wrap {
    height: 100%;
    min-height: 0;
}

.overlap-box-secondary-media .overlap-video-launch {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.overlap-box-secondary-media .overlap-video-launch img,
.overlap-box-secondary-media .overlap-video-launch .mb-video-fallback {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.overlap-box-secondary-media .overlap-video-launch img {
    object-fit: contain;
    object-position: center;
    background: rgba(15, 23, 42, 0.9);
}

.overlap-box-secondary-media .overlap-video-launch .mb-video-play-icon svg {
    width: clamp(58px, 5vw, 74px);
    height: clamp(58px, 5vw, 74px);
}

.overlap-box-secondary.mode-media .video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── F8. Card Gallery — actual HTML class names ───────────────────── */
.card-gallery {
    position: relative;
}
.card-gallery-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    cursor: grab;
    padding-bottom: 0;
    scrollbar-width: none;
}
.card-gallery-scroll-container::-webkit-scrollbar { display: none; }

.card-gallery-item-container {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.card-gallery-item-container > li {
    flex: 0 0 300px;
    scroll-snap-align: start;
}
.gallery-card-pro {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 520px;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.gallery-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
}
.gallery-card-pro-content {
    padding: 20px 20px 16px;
}
.gallery-card-pro-topic {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.gallery-card-pro-headline {
    font-size: 21px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 8px;
    font-family: var(--font-display);
}
.gallery-card-pro-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.gallery-card-pro-image {
    margin: 0;
    overflow: hidden;
    flex: 1;
}
.gallery-card-pro-image img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.gallery-card-pro:hover .gallery-card-pro-image img {
    transform: scale(1.04);
}
.card-gallery-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.card-gallery-prev,
.card-gallery-next {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background var(--duration-fast), border-color var(--duration-fast);
}
.card-gallery-prev:hover,
.card-gallery-next:hover {
    background: var(--bg);
    border-color: var(--border);
}
.card-gallery-prev [data-lucide],
.card-gallery-next [data-lucide] {
    width: 18px;
    height: 18px;
}

/* ── F9. CTA — Apple-inspired conversion panel ───────────────────── */
.cta-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.section-type-cta .card.cta-band {
    --cta-overlay-gradient: linear-gradient(90deg, rgba(8, 24, 45, 0.94) 0%, rgba(8, 24, 45, 0.84) 42%, rgba(8, 24, 45, 0.36) 100%);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 290px;
    padding: clamp(42px, 4.5vw, 58px) clamp(24px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(10, 54, 91, 0.1);
    border-radius: 28px;
    background-color: #f5f8fc;
    background-image: linear-gradient(145deg, #f8fafc, #f1f4f7);
    box-shadow: none;
    color: #10253a;
    text-align: center;
}

.section-type-cta .card.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 42%);
}

.section-type-cta .card.cta-band::after {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: none;
}

.section-type-cta .card.cta-band.has-bg-image {
    border-color: rgba(255, 255, 255, 0.18);
    background-color: #08182d;
    color: #ffffff;
    box-shadow: none;
}

.section-type-cta .card.cta-band.has-bg-image::before {
    z-index: -2;
    background: var(--cta-overlay-gradient);
}

.section-type-cta .card.cta-band.has-bg-image::after {
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), transparent 32%),
        linear-gradient(0deg, rgba(3,12,24,0.2), transparent 42%);
    box-shadow: none;
}

.section-type-cta .card.cta-band .cta-band-atmosphere {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    display: none;
}

.section-type-cta .card.cta-band .cta-band-orb {
    position: absolute;
    display: block;
    width: clamp(220px, 30vw, 440px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.55;
}

.section-type-cta .card.cta-band .cta-band-orb-primary {
    top: -48%;
    left: -8%;
    background: radial-gradient(circle, rgba(65, 143, 255, 0.24), rgba(65, 143, 255, 0));
}

.section-type-cta .card.cta-band .cta-band-orb-secondary {
    right: -8%;
    bottom: -58%;
    background: radial-gradient(circle, rgba(159, 103, 255, 0.22), rgba(159, 103, 255, 0));
}

.section-type-cta .card.cta-band .cta-band-grid {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image: radial-gradient(circle, rgba(20, 70, 115, 0.13) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}

.section-type-cta .card.cta-band.has-bg-image .cta-band-atmosphere {
    opacity: 0.58;
    mix-blend-mode: screen;
}

.section-type-cta .card.cta-band .cta-band-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    margin: 0 auto;
}

.section-type-cta .card.cta-band .cta-band-copy {
    max-width: 820px;
    margin: 0 auto;
}

.section-type-cta .card.cta-band .cta-band-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #285d89;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.section-type-cta .card.cta-band.has-bg-image .cta-band-eyebrow {
    border-color: transparent;
    background: transparent;
    color: rgba(255,255,255,0.9);
}

.section-type-cta .card.cta-band h2 {
    max-width: 22ch;
    margin: 0 auto;
    color: #0e2439;
    font-family: var(--font-display);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.section-type-cta .card.cta-band .cta-band-text,
.section-type-cta .card.cta-band .cta-band-text p {
    max-width: 650px;
    margin: 16px auto 0;
    color: #5d6b79;
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.006em;
    text-wrap: pretty;
}

.section-type-cta .card.cta-band .cta-band-text[style] p {
    color: inherit;
}

.section-type-cta .card.cta-band.has-bg-image h2 {
    color: #ffffff;
    text-shadow: none;
}

.section-type-cta .card.cta-band.has-bg-image .cta-band-text,
.section-type-cta .card.cta-band.has-bg-image .cta-band-text p {
    color: rgba(255,255,255,0.78);
}

.section-type-cta .card.cta-band.cta-align-left,
.section-type-cta .card.cta-band.cta-align-right {
    text-align: left;
}

.section-type-cta .card.cta-band.cta-align-left .cta-band-inner,
.section-type-cta .card.cta-band.cta-align-left .cta-band-copy {
    margin-left: 0;
    margin-right: auto;
}

.section-type-cta .card.cta-band.cta-align-right .cta-band-inner,
.section-type-cta .card.cta-band.cta-align-right .cta-band-copy {
    margin-left: auto;
    margin-right: 0;
}

.section-type-cta .card.cta-band.cta-align-left .cta-band-eyebrow,
.section-type-cta .card.cta-band.cta-align-left h2,
.section-type-cta .card.cta-band.cta-align-left .cta-band-text,
.section-type-cta .card.cta-band.cta-align-left .cta-band-text p {
    margin-left: 0;
    margin-right: auto;
}

.section-type-cta .card.cta-band.cta-align-right .cta-band-eyebrow,
.section-type-cta .card.cta-band.cta-align-right h2,
.section-type-cta .card.cta-band.cta-align-right .cta-band-text,
.section-type-cta .card.cta-band.cta-align-right .cta-band-text p {
    margin-left: auto;
    margin-right: 0;
}

.section-type-cta .card.cta-band.cta-align-left .cta-hero-actions { justify-content: flex-start; }
.section-type-cta .card.cta-band.cta-align-center .cta-hero-actions { justify-content: center; }
.section-type-cta .card.cta-band.cta-align-right .cta-hero-actions { justify-content: flex-end; }

.section-type-cta .card.cta-band .pb-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 170px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.012em;
    text-decoration: none;
    opacity: 1;
    transform: translateY(0);
    transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.section-type-cta .card.cta-band .pb-cta-button-primary {
    border-color: rgba(0,0,0,0.04);
    background: #0a4b80;
    color: #ffffff;
    box-shadow: none;
}

.section-type-cta .card.cta-band .pb-cta-button-secondary {
    border-color: rgba(13, 61, 99, 0.14);
    background: rgba(255,255,255,0.68);
    color: #174f7d;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-primary {
    border-color: rgba(255,255,255,0.84);
    background: #ffffff;
    color: #0b3d67;
    box-shadow: none;
}

.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-secondary {
    border-color: rgba(255,255,255,0.26);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    box-shadow: none;
}

.section-type-cta .card.cta-band .pb-cta-button-arrow {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    font-size: 15px;
    line-height: 1;
    transition: transform 200ms var(--ease), background-color 200ms var(--ease);
}

.section-type-cta .card.cta-band .pb-cta-button-secondary .pb-cta-button-arrow,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-primary .pb-cta-button-arrow {
    background: rgba(12, 69, 111, 0.09);
}

.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-secondary .pb-cta-button-arrow {
    background: rgba(255,255,255,0.13);
}

.section-type-cta .card.cta-band .pb-cta-button:hover,
.section-type-cta .card.cta-band .pb-cta-button:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
    text-decoration: none;
}

.section-type-cta .card.cta-band .pb-cta-button-primary:hover,
.section-type-cta .card.cta-band .pb-cta-button-primary:focus-visible {
    background: #083f6d;
    box-shadow: none;
}

.section-type-cta .card.cta-band .pb-cta-button-secondary:hover,
.section-type-cta .card.cta-band .pb-cta-button-secondary:focus-visible {
    border-color: rgba(13, 61, 99, 0.25);
    background: rgba(255,255,255,0.9);
}

.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-primary:hover,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-primary:focus-visible {
    background: #f4f6f8;
    color: #0b3d67;
}

.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-secondary:hover,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-secondary:focus-visible {
    border-color: rgba(255,255,255,0.38);
    background: rgba(255,255,255,0.16);
    color: #ffffff;
}

.section-type-cta .card.cta-band .pb-cta-button:hover .pb-cta-button-arrow,
.section-type-cta .card.cta-band .pb-cta-button:focus-visible .pb-cta-button-arrow {
    transform: translateX(3px);
}

.section-type-cta .card.cta-band .pb-cta-button:focus-visible {
    outline: 3px solid rgba(29, 109, 177, 0.28);
    outline-offset: 4px;
}

.section-type-cta .card.cta-band.has-bg-image .pb-cta-button:focus-visible {
    outline-color: rgba(255,255,255,0.72);
}

.section-type-cta .card.cta-band .pb-cta-button:active {
    transform: translateY(0) scale(0.985);
}

@media (max-width: 760px) {
    .section-type-cta .card.cta-band {
        min-height: 0;
        padding: 38px 22px;
        border-radius: 24px;
    }

    .section-type-cta .card.cta-band h2 {
        max-width: 18ch;
        font-size: clamp(27px, 7.8vw, 34px);
        line-height: 1.14;
    }

    .section-type-cta .card.cta-band .cta-band-text,
    .section-type-cta .card.cta-band .cta-band-text p {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.5;
    }

    .section-type-cta .card.cta-band .cta-hero-actions {
        width: 100%;
        margin-top: 22px;
    }

    .section-type-cta .card.cta-band .pb-cta-button {
        width: min(100%, 330px);
        min-height: 48px;
    }
}

@media (max-width: 520px) {
    .section-type-cta .card.cta-band {
        padding: 34px 18px;
        border-radius: 22px;
    }

    .section-type-cta .card.cta-band .cta-band-eyebrow {
        margin-bottom: 12px;
        padding: 0;
        font-size: 10px;
        letter-spacing: 0.085em;
    }

    .section-type-cta .card.cta-band h2 {
        font-size: clamp(26px, 7.5vw, 32px);
        letter-spacing: -0.025em;
    }

    .section-type-cta .card.cta-band .cta-band-text,
    .section-type-cta .card.cta-band .cta-band-text p {
        font-size: 16px;
    }

    .section-type-cta .card.cta-band .pb-cta-button {
        min-width: 0;
        padding: 12px 18px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-type-cta .card.cta-band .pb-cta-button,
    .section-type-cta .card.cta-band .pb-cta-button-arrow {
        transition: none;
    }
}

/* Final CTA presentation: restrained Apple-style light and photo cards. */
.section-type-cta .card.cta-band {
    min-height: 300px;
    padding: clamp(42px, 5vw, 64px);
    border: 0;
    border-radius: 32px;
    background-color: #f5f5f7;
    background-image: none;
    box-shadow: none;
    color: #1d1d1f;
}

.section-type-cta .card.cta-band::before,
.section-type-cta .card.cta-band::after { box-shadow: none; }

.section-type-cta .card.cta-band:not(.has-bg-image)::before,
.section-type-cta .card.cta-band:not(.has-bg-image)::after { content: none; }

.section-type-cta .card.cta-band .cta-band-inner { width: min(100%, 800px); }
.section-type-cta .card.cta-band .cta-band-copy { max-width: 720px; }

.section-type-cta .card.cta-band .cta-band-eyebrow {
    margin-bottom: 10px;
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
}

.section-type-cta .card.cta-band h2 {
    max-width: 20ch;
    color: #1d1d1f;
    font-family: var(--font-display);
    font-size: clamp(32px, 3.15vw, 46px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-type-cta .card.cta-band .cta-band-text,
.section-type-cta .card.cta-band .cta-band-text p {
    max-width: 620px;
    margin-top: 14px;
    color: #6e6e73;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.45;
    letter-spacing: -0.012em;
}

.section-type-cta .card.cta-band .cta-hero-actions {
    gap: 20px;
    margin-top: 22px;
}

.section-type-cta .card.cta-band .pb-cta-button {
    min-width: 0;
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.17648;
    letter-spacing: -0.022em;
    transform: none;
    transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.section-type-cta .card.cta-band .pb-cta-button-primary {
    border: 0;
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

.section-type-cta .card.cta-band .pb-cta-button-primary:hover,
.section-type-cta .card.cta-band .pb-cta-button-primary:focus-visible {
    background: var(--primary-hover);
    box-shadow: none;
    transform: none;
}

.section-type-cta .card.cta-band .pb-cta-button-secondary {
    min-height: auto;
    padding: 8px 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--primary);
    box-shadow: none;
}

.section-type-cta .card.cta-band .pb-cta-button-secondary::after,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button::after {
    content: '\203A';
    margin-left: 6px;
    font-size: 21px;
    font-weight: 400;
    line-height: 0.8;
    transition: transform 160ms ease;
}

.section-type-cta .card.cta-band .pb-cta-button-secondary:hover,
.section-type-cta .card.cta-band .pb-cta-button-secondary:focus-visible {
    background: transparent;
    color: var(--primary-hover);
    opacity: 0.75;
    text-decoration: none;
    transform: none;
}

.section-type-cta .card.cta-band .pb-cta-button-secondary:hover::after,
.section-type-cta .card.cta-band .pb-cta-button-secondary:focus-visible::after,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button:hover::after,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button:focus-visible::after {
    transform: translateX(2px);
}

.section-type-cta .card.cta-band.has-bg-image {
    min-height: 420px;
    border: 0;
    background-color: #1d1d1f;
    color: #fff;
    box-shadow: none;
}

.section-type-cta .card.cta-band.has-bg-image::before {
    z-index: -1;
    background: var(--cta-overlay-gradient);
}

.section-type-cta .card.cta-band.has-bg-image::after { content: none; }

.section-type-cta .card.cta-band.has-bg-image .cta-band-eyebrow,
.section-type-cta .card.cta-band.has-bg-image h2 {
    color: #fff !important;
    text-shadow: none;
}

.section-type-cta .card.cta-band.has-bg-image .cta-band-text,
.section-type-cta .card.cta-band.has-bg-image .cta-band-text p {
    color: rgba(255, 255, 255, 0.88) !important;
}

.section-type-cta .card.cta-band.has-bg-image .pb-cta-button,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-primary,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button-secondary {
    min-height: auto;
    padding: 8px 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none;
}

.section-type-cta .card.cta-band.has-bg-image .pb-cta-button:hover,
.section-type-cta .card.cta-band.has-bg-image .pb-cta-button:focus-visible {
    background: transparent;
    color: #fff;
    box-shadow: none;
    text-decoration: underline;
    transform: none;
}

@media (max-width: 760px) {
    .section-type-cta .card.cta-band,
    .section-type-cta .card.cta-band.has-bg-image {
        min-height: 0;
        padding: 38px 22px;
        border-radius: 24px;
    }

    .section-type-cta .card.cta-band.has-bg-image { min-height: 360px; }
    .section-type-cta .card.cta-band h2 { font-size: clamp(28px, 8vw, 34px); }

    .section-type-cta .card.cta-band .cta-hero-actions {
        flex-direction: row;
        width: auto;
        gap: 18px;
    }

    .section-type-cta .card.cta-band .pb-cta-button {
        width: auto;
        min-height: 44px;
    }

    .section-type-cta .card.cta-band .pb-cta-button-secondary,
    .section-type-cta .card.cta-band.has-bg-image .pb-cta-button { min-height: auto; }
}

@media (max-width: 420px) {
    .section-type-cta .card.cta-band .cta-hero-actions {
        flex-direction: column;
        gap: 8px;
    }
}

/* ── F10. Parallax — actual HTML class names ──────────────────────── */
.parallax-content-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
    z-index: 1;
}
.parallax-content-wrap.height-sm { min-height: 250px; }
.parallax-content-wrap.height-md { min-height: 400px; }
.parallax-content-wrap.height-lg { min-height: 600px; }

.parallax-text {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.parallax-text h2 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.08;
}
.parallax-text p {
    font-size: 21px;
    color: rgba(255,255,255,0.85);
    line-height: 1.381;
}
.parallax-content-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    margin: 0 auto;
}

/* ── F11. Contact Cards — actual HTML class names ─────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.contact-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ── F12. Blog — actual HTML class names ──────────────────────────── */
.pb-blog-layout-grid .pb-blog-card,
.pb-blog-layout-masonry .pb-blog-card {
    display: flex;
    flex-direction: column;
}
.pb-blog-card-img {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.pb-blog-card-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.pb-blog-card:hover .pb-blog-card-img img {
    transform: scale(1.05);
}
.pb-blog-card-body {
    flex: 1;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 0 0 var(--radius) var(--radius);
}
.pb-blog-card-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.pb-blog-card-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--text);
    font-family: var(--font-display);
}
.pb-blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.pb-blog-card-title a:hover {
    color: var(--primary);
}
.pb-blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}
.pb-blog-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.pb-blog-card-readmore {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--link);
    text-decoration: none;
}
.pb-blog-card-readmore:hover {
    text-decoration: underline;
}

.pb-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(288px, 288px));
    gap: 28px;
    justify-content: start;
}
.pb-news-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 288px;
    max-width: 100%;
    padding: 0;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s var(--ease);
}
.pb-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}
.pb-news-logo-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 64px;
}
.pb-news-logo {
    display: block;
    max-width: 150px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.pb-news-card-icon-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 44px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    background: rgba(6,65,120,0.08);
}
.pb-news-card-date {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: var(--text-secondary);
}
.pb-news-card-title {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.18;
    font-weight: 700;
    margin: 18px 0 0;
    color: var(--text);
}
.pb-news-card-excerpt {
    margin: 18px 0 0;
    font-size: 22px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Blog layout variations */
.pb-blog-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pb-blog-layout-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.pb-blog-layout-list .pb-blog-card {
    display: grid;
    grid-template-columns: 300px 1fr;
}
.pb-blog-layout-list .pb-blog-card-img {
    border-radius: var(--radius) 0 0 var(--radius);
}
.pb-blog-layout-list .pb-blog-card-img img {
    height: 100%;
    aspect-ratio: auto;
}
.pb-blog-layout-masonry {
    columns: 3;
    column-gap: 24px;
}
.pb-blog-layout-masonry .pb-blog-card {
    break-inside: avoid;
    margin-bottom: 24px;
}

/* Blog categories filter */
.pb-blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}
.pb-blog-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--duration-fast);
}
.pb-blog-cat-link:hover,
.pb-blog-cat-link.is-active {
    background: var(--text);
    color: #fff;
    text-decoration: none;
}
.pb-blog-cat-link span {
    font-size: 12px;
    opacity: 0.7;
}

/* Blog pagination links */
.pb-blog-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--duration-fast);
}
.pb-blog-page-link:hover {
    background: var(--bg-secondary);
    text-decoration: none;
}
.pb-blog-page-link.is-active {
    background: var(--primary);
    color: #fff;
}

/* Blog popular / empty */
.pb-blog-popular {
    list-style: none;
    padding: 0;
}
.pb-blog-popular li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.pb-blog-popular li img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    flex-shrink: 0;
}
.pb-blog-popular li a {
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}
.pb-blog-popular li a:hover {
    color: var(--primary);
}
.pb-blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* ── F13. Pricing — custom properties used by inline styles ───────── */
:root {
    --gradient-panel: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(245,245,247,0.7));
    --gradient-brand: linear-gradient(135deg, var(--primary), var(--primary-hover));
    --line: var(--border-light);
    --radius-lg: 20px;
    --speed: 0.3s;
    --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
    --success: #34c759;
    --ring: 0 0 0 3px rgba(6,65,120,0.15);
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --text-soft: var(--text-secondary);
    --muted: var(--text-muted);
    --bg-soft: var(--bg-secondary);
    --panel-solid: #fff;
    --panel-2: var(--bg-secondary);
}
.pricing {
    display: grid;
    gap: 24px;
}

/* ── F14. Responsive fixes for new components ─────────────────────── */
@media (max-width: 992px) {
    .image-accordion-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .image-accordion-media-lg {
        display: none;
    }
    .image-accordion-media-sm {
        display: block;
    }
    .tab-content-inner.has-media {
        grid-template-columns: 1fr;
    }
    .pb-blog-layout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pb-blog-layout-list .pb-blog-card {
        grid-template-columns: 1fr;
    }
    .pb-blog-layout-list .pb-blog-card-img {
        border-radius: var(--radius) var(--radius) 0 0;
    }
    .pb-blog-layout-masonry {
        columns: 2;
    }

    .overlap-boxes {
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 16px;
        padding: 0;
        overflow-x: clip;
    }

    .overlap-box-primary,
    .overlap-box-secondary {
        position: static;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        margin: 0;
        min-height: 0;
        border-radius: 20px;
        box-shadow: none;
    }

    .overlap-box-primary {
        margin: 0;
        padding-left: 24px;
        padding-right: 24px;
        padding: 24px;
        justify-content: flex-start;
    }

    .overlap-boxes:not(.small-left) .overlap-box-primary,
    .overlap-boxes.small-left .overlap-box-primary {
        padding-left: 24px;
        padding-right: 24px;
    }

    .overlap-box-secondary {
        padding: 22px;
    }

    .overlap-box-secondary.mode-media {
        padding: 0;
        min-height: 0;
        aspect-ratio: 16 / 10;
        overflow: hidden;
        min-width: 0;
    }

    .overlap-box-secondary.mode-media::after {
        display: none;
    }

    .overlap-box-action-wrap-overlay {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .overlap-box-secondary-media,
    .overlap-box-secondary.mode-media .video-wrap {
        width: 100%;
        height: 100%;
        min-height: 0;
        min-width: 0;
        aspect-ratio: 16 / 10;
    }

    .overlap-box-secondary-media .overlap-video-launch {
        display: block;
        width: 100% !important;
        height: 100% !important;
        max-width: 100%;
        min-width: 0;
    }

    .overlap-box-secondary-media .overlap-video-launch img,
    .overlap-box-secondary-media .overlap-video-launch .mb-video-fallback {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 760px) {
    .image-accordion-list {
        gap: 10px;
    }
    .image-accordion-button {
        padding: 16px;
        font-size: 18px;
    }
    .image-accordion-content {
        padding: 0 16px 16px;
    }
    .image-accordion-content p {
        font-size: 14px;
    }

    .overlap-box-primary {
        padding: 20px;
    }

    .overlap-boxes:not(.small-left) .overlap-box-primary,
    .overlap-boxes.small-left .overlap-box-primary {
        padding-left: 20px;
        padding-right: 20px;
    }

    .overlap-box-primary h3 {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.12;
    }

    .overlap-box-primary p {
        font-size: clamp(14px, 4.4vw, 18px);
        line-height: 1.42;
    }

    .overlap-box-action-wrap-primary {
        margin-top: 18px;
    }

    .overlap-box-btn-primary {
        white-space: nowrap;
        min-height: 50px;
        padding: 0 24px;
        font-size: clamp(15px, 4.1vw, 18px);
        font-weight: 700;
        letter-spacing: -0.01em;
        border: 1px solid rgba(181, 18, 71, 0.18);
        background: linear-gradient(135deg, #ffffff 0%, #ffe8f1 100%);
        color: #b51247;
    }

    .overlap-box-primary-media {
        display: grid;
        gap: 10px;
    }

    .overlap-box-media-frame {
        width: 100%;
        max-width: 260px;
        height: 146px;
    }

    .overlap-box-secondary {
        padding: 18px;
    }
}

@media (max-width: 760px) {
    .pro-slide {
        min-height: 400px;
    }
    .pro-slide-content-wrap {
        min-height: 400px;
        padding: 40px 24px;
    }
    .pro-slide-title {
        font-size: 28px;
    }
    .pro-slide-text {
        font-size: 16px;
    }
    .ss-copy h3 {
        font-size: 28px;
    }
    .ss-copy p {
        font-size: 16px;
    }
    .parallax-text h2 {
        font-size: 32px;
    }
    .card-gallery-item-container > li {
        flex: 0 0 280px;
    }
    .cta-hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .section-type-cta .card.cta-band .cta-hero-actions {
        width: auto;
    }
    .section-type-cta .card.cta-band .pb-cta-button {
        width: auto;
        min-height: 44px;
    }
    .section-type-cta .card.cta-band .pb-cta-button-secondary,
    .section-type-cta .card.cta-band.has-bg-image .pb-cta-button {
        min-height: auto;
    }
    .pb-blog-layout-grid {
        grid-template-columns: 1fr;
    }
    .pb-blog-layout-masonry {
        columns: 1;
    }
    .pb-blog-categories {
        gap: 6px;
    }
    .pb-blog-cat-link {
        padding: 6px 14px;
        font-size: 13px;
    }
    .testimonial-card {
        padding: 24px 20px;
    }
}

@media (max-width: 520px) {
    .pro-slide-title {
        font-size: 24px;
    }
    .card-gallery-item-container > li {
        flex: 0 0 260px;
    }
}

/* ── Registration Form ────────────────────────────────────────────── */

/* Two-column grid for paired fields */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
    margin-bottom: 20px;
}

/* Full-width button modifier */
.btn.full {
    width: 100%;
    border-radius: var(--radius-xs);
}

/* Individual field wrapper */
.field-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-block label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

/* Input base style */
.input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--duration-fast) var(--ease),
                box-shadow var(--duration-fast) var(--ease);
}

.input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 58, 109, 0.1);
}

.input::placeholder {
    color: var(--text-muted);
}

/* Help and error text */
.field-help {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.field-error {
    font-size: 12px;
    color: #dc2626;
    line-height: 1.4;
    min-height: 16px;
}

/* Password field with show/hide button */
.input-with-action {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-action .input {
    padding-right: 44px;
    position: relative;
    z-index: 0;
}

.toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: none;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color var(--duration-fast) var(--ease);
}

.toggle-pass svg {
    pointer-events: none;
    display: block;
}

.toggle-pass:hover {
    color: var(--primary);
}

/* Password strength bar */
.password-strength {
    height: 3px;
    background: var(--border-light);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 4px;
}

.password-strength .strength-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 99px;
    transition: width 0.3s ease, background 0.3s ease;
}

.password-strength .strength-bar.is-weak {
    width: 33%;
    background: #dc2626;
}

.password-strength .strength-bar.is-medium {
    width: 66%;
    background: #f59e0b;
}

.password-strength .strength-bar.is-strong {
    width: 100%;
    background: #16a34a;
}

/* OTP section – inline inside registration form */
#registerForm .otp-card {
    max-width: 100%;
    margin: 4px 0 24px;
    padding: 24px 28px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    box-shadow: none;
    border: 1px solid var(--border-light);
    text-align: left;
}

.otp-head {
    margin-bottom: 16px;
}

.otp-head h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.otp-head p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.otp-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    margin-bottom: 0;
}

.sm-registration-phone-field {
    display: grid;
    grid-template-columns: minmax(112px, 132px) minmax(180px, 1fr);
    gap: 8px;
    width: 100%;
}

.sm-registration-phone-field .sm-country-code-select,
.sm-registration-phone-field #reg_phone {
    width: 100%;
    min-width: 0;
}

.otp-btn-wrap {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 142px;
    gap: 6px;
}

/* Verify phone button – solid style */
#verifyPhoneBtn {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-xs);
    font-size: 15px;
    font-weight: 500;
    height: 44px;
    min-height: 44px;
    width: auto;
    min-width: 142px;
    max-width: 160px;
    padding: 0 18px;
    border: none;
    white-space: nowrap;
    transition: background var(--duration-fast) var(--ease);
}

#verifyPhoneBtn:hover {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: none;
}

/* OTP status message */
.otp-status {
    font-size: 13px;
    margin-top: 10px;
    min-height: 18px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.otp-status.is-success { color: #16a34a; font-weight: 600; }
.otp-status.is-error   { color: #dc2626; font-weight: 600; }
.otp-status.is-info    { color: #2563eb; }

/* Availability check result labels under username / email */
.status-success { color: #16a34a; font-weight: 600; font-size: 12px; }
.status-error   { color: #dc2626; font-weight: 600; font-size: 12px; }
.status-loading { color: var(--text-muted); font-size: 12px; }

/* Red border when username / email is already taken */
.input.is-taken,
.input.is-taken:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.15) !important;
}

/* Verify Phone button — muted/disabled until username + email are available */
#verifyPhoneBtn:disabled {
    background: #e5e7eb !important;
    border-color: #d1d5db !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    box-shadow: none !important;
}
#verifyPhoneBtn.btn-success {
    background: #16a34a !important;
    border-color: #15803d !important;
    color: #fff !important;
}

/* Terms & Conditions checkbox row */
.terms-wrap {
    margin: 4px 0 22px;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-line input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 3px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-line span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Submit button row */
.form-actions {
    margin-top: 4px;
}

#registerBtn {
    font-size: 17px;
    font-weight: 500;
    height: 50px;
    border-radius: var(--radius-xs);
    letter-spacing: -0.01em;
}

/* Phone input override so iti padding looks right */
.regPhone .iti {
    width: 100%;
}

.regPhone .iti input.input {
    width: 100%;
}

/* Responsive: collapse to single column on small screens */
@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .otp-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sm-registration-phone-field {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .otp-btn-wrap {
        align-items: flex-start;
        min-width: 0;
    }

    .otp-btn-wrap > label {
        display: none;
    }

    #verifyPhoneBtn {
        align-self: flex-start;
        width: auto;
        min-width: 142px;
        max-width: none;
    }

    #registerForm .otp-card {
        padding: 18px 16px;
    }
}

@media (max-width: 360px) {
    .sm-registration-phone-field {
        grid-template-columns: 98px minmax(0, 1fr);
        gap: 6px;
    }
}

/* ======================================================
   Pricing section (moved from page_renderer.php)
   ====================================================== */
/* Public coupon announcement band */
.pricing-coupon-band{position:relative;z-index:20;width:100%;background:#f5f5f7;border-bottom:1px solid rgba(0,0,0,.035);color:#1d1d1f}
.pricing-coupon-band__inner{position:relative;max-width:1180px;min-height:54px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:center}
.pricing-coupon-slider{width:100%;min-width:0}
.pricing-coupon-slider:not(.slick-initialized) .pricing-coupon-slide:not(:first-child){display:none}
.pricing-coupon-slide{min-width:0}
.pricing-coupon-slide__content{min-height:54px;padding:11px 18px;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;font-size:14px;line-height:1.45}
.pricing-coupon-slide__description{color:#1d1d1f;font-weight:400;overflow-wrap:anywhere}
.pricing-coupon-slide__link{display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;color:#06c;font-weight:500;text-decoration:none;white-space:nowrap}
.pricing-coupon-slide__link:hover{text-decoration:underline;color:#06c}
.pricing-coupon-slide__link:focus-visible{outline:2px solid #06c;outline-offset:3px;border-radius:3px}
.pricing-coupon-slider .slick-list,.pricing-coupon-slider .slick-track{display:flex;align-items:center}
.pricing-coupon-slider .slick-slide{height:auto;min-width:0}
.pricing-coupon-slider .slick-slide>div{width:100%}
@media(max-width:767px){
  .pricing-coupon-band__inner{min-height:68px;padding:0 14px}
  .pricing-coupon-slide__content{min-height:68px;padding:10px 5px;flex-direction:column;gap:2px;font-size:13px;line-height:1.35}
  .pricing-coupon-slide__link{white-space:normal;justify-content:center}
}
@media(prefers-reduced-motion:reduce){.pricing-coupon-slider .slick-track{transition:none!important}}

/* ── Pricing Controls ── */
.pricing-wrapper{padding:40px 0}
.pricing-current-summary{display:flex;align-items:center;justify-content:center;gap:10px 14px;flex-wrap:wrap;max-width:900px;margin:0 auto 24px;padding:14px 18px;border:1px solid rgba(6,65,120,.18);border-radius:14px;background:linear-gradient(135deg,rgba(6,65,120,.06),rgba(169,30,94,.04));color:var(--text-soft);box-shadow:var(--shadow-xs)}
.pricing-current-summary__label{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--primary)}
.pricing-current-summary strong{font-size:17px;color:var(--text)}
.pricing-current-summary span:not(.pricing-current-summary__label){padding:4px 9px;border-radius:999px;background:var(--panel-solid);border:1px solid var(--line);font-size:13px}
.pricing-current-summary a{font-size:13px;font-weight:700;color:var(--primary);text-decoration:none}
.pricing-current-summary a:hover{text-decoration:underline}
.pricing-controls{display:flex;justify-content:center;gap:32px;margin-bottom:56px;flex-wrap:wrap}
.control-box{display:flex;align-items:center;gap:14px;font-size:16px;font-weight:600;color:var(--text-soft)}
.billing-toggle{background:var(--bg-soft);padding:4px;border-radius:var(--radius);display:flex}
.billing-btn{border:none;padding:10px 20px;background:transparent;cursor:pointer;font-size:15px;font-weight:600;border-radius:var(--radius-xs);color:var(--muted);transition:all .25s}
.billing-btn.active{background:var(--panel-solid);color:var(--text);box-shadow:var(--shadow-xs)}
.screen-box{display:flex;align-items:center;background:var(--bg-soft);padding:4px 6px;border-radius:var(--radius);gap:4px}
.screen-box button{border:none;background:var(--panel-solid);width:34px;height:34px;border-radius:50%;cursor:pointer;font-size:18px;font-weight:600;color:var(--text);display:inline-flex;align-items:center;justify-content:center;transition:background .2s,box-shadow .2s;box-shadow:var(--shadow-xs)}
.screen-box button:hover{background:var(--panel-2);box-shadow:var(--shadow-sm)}
.screen-box span{min-width:30px;text-align:center;font-weight:700;font-size:17px;color:var(--text)}

/* ── Price Cards ── */
.price-card{
  position:relative;
  display:flex;
  flex-direction:column;
  background:var(--gradient-panel);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px) saturate(150%);
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  padding:36px 28px 28px;
  text-align:center;
  overflow:hidden;
  transition:transform var(--speed) var(--ease-apple),box-shadow var(--speed) var(--ease-apple);
}
.price-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.24),transparent 32%),radial-gradient(circle at top right,rgba(6,65,120,.06),transparent 24%);
  opacity:.8;
  pointer-events:none;
}
.price-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow-lg);
}
.price-card.is-current{border-color:rgba(34,197,94,.55);box-shadow:var(--shadow-lg),0 0 0 2px rgba(34,197,94,.12);padding-top:52px}
.price-card.is-current .price-card-badge{background:linear-gradient(135deg,#15803d,#22c55e)}

/* Badge — top banner */
.price-card-badge{
  position:absolute;
  top:0;left:0;right:0;
  background:var(--gradient-brand);
  color:#fff;
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
  padding:8px 16px;
  text-align:center;
  line-height:1.3;
  z-index:3;
  box-shadow:0 2px 8px rgba(6,65,120,.18);
}

/* Featured card */
.price-card.featured{
  border-color:rgba(6,65,120,.18);
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(6,65,120,.10);
  transform:translateY(-6px);
  padding-top:52px;
}
.price-card.featured:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-lg),0 0 0 1px rgba(6,65,120,.16);
}

/* Header */
.price-card-header{position:relative;z-index:1;margin-bottom:20px}
.price-card-name{
  font-size:20px;
  font-weight:700;
  color:var(--text);
  font-family:var(--font-display);
  letter-spacing:-.02em;
  margin:0 0 14px;
}
.price-card-original{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:24px;
  margin:-3px 0 7px;
}
.price-card-original[hidden]{
  display:none!important;
}
.price-card-original-amount{
  position:relative;
  display:inline-flex;
  align-items:baseline;
  gap:1px;
  color:var(--muted);
  font-size:18px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
}
.price-card-original-amount::after{
  content:"";
  position:absolute;
  left:-2px;
  right:-2px;
  top:50%;
  height:2px;
  border-radius:999px;
  background:#dc2626;
  transform:translateY(-50%);
  pointer-events:none;
}
.price-card-offer-label{
  display:inline-flex;
  align-items:center;
  min-height:18px;
  padding:2px 6px;
  border:1px solid rgba(169,30,94,.18);
  border-radius:999px;
  background:rgba(169,30,94,.07);
  color:#a91e5e;
  font-size:8px;
  font-weight:700;
  line-height:1;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
}
.price-card-price{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:2px;
  line-height:1;
}
.price-card-currency{
  font-size:22px;
  font-weight:700;
  color:var(--primary);
  align-self:flex-start;
  margin-top:6px;
}
.price-card-amount{
  font-size:52px;
  font-weight:800;
  letter-spacing:-.04em;
  color:var(--text);
  font-family:var(--font-display);
}
.price-card-period{
  font-size:13px;
  color:var(--muted);
  margin:8px 0 0;
  font-weight:400;
}
.price-card-total{
  font-size:14px;
  font-weight:600;
  color:var(--text);
  margin-top:12px;
}
.price-card-total .price-card-total-label,
.price-card-total .total-price{
    display:inline;
}
.price-card-total .price-card-tax-note{
    display:block;
    font-size:11px;
    font-weight:500;
    color:var(--muted);
    margin-top:2px;
}
.price-card-total .discount-line{
    display:block;
  font-size:12px;
  font-weight:500;
  color:var(--primary);
  margin-top:4px;
}

/* Features */
.price-card-features{
  position:relative;
  z-index:1;
  list-style:none;
  margin:0;
  padding:20px 0;
  border-top:1px solid var(--line);
  flex:1;
  text-align:left;
}
.price-card-features li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:8px 0;
  font-size:14px;
  line-height:1.5;
  color:var(--text-soft);
  font-weight:500;
  letter-spacing:-.01em;
}
.price-card-features li svg{
  flex-shrink:0;
  margin-top:3px;
  color:var(--success);
}

/* Footer — always pinned to bottom */
.price-card-footer{
  position:relative;
  z-index:1;
  margin-top:auto;
  padding-top:20px;
}
.price-card-btn{
  display:block;
  width:100%;
  padding:14px 24px;
  font-size:15px;
  font-weight:600;
  text-align:center;
  text-decoration:none;
  border-radius:var(--radius);
  border:1.5px solid var(--primary);
  color:var(--primary);
  background:transparent;
  cursor:pointer;
  transition:background .25s,color .25s,box-shadow .25s;
  box-sizing:border-box;
}
.price-card-btn:hover{
  background:rgba(6,65,120,.05);
  box-shadow:var(--ring);
}
.price-card-btn.is-primary{
  background:var(--gradient-brand);
  color:#fff;
  border-color:transparent;
}
.price-card-btn.is-primary:hover{
  opacity:.92;
  box-shadow:0 4px 16px rgba(6,65,120,.2);
}

/* Grid columns based on plan count */
.pricing.pricing-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pricing.pricing-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Responsive */
@media(max-width:1200px){
  .pricing.pricing-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pricing.pricing-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .pricing.pricing-cols-3,.pricing.pricing-cols-4{grid-template-columns:1fr}
  .price-card{padding:28px 22px 22px}
  .price-card.featured{transform:none}
  .price-card.featured:hover{transform:translateY(-5px)}
  .price-card-amount{font-size:42px}
  .pricing-controls{gap:20px;margin-bottom:36px}
}

/* Final pricing presentation: flat Apple-style cards in a four-column grid. */
.section-type-pricing .pricing-wrapper {
  padding:28px 0 36px;
}

.section-type-pricing .pricing-controls {
  align-items:center;
  gap:18px 32px;
  margin-bottom:40px;
}

.section-type-pricing .control-box {
  gap:10px;
  color:var(--text-secondary);
  font-size:14px;
  font-weight:500;
}

.section-type-pricing .billing-toggle,
.section-type-pricing .screen-box {
  min-height:44px;
  padding:4px;
  border:0;
  border-radius:999px;
  background:#f5f5f7;
  box-shadow:none;
}

.section-type-pricing .billing-btn {
  min-height:36px;
  padding:8px 16px;
  border-radius:999px;
  color:#6e6e73;
  font-size:14px;
  font-weight:500;
  box-shadow:none;
}

.section-type-pricing .billing-btn.active {
  background:#fff;
  color:#1d1d1f;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}

.section-type-pricing .screen-box {
  align-items:center;
  gap:2px;
  padding-inline:5px;
}

.section-type-pricing .screen-box button {
  width:34px;
  height:34px;
  border:0;
  background:transparent;
  box-shadow:none;
  color:var(--primary);
  font-size:18px;
  font-weight:500;
}

.section-type-pricing .screen-box button:hover,
.section-type-pricing .screen-box button:focus-visible {
  background:#fff;
  box-shadow:none;
}

.section-type-pricing .screen-box span {
  min-width:30px;
  color:#1d1d1f;
  font-size:15px;
  font-weight:600;
}

.section-type-pricing .pricing,
.section-type-pricing .pricing.pricing-cols-3,
.section-type-pricing .pricing.pricing-cols-4 {
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:16px;
}

.section-type-pricing .price-card,
.section-type-pricing .price-card.featured,
.section-type-pricing .price-card.is-current {
  --plan-accent:#f56300;
  min-width:0;
  padding:28px 22px 24px;
  border:0;
  border-radius:28px;
  background:#fff;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  transform:none;
  text-align:left;
  transition:none;
}

.section-type-pricing .price-card:nth-child(2) { --plan-accent:#ff3b30; }
.section-type-pricing .price-card:nth-child(3) { --plan-accent:#bf2cbe; }
.section-type-pricing .price-card:nth-child(4) { --plan-accent:#5856d6; }
.section-type-pricing .price-card[data-plan-type="trial"] { --plan-accent:#25d366; }

.section-type-pricing .price-card::before {
  content:none;
}

.section-type-pricing .price-card:hover,
.section-type-pricing .price-card.featured:hover,
.section-type-pricing .price-card.is-current:hover {
  border:0;
  box-shadow:none;
  transform:none;
}

.section-type-pricing .price-card.featured {
  border:0;
  padding:28px 22px 24px;
}

.section-type-pricing .price-card.is-current {
  border:0;
  padding:28px 22px 24px;
}

.section-type-pricing .price-card-badge,
.section-type-pricing .price-card.is-current .price-card-badge {
  position:relative;
  inset:auto;
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  width:fit-content;
  max-width:100%;
  justify-content:center;
  min-height:40px;
  height:40px;
  margin:0;
  padding:5px 12px;
  border-radius:999px;
  background:#eef5fb;
  color:var(--primary);
  box-shadow:none;
  font-size:11px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:0;
  text-align:center;
}

.section-type-pricing .price-card-badge-slot {
  display:flex;
  align-items:flex-start;
  width:100%;
  min-height:40px;
  margin-bottom:16px;
}

.section-type-pricing .price-card.is-current .price-card-badge {
  background:#edf8f0;
  color:#248a3d;
}

.section-type-pricing .price-card-header {
  margin-bottom:18px;
}

.section-type-pricing .price-card-name {
  margin-bottom:12px;
  color:#1d1d1f;
  font-size:21px;
  font-weight:600;
  line-height:1.15;
  letter-spacing:-.025em;
}

.section-type-pricing .price-card-partner-description {
  color:#6e6e73;
  font-size:13px;
  line-height:1.4;
}

.section-type-pricing .price-card-original {
  justify-content:flex-start;
  margin:-2px 0 6px;
}

.section-type-pricing .price-card-original-amount {
  color:#86868b;
  font-size:16px;
  font-weight:500;
}

.section-type-pricing .price-card-offer-label {
  border:0;
  background:#f5f5f7;
  color:#6e6e73;
  font-size:9px;
  font-weight:600;
}

.section-type-pricing .price-card-currency {
  flex:0 0 auto;
  margin-top:7px;
  color:var(--plan-accent);
  font-size:22px;
  font-weight:700;
}

.section-type-pricing .price-card-amount,
.section-type-pricing .price-card-amount[style] {
  flex:0 0 auto;
  white-space:nowrap;
  color:var(--plan-accent) !important;
  font-size:clamp(46px,4vw,56px);
  font-weight:700 !important;
  line-height:1;
  letter-spacing:-.045em;
}

.section-type-pricing .price-card-price {
  display:flex;
  align-items:baseline;
  justify-content:flex-start;
  flex-wrap:nowrap;
  width:100%;
  white-space:nowrap;
  color:var(--plan-accent);
}

.section-type-pricing .price-card-price-suffix {
  flex:0 0 auto;
  margin-left:3px;
  color:var(--plan-accent);
  font-family:var(--font-display);
  font-size:20px;
  font-weight:600;
  line-height:1;
  letter-spacing:-.025em;
}

.section-type-pricing .price-card-period {
  margin-top:8px;
  color:#6e6e73;
  font-size:12px;
}

.section-type-pricing .price-card-total {
  margin-top:12px;
  color:#1d1d1f;
  font-size:clamp(11px,1vw,13px);
  font-weight:500;
  white-space:nowrap;
}

.section-type-pricing .price-card-original,
.section-type-pricing .price-card-period,
.section-type-pricing .price-card-total {
  text-align:left;
}

.section-type-pricing .price-card-features {
  padding:18px 0 10px;
  border-top:1px solid #e8e8ed;
}

.section-type-pricing .price-card-features li {
  gap:8px;
  padding:6px 0;
  color:#515154;
  font-size:13px;
  font-weight:400;
  line-height:1.42;
  letter-spacing:-.005em;
}

.section-type-pricing .price-card-features li svg {
  width:15px;
  height:15px;
  margin-top:2px;
  color:#248a3d;
}

.section-type-pricing .price-card-footer {
  padding-top:18px;
}

.section-type-pricing .price-card-btn,
.section-type-pricing .price-card-btn.is-primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  padding:10px 18px;
  border:0;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  box-shadow:none;
  font-family:var(--font-body);
  font-size:15px;
  font-weight:500;
  line-height:1.2;
  text-decoration:none;
  transition:background-color 160ms ease;
}

.section-type-pricing .price-card-btn:hover,
.section-type-pricing .price-card-btn:focus-visible,
.section-type-pricing .price-card-btn.is-primary:hover,
.section-type-pricing .price-card-btn.is-primary:focus-visible {
  border:0;
  background:var(--primary-hover);
  color:#fff;
  box-shadow:none;
  opacity:1;
  text-decoration:none;
}

@media(max-width:1023px) {
  .section-type-pricing .pricing,
  .section-type-pricing .pricing.pricing-cols-3,
  .section-type-pricing .pricing.pricing-cols-4 {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:700px) {
  .section-type-pricing .pricing,
  .section-type-pricing .pricing.pricing-cols-3,
  .section-type-pricing .pricing.pricing-cols-4 {
    grid-template-columns:1fr;
  }

  .section-type-pricing .pricing-controls {
    align-items:stretch;
    margin-bottom:30px;
  }

  .section-type-pricing .control-box {
    justify-content:space-between;
    width:100%;
  }

  .section-type-pricing .price-card,
  .section-type-pricing .price-card.featured,
  .section-type-pricing .price-card.is-current {
    padding:26px 22px 22px;
    border-radius:24px;
  }
}


/* ======================================================
   Contact/Book form (moved from page_renderer.php)
   ====================================================== */
.pb-form-wrap{padding:2rem}
.pb-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.pb-form-field label{display:block;margin-bottom:.3rem;font-weight:600;font-size:.9rem; text-align:left;}
.pb-form-field input,.pb-form-field select,.pb-form-field textarea{width:100%;padding:.65rem .8rem;border:1px solid #d2d6de;border-radius:6px;font-size:.95rem;transition:border-color .2s;background:#fff}
.pb-form-field input:focus,.pb-form-field select:focus,.pb-form-field textarea:focus{outline:none;border-color:var(--primary,#6576ff)}
.pb-form-field-full{grid-column:1/-1}
.pb-form-actions{margin-top:1.2rem}
.pb-form-status{margin-top:1rem;padding:.8rem 1rem;border-radius:6px;font-size:.9rem}
.pb-form-status.is-success{background:#e6f9ee;color:#1a7d3e;border:1px solid #b8e6cc}
.pb-form-status.is-error{background:#fde8e8;color:#b91c1c;border:1px solid #f5c6c6}
.required{color:#e53e3e}
@media(max-width:600px){.pb-form-grid{grid-template-columns:1fr}}

/* ======================================================
     Book a Demo section (Page Builder)
     ====================================================== */
.section-type-book-demo .container {
    max-width: 1180px;
}

.pb-book-demo {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 36px;
  align-items: flex-start;

  padding-top: 2px;
}

.pb-book-demo-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text);
}

.pb-book-demo-title .pb-book-demo-highlight {
  color: var(--link);
  font-weight: 800;
}

.pb-book-demo-eyebrow {
  margin: 26px 0 16px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--link);
  text-transform: uppercase;
}

.pb-book-demo-intro {
    margin-top: 16px;
    color: var(--text-secondary, #6e6e73);
    font-size: 16px;
    line-height: 1.5;
}

.pb-book-demo-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pb-book-demo-points li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.pb-book-demo-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: #fe4e00;
  font-weight: 900;
  font-size: 14px;
}

.pb-book-contact-card {
    margin-top: 20px;
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    border: 1px solid var(--border-light);
}

.pb-book-contact-card-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    font-family: var(--font-display);
    color: inherit;
}

.pb-book-contact-card-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.pb-book-contact-card-list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    font-size: 16px;
    line-height: 1.45;
    color: inherit;
}

.pb-book-contact-card-icon {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.pb-book-offices {
    margin-top: 18px;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}

.pb-book-offices-intro {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-secondary, #6e6e73);
}

.pb-book-offices-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pb-book-office-col h4 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
    font-family: var(--font-display);
    color: var(--text);
}

.pb-book-office-col p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary, #6e6e73);
}

.pb-book-office-phone {
    margin-top: 8px !important;
    font-weight: 600;
}

.pb-book-office-phone a {
    color: var(--text);
    text-decoration: none;
}

.pb-book-office-phone a:hover {
    color: var(--link);
}

.pb-book-demo-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.pb-book-demo-after-media {
    margin-top: 18px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.pb-book-demo-after-media img,
.pb-book-demo-after-media video,
.pb-book-demo-after-media iframe {
    width: 100%;
    max-height: 450px;
    display: block;
    border-radius: var(--radius-sm);
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.pb-book-demo-after-media .video-wrap {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.pb-book-demo-after-media .mb-slider {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.pb-book-demo-after-media .mb-slide img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.pb-book-demo-form-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.pb-book-demo .pb-form-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.pb-book-demo .pb-form-field input,
.pb-book-demo .pb-form-field select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--card-bg);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.pb-book-demo .pb-form-field input::placeholder {
  color: #9ca3af;
  font-family: var(--font-body);
}

.pb-book-demo .pb-form-field input:focus,
.pb-book-demo .pb-form-field select:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.pb-demo-phone-row {
  display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
}

.pb-demo-phone-code {
  height: 44px;
  text-align: left;
  padding: 0 36px 0 12px !important;
  font-size: 14px !important;
  font-family: var(--font-body) !important;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  opacity: 0.85;
}

.pb-demo-phone-code option {
  padding: 10px;
  line-height: 1.5;
  font-size: 14px;
}

.pb-demo-submit {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.pb-demo-disclaimer {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-secondary, #6e6e73);
  font-style: italic;
  line-height: 1.5;
}

.pb-book-demo-card .pb-demo-disclaimer {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 0;
}

@media (max-width: 1100px) {
  .pb-book-demo {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 40px;
  }

  .pb-book-demo-title {
    font-size: clamp(32px, 7vw, 48px);
  }
}

@media (max-width: 768px) {
  .pb-book-demo {
    padding: 28px 24px;
    gap: 24px;
  }

  .pb-book-demo-title {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.08;
  }

    .pb-book-demo-intro {
        font-size: 15px;
    }

  .pb-book-demo-points li {
    font-size: 15px;
  }

  .pb-book-demo-card {
    padding: 24px;
  }

    .pb-book-contact-card {
        padding: 16px;
    }

    .pb-book-offices-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pb-book-demo-after-media {
        margin-top: 14px;
    }

  .pb-demo-phone-row {
        grid-template-columns: 170px minmax(0, 1fr);
  }

  .pb-demo-submit {
    min-height: 44px;
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .pb-book-demo {
    padding: 20px 16px;
    border-radius: 16px;
    gap: 20px;
  }

  .pb-book-demo-title {
    font-size: clamp(24px, 9vw, 32px);
    line-height: 1.1;
  }

    .pb-book-demo-intro {
        margin-top: 12px;
        font-size: 14px;
    }

  .pb-book-demo-eyebrow {
    margin: 18px 0 12px;
    font-size: 11px;
  }

  .pb-book-demo-points {
    gap: 10px;
  }

  .pb-book-demo-points li {
    font-size: 14px;
    padding-left: 24px;
  }

    .pb-book-contact-card {
        margin-top: 14px;
        padding: 14px;
    }

    .pb-book-contact-card-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .pb-book-contact-card-list li {
        font-size: 14px;
    }

    .pb-book-offices-intro,
    .pb-book-office-col p {
        font-size: 14px;
    }

    .pb-book-office-col h4 {
        font-size: 16px;
    }

  .pb-book-demo-card {
    padding: 18px;
  }

    .pb-book-demo-after-media {
        margin-top: 12px;
    }

  .pb-book-demo-form-grid {
    gap: 14px;
  }

  .pb-demo-phone-row {
        grid-template-columns: 145px minmax(0, 1fr);
    gap: 8px;
  }

  .pb-demo-submit {
    min-height: 42px;
    font-size: 14px;
  }

  .pb-demo-disclaimer {
    font-size: 11px;
    margin-top: 10px;
    }

    .pb-book-demo-card .pb-demo-disclaimer {
        font-size: 11px;
        line-height: 1.4;
    }
}

.glb-body{position:relative;max-width:90vw;max-height:85vh;display:flex;align-items:center;justify-content:center}
.glb-body img{max-width:90vw;max-height:85vh;object-fit:contain;border-radius:8px;display:block}
.glb-body video{max-width:90vw;max-height:85vh;border-radius:8px;display:block;background:#000}
.glb-body iframe{width:80vw;height:45vw;max-height:80vh;border:none;border-radius:8px}
.glb-close{position:absolute;top:16px;right:20px;z-index:10;background:none;border:none;color:#fff;font-size:32px;cursor:pointer;line-height:1;padding:4px 10px;opacity:.8;transition:opacity .2s}
.glb-close:hover{opacity:1}
.glb-nav{position:absolute;top:50%;z-index:10;transform:translateY(-50%);background:rgba(255,255,255,.15);border:none;color:#fff;font-size:28px;width:48px;height:48px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px);transition:background .2s}
.glb-nav:hover{background:rgba(255,255,255,.3)}
.glb-prev{left:16px}
.glb-next{right:16px}
.glb-caption{color:#fff;text-align:center;padding:12px 20px;font-size:14px;opacity:.85;max-width:80vw}
.glb-counter{position:absolute;top:20px;left:20px;color:rgba(255,255,255,.6);font-size:14px}
@media(max-width:768px){
  .glb-body img,.glb-body video{max-width:96vw;max-height:75vh}
  .glb-body iframe{width:96vw;height:54vw}
  .glb-nav{width:38px;height:38px;font-size:22px}
  .glb-prev{left:6px}.glb-next{right:6px}
}

/* ── Template Player Embed ── */
.template-player-wrap {
    position: relative;
    width: 100%;
    min-height: 540px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .08);
}
.template-player-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 768px) {
    .template-player-wrap {
        min-height: 300px;
        border-radius: var(--radius-sm, 8px);
    }
}
@media (max-width: 480px) {
    .template-player-wrap {
        min-height: 220px;
    }
}

/* ── Downloader Section ── */
.section-type-downloader .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: center;
    gap: 32px;
    padding-bottom: 28px;
    margin-bottom: 38px;
    border-bottom: 1px solid var(--border-light);
}

.section-type-downloader .section-head > div:first-child {
    position: relative;
    min-height: 64px;
    padding-left: 84px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.section-type-downloader .section-head > div:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    transform: translateY(-50%);
    background-color: color-mix(in srgb, var(--primary) 9%, #fff);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063a6d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11m0 0 4-4m-4 4-4-4M5 16v3a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E");
}

.section-type-downloader .section-head .section-eyebrow {
    margin-bottom: 4px;
}

.section-type-downloader .section-head h2 {
    font-size: clamp(27px, 2.1vw, 32px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 0;
}

.section-type-downloader .section-head .section-intro {
    margin-top: 6px;
    max-width: 760px;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.5;
}

.downloader-search {
    height: 48px;
    min-height: 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg);
    transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.downloader-search > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.downloader-search:focus-within {
    border-color: var(--text-muted);
    box-shadow: none;
}

.downloader-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 16px;
    line-height: 1.25;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.downloader-search input:focus,
.downloader-search input:focus-visible {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.downloader-search input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.downloader-section {
    width: 100%;
}

.downloader-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.downloader-card {
    min-width: 0;
    min-height: 530px;
    padding: 34px 30px 28px;
    display: flex;
    flex-direction: column;
    color: var(--text);
    background: var(--bg-secondary);
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: none;
    overflow: hidden;
    transition: border-color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
}

.downloader-card:hover {
    border-color: var(--border-light);
    background: var(--surface);
}

.downloader-card[hidden] {
    display: none !important;
}

.downloader-card-heading {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.downloader-card-icon-wrap {
    width: 96px;
    height: 76px;
    flex: 0 0 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.downloader-card-icon {
    width: 96px;
    height: 76px;
    object-fit: contain;
}

.downloader-card-title {
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(20px, 1.55vw, 24px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.downloader-card-product {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.downloader-card-description {
    min-height: 108px;
    margin: 32px 0 0;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.55;
}

.downloader-compatibility {
    margin-top: 26px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border-top: 1px solid var(--border-light);
}

.downloader-compatibility-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.downloader-compatibility small,
.downloader-compatibility strong {
    display: block;
}

.downloader-compatibility small {
    margin-bottom: 3px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.25;
}

.downloader-compatibility strong {
    color: var(--text);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 650;
}

.downloader-card-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.downloader-action {
    width: 100%;
    min-height: 46px;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--primary);
    border-radius: var(--radius-pill);
    text-decoration: none !important;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 500;
    transition: background-color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.downloader-action > svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.downloader-action::after,
.downloader-guide::after {
    content: none !important;
}

.downloader-action-primary {
    color: #fff !important;
    background: var(--primary);
}

.downloader-action-primary:hover,
.downloader-action-primary:focus-visible {
    color: #fff !important;
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.downloader-action-secondary {
    color: var(--primary) !important;
    background: transparent;
}

.downloader-action-secondary:hover,
.downloader-action-secondary:focus-visible {
    color: var(--primary-hover) !important;
    border-color: var(--primary-hover);
    background: color-mix(in srgb, var(--primary-hover) 5%, #fff);
}

.downloader-store-action {
    min-height: 50px;
    padding: 7px 14px;
    justify-content: flex-start;
    gap: 11px;
    color: var(--text) !important;
    border-color: var(--border);
    background: var(--bg);
    text-align: left;
}

.downloader-store-action:hover,
.downloader-store-action:focus-visible {
    color: var(--text) !important;
    border-color: var(--text-muted);
    background: var(--bg);
}

.downloader-store-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}

.downloader-store-amazon .downloader-store-icon {
    width: 29px;
    height: 32px;
    flex-basis: 29px;
}

.downloader-store-chrome {
    min-height: 66px;
    padding: 8px 16px;
    border-color: #d1d7e0;
    border-radius: 18px;
    background: #fff;
}

.downloader-store-chrome .downloader-store-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.downloader-store-chrome .downloader-store-kicker {
    margin-bottom: 1px;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
}

.downloader-store-chrome .downloader-store-copy strong {
    font-size: 17px;
    font-weight: 500;
}

.downloader-store-chrome:hover,
.downloader-store-chrome:focus-visible {
    border-color: #9ba7b6;
    background: #f8fafc;
}

.downloader-store-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    line-height: 1;
}

.downloader-store-kicker {
    margin-bottom: 2px;
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .025em;
}

.downloader-store-copy strong {
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.015em;
}

.downloader-store-amazon .downloader-store-copy strong em {
    color: #ff9900;
    font-style: normal;
}

.downloader-store-action > svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-left: auto;
    color: var(--text-muted);
}

.downloader-action small {
    margin-left: auto;
    padding-left: 13px;
    border-left: 1px solid rgba(255, 255, 255, .4);
    color: inherit;
    font-size: 12px;
    font-weight: 600;
}

.downloader-card-footer {
    min-height: 30px;
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.downloader-guide {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary) !important;
    text-decoration: none !important;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.downloader-guide:hover,
.downloader-guide:focus-visible {
    color: var(--primary-hover) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.downloader-copy {
    padding: 5px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.downloader-copy:hover,
.downloader-copy:focus-visible {
    color: var(--primary);
}

.downloader-copy.is-copied {
    color: #118243;
}

.downloader-empty {
    margin: 0;
    padding: 42px 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    color: var(--text-secondary);
    background: var(--bg-secondary);
    text-align: center;
    font-size: 17px;
}

@media (max-width: 1200px) {
    .downloader-card-grid { gap: 20px; }
    .downloader-card { padding-inline: 24px; }
    .downloader-card-heading { gap: 14px; }
    .downloader-card-icon-wrap { width: 82px; height: 66px; flex-basis: 82px; }
    .downloader-card-icon { width: 82px; height: 66px; }
}

@media (max-width: 991px) {
    .section-type-downloader .section-head {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .downloader-search {
        width: min(100%, 520px);
    }

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

@media (max-width: 640px) {
    .section-type-downloader .section-head {
        padding-bottom: 24px;
        margin-bottom: 26px;
    }

    .section-type-downloader .section-head > div:first-child {
        min-height: 52px;
        padding-left: 66px;
    }

    .section-type-downloader .section-head > div:first-child::before {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        background-size: 24px 24px;
    }

    .section-type-downloader .section-head h2 {
        font-size: 24px;
        line-height: 1.12;
    }

    .downloader-search {
        height: 44px;
        min-height: 0;
        padding-inline: 14px;
    }

    .downloader-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .downloader-card {
        min-height: 0;
        padding: 26px 22px 22px;
        border-radius: var(--radius);
    }

    .downloader-card-heading { min-height: 62px; }
    .downloader-card-title { font-size: 19px; line-height: 1.15; letter-spacing: -.015em; }
    .downloader-card-description { min-height: 0; margin-top: 24px; }
    .downloader-action { min-height: 44px; padding: 8px 14px; font-size: 14px; }
    .downloader-store-action { min-height: 48px; padding-block: 6px; }
    .downloader-store-icon { width: 27px; height: 27px; flex-basis: 27px; }
    .downloader-store-amazon .downloader-store-icon { width: 26px; height: 29px; flex-basis: 26px; }
    .downloader-store-copy strong { font-size: 14px; }
    .downloader-card-footer { align-items: flex-start; }
    .downloader-copy span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .downloader-card,
    .downloader-search,
    .downloader-action {
        transition: none;
    }
}

/* ── Compare Table Section ── */
.compare-table-wrap {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
}

.compare-table-desktop {
    display: block;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, .2) transparent;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: none;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: calc(360px + (var(--compare-column-count, 2) * 210px));
    table-layout: fixed;
}

.compare-table thead th {
    padding: 22px clamp(18px, 2vw, 30px);
    text-align: left;
    font-size: clamp(14px, 1.15vw, 17px);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -.012em;
    color: #1d1d1f;
    background: #f5f5f7;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    border-right: 0;
}

.compare-table thead th:not(:first-child) {
    text-align: center;
}

.compare-table thead th:first-child {
    width: min(42%, 420px);
    border-top-left-radius: 27px;
}

.compare-table thead th:last-child {
    border-top-right-radius: 27px;
    border-right: none;
}

.compare-table thead th.compare-col-highlight {
    background: rgba(0, 113, 227, .1);
    color: var(--primary, #064178);
}

.compare-table tbody td {
    padding: 21px clamp(18px, 2vw, 30px);
    border-top: 1px solid rgba(15, 23, 42, .07);
    border-right: 0;
    vertical-align: middle;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.42;
    color: #3f3f46;
    background: #fff;
    transition: background-color .2s ease;
}

.compare-table tbody td:last-child {
    border-right: none;
}

.compare-table tbody tr:first-child td {
    border-top: none;
}

.compare-table tbody td.compare-col-highlight {
    background: rgba(0, 113, 227, .055);
}

.compare-table .compare-capability {
    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 650;
    letter-spacing: -.012em;
    color: #1d1d1f;
}

.compare-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
}

.compare-value .compare-icon {
    display: inline-flex;
    align-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    justify-content: center;
    line-height: 1;
    font-size: 13px;
    margin-top: 0;
    font-weight: 700;
}

.compare-value.is-icon-only .compare-icon {
    margin-right: 0;
}

.compare-value.is-positive {
    color: #157347;
    font-weight: 600;
}

.compare-value.is-positive .compare-icon {
    color: #08783f;
    background: #e4f6eb;
}

.compare-value.is-negative {
    color: #b4233b;
}

.compare-value.is-negative .compare-icon {
    color: #b4233b;
    background: #fdecef;
}

.compare-value.is-neutral {
    color: #515154;
    font-weight: 500;
}

.compare-table-mobile {
    display: none;
}

.compare-mobile-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: none;
    padding: 0;
}

.compare-mobile-card h3 {
    margin: 0;
    padding: 18px 20px;
    font-size: clamp(17px, 2.4vw, 20px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.018em;
    color: #1d1d1f;
    background: #f5f5f7;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
}

.compare-mobile-row {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 14px;
    border: 0;
    background: #fff;
    border-radius: 0;
    padding: 15px 20px;
}

.compare-mobile-row + .compare-mobile-row {
    margin-top: 0;
    border-top: 1px solid rgba(15, 23, 42, .07);
}

.compare-mobile-row-highlight {
    background: rgba(0, 113, 227, .06);
}

.compare-mobile-label {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    color: #6e6e73;
}

.compare-mobile-row .compare-value {
    justify-content: flex-start;
    text-align: left;
    font-size: 14px;
}

.compare-table-note {
    margin: 16px auto 0;
    max-width: 900px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.compare-table-note a {
    color: var(--primary);
    text-decoration: underline;
}

.compare-table-note a:hover {
    color: var(--primary-hover);
}

@media (max-width: 991px) {
    .compare-table-desktop {
        display: none;
    }

    .compare-table-mobile {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .compare-table-mobile {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .compare-mobile-card {
        border-radius: 18px;
    }

    .compare-mobile-card h3 {
        padding: 16px;
        font-size: 17px;
    }

    .compare-mobile-row {
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
        gap: 10px;
        padding: 13px 16px;
    }

    .compare-mobile-label,
    .compare-mobile-row .compare-value {
        font-size: 13px;
    }
}

/* Blog Index Redesign */
.pb-blog-index-hero {
    padding: 68px 0 34px;
    background: radial-gradient(1200px 420px at 50% -20%, rgba(6, 65, 120, 0.14), rgba(6, 65, 120, 0));
}

.pb-blog-index-hero-inner {
    max-width: 920px;
}

.pb-blog-index-kicker {
    margin: 0 0 10px;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: #2f4f75;
}

.pb-blog-index-hero h1 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.05;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.pb-blog-index-sub {
    margin: 18px 0 0;
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.55;
    color: #475569;
    max-width: 760px;
}

.pb-blog-index-stats {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pb-blog-index-stat {
    min-width: 160px;
    padding: 12px 16px;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    background: #fff;
}

.pb-blog-index-stat strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    color: #0f172a;
}

.pb-blog-index-stat span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
}

.pb-blog-index-shell {
    padding-top: 12px;
}

.pb-case-index-shell {
    padding-top: 34px;
    padding-bottom: 18px;
}

.pb-case-index-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.pb-case-index-title-wrap h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.pb-case-index-title-wrap p {
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 720px;
}

.pb-case-kicker {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #d7e4f4;
    border-radius: 999px;
    background: #f4f8fd;
    color: #31577f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pb-case-search-form {
    min-width: 280px;
    max-width: 420px;
    width: 100%;
}

.pb-case-topics {
    margin-bottom: 28px;
}

.pb-case-card {
    border: 1px solid #dce7f4;
}

.pb-case-card .pb-blog-index-card-body {
    padding-bottom: 22px;
}

.pb-case-empty {
    margin: 30px 0;
}

.pb-case-single-shell {
    padding-top: 36px;
}
.pb-case-single-hero {
    margin-bottom: 32px;
}
.pb-case-single-hero-copy {
    margin: 0 auto;
    max-width: 980px;
    text-align: center;
}
.pb-case-single-hero-copy h1 {
    margin: 12px 0 14px;
    font-size: clamp(30px, 4.2vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #111827;
}
.pb-case-single-hero-copy p {
    margin: 0 auto;
    max-width: 860px;
    font-size: 19px;
    line-height: 1.58;
    color: #4b5d73;
}
.pb-case-single-hero .pb-case-meta {
    justify-content: center;
    margin-top: 16px;
}
.pb-case-single-hero-media-wrap {
    margin-top: 24px;
}
.pb-case-single-hero-media {
    border-radius: 20px;
    overflow: hidden;
    border: 0;
    background: #eaf1f9;
    box-shadow: none;
}
.pb-case-single-hero-media img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 640px;
    object-fit: cover;
}

.pb-case-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 26px;
    margin-bottom: 32px;
    align-items: stretch;
}

.pb-case-hero-copy {
    border: 1px solid #dce7f4;
    border-radius: 18px;
    background: linear-gradient(165deg, #f8fbff 0%, #eef4fb 100%);
    padding: 24px 24px 22px;
}

.pb-case-hero-copy h1 {
    margin: 10px 0 12px;
    font-size: clamp(30px, 4.2vw, 52px);
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.pb-case-hero-copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #44566b;
}

.pb-case-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #56708f;
    font-weight: 700;
}

.pb-case-hero-media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #dce7f4;
    background: #eaf1f9;
    min-height: 280px;
}

.pb-case-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pb-case-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.pb-case-content {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.pb-case-story-section {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding: 42px 0;
    border-top: 1px solid #e8edf5;
}

.pb-case-story-section:first-child {
    border-top: 0;
    padding-top: 16px;
}

.pb-case-story-title-col h2 {
    margin: 0;
    font-size: clamp(28px, 2.5vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: #0f172a;
    position: relative;
    display: inline-block;
}

.pb-case-story-title-col h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 5px;
    border-radius: 999px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
}

.pb-case-story-body {
    font-size: 17px;
    line-height: 1.78;
    color: #1f2937;
}

.pb-case-story-body p {
    margin: 0 0 20px;
}

.pb-case-story-body p:last-child {
    margin-bottom: 0;
}

.pb-case-story-body ul,
.pb-case-story-body ol {
    margin: 0 0 20px 24px;
}

.pb-case-story-body li {
    margin-bottom: 10px;
}

.pb-case-story-body a {
    color: #1f4d88;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.pb-case-highlights {
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pb-case-highlight-card {
    border: 1px solid #dce7f4;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f2f7fc 100%);
    padding: 12px 12px 11px;
}

.pb-case-highlight-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pb-case-highlight-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(6, 58, 109, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.pb-case-highlight-card h3 {
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #113357;
}

.pb-case-highlight-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.48;
    color: #44566b;
}

.pb-case-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
}

.pb-case-side-card {
    border: 1px solid #dce7f4;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
}

.pb-case-side-card + .pb-case-side-card {
    margin-top: 14px;
}

.pb-case-side-card h4 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.3;
}

.pb-case-side-cta {
    background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.pb-case-side-cta p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #4b5d73;
}

.pb-case-cta-btn {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .01em;
}

.pb-case-cta-btn:hover {
    color: #fff;
    text-decoration: none;
    background: var(--primary-hover);
}

.pb-case-side-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #e7edf6;
    color: inherit;
    text-decoration: none;
}

.pb-case-side-link:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pb-case-side-link strong {
    display: block;
    font-size: 14px;
    line-height: 1.42;
    color: #12263f;
}

.pb-case-side-link span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7d92;
}

.pb-case-bottom-cta {
    margin-top: 22px;
    margin-bottom: 34px;
    border: 1px solid #dce7f4;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 38%, #fdf8f1 100%);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
    box-shadow: 0 8px 22px rgba(18, 42, 70, 0.07);
}

.pb-case-bottom-cta-content {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pb-case-bottom-cta-content h2 {
    margin: 0;
    max-width: 640px;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f2342;
}

.pb-case-bottom-cta-content p {
    margin: 10px 0 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.5;
    color: #4b5d73;
}

.pb-case-bottom-cta-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pb-case-bottom-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    border: 1px solid transparent;
}

.pb-case-bottom-cta-btn.is-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pb-case-bottom-cta-btn.is-primary:hover {
    color: #fff;
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    text-decoration: none;
}

.pb-case-bottom-cta-btn.is-outline {
    background: rgba(255, 255, 255, 0.85);
    color: #1e3f66;
    border-color: #90aed4;
}

.pb-case-bottom-cta-btn.is-outline:hover {
    text-decoration: none;
    color: #15385f;
    background: #fff;
    border-color: #6f95c5;
}

.pb-case-bottom-cta-art {
    min-height: 180px;
    background:
        radial-gradient(circle at 75% 24%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 44%),
        linear-gradient(140deg, rgba(30, 74, 128, 0.13) 0%, rgba(30, 74, 128, 0.02) 50%, rgba(255, 188, 94, 0.2) 100%);
    position: relative;
}

.pb-case-bottom-cta-art.has-image {
    background: transparent;
}

.pb-case-bottom-cta-art.has-image::before,
.pb-case-bottom-cta-art.has-image::after {
    display: none;
}

.pb-case-bottom-cta-art.has-image img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

.pb-case-bottom-cta-art::before,
.pb-case-bottom-cta-art::after {
    content: "";
    position: absolute;
    border-radius: 14px;
    transform: rotate(-14deg);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
}

.pb-case-bottom-cta-art::before {
    width: 138px;
    height: 84px;
    right: 38px;
    top: 28px;
    background: linear-gradient(180deg, #fdf3de 0%, #f7dfb5 100%);
}

.pb-case-bottom-cta-art::after {
    width: 112px;
    height: 68px;
    right: 122px;
    bottom: 30px;
    background: linear-gradient(180deg, #dfefff 0%, #c4dcfb 100%);
}

.pb-case-related-section {
    margin-top: 56px;
    padding-top: 14px;
    border-top: 1px solid #e5ecf6;
}

.pb-case-related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.pb-case-related-copy h2 {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #111827;
}

.pb-case-related-copy p {
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 1.5;
    color: #4b5d73;
}

.pb-case-related-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #8fb2dc;
    color: #184a80;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.pb-case-related-viewall:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    text-decoration: none;
}

.pb-case-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pb-case-related-card {
    border: 1px solid #dce7f4;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

.pb-case-related-image-link {
    display: block;
    line-height: 0;
}

.pb-case-related-image-link img {
    width: 100%;
    height: 186px;
    object-fit: cover;
    display: block;
}

.pb-case-related-body {
    padding: 14px 14px 16px;
}

.pb-case-related-logo-wrap {
    min-height: 28px;
    margin-bottom: 8px;
}

.pb-case-related-logo {
    max-height: 28px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.pb-case-related-body h3 {
    margin: 6px 0 0;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.018em;
}

.pb-case-related-body h3 a {
    color: #111827;
    text-decoration: none;
}

.pb-case-related-body p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

.pb-blog-index-topics {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 26px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.pb-blog-index-topics::-webkit-scrollbar {
    display: none;
}

.pb-blog-index-topic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #d8e4f3;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #1f3f67;
    background: #f8fbff;
    text-decoration: none;
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
}

.pb-blog-index-topic span {
    font-size: 11px;
    color: #5b708a;
}

.pb-blog-index-topic:hover,
.pb-blog-index-topic.is-active {
    background: #0d3f70;
    color: #fff;
    border-color: #0d3f70;
}

.pb-blog-index-topic:hover span,
.pb-blog-index-topic.is-active span {
    color: rgba(255, 255, 255, .8);
}

.pb-blog-fp-wrap {
    margin-bottom: 52px;
    padding: 18px;
    border-radius: 24px;
    background: #f2f6fb;
    border: 1px solid #dce6f3;
}

.pb-blog-fp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
    align-items: start;
}

.pb-blog-fp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pb-blog-fp-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pb-blog-fp-head .bar {
    display: inline-block;
    width: 4px;
    height: 22px;
    border-radius: 999px;
    background: #0d3f70;
}

.pb-blog-fp-nav {
    display: inline-flex;
    gap: 8px;
}

.pb-blog-fp-nav button {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #d6e3f3;
    background: #fff;
    color: #1e3a5f;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pb-blog-fp-nav button:hover {
    border-color: #0d3f70;
}

.pb-blog-fp-slider {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #111827;
    min-height: 430px;
    border: 1px solid rgba(12, 30, 54, 0.18);
    box-shadow: 0 18px 44px rgba(11, 27, 47, 0.2);
}

.pb-blog-fp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
}

.pb-blog-fp-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.pb-blog-fp-slide > img,
.pb-blog-fp-placeholder {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
}

.pb-blog-fp-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dbe6f6;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1f2937, #111827);
}

.pb-blog-fp-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.pb-blog-fp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 18, 35, 0.2) 0%, rgba(8, 18, 35, 0.56) 52%, rgba(8, 18, 35, 0.94) 100%);
    z-index: 1;
}

.pb-blog-fp-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 24px;
    color: #fff;
}

.pb-blog-fp-topline {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    z-index: 4;
}

.pb-blog-fp-topline .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1e63ef 0%, #124dc2 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 9px;
    letter-spacing: .09em;
    font-weight: 800;
    color: #f8fbff;
    text-transform: uppercase;
}

.pb-blog-fp-topline .chip::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.pb-blog-fp-topline .counter {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(13, 23, 39, 0.34);
    backdrop-filter: blur(3px);
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 700;
    letter-spacing: -.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.pb-blog-fp-content .category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
    font-size: 10px;
    letter-spacing: .07em;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.94);
}

.pb-blog-fp-content h3 {
    margin: 0;
    max-width: 94%;
    font-size: clamp(20px, 1.9vw, 28px);
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-blog-fp-content p {
    margin: 14px 0 0;
    max-width: 92%;
    font-size: 14px;
    line-height: 1.52;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-blog-fp-content .meta {
    margin-top: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    line-height: 1.35;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pb-blog-fp-content .meta .fp-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pb-blog-fp-content .meta .fp-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pb-blog-fp-content .meta .fp-author-initials {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
}

.pb-blog-fp-content .meta .fp-author-name {
    font-weight: 700;
    font-size: 11px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.96);
}

.pb-blog-fp-content .meta .fp-author-details {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
}

.pb-blog-fp-content .meta .fp-author-submeta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.pb-blog-fp-content .read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-width: 130px;
    min-height: 36px;
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

.pb-blog-fp-content .read-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
    background: #f8fbff;
}

.pb-blog-fp-bottom {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pb-blog-fp-right {
    min-width: 0;
}

.pb-blog-pop-card {
    border: 1px solid #dce8f6;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

@media (min-width: 1101px) {
    .pb-blog-fp-right {
        display: flex;
        flex-direction: column;
    }
    .pb-blog-fp-right .pb-blog-pop-card {
        min-height: 444px;
        display: flex;
        flex-direction: column;
    }
    .pb-blog-fp-right .pb-blog-pop-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.pb-blog-pop-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 14px 14px;
    border-bottom: 1px solid #ecf2fa;
    background: #fff;
    transition: background-color .2s ease, transform .2s ease;
}

.pb-blog-pop-item:last-child {
    border-bottom: 0;
}

.pb-blog-pop-item .tag {
    display: inline-flex;
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: .07em;
    font-weight: 700;
    color: #1c416c;
    text-transform: uppercase;
}

.pb-blog-pop-item h4 {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: #0f172a;
    transition: color .2s ease;
}

.pb-blog-pop-item .info {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}

.pb-blog-pop-item:hover {
    background: #f8fbff;
    transform: translateX(3px);
    text-decoration: none;
}

.pb-blog-pop-item:hover h4 {
    color: #0d3f70;
    text-decoration: none;
}

.pb-blog-pop-item:focus,
.pb-blog-pop-item:focus-visible,
.pb-blog-pop-item:active {
    text-decoration: none;
}

.pb-blog-pop-empty {
    margin: 0;
    padding: 14px;
    font-size: 13px;
    color: #64748b;
}

.pb-blog-index-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.pb-blog-index-main {
    min-width: 0;
}

.pb-blog-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pb-blog-index-card {
    border: 1px solid #dfe9f6;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pb-blog-index-card:hover,
.pb-blog-index-card:focus-within {
    transform: translateY(-4px);
    border-color: #c6d9f1;
    box-shadow: 0 14px 34px rgba(13, 63, 112, 0.14);
}

@media (hover: hover) {
    .pb-blog-index-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(13, 63, 112, 0.2);
    }
    .pb-blog-index-card:hover h3 a {
        color: #0d3f70;
    }
}

@media (hover: none) {
    .pb-blog-index-card:active {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(13, 63, 112, 0.16);
    }
}

.pb-blog-index-card-img {
    display: block;
    aspect-ratio: 40 / 21;
    background: transparent;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

.pb-blog-index-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
    margin: 0;
    border: 0;
    display: block;
    transition: transform .28s ease;
}

.pb-blog-index-card:hover .pb-blog-index-card-img img,
.pb-blog-index-card:focus-within .pb-blog-index-card-img img {
    transform: scale(1.02);
}

.pb-blog-index-card-body {
    padding: 16px 16px 18px;
}

.pb-blog-index-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
}

.pb-blog-index-card-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #133c67;
}

.pb-blog-index-card h3 {
    margin: 10px 0 0;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.pb-blog-index-card h3 a {
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pb-blog-index-card p {
    margin: 10px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.pb-blog-index-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
    display: none;
    gap: 16px;
}

.pb-blog-index-widget {
    border: 1px solid #dce8f6;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
}

.pb-blog-index-widget h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.pb-blog-index-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pb-blog-index-widget li a {
    text-decoration: none;
    color: inherit;
}

.pb-blog-index-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pb-blog-index-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid #d8e4f3;
    background: #f7fbff;
    color: #1f3f67;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.pb-blog-index-tag:hover,
.pb-blog-index-tag.is-active {
    background: #0d3f70;
    color: #fff;
    border-color: #0d3f70;
}

.pb-blog-index-pagination {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pb-blog-index-page {
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #d5e3f4;
    background: #fff;
    color: #1f3f67;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.pb-blog-index-page:hover {
    border-color: #0d3f70;
}

.pb-blog-index-page.is-active {
    background: #0d3f70;
    border-color: #0d3f70;
    color: #fff;
}

.pb-blog-index-page.is-disabled {
    opacity: .45;
    pointer-events: none;
}

.pb-blog-index-ellipsis {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .pb-blog-fp-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .pb-blog-index-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .pb-blog-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pb-blog-index-card-img img {
        height: 100%;
    }
    .pb-blog-index-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 900px) {
    .pb-case-index-shell {
        padding-top: 24px;
    }
    .pb-case-index-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }
    .pb-case-search-form {
        max-width: 100%;
        min-width: 0;
    }
    .pb-case-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 22px;
    }
    .pb-case-hero-copy {
        padding: 18px 16px;
    }
    .pb-case-hero-copy p {
        font-size: 16px;
    }
    .pb-case-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .pb-case-bottom-cta {
        grid-template-columns: 1fr;
    }
    .pb-case-bottom-cta-content {
        padding: 24px 20px;
    }
    .pb-case-bottom-cta-content h2 {
        font-size: clamp(26px, 6vw, 34px);
    }
    .pb-case-bottom-cta-art {
        min-height: 150px;
    }
    .pb-case-sidebar {
        position: static;
        top: auto;
    }
    .pb-case-content {
        padding: 0;
    }
    .pb-case-story-section {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 26px 0;
    }
    .pb-case-story-title-col h2 {
        font-size: clamp(24px, 5.3vw, 32px);
    }
    .pb-case-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .pb-case-related-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .pb-case-related-grid {
        grid-template-columns: 1fr;
    }
    .pb-case-related-copy h2 {
        font-size: clamp(22px, 4.4vw, 30px);
    }
    .pb-case-related-body h3 {
        font-size: 21px;
    }
    .pb-blog-index-hero-copy h1 {
        font-size: clamp(26px, 4.4vw, 38px);
        line-height: 1.08;
    }
    .pb-blog-fp-wrap {
        margin-bottom: 40px;
        padding: 14px;
    }
    .pb-blog-fp-slider,
    .pb-blog-fp-slide > img,
    .pb-blog-fp-placeholder {
        min-height: 360px;
    }
    .pb-blog-index-grid {
        grid-template-columns: 1fr;
    }
    .pb-blog-index-card-img img {
        height: 100%;
    }
    .pb-blog-fp-topline .counter {
        font-size: 12px;
        padding: 4px 8px;
    }
    .pb-blog-fp-content h3 {
        max-width: 100%;
        font-size: clamp(18px, 3.8vw, 24px);
    }
    .pb-blog-fp-content p {
        max-width: 100%;
        font-size: 13px;
    }
    .pb-blog-fp-content .meta {
        font-size: 11px;
    }
    .pb-blog-fp-content .meta .fp-author-avatar {
        width: 30px;
        height: 30px;
    }
    .pb-blog-fp-content .meta .fp-author-name {
        font-size: 10px;
    }
    .pb-blog-fp-content .meta .fp-author-submeta {
        font-size: 9px;
    }
    .pb-blog-fp-content .read-btn {
        min-height: 33px;
        min-width: 116px;
        font-size: 11px;
        padding: 6px 10px;
    }
    .pb-blog-single-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pb-blog-single-content table thead th,
    .pb-blog-single-content table td {
        min-width: 180px;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .pb-case-index-title-wrap h1 {
        font-size: clamp(26px, 9vw, 34px);
    }
    .pb-case-index-title-wrap p {
        font-size: 15px;
    }
    .pb-case-hero-media {
        min-height: 220px;
    }
    .pb-case-side-card {
        padding: 14px;
    }
    .pb-case-story-title-col h2 {
        font-size: clamp(22px, 7.8vw, 28px);
    }
    .pb-case-story-body {
        font-size: 16px;
        line-height: 1.68;
    }
    .pb-case-bottom-cta {
        margin-top: 22px;
        margin-bottom: 34px;
        border-radius: 20px;
    }
    .pb-case-bottom-cta-content {
        padding: 20px 16px;
    }
    .pb-case-bottom-cta-content p {
        font-size: 15px;
    }
    .pb-case-bottom-cta-actions {
        gap: 10px;
    }
    .pb-case-bottom-cta-btn {
        min-height: 44px;
        font-size: 14px;
        padding: 0 16px;
    }
    .pb-case-bottom-cta-art {
        min-height: 118px;
    }
    .pb-case-related-copy h2 {
        font-size: clamp(20px, 7.2vw, 26px);
    }
    .pb-case-related-copy p {
        font-size: 15px;
    }
    .pb-case-related-image-link img {
        height: 170px;
    }
    .pb-blog-index-hero-copy h1 {
        font-size: clamp(24px, 8vw, 32px);
        line-height: 1.12;
        letter-spacing: -0.02em;
    }
    .pb-blog-fp-wrap {
        margin-bottom: 30px;
        padding: 10px;
        border-radius: 18px;
    }
    .pb-blog-index-hero {
        padding: 52px 0 24px;
    }
    .pb-blog-index-topic {
        font-size: 12px;
        padding: 7px 12px;
    }
    .pb-blog-index-card h3 {
        font-size: 20px;
    }
    .pb-blog-index-card-img {
        background: transparent;
    }
    .pb-blog-index-card-img img {
        height: 185px;
        object-fit: cover;
    }
    .pb-blog-fp-head h2 {
        font-size: 19px;
    }
    .pb-blog-fp-nav button {
        width: 34px;
        height: 34px;
    }
    .pb-blog-fp-content {
        padding: 14px;
    }
    .pb-blog-fp-content h3 {
        font-size: 17px;
    }
    .pb-blog-fp-topline {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    .pb-blog-fp-topline .chip {
        padding: 4px 8px;
        font-size: 8px;
    }
    .pb-blog-fp-topline .counter {
        font-size: 10px;
        padding: 3px 7px;
    }
    .pb-blog-fp-content p {
        font-size: 12px;
    }
    .pb-blog-fp-bottom {
        margin-top: 12px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .pb-blog-fp-content .meta {
        min-width: 0;
        flex: 1 1 auto;
    }
    .pb-blog-fp-content .meta {
        font-size: 10px;
    }
    .pb-blog-fp-content .meta .fp-author-avatar {
        width: 24px;
        height: 24px;
    }
    .pb-blog-fp-content .meta .fp-author-initials {
        font-size: 9px;
    }
    .pb-blog-fp-content .meta .fp-author-name {
        font-size: 9px;
    }
    .pb-blog-fp-content .meta .fp-author-submeta {
        font-size: 8px;
        gap: 4px;
    }
    .pb-blog-fp-content .read-btn {
        margin-left: auto;
        flex-shrink: 0;
        min-height: 30px;
        min-width: 102px;
        font-size: 10px;
        padding: 5px 9px;
    }
}

/* Blog header screenshot alignment */
.pb-blog-index-hero {
    border-bottom: 1px solid #e6ebf2;
    background-image: linear-gradient(0deg, rgba(248, 250, 252, 0.7), rgba(248, 250, 252, 0.7)), linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: auto, 60px 60px, 60px 60px;
    padding-top: 40px;
    padding-bottom: 24px;
}

.pb-blog-index-hero-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pb-blog-index-hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.06;
    margin: 0;
}

.pb-blog-title-accent {
    position: relative;
    display: inline-block;
}

.pb-blog-title-accent::after {
    content: none;
}

.pb-blog-index-stats {
    margin-top: 16px;
    gap: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.pb-blog-index-stat-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 22px;
    margin-right: 22px;
    border-right: 1px solid #dbe2ec;
    white-space: nowrap;
}

.pb-blog-index-stat-inline:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.pb-blog-index-stat-inline strong {
    font-size: 18px;
    line-height: 1;
    color: #111827;
}

.pb-blog-index-stat-inline span {
    font-size: 12px;
    line-height: 1.1;
    color: #9ca3af;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}

.pb-blog-index-search-wrap {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

.pb-blog-index-search {
    position: relative;
}

.pb-blog-index-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: #9ca3af;
}

.pb-blog-index-search input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 12px 38px 12px 42px;
    font-size: 16px;
    color: #111827;
    background: #fff;
}

.pb-blog-index-search input::placeholder {
    color: #9ca3af;
}

.pb-blog-search-clear {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
}

@media (min-width: 768px) {
    .pb-blog-index-hero-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .pb-blog-index-stats {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pb-blog-index-stat-inline {
        padding-right: 10px;
        margin-right: 10px;
    }

    .pb-blog-index-stat-inline strong {
        font-size: 16px;
    }

    .pb-blog-index-stat-inline span {
        font-size: 11px;
    }

    .pb-blog-index-search-wrap {
        max-width: 100%;
    }
}

/* Knowledge Base — uses the shared Blog and Case Studies visual system. */
.pb-kb-index-shell {
    min-height: 54vh;
}

.pb-kb-index-shell .pb-case-index-title-wrap h1 {
    font-size: clamp(30px, 3.3vw, 44px);
}

.pb-kb-single-hero .pb-blog-single-hero-inner {
    max-width: 980px;
}

.pb-kb-article-logo {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 48px;
    margin: 0 0 18px;
    object-fit: contain;
}

.pb-kb-single-section {
    padding: 46px 0 88px;
}

.pb-kb-container {
    max-width: 1440px;
    padding-right: 32px;
    padding-left: 32px;
}

.pb-kb-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 820px);
    justify-content: center;
    align-items: start;
    gap: 34px;
}

.pb-kb-left {
    position: sticky;
    top: 96px;
    align-self: start;
}

.pb-kb-hero-share {
    margin-top: 24px;
    margin-left: 0;
}

.pb-kb-all-guides {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pb-kb-all-guides:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

.pb-kb-nav {
    max-height: min(66vh, 620px);
    overflow: auto;
    padding: 10px;
}

.pb-kb-nav-category {
    margin: 12px 8px 5px;
    color: #7b8ca2;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pb-kb-nav-category:first-child {
    margin-top: 4px;
}

.pb-kb-nav-link {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.pb-kb-nav-link:hover,
.pb-kb-nav-link.is-active {
    color: var(--primary);
    background: rgba(6, 58, 109, 0.08);
    text-decoration: none;
}

.pb-kb-main {
    min-width: 0;
}

.pb-kb-content h2,
.pb-kb-content h3 {
    scroll-margin-top: 110px;
}

.pb-kb-content pre {
    max-width: 100%;
    overflow: auto;
    padding: 18px;
    border-radius: 12px;
    background: #13243a;
    color: #f8fafc;
}

.pb-kb-content iframe,
.pb-kb-content video {
    max-width: 100%;
}

.pb-kb-toc {
    display: grid;
    gap: 4px;
    max-height: min(55vh, 500px);
    overflow: auto;
    padding: 10px;
}

.pb-kb-toc a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 8px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

.pb-kb-toc a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    background: #f8fafc;
    color: #7f8da2;
    font-size: 10px;
    font-weight: 700;
}

.pb-kb-toc a.lvl-3 {
    padding-left: 18px;
    font-size: 12px;
}

.pb-kb-toc a:hover,
.pb-kb-toc a.is-active {
    color: var(--primary);
    background: rgba(6, 58, 109, 0.08);
    text-decoration: none;
}

.pb-kb-toc a.is-active > span {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.pb-kb-toc-empty {
    margin: 0;
    padding: 14px 16px;
    color: var(--text-secondary);
    font-size: 13px;
}

.pb-kb-share {
    padding: 15px 16px 17px;
    border-top: 1px solid var(--border-light);
}

.pb-kb-share > strong {
    display: block;
    margin-bottom: 11px;
    color: var(--text);
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pb-kb-share .pb-blog-share-links {
    margin-left: 0;
    gap: 7px;
}

.pb-kb-copy {
    cursor: pointer;
}

.pb-kb-related {
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.pb-kb-related > h2 {
    margin: 0 0 18px;
    font-size: 24px;
}

.pb-kb-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pb-kb-related-card {
    display: flex;
    flex-direction: column;
    min-height: 150px;
    padding: 18px;
    border: 1px solid #dce7f4;
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pb-kb-related-card > span {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pb-kb-related-card strong {
    margin-top: 8px;
    font-size: 17px;
    line-height: 1.35;
}

.pb-kb-related-card small {
    margin-top: auto;
    padding-top: 14px;
    color: var(--primary);
    font-weight: 700;
}

.pb-kb-related-card:hover {
    transform: translateY(-3px);
    border-color: #c6d9f1;
    box-shadow: 0 12px 28px rgba(13, 63, 112, 0.12);
    color: var(--primary);
    text-decoration: none;
}

.pb-kb-mobile-tools {
    display: none;
}

.pb-kb-mobile-panel {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    background: #fff;
}

.pb-kb-mobile-panel summary {
    padding: 14px 16px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.pb-kb-mobile-panel[open] summary {
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 1199px) {
    .pb-kb-layout {
        grid-template-columns: 300px minmax(0, 760px);
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .pb-case-index-head {
        align-items: stretch;
        flex-direction: column;
    }

    .pb-case-search-form {
        max-width: none;
    }

    .pb-kb-container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .pb-kb-layout {
        grid-template-columns: minmax(0, 780px);
    }

    .pb-kb-left {
        display: none;
    }

    .pb-kb-mobile-tools {
        display: block;
        max-width: 780px;
        margin: 0 auto 22px;
    }
}

@media (max-width: 575px) {
    .pb-kb-single-hero {
        padding: 40px 0 34px;
    }

    .pb-kb-single-section {
        padding: 28px 0 60px;
    }

    .pb-kb-container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .pb-kb-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Signmitra public Apps directory */
.sm-apps-directory,.sm-apps-directory * { box-sizing: border-box; }
.sm-apps-directory {
    --sm-app-ink: #10223e;
    --sm-app-muted: #64748b;
    --sm-app-line: #dfe7f1;
    padding: 0 0 96px;
    background: linear-gradient(180deg, #f7f9fd 0, #fff 38%);
    color: var(--sm-app-ink);
    font-family: var(--font-body);
    overflow: hidden;
}
.sm-apps-directory h1,.sm-apps-directory h2,.sm-apps-directory h3 {
    font-family: var(--font-display);
}
.sm-apps-directory input,.sm-apps-directory button {
    font-family: inherit;
}
.sm-apps-page-hero {
    min-height: 620px;
    border-bottom: 1px solid #e1e8f2;
    background-color: #f6f9fe;
    background-image: radial-gradient(circle at 82% 18%,rgba(92,146,255,.18),transparent 32%),linear-gradient(180deg,#fbfdff,#f0f5fc);
    background-size: cover;
    background-position: center;
}
.sm-apps-page-hero.theme-minimal { background-color: #fff; background-image: none; }
.sm-apps-page-hero.theme-midnight { background-color: #071a35; background-image: radial-gradient(circle at 80% 10%,rgba(100,77,255,.38),transparent 32%),linear-gradient(135deg,#06172f,#102b51); }
.sm-apps-page-hero.theme-gradient { background-color: #253eb8; background-image: radial-gradient(circle at 78% 4%,rgba(74,231,202,.3),transparent 28%),linear-gradient(135deg,#193fc5,#814ee2); }
.sm-apps-page-hero .hero-grid {
    min-height: 620px;
    padding-top: 76px;
    padding-bottom: 76px;
}
.sm-apps-page-hero .sm-apps-hero-copy { max-width: 900px; margin: 0 auto; text-align: center; }
.sm-apps-page-hero .sm-apps-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #3368ba;
    font-weight: 400;
    letter-spacing: 0;
}
.sm-apps-page-hero h1 { max-width: 900px; margin: 0 auto 15px; }
.sm-apps-page-hero p { max-width: 720px; margin: 0 auto 24px; }
.sm-apps-page-hero .sm-apps-hero-actions { justify-content: center; margin-top: 25px; }
.sm-apps-page-hero.text-light .sm-apps-kicker { color: #d9e7ff; }
.sm-apps-page-hero.has-background-image { background-size: cover; background-position: center; }
.sm-apps-background-overlay { background: linear-gradient(90deg,rgba(5,17,39,.72),rgba(5,17,39,.46)); }
.sm-apps-page-hero-media { width: min(760px,90%); max-height: 360px; }
.sm-apps-page-hero-media img { width: 100%; max-height: 360px; object-fit: contain; }
@media (min-width: 993px) {
    .sm-apps-page-hero.has-foreground-image .hero-grid { grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: clamp(44px,5vw,84px); text-align: left; }
    .sm-apps-page-hero.has-foreground-image .sm-apps-hero-copy { max-width: 720px; margin: 0; text-align: left; }
    .sm-apps-page-hero.has-foreground-image h1,.sm-apps-page-hero.has-foreground-image p { margin-left: 0; margin-right: 0; }
    .sm-apps-page-hero.has-foreground-image .sm-apps-hero-actions { justify-content: flex-start; }
    .sm-apps-page-hero.has-foreground-image .sm-apps-page-hero-media { width: 100%; max-width: 620px; margin: 0; }
}
.sm-apps-hero {
    position: relative;
    min-height: 400px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 48px;
    overflow: hidden;
    padding: 58px 64px;
    border: 1px solid #d9e6f5;
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 12%,rgba(111,163,255,.2),transparent 30%),
        linear-gradient(135deg,#fbfdff 0%,#edf5ff 100%);
    color: #10223e;
    box-shadow: 0 24px 65px rgba(32, 70, 120, .12);
}
.sm-apps-hero-copy { position: relative; z-index: 2; }
.sm-apps-hero-copy,.sm-apps-toolbar,.sm-apps-categories,.sm-app-card { min-width: 0; }
.sm-apps-kicker {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 7px 11px;
    border: 1px solid #c8dcfa;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #185bd8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}
.sm-apps-hero h1 {
    max-width: 720px;
    margin: 0;
    color: inherit;
    font-size: clamp(40px, 4.2vw, 62px);
    line-height: 1.05;
    letter-spacing: -.04em;
}
.sm-apps-hero p {
    max-width: 690px;
    margin: 24px 0 0;
    color: #586a82;
    font-size: 18px;
    line-height: 1.7;
}
.sm-apps-hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.sm-apps-text-link { color: #174f9e; font-weight: 600; }
.sm-apps-text-link:hover { color: #185bd8; }
.sm-apps-hero-art { position: relative; min-height: 300px; }
.sm-apps-hero.theme-midnight {
    border-color: #173456;
    background: radial-gradient(circle at 88% 12%,rgba(107,84,255,.38),transparent 30%),linear-gradient(135deg,#06172f,#102b51);
    color: #fff;
    box-shadow: 0 30px 75px rgba(6,23,47,.24);
}
.sm-apps-hero.theme-gradient {
    border-color: rgba(255,255,255,.2);
    background: radial-gradient(circle at 78% 4%,rgba(74,231,202,.32),transparent 27%),linear-gradient(135deg,#193fc5,#814ee2);
    color: #fff;
    box-shadow: 0 30px 75px rgba(48,54,166,.25);
}
.sm-apps-hero.theme-minimal { border-color: #e2e8f0; background: #fff; color: #17243a; box-shadow: 0 18px 50px rgba(32,50,80,.08); }
.sm-apps-hero.theme-midnight .sm-apps-kicker,.sm-apps-hero.theme-gradient .sm-apps-kicker { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #a8caff; }
.sm-apps-hero.theme-midnight p,.sm-apps-hero.theme-gradient p { color: #d3e0f2; }
.sm-apps-hero.theme-midnight .sm-apps-text-link,.sm-apps-hero.theme-gradient .sm-apps-text-link { color: #fff; }
.sm-apps-hero.theme-midnight .sm-apps-text-link:hover,.sm-apps-hero.theme-gradient .sm-apps-text-link:hover { color: #a9cbff; }
.sm-apps-hero-image-wrap {
    position: absolute;
    inset: 8px 0 8px 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 16px;
    border: 1px solid rgba(104,137,185,.22);
    border-radius: 24px;
    background: rgba(255,255,255,.58);
    box-shadow: 0 25px 60px rgba(31,62,108,.16);
}
.sm-apps-hero-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.sm-apps-hero.theme-midnight .sm-apps-hero-image-wrap,.sm-apps-hero.theme-gradient .sm-apps-hero-image-wrap { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.sm-apps-screen {
    position: absolute;
    inset: 28px 5px 10px 20px;
    z-index: 2;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 24px;
    background: rgba(255,255,255,.1);
    box-shadow: 0 30px 70px rgba(0,0,0,.28);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}
.sm-apps-screen-bar { display: flex; gap: 7px; margin-bottom: 18px; }
.sm-apps-screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: #6ea8ff; }
.sm-apps-screen-grid { height: calc(100% - 26px); display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); gap: 12px; }
.sm-apps-screen-grid b { border-radius: 15px; background: linear-gradient(145deg,rgba(126,171,255,.9),rgba(71,89,236,.5)); box-shadow: inset 0 1px rgba(255,255,255,.35); }
.sm-apps-screen-grid b:nth-child(2),.sm-apps-screen-grid b:nth-child(5) { background: linear-gradient(145deg,#ff8ecf,#9b5cff); }
.sm-apps-screen-grid b:nth-child(3),.sm-apps-screen-grid b:nth-child(4) { background: linear-gradient(145deg,#4de3c1,#168bcb); }
.sm-apps-orb { position: absolute; display: block; border-radius: 50%; filter: blur(1px); }
.sm-apps-orb.orb-one { width: 270px; height: 270px; right: -35px; top: -30px; background: rgba(127,83,255,.5); }
.sm-apps-orb.orb-two { width: 180px; height: 180px; left: 0; bottom: -20px; background: rgba(0,190,255,.35); }
.sm-apps-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin: 58px 0 32px;
}
.sm-apps-categories { display: flex; align-items: center; gap: 9px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.sm-apps-categories::-webkit-scrollbar { display: none; }
.sm-apps-categories a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid var(--sm-app-line);
    border-radius: 999px;
    background: #fff;
    color: #42526a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.sm-apps-categories a span { color: #94a3b8; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.sm-apps-categories a:hover,.sm-apps-categories a.is-active { border-color: #185bd8; background: #185bd8; color: #fff; }
.sm-apps-categories a:hover span,.sm-apps-categories a.is-active span { color: #cfe0ff; }
.sm-apps-search {
    width: min(310px,100%);
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 0 15px;
    border: 1px solid var(--sm-app-line);
    border-radius: 13px;
    background: #fff;
}
.sm-apps-search svg { width: 19px; height: 19px; flex: 0 0 auto; stroke: #718096; stroke-width: 1.8; }
.sm-apps-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--sm-app-ink); font-size: 15px; font-weight: 400; letter-spacing: -0.01em; }
.sm-apps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.sm-app-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sm-app-line);
    border-radius: 24px;
    background: #fff;
    color: var(--sm-app-ink);
    box-shadow: 0 12px 35px rgba(22,50,88,.07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    text-decoration: none;
}
.sm-app-card:hover,.sm-app-card:focus { border-color: #b8cff6; color: var(--sm-app-ink); text-decoration: none; transform: translateY(-7px); box-shadow: 0 24px 55px rgba(22,50,88,.15); }
.sm-app-card:hover *,.sm-app-card:focus * { text-decoration: none; }
.sm-app-card-visual {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(145deg,#e9f2ff,#eff0ff);
}
.sm-app-card-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(transparent,rgba(8,27,57,.12)); pointer-events: none; }
.sm-app-card-visual img,.sm-app-card-visual video { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.sm-app-card-visual video { background: #081a33; pointer-events: none; }
.sm-app-card:hover .sm-app-card-visual img,.sm-app-card:hover .sm-app-card-visual video { transform: scale(1.035); }
.sm-app-card-visual.is-icon { display: grid; place-items: center; background: radial-gradient(circle at 75% 10%,rgba(143,110,255,.35),transparent 32%),linear-gradient(145deg,#e7f2ff,#f1eaff); }
.sm-app-card-visual.is-icon img { width: 92px; height: 92px; padding: 13px; border-radius: 23px; object-fit: contain; background: #fff; box-shadow: 0 15px 34px rgba(46,68,120,.18); }
.sm-app-fallback { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 23px; background: #175cd3; color: #fff; font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.sm-app-featured { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 7px 11px; border-radius: 999px; background: #071a35; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sm-app-card-body { padding: 25px 26px 27px; }
.sm-app-card-identity { display: flex; align-items: center; gap: 13px; min-width: 0; margin-bottom: 14px; }
.sm-app-card-identity > div { min-width: 0; }
.sm-app-card-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; overflow: hidden; padding: 6px; border: 1px solid #e3eaf3; border-radius: 13px; background: #fff; box-shadow: 0 7px 18px rgba(34,63,104,.1); }
.sm-app-card-icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.sm-app-card-icon b { color: #185bd8; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.sm-app-category { color: #2366dc; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sm-app-card h2 { margin: 0 0 5px; color: var(--sm-app-ink); font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -.005em; }
.sm-app-card p { min-height: 68px; margin: 0; color: var(--sm-app-muted); font-size: 15px; font-weight: 400; line-height: 1.55; letter-spacing: -0.01em; }
.sm-app-open { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 17px; border-top: 1px solid #edf1f6; color: #185bd8; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.sm-app-open svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.sm-app-card:hover .sm-app-open svg { transform: translateX(4px); }
.sm-apps-empty { padding: 80px 24px; border: 1px dashed #cad6e5; border-radius: 24px; background: #fbfcfe; text-align: center; }
.sm-apps-empty-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 18px; background: #e9f1ff; color: #185bd8; font-size: 30px; }
.sm-apps-empty h2 { margin: 0 0 10px; color: var(--sm-app-ink); font-size: 27px; }
.sm-apps-empty p { margin: 0 auto 24px; color: var(--sm-app-muted); }
.sm-apps-cta { display: flex; justify-content: space-between; align-items: center; gap: 34px; margin-top: 64px; padding: 38px 44px; border-radius: 24px; background: #edf4ff; }
.sm-apps-cta span { color: #2366dc; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sm-apps-cta h2 { max-width: 700px; margin: 7px 0 0; color: var(--sm-app-ink); font-size: 27px; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; }
@media (max-width: 991px) {
    .sm-apps-hero { grid-template-columns: 1fr; padding: 48px; }
    .sm-apps-hero-art { display: none; }
    .sm-apps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .sm-apps-directory { padding: 0 0 64px; }
    .sm-apps-page-hero,.sm-apps-page-hero .hero-grid { min-height: 540px; }
    .sm-apps-page-hero .hero-grid { display: block; width: 100vw; max-width: 100vw; min-width: 0; overflow: hidden; margin: 0; padding: 58px 20px; }
    .sm-apps-page-hero .sm-apps-hero-copy { width: calc(100vw - 40px); max-width: calc(100vw - 40px); min-width: 0; margin: 0 auto; overflow: hidden; }
    .sm-apps-page-hero h1 { display: block; width: calc(100vw - 40px); max-width: calc(100vw - 40px); min-width: 0; white-space: normal !important; overflow-wrap: break-word; word-break: break-word; }
    .sm-apps-page-hero p { display: block; width: calc(100vw - 40px); max-width: calc(100vw - 40px); min-width: 0; white-space: normal !important; overflow-wrap: break-word; word-break: break-word; }
    .sm-apps-page-hero .sm-apps-hero-actions,.sm-apps-page-hero .sm-apps-hero-actions .btn { width: 100%; max-width: 100%; }
    .sm-apps-hero { min-height: 0; padding: 38px 25px; border-radius: 24px; }
    .sm-apps-hero h1 { font-size: 40px; }
    .sm-apps-hero p { font-size: 16px; }
    .sm-apps-hero-actions,.sm-apps-toolbar,.sm-apps-cta { align-items: stretch; flex-direction: column; }
    .sm-apps-toolbar { margin-top: 38px; }
    .sm-apps-search { width: 100%; }
    .sm-apps-grid { grid-template-columns: 1fr; }
    .sm-app-card-visual { height: 210px; }
    .sm-apps-cta { padding: 30px 25px; }
}
/* Page Builder rich text is rendered as valid block content instead of
   nesting editor-generated paragraphs inside another paragraph. */
.pb-rich-text > :first-child { margin-top: 0; }
.pb-rich-text > :last-child { margin-bottom: 0; }
.pb-rich-text ul,
.pb-rich-text ol { padding-left: 1.35em; }
.pb-rich-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.faq-body a {
    color: #06c !important;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 3px;
}
.faq-body a:hover,
.faq-body a:focus-visible {
    color: #004b99 !important;
    text-decoration: underline;
}

/* Feature Grid — editorial feature matrix */
/* Instagram — full-bleed editorial feed */
.section-type-instagram { overflow: clip; }
.instagram-showcase { text-align: center; }
.instagram-showcase-head {
    width: min(100%, 880px);
    margin: 0 auto;
    text-align: center;
}
.instagram-showcase-head h2 {
    max-width: 860px;
    margin: 0 auto;
    color: var(--section-text-color, var(--text));
    font-family: var(--font-display);
    font-size: clamp(32px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -.003em;
    text-wrap: balance;
}
.instagram-showcase-intro {
    max-width: 650px;
    margin: 12px auto 0;
    color: var(--section-text-color, var(--text-secondary));
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.381;
    letter-spacing: inherit;
    text-align: center;
    text-wrap: balance;
}
.instagram-showcase-intro p { color: inherit; font: inherit; letter-spacing: inherit; }
.instagram-showcase-intro > :first-child { margin-top: 0; }
.instagram-showcase-intro > :last-child { margin-bottom: 0; }
.instagram-follow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: clamp(22px, 2.3vw, 30px);
    padding: 10px 19px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.instagram-follow-button:hover,
.instagram-follow-button:focus-visible { background: var(--primary-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.instagram-showcase-bleed {
    width: 100vw;
    margin-top: clamp(50px, 6vw, 82px);
    margin-left: calc(50% - 50vw);
}
.instagram-showcase-rail {
    display: flex;
    align-items: stretch;
    gap: clamp(12px, 1vw, 18px);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-inline: max(16px, calc((100vw - var(--container-width)) / 2));
    scroll-padding-inline: max(16px, calc((100vw - var(--container-width)) / 2));
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
    cursor: grab;
}
.instagram-showcase-rail::-webkit-scrollbar { display: none; }
.instagram-showcase-rail:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.instagram-showcase-rail.is-playing { scroll-snap-type: none; scroll-behavior: auto; cursor: default; }
.instagram-showcase-rail.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.instagram-showcase-post {
    position: relative;
    flex: 0 0 clamp(180px, 13vw, 240px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: clamp(14px, 1.25vw, 20px);
    background: var(--bg-secondary);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: translateZ(0);
}
.instagram-shape-portrait .instagram-showcase-post { aspect-ratio: 4 / 5; }
.instagram-showcase-post img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .instagram-showcase-post:hover img { transform: scale(1.025); }
}
.instagram-video-mark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0,0,0,.48);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.instagram-video-mark span {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
}
.instagram-play-control {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin: clamp(36px, 4.5vw, 60px) auto 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.instagram-play-control:hover { background: var(--border); color: var(--text); }
.instagram-play-control > span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid currentColor;
}
.instagram-play-control[aria-pressed="true"] > span {
    width: 12px;
    height: 14px;
    margin-left: 0;
    border: 0;
    background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}
.instagram-showcase-empty {
    width: min(100%, 680px);
    margin: 48px auto 0;
    padding: 32px;
    border-radius: 22px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 17px;
}
.section.theme-dark .instagram-showcase-head h2,
.has-media-bg.section-type-instagram .instagram-showcase-head h2 { color: var(--text-on-dark); }
.section.theme-dark .instagram-showcase-intro,
.has-media-bg.section-type-instagram .instagram-showcase-intro { color: rgba(255,255,255,.72); }
.section.theme-dark .instagram-play-control,
.has-media-bg.section-type-instagram .instagram-play-control { background: rgba(255,255,255,.14); color: #fff; }

@media (max-width: 767px) {
    .instagram-showcase-head h2 { font-size: 32px; line-height: 1.08349; }
    .instagram-showcase-intro { max-width: 92%; font-size: 17px; line-height: 1.381; }
    .instagram-follow-button { min-height: 40px; margin-top: 22px; padding: 9px 17px; font-size: 14px; }
    .instagram-showcase-bleed { margin-top: 42px; }
    .instagram-showcase-rail { gap: 12px; padding-inline: 16px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; }
    .instagram-showcase-post { flex-basis: min(68vw, 292px); border-radius: 18px; }
    .instagram-play-control { width: 42px; height: 42px; margin-top: 32px; }
}

@media (max-width: 480px) {
    .instagram-showcase-head h2 { font-size: 28px; }
}

.feature-grid-view-carousel .section-head {
    max-width: 980px;
    margin: 0 auto clamp(34px, 4vw, 52px);
    text-align: center;
}
.feature-grid-view-carousel .section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -.003em;
    text-align: center;
}
.feature-grid-view-carousel .section-head p {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.section-type-feature-grid .card > .feature-grid-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    min-height: 42px;
    margin: auto 0 0;
    padding: 10px 17px;
    border: 1px solid color-mix(in srgb, var(--primary) 78%, #fff);
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.section-type-feature-grid .card > .feature-grid-cta span { color: inherit !important; }
.section-type-feature-grid .feature-grid-cta::after { content: none !important; display: none !important; }
.section-type-feature-grid .feature-grid-cta .feature-grid-cta-icon { display: inline-flex; flex: 0 0 auto; color: inherit !important; }
.section-type-feature-grid .feature-grid-cta .feature-grid-cta-icon svg { display: block; width: 16px; height: 16px; stroke: currentColor; }
.section-type-feature-grid .card > .feature-grid-cta:hover { background: var(--primary-hover); color: #fff !important; text-decoration: none; transform: translateY(-1px); }
.feature-grid-carousel-wrap {
    position: relative;
    padding-bottom: 0;
}
.feature-grid-carousel {
    --feature-carousel-gap: clamp(14px, 1.4vw, 20px);
    display: flex;
    align-items: stretch;
    gap: var(--feature-carousel-gap);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
    cursor: grab;
}
.feature-grid-carousel::-webkit-scrollbar { display: none; }
.feature-grid-carousel:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; border-radius: 28px; }
.feature-grid-carousel.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.section-type-feature-grid .feature-grid-carousel-card {
    flex: 0 0 calc((100% - var(--feature-carousel-gap) - var(--feature-carousel-gap)) / 3);
    min-width: 0;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
    margin: 0;
    padding: clamp(26px, 2.2vw, 34px);
    border: 0;
    border-radius: clamp(22px, 2vw, 30px);
    background: var(--card-bg);
    box-shadow: none;
    text-align: left;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    opacity: 1 !important;
    transform: none !important;
}
.section-type-feature-grid .feature-grid-carousel-cols-1 .feature-grid-carousel-card { flex-basis: 100%; }
.section-type-feature-grid .feature-grid-carousel-cols-2 .feature-grid-carousel-card { flex-basis: calc((100% - var(--feature-carousel-gap)) / 2); }
.section-type-feature-grid .feature-grid-carousel-cols-3 .feature-grid-carousel-card { flex-basis: calc((100% - var(--feature-carousel-gap) - var(--feature-carousel-gap)) / 3); }
.section-type-feature-grid .feature-grid-carousel-cols-4 .feature-grid-carousel-card { flex-basis: calc((100% - var(--feature-carousel-gap) - var(--feature-carousel-gap) - var(--feature-carousel-gap)) / 4); }
.section-type-feature-grid .feature-grid-carousel-card:hover { box-shadow: none; transform: none !important; }
.section-type-feature-grid .feature-grid-carousel-card .icon-wrap {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    justify-content: flex-start;
    margin: 0 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.section-type-feature-grid .feature-grid-carousel-card .feature-grid-icon-mask {
    width: 38px;
    height: 38px;
}
.section-type-feature-grid .feature-grid-carousel-card .icon-wrap img,
.section-type-feature-grid .feature-grid-carousel-card .icon-wrap video {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.section-type-feature-grid .feature-grid-carousel-card h3 {
    max-width: 100%;
    margin: 0 0 16px;
    color: var(--feature-text-color, var(--text));
    font-size: clamp(21px, 1.7vw, 27px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-align: left;
}
.section-type-feature-grid .feature-grid-carousel-card .pb-rich-text,
.section-type-feature-grid .feature-grid-carousel-card p {
    width: 100%;
    margin: 0;
    color: var(--feature-text-color, var(--text-secondary));
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.28;
    letter-spacing: -.012em;
    text-align: left;
}
.section-type-feature-grid .feature-grid-carousel-card .badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    margin: 22px 0 0;
    padding: 10px 17px;
    border: 1px solid color-mix(in srgb, var(--primary) 78%, #fff);
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 20%, transparent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}
.section-type-feature-grid .feature-grid-carousel-card .badge-link span { color: inherit !important; }
.section-type-feature-grid .feature-grid-carousel-card .badge-link:hover { background: var(--primary-hover); color: #fff !important; text-decoration: none; transform: translateY(-1px); }
.feature-grid-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: clamp(34px, 4vw, 54px);
}
.feature-grid-carousel-controls .cc-btn {
    position: relative;
    inset: auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    opacity: 1;
    transform: none;
    background: var(--bg-secondary);
    color: var(--text);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.feature-grid-carousel-controls .cc-btn:hover { background: var(--border-light); }
.feature-grid-carousel-controls .cc-btn:disabled { opacity: .38 !important; pointer-events: none; }

@media (max-width: 1100px) {
    .section-type-feature-grid .feature-grid-carousel-cols-3 .feature-grid-carousel-card,
    .section-type-feature-grid .feature-grid-carousel-cols-4 .feature-grid-carousel-card { flex-basis: calc((100% - var(--feature-carousel-gap)) / 2); }
}
@media (max-width: 767px) {
    .feature-grid-view-carousel .section-head { margin-bottom: 30px; }
    .feature-grid-view-carousel .section-head h2 { font-size: 32px; }
    .feature-grid-carousel { gap: 14px; }
    .section-type-feature-grid .feature-grid-carousel[class*="feature-grid-carousel-cols-"] .feature-grid-carousel-card {
        flex: 0 0 min(84%, 360px);
        min-width: 0;
        min-height: 0;
        padding: 30px 26px;
        border-radius: 24px;
    }
    .section-type-feature-grid .feature-grid-carousel-card h3 { font-size: 25px; }
    .section-type-feature-grid .feature-grid-carousel-card .pb-rich-text,
    .section-type-feature-grid .feature-grid-carousel-card p { font-size: 16px; line-height: 1.35; }
    .feature-grid-carousel-controls { gap: 10px; margin-top: 28px; }
    .feature-grid-carousel-controls .cc-btn { width: 40px; height: 40px; }
}
@media (max-width: 420px) {
    .feature-grid-view-carousel .section-head h2 { font-size: 28px; }
    .section-type-feature-grid .feature-grid-carousel[class*="feature-grid-carousel-cols-"] .feature-grid-carousel-card { flex-basis: 88%; min-height: 0; padding: 25px 22px; }
}

.feature-grid-view-matrix {
    overflow: clip;
    background: color-mix(in srgb, var(--primary) 3%, #fff);
}
.feature-grid-view-matrix > .container {
    position: relative;
    padding-left: var(--matrix-margin-left, 0px);
    padding-right: var(--matrix-margin-right, 0px);
}
.feature-grid-view-matrix .section-head {
    position: relative;
    z-index: 2;
    width: min(58%, 680px);
    margin-bottom: clamp(64px, 7vw, 104px);
    text-align: left;
}
.feature-grid-view-matrix .section-head > div { width: 100%; }
.feature-grid-view-matrix .section-head h2 {
    max-width: 640px;
    margin: 0 0 clamp(20px, 2.3vw, 30px);
    color: var(--primary);
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07143;
    letter-spacing: -.005em;
    text-align: left;
}
.feature-grid-view-matrix .section-head .section-intro {
    max-width: 720px;
    margin: 0;
    color: var(--text-secondary);
    font-size: clamp(18px, 1.55vw, 22px);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -.02em;
    text-align: left;
}
.feature-grid-view-matrix .section-head .section-intro p { max-width: none; margin: 0; color: inherit; font: inherit; text-align: inherit; }
.feature-matrix-art {
    position: absolute;
    top: calc(-1 * var(--section-padding));
    right: clamp(-80px, -4vw, -24px);
    z-index: 1;
    width: min(52vw, 760px);
    height: clamp(300px, 38vw, 560px);
    overflow: hidden;
    pointer-events: none;
}
.feature-matrix-art img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: right top; }
.feature-matrix-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(var(--matrix-columns, 3), minmax(0, 1fr));
    column-gap: clamp(24px, 3.25vw, 50px);
    row-gap: clamp(46px, 5vw, 70px);
}
.feature-matrix-grid.feature-matrix-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-matrix-grid.feature-matrix-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-matrix-item {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--matrix-item-text, var(--section-text-color, var(--text-secondary)));
    text-align: left;
}
.feature-matrix-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 18px;
    color: var(--matrix-item-icon, var(--matrix-icon-color, var(--primary)));
}
.feature-matrix-icon > span { width: 43px; height: 43px; display: block; background: currentColor; -webkit-mask: var(--matrix-icon-url) center / contain no-repeat; mask: var(--matrix-icon-url) center / contain no-repeat; }
.feature-matrix-icon .feature-grid-lucide-icon { width: 43px; height: 43px; display: block; color: currentColor; stroke: currentColor; }
.feature-matrix-icon img,
.feature-matrix-icon video { width: 100%; height: 100%; display: block; object-fit: contain; }
.feature-matrix-copy p { margin: 0; color: inherit; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.28; letter-spacing: -.012em; }
.feature-matrix-copy strong { color: inherit; font-weight: 600; }
.feature-matrix-copy a.feature-grid-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    margin-top: 16px;
    padding: 9px 16px;
    border: 1px solid color-mix(in srgb, var(--primary) 78%, #fff);
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.feature-matrix-copy a.feature-grid-cta span { color: inherit !important; }
.feature-matrix-copy a.feature-grid-cta:hover { background: var(--primary-hover); color: #fff !important; text-decoration: none; transform: translateY(-1px); }

@media (max-width: 1200px) {
    .feature-grid-view-matrix .section-head h2 { font-size: 48px; }
}
@media (max-width: 992px) {
    .feature-grid-view-matrix .section-head h2 { font-size: 32px; }
}
@media (max-width: 899px) {
    .feature-grid-view-matrix .section-head { width: min(62%, 680px); }
    .feature-matrix-grid.feature-matrix-columns-3,
    .feature-matrix-grid.feature-matrix-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-matrix-art { width: 50vw; opacity: .92; }
}
@media (max-width: 767px) {
    .feature-grid-view-matrix > .container { padding-right: 0; padding-left: 0; }
    .feature-grid-view-matrix .section-head { width: 100%; margin-bottom: 34px; }
    .feature-grid-view-matrix .section-head h2 { max-width: 92%; margin-bottom: 18px; }
    .feature-grid-view-matrix .section-head .section-intro { max-width: 100%; font-size: 17px; line-height: 1.35; }
    .feature-matrix-art { position: relative; top: auto; right: auto; width: 86%; height: min(66vw, 300px); margin: -12px -4% 48px auto; }
    .feature-matrix-grid.feature-matrix-columns-3,
    .feature-matrix-grid.feature-matrix-columns-4 { grid-template-columns: 1fr; row-gap: 44px; }
    .feature-matrix-icon { width: 44px; height: 44px; margin-bottom: 14px; }
    .feature-matrix-icon > span { width: 39px; height: 39px; }
    .feature-matrix-copy p { font-size: 17px; line-height: 1.32; }
}
@media (max-width: 520px) {
    .feature-grid-view-matrix .section-head h2 { font-size: 28px; }
}

/* Cards — editorial image showcase view */
.cards-view-editorial .section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    margin-bottom: clamp(28px, 3vw, 42px);
    text-align: center;
}
.cards-view-editorial .section-head > div { max-width: 760px; margin-right: auto; margin-left: auto; text-align: center; }
.cards-view-editorial .section-head h2 { margin-bottom: 2px; font-size: clamp(27px, 3vw, 40px); line-height: 1.08; }
.cards-view-editorial .section-head .section-intro { margin-top: 0; color: var(--text-secondary); font-size: clamp(20px, 2.3vw, 31px); line-height: 1.12; }
.cards-editorial-heading-link { display: inline-flex; align-items: center; justify-content: center; gap: 3px; flex: 0 0 auto; margin: 0 auto; color: var(--primary); font-size: 15px; font-weight: 500; text-decoration: none; }
.cards-editorial-heading-link:hover { color: var(--primary-hover); text-decoration: none; }
.cards-editorial-heading-link svg { width: 17px; height: 17px; stroke-width: 2; }
.cards-editorial-wrap { position: relative; padding-bottom: 54px; }
.cards-editorial-rail { gap: clamp(16px, 1.7vw, 24px); padding: 0; scroll-snap-type: x mandatory; touch-action: pan-x pan-y pinch-zoom; overscroll-behavior-x: contain; }
.cards-editorial-wrap .cards-editorial-card {
    flex: 0 0 calc((100% - clamp(32px, 3.4vw, 48px)) / 3);
    min-width: 0;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scroll-snap-align: start;
}
.cards-editorial-cols-1 .cards-editorial-card { flex-basis: 100%; }
.cards-editorial-cols-2 .cards-editorial-card { flex-basis: calc((100% - clamp(16px, 1.7vw, 24px)) / 2); }
.cards-editorial-cols-3 .cards-editorial-card { flex-basis: calc((100% - clamp(32px, 3.4vw, 48px)) / 3); }
.cards-editorial-cols-4 .cards-editorial-card { flex-basis: calc((100% - clamp(48px, 5.1vw, 72px)) / 4); }
.cards-editorial-wrap .cards-editorial-card,
.cards-editorial-wrap .cards-editorial-card:hover,
.cards-editorial-wrap .cards-editorial-card:focus-within { transform: none !important; box-shadow: none !important; filter: none !important; }
.cards-editorial-wrap .cards-editorial-card .card-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin: 0;
    border-radius: clamp(16px, 1.8vw, 24px);
    background: var(--bg-secondary);
}
.cards-editorial-cols-2 .cards-editorial-card .card-item {
    aspect-ratio: 16 / 10;
}
.cards-editorial-wrap .cards-editorial-card .card-item img,
.cards-editorial-wrap .cards-editorial-card .card-item video,
.cards-editorial-wrap .cards-editorial-card .card-item iframe { width: 100%; height: 100%; display: block; object-fit: cover; }
.cards-editorial-wrap .cards-editorial-copy { margin-top: 17px; }
.cards-editorial-wrap .cards-editorial-copy p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.48; letter-spacing: -.01em; }
.cards-editorial-wrap .cards-editorial-copy strong { color: var(--text); font-weight: 600; }
.cards-editorial-wrap .cards-editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    width: fit-content;
    margin-top: 13px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.01em;
    text-decoration: none;
}
.cards-editorial-wrap .cards-editorial-link:hover,
.cards-editorial-wrap .cards-editorial-link:focus-visible {
    background: transparent;
    box-shadow: none;
    color: var(--primary-hover);
    text-decoration: none;
}
.cards-editorial-wrap .cards-editorial-link svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
    transition: transform .2s ease;
}
.cards-editorial-wrap .cards-editorial-link:hover svg,
.cards-editorial-wrap .cards-editorial-link:focus-visible svg { transform: translateX(2px); }
.cards-editorial-wrap .cc-btn { top: auto; bottom: 0; width: 38px; height: 38px; opacity: 1; transform: none; background: var(--bg-secondary); color: var(--text); backdrop-filter: none; -webkit-backdrop-filter: none; }
.cards-editorial-wrap .cc-btn:hover { background: var(--border-light); }
.cards-editorial-wrap .cc-prev { right: 46px; left: auto; }
.cards-editorial-wrap .cc-next { right: 0; }
.cards-editorial-wrap .cc-btn:disabled { opacity: .35 !important; pointer-events: none; }

@media (max-width: 991px) {
    .cards-editorial-wrap .cards-editorial-card,
    .cards-editorial-cols-1 .cards-editorial-card,
    .cards-editorial-cols-2 .cards-editorial-card,
    .cards-editorial-cols-3 .cards-editorial-card,
    .cards-editorial-cols-4 .cards-editorial-card { flex-basis: calc(42% - 12px); }
}
@media (max-width: 767px) {
    .cards-view-editorial .section-head { align-items: center; flex-direction: column; gap: 12px; margin-bottom: 25px; text-align: center; }
    .cards-view-editorial .section-head h2 { font-size: 28px; }
    .cards-view-editorial .section-head .section-intro { font-size: 21px; }
    .cards-editorial-heading-link { margin: 0 auto; font-size: 14px; }
    .cards-editorial-rail { gap: 14px; scroll-padding-left: 0; }
    .cards-editorial-wrap .cards-editorial-card,
    .cards-editorial-cols-1 .cards-editorial-card,
    .cards-editorial-cols-2 .cards-editorial-card,
    .cards-editorial-cols-3 .cards-editorial-card,
    .cards-editorial-cols-4 .cards-editorial-card { flex: 0 0 82%; min-width: 0; }
    .cards-editorial-wrap .cards-editorial-card .card-item { border-radius: 18px; }
    .cards-editorial-wrap .cards-editorial-copy { margin-top: 14px; }
    .cards-editorial-wrap .cards-editorial-copy p { font-size: 14px; line-height: 1.45; }
    .cards-editorial-wrap .cards-editorial-link { margin-top: 11px; font-size: 16px; }
    .cards-editorial-wrap { padding-bottom: 50px; }
    .cards-editorial-wrap .cc-btn { width: 36px; height: 36px; }
    .cards-editorial-wrap .cc-prev { right: 43px; }
}

/* Cards — information cards with detail modal */
.cards-view-modal { background: var(--bg-secondary); overflow: clip; }
.cards-view-modal .section-head { margin-bottom: clamp(26px, 3vw, 42px); }
.cards-modal-wrap { padding-bottom: 58px; }
.cards-modal-rail { gap: clamp(16px, 1.5vw, 24px); padding: 0 2px; scroll-snap-type: x mandatory; touch-action: pan-x pan-y pinch-zoom; overscroll-behavior-x: contain; }
.cards-modal-rail .cards-modal-card {
    position: relative;
    flex: 0 0 calc(28% - 14px);
    min-width: 270px;
    height: clamp(420px, 36vw, 510px);
    overflow: hidden;
    margin: 0;
    padding: clamp(26px, 2.2vw, 34px) clamp(24px, 2vw, 30px);
    border: 0;
    border-radius: clamp(20px, 1.8vw, 28px);
    background: #fff;
    box-shadow: none !important;
    scroll-snap-align: start;
    transform: none !important;
    filter: none !important;
}
.cards-modal-rail .cards-modal-card:hover,
.cards-modal-rail .cards-modal-card:focus-within { box-shadow: none !important; transform: none !important; filter: none !important; }
.cards-modal-card-copy { position: relative; z-index: 2; }
.cards-modal-rail .cards-modal-card .cards-modal-eyebrow {
    margin: 0 0 15px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}
.cards-modal-rail .cards-modal-card h3 {
    margin: 0;
    color: #1d1d1f;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.025em;
}
.cards-modal-summary { margin: 14px 0 0; padding: 0; color: #333336; font-size: 15px; line-height: 1.28; text-align: left; }
.cards-modal-rail .cards-modal-card .cards-modal-summary p,
.cards-modal-rail .cards-modal-card .cards-modal-summary ul,
.cards-modal-rail .cards-modal-card .cards-modal-summary ol {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0;
}
.cards-modal-rail .cards-modal-card .cards-modal-summary p { margin-top: 0 !important; margin-bottom: 0 !important; color: inherit; font: inherit; }
.cards-modal-rail .cards-modal-card .cards-modal-summary p + p { margin-top: 7px !important; }
.cards-modal-rail .cards-modal-card .cards-modal-summary > :first-child { margin-top: 0 !important; }
.cards-modal-rail .cards-modal-card .cards-modal-summary > :last-child { margin-bottom: 0 !important; }
.cards-modal-card-media { position: absolute; right: 0; bottom: 0; left: 0; height: 45%; overflow: hidden; }
.cards-modal-card-media img,
.cards-modal-card-media video { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center bottom; }
.cards-modal-open {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #1d1d1f;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.cards-modal-open:hover { background: #000; transform: scale(1.04); }
.cards-modal-open:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.cards-modal-open span,
.cards-modal-open span::after { width: 17px; height: 2.5px; display: block; border-radius: 2px; background: currentColor; }
.cards-modal-open span { position: relative; }
.cards-modal-open span::after { content: ""; position: absolute; inset: 0; transform: rotate(90deg); }
.cards-modal-wrap .cc-btn { top: auto; bottom: 0; width: 40px; height: 40px; opacity: 1; transform: none; background: #dedee3; color: #1d1d1f; backdrop-filter: none; -webkit-backdrop-filter: none; }
.cards-modal-wrap .cc-btn:hover { background: #cfcfd5; }
.cards-modal-wrap .cc-prev { right: 48px; left: auto; }
.cards-modal-wrap .cc-next { right: 0; }
.cards-modal-wrap .cc-btn:disabled { opacity: .32 !important; }

.cards-detail-modal[hidden] { display: none !important; }
.cards-detail-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: clamp(18px, 4vw, 54px); }
.cards-detail-backdrop { position: absolute; inset: 0; background: rgba(32,32,34,.46); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.cards-detail-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    min-height: min(440px, calc(100dvh - 72px));
    max-height: calc(100dvh - 72px);
    display: flex;
    align-items: center;
    overflow: auto;
    padding: clamp(52px, 6vw, 76px) clamp(44px, 7vw, 76px) clamp(48px, 5vw, 66px);
    border: 0;
    border-radius: clamp(24px, 2.5vw, 32px);
    background: #fff;
    color: #1d1d1f;
    box-shadow: none;
    animation: cardsDetailOpen .34s cubic-bezier(.2,.75,.25,1) both;
    outline: none;
}
@keyframes cardsDetailOpen { from { opacity: 0; transform: scale(.975) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.cards-detail-close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #1d1d1f; color: #fff; font-size: 0; line-height: 0; appearance: none; -webkit-appearance: none; cursor: pointer; }
.cards-detail-close svg { width: 20px; height: 20px; display: block; stroke: #fff; stroke-width: 2.5; pointer-events: none; }
.cards-detail-close:hover { background: #000; }
.cards-detail-close:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.cards-detail-eyebrow { margin: 0 0 18px; color: #1d1d1f; font-size: 16px; font-weight: 600; line-height: 1.25; }
.cards-detail-content h3 { max-width: 650px; margin: 0; color: #1d1d1f; font-size: clamp(38px, 4vw, 58px); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; }
.cards-detail-content { width: 100%; }
.cards-detail-text { max-width: 650px; margin-top: 26px; color: #1d1d1f; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.42; }
.cards-detail-text > :first-child { margin-top: 0; }
.cards-detail-text > :last-child { margin-bottom: 0; }
.cards-detail-link { display: inline-flex; align-items: center; margin-top: 22px; color: #06c; font-size: 16px; font-weight: 500; text-decoration: none; }
.cards-detail-link:hover { text-decoration: underline; }
body.cards-modal-lock { overflow: hidden; }

@media (max-width: 1100px) {
    .cards-modal-rail .cards-modal-card { flex-basis: calc(36% - 12px); }
}
@media (max-width: 767px) {
    .cards-modal-wrap { padding-bottom: 52px; }
    .cards-modal-rail { gap: 14px; }
    .cards-modal-rail .cards-modal-card { flex: 0 0 84%; min-width: 0; height: clamp(410px, 118vw, 480px); padding: 25px 23px; border-radius: 22px; }
    .cards-modal-rail .cards-modal-card .cards-modal-eyebrow { margin-bottom: 12px; font-size: 13px; }
    .cards-modal-rail .cards-modal-card h3 { font-size: 25px; }
    .cards-modal-summary { margin-top: 11px; font-size: 14px; }
    .cards-modal-card-media { height: 43%; }
    .cards-modal-open { right: 15px; bottom: 15px; width: 40px; height: 40px; }
    .cards-modal-wrap .cc-btn { width: 38px; height: 38px; }
    .cards-modal-wrap .cc-prev { right: 46px; }
    .cards-detail-modal { align-items: center; padding: 14px; }
    .cards-detail-dialog { width: 100%; min-height: 0; max-height: calc(100dvh - 28px); padding: 62px 25px 38px; border-radius: 24px; }
    .cards-detail-close { top: 15px; right: 15px; width: 40px; height: 40px; }
    .cards-detail-eyebrow { margin-bottom: 14px; font-size: 14px; }
    .cards-detail-content h3 { font-size: clamp(32px, 10vw, 43px); }
    .cards-detail-text { margin-top: 22px; font-size: 16px; line-height: 1.42; }
}
@media (prefers-reduced-motion: reduce) {
    .cards-detail-dialog { animation: none; }
}

/* Cards — cinematic story carousel */
.cards-view-story { overflow: clip; }
.cards-view-story .section-head { margin-bottom: clamp(24px, 3vw, 42px); }
.cards-story {
    --story-gap: clamp(16px, 1.5vw, 24px);
    --story-edge: max(24px, calc((100% - min(72vw, 1180px)) / 2));
    --story-card-width: min(72vw, 1180px);
    position: relative;
    width: min(100vw, 1680px);
    margin-left: 50%;
    transform: translateX(-50%);
}
.cards-story-rail {
    display: flex;
    align-items: stretch;
    gap: var(--story-gap);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-inline: var(--story-edge);
    scroll-padding-inline: var(--story-edge);
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
    cursor: grab;
}
.cards-story-rail::-webkit-scrollbar { display: none; }
.cards-story-rail.is-dragging,
.cards-story-rail.is-settling { scroll-snap-type: none; }
.cards-story-rail.is-dragging { scroll-behavior: auto; cursor: grabbing; user-select: none; }
.cards-story-card {
    position: relative;
    flex: 0 0 var(--story-card-width);
    aspect-ratio: 1.86 / 1;
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: clamp(20px, 2vw, 30px);
    background: #fff;
    box-shadow: none !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none !important;
    filter: none !important;
}
.cards-story-card:hover,
.cards-story-card:focus-within { box-shadow: none !important; transform: none !important; filter: none !important; }
.cards-story-media { position: absolute; inset: 0; overflow: hidden; background: #fff; }
.cards-story-media img,
.cards-story-media video,
.cards-story-media iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.cards-story-media.media-top img,.cards-story-media.media-top video { object-position: center top; }
.cards-story-media.media-bottom img,.cards-story-media.media-bottom video { object-position: center bottom; }
.cards-story-media.media-left img,.cards-story-media.media-left video { object-position: left center; }
.cards-story-media.media-right img,.cards-story-media.media-right video { object-position: right center; }
.cards-story-copy {
    position: absolute;
    z-index: 2;
    width: min(42%, 500px);
    color: var(--story-text, #1d1d1f);
    text-align: left;
    pointer-events: none;
    translate: var(--story-copy-shift, 0px) 0;
    will-change: translate;
}
.cards-story-copy h3,
.cards-story-copy p { color: inherit !important; text-shadow: none; }
.cards-story-copy h3 { margin: 0; font-size: clamp(22px, 2vw, 34px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.cards-story-copy .pb-rich-text { margin-top: 5px; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.3; }
.cards-story-copy .pb-rich-text > * { margin-top: 0; margin-bottom: 0; }
.cards-story-copy a { display: inline-flex; margin-top: 14px; color: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; pointer-events: auto; }
.cards-story-card.text-top-center .cards-story-copy { top: 7%; left: 50%; width: min(70%, 760px); text-align: center; transform: translateX(-50%); }
.cards-story-card.text-center-left .cards-story-copy { top: 50%; left: 4%; transform: translateY(-50%); }
.cards-story-card.text-bottom-left .cards-story-copy { bottom: 7%; left: 4%; }
.cards-story-card.text-bottom-center .cards-story-copy { bottom: 7%; left: 50%; width: min(70%, 760px); text-align: center; transform: translateX(-50%); }
.cards-story-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(24px, 3vw, 38px); }
.cards-story-dots { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 52px; padding: 0 22px; border-radius: 999px; background: #e8e8ed; }
.cards-story-dot { width: 8px; height: 8px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 999px; background: #77777c; cursor: pointer; transition: width .35s cubic-bezier(.2,.7,.2,1), background .25s ease; }
.cards-story-dot.is-active { width: 42px; background: #6e6e73; }
.cards-story-play { position: relative; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #e8e8ed; color: #1d1d1f; cursor: pointer; }
.cards-story-play-icon { width: 0; height: 0; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid currentColor; }
.cards-story-play[aria-pressed="true"] .cards-story-play-icon { width: 12px; height: 15px; margin-left: 0; border: 0; border-right: 4px solid currentColor; border-left: 4px solid currentColor; }
.cards-story-dot:focus-visible,.cards-story-play:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.cards-story-cols-2 {
    --story-edge: max(24px, 4vw);
    --story-card-width: calc((min(100vw, 1680px) - (2 * var(--story-edge)) - var(--story-gap)) / 2);
}
.cards-story-cols-3 {
    --story-edge: max(24px, 3vw);
    --story-card-width: calc((min(100vw, 1680px) - (2 * var(--story-edge)) - (2 * var(--story-gap))) / 3);
}
.cards-story-cols-2 .cards-story-card,
.cards-story-cols-3 .cards-story-card { scroll-snap-align: start; }

/* Per-card video playback — Editorial and Cinematic views */
.cards-story-media.card-video-shell {
    position: absolute;
}
.card-video-toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(29, 29, 31, .14);
    border-radius: 50%;
    background: rgba(245, 245, 247, .86);
    color: #1d1d1f;
    box-shadow: none;
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease;
}
.card-video-toggle:hover {
    background: rgba(255, 255, 255, .96);
    transform: scale(1.04);
}
.card-video-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
.card-video-toggle span {
    display: block;
    width: 12px;
    height: 14px;
    color: currentColor;
}
.card-video-toggle[aria-pressed="true"] span {
    background: linear-gradient(to right, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}
.card-video-toggle[aria-pressed="false"] span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid currentColor;
}

@media (max-width: 991px) {
    .cards-story {
        --story-card-width: 80vw;
        --story-edge: max(22px, calc((100% - 80vw) / 2));
    }
    .cards-story-rail {
        padding-inline: var(--story-edge);
        scroll-padding-inline: var(--story-edge);
    }
    .cards-story-cols-2 .cards-story-card,
    .cards-story-cols-3 .cards-story-card { scroll-snap-align: center; }
}
@media (max-width: 767px) {
    .cards-view-story .section-head { margin-bottom: 22px; }
    .cards-story { --story-gap: 14px; --story-card-width: calc(100vw - 52px); --story-edge: 26px; width: 100vw; }
    .cards-story-rail {
        padding-inline: 26px;
        scroll-padding-inline: 26px;
    }
    .cards-story-card { flex: 0 0 calc(100vw - 52px); aspect-ratio: .82 / 1; border-radius: 22px; }
    .cards-story-copy { width: calc(100% - 52px); }
    .cards-story-copy h3 { font-size: clamp(18px, 5vw, 22px); line-height: 1.12; }
    .cards-story-copy .pb-rich-text { margin-top: 4px; font-size: 14px; line-height: 1.3; }
    .cards-story-card.text-top-center .cards-story-copy { top: 7%; width: calc(100% - 44px); }
    .cards-story-card.text-center-left .cards-story-copy { top: 50%; left: 24px; width: calc(100% - 48px); }
    .cards-story-card.text-bottom-left .cards-story-copy { bottom: 7%; left: 24px; width: calc(100% - 48px); }
    .cards-story-card.text-bottom-center .cards-story-copy { bottom: 7%; width: calc(100% - 44px); }
    .cards-story-controls { gap: 12px; margin-top: 22px; }
    .cards-story-dots { gap: 10px; min-height: 48px; max-width: calc(100vw - 112px); overflow: hidden; padding: 0 18px; }
    .cards-story-dot { width: 7px; height: 7px; }
    .cards-story-dot.is-active { width: 30px; }
    .cards-story-play { width: 48px; height: 48px; }
    .card-video-toggle { right: 13px; bottom: 13px; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .cards-story-rail { scroll-behavior: auto; }
    .cards-story-dot { transition: none; }
}

/* Product Feature Explorer — interactive product detail showcase */
.section-type-product-explorer {
    overflow: hidden;
    padding: clamp(16px, 2vw, 32px) 0;
}
.section-type-product-explorer .section-head { margin-bottom: clamp(18px, 2vw, 30px); }
.product-feature-explorer {
    padding: 0;
    border: 0;
    border-radius: clamp(18px, 2vw, 28px);
    background: transparent;
    box-shadow: none;
}
.pfe-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.42fr);
    gap: clamp(26px, 4vw, 68px);
    min-height: clamp(470px, 48vw, 620px);
    overflow: hidden;
    padding: clamp(34px, 4vw, 58px) clamp(30px, 4.8vw, 72px);
    border-radius: clamp(18px, 2vw, 28px);
    border: 0;
    background: var(--pfe-panel, #fff);
    box-shadow: none;
}
.pfe-controls {
    position: relative;
    z-index: 3;
    align-self: center;
    min-width: 0;
}
.pfe-feature-list { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.pfe-colors { position: relative; width: fit-content; margin-bottom: 14px; }
.pfe-pill {
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--pfe-pill, #f0f0f2);
    color: #1d1d1f;
    font: inherit;
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.pfe-pill:hover, .pfe-pill:focus-visible { background: color-mix(in srgb, var(--pfe-pill, #f0f0f2) 82%, #d4d4d8); }
.pfe-pill:active { transform: scale(.985); }
.pfe-plus {
    position: relative;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border: 1.8px solid currentColor;
    border-radius: 50%;
}
.pfe-plus::before, .pfe-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.8px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.pfe-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.pfe-current-swatch { width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid rgba(0,0,0,.08); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.pfe-swatches {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    z-index: 7;
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.pfe-swatches[hidden], .pfe-close[hidden], .pfe-feature-copy[hidden] { display: none !important; }
.pfe-swatch { width: 34px; height: 34px; display: grid; place-items: center; padding: 3px; border: 2px solid transparent; border-radius: 50%; background: #fff; cursor: pointer; }
.pfe-swatch span { width: 24px; height: 24px; display: block; border: 1px solid rgba(0,0,0,.1); border-radius: 50%; }
.pfe-swatch.is-selected { border-color: #1d1d1f; }
.pfe-feature { width: 100%; }
.pfe-feature.is-active > .pfe-feature-trigger { display: none; }
.pfe-panel.is-expanded .pfe-colors { display: none; }
.pfe-feature-copy {
    width: min(100%, 470px);
    overflow: hidden;
    border-radius: 28px;
    background: var(--pfe-pill, #f0f0f2);
    animation: pfeCopyIn .32s ease both;
}
.pfe-feature-copy p { margin: 0; padding: 22px 24px; color: #1d1d1f; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; }
.pfe-feature-detail { width: 100%; margin: 0; overflow: hidden; background: #000; }
.pfe-feature-detail img { width: 100%; height: auto; max-height: 250px; display: block; object-fit: cover; }
.pfe-close {
    position: absolute;
    top: clamp(18px, 2vw, 30px);
    right: clamp(18px, 2vw, 30px);
    z-index: 8;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--pfe-pill, #f0f0f2);
    color: #1d1d1f;
    cursor: pointer;
}
.pfe-close svg { width: 23px; height: 23px; stroke-width: 2.5; }
.pfe-navigation { position: absolute; left: 18px; top: 50%; z-index: 10; display: none; gap: 38px; transform: translateY(-50%); }
.pfe-panel.is-expanded .pfe-navigation { display: grid; }
.pfe-navigation button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--pfe-pill, #f0f0f2); color: #1d1d1f; cursor: pointer; }
.pfe-navigation svg { width: 24px; height: 24px; stroke-width: 2.5; }
.pfe-media { position: relative; z-index: 1; min-width: 0; min-height: 100%; }
.pfe-visual { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.pfe-visual.is-active { opacity: 1; visibility: visible; }
.pfe-visual.is-entering { animation: pfeVisualIn .62s cubic-bezier(.2,.75,.25,1) both; }
.pfe-visual img { width: 100%; height: 100%; max-height: 540px; display: block; object-fit: contain; }
.pfe-empty-media { height: 100%; display: grid; align-content: center; justify-items: center; gap: 10px; color: #86868b; text-align: center; }
.pfe-empty-media svg { width: 48px; height: 48px; }
@keyframes pfeVisualIn { from { opacity: 0; transform: translate3d(11%,0,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes pfeCopyIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 991px) {
    .pfe-panel { grid-template-columns: minmax(220px,.85fr) minmax(0,1.15fr); gap: 24px; min-height: 500px; padding: 62px 34px 42px 54px; }
    .pfe-navigation { left: 10px; }
}
@media (max-width: 767px) {
    .section-type-product-explorer { padding: 14px 0; }
    .product-feature-explorer { padding: 0; border-radius: 20px; }
    .pfe-panel { display: block; min-height: clamp(520px, 148vw, 620px); padding: 0; border-radius: 20px; }
    .pfe-controls {
        position: absolute;
        right: 0;
        bottom: 14px;
        left: 0;
        z-index: 6;
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        overflow-x: auto;
        padding: 7px 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }
    .pfe-controls::-webkit-scrollbar { display: none; }
    .pfe-colors { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
    .pfe-swatches { position: static; flex: 0 0 auto; box-shadow: none; }
    .pfe-feature-list { display: contents; }
    .pfe-feature { width: auto; flex: 0 0 auto; scroll-snap-align: start; }
    .pfe-pill { min-height: 46px; padding: 10px 16px; font-size: 12.5px; letter-spacing: -.01em; white-space: nowrap; }
    .pfe-pill strong { font-weight: 600; }
    .pfe-feature-copy { width: 100%; height: auto; max-height: 98px; overflow-x: hidden; overflow-y: auto; border: 0; border-radius: 22px; background: #f0f0f2; box-shadow: none !important; filter: none; opacity: 1; transform: none !important; animation: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; scrollbar-width: thin; -webkit-font-smoothing: antialiased; }
    .pfe-feature-copy p { padding: 13px 20px; color: #1d1d1f; font-size: 12.5px; line-height: 1.35; letter-spacing: -.01em; text-shadow: none; text-rendering: optimizeLegibility; transform: none; }
    .pfe-feature-copy p strong { font-weight: 600; }
    .pfe-feature-copy.has-detail-image { height: auto; max-height: none; overflow: hidden; }
    .pfe-feature-detail { display: block; }
    .pfe-feature-detail img { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; }
    .pfe-media { width: 100%; height: clamp(470px, 136vw, 570px); min-height: 0; }
    .pfe-visual { padding: 30px 24px 72px; }
    .pfe-visual img { max-height: 470px; }
    .pfe-close { top: 14px; right: 14px; width: 38px; height: 38px; }
    .pfe-close svg { width: 18px; height: 18px; }
    .pfe-panel.is-expanded .pfe-controls { position: static; width: auto; overflow: visible; padding: 0; }
    .pfe-panel.is-expanded .pfe-feature-list { display: block; }
    .pfe-panel.is-expanded .pfe-feature:not(.is-active) { display: none; }
    .pfe-panel.is-expanded .pfe-feature.is-active { position: absolute; right: 36px; bottom: 18px; left: 36px; z-index: 7; }
    .pfe-panel.is-expanded .pfe-visual { padding-bottom: 72px; }
    .pfe-navigation { position: absolute; right: -18px; bottom: 18px !important; left: -18px; top: auto !important; z-index: 10; display: none; justify-content: space-between; align-items: flex-end; gap: 0; transform: none; transition: none; pointer-events: none; }
    .pfe-panel.is-expanded .pfe-navigation { display: flex; }
    .pfe-navigation button { width: 48px; height: 48px; border: 0; background: var(--pfe-pill, #f0f0f2); box-shadow: none; pointer-events: auto; }
    .pfe-navigation button svg { width: 18px; height: 18px; stroke-width: 3; }
    .pfe-navigation button:first-child svg { transform: rotate(-90deg); }
    .pfe-navigation button:last-child svg { transform: rotate(-90deg); }
}
@media (prefers-reduced-motion: reduce) {
    .pfe-visual.is-entering, .pfe-feature-copy { animation: none; }
}

/* Overlap Boxes — flat Apple-style layered callout */
.overlap-boxes {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: clamp(10px, 2vw, 28px) 0;
    isolation: isolate;
    overflow: visible;
}
.overlap-box-primary,
.overlap-box-secondary {
    position: relative;
    inset: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: clamp(24px, 2.4vw, 34px);
    box-shadow: none;
}
.overlap-box-primary {
    z-index: 1;
    grid-column: 1 / 10;
    grid-row: 1;
    width: 100%;
    padding: clamp(36px, 4.2vw, 62px) clamp(34px, 4.5vw, 68px);
    padding-right: clamp(250px, 27vw, 400px);
    background: var(--ob-primary-bg);
    color: var(--ob-primary-text-color);
    justify-content: center;
}
.overlap-box-secondary {
    z-index: 2;
    grid-column: 8 / 13;
    grid-row: 1;
    align-self: center;
    width: 100%;
    padding: clamp(28px, 3vw, 44px);
    background: var(--ob-secondary-bg);
    color: var(--ob-secondary-text-color);
}
.overlap-boxes.small-left .overlap-box-primary {
    grid-column: 4 / 13;
    margin: 0;
    padding-right: clamp(34px, 4.5vw, 68px);
    padding-left: clamp(250px, 27vw, 400px);
}
.overlap-boxes.small-left .overlap-box-secondary {
    grid-column: 1 / 6;
    right: auto;
    left: auto;
}
.overlap-box-primary h3 {
    max-width: 680px;
    margin: 0 0 14px;
    color: var(--ob-primary-text-color);
    font-family: inherit;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.overlap-box-primary-rich,
.overlap-box-primary p {
    max-width: 680px;
    margin: 0;
    color: var(--ob-primary-text-color);
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -.012em;
}
.overlap-box-primary-rich p + p { margin-top: 10px; }
.overlap-box-secondary h4 {
    margin: 0 0 12px;
    color: var(--ob-secondary-text-color);
    font-family: inherit;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.03em;
}
.overlap-box-secondary p,
.overlap-box-secondary-rich p,
.overlap-box-secondary-rich li {
    margin: 0;
    color: var(--ob-secondary-text-color);
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -.01em;
}
.overlap-box-secondary-rich { gap: 9px; }
.overlap-box-secondary-rich li + li { margin-top: 7px; }
.overlap-box-action-wrap { margin-top: 22px; }
.overlap-box-btn {
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    transition: opacity .2s ease, background-color .2s ease;
}
.overlap-box-btn:hover { transform: none; opacity: .88; }
.overlap-box-btn-primary { border: 0; background: #fff; color: var(--ob-primary-bg); box-shadow: none; }
.overlap-box-btn-secondary { border: 1px solid color-mix(in srgb, var(--ob-secondary-text-color) 34%, transparent); background: color-mix(in srgb, var(--ob-secondary-text-color) 14%, transparent); color: var(--ob-secondary-text-color); -webkit-backdrop-filter: none; backdrop-filter: none; }
.overlap-box-primary-media {
    max-width: 680px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}
.overlap-box-media-frame {
    width: min(100%, 310px);
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid color-mix(in srgb, var(--ob-primary-text-color) 22%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--ob-primary-text-color) 10%, transparent);
}
.overlap-box-media-label { color: var(--ob-primary-text-color); font-size: 15px; font-weight: 500; line-height: 1.25; }
.overlap-box-corner-play,
.overlap-box-secondary-media .mb-video-play-icon {
    position: absolute;
    top: auto;
    right: 16px;
    bottom: 16px;
    left: auto;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(29, 29, 31, .14);
    border-radius: 50%;
    background: rgba(245, 245, 247, .86);
    color: #1d1d1f;
    box-shadow: none;
    transform: none;
    pointer-events: none;
    transition: background-color 180ms ease;
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
}
.overlap-box-corner-play > span,
.overlap-box-secondary-media .mb-video-play-icon > span {
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid currentColor;
}
.overlap-box-media-frame:hover .overlap-box-corner-play,
.overlap-box-secondary-media .mb-video-launch:hover .mb-video-play-icon { background: rgba(255, 255, 255, .96); }
.overlap-box-secondary-media .mb-video-launch:hover .mb-video-play-icon,
.overlap-box-secondary-media .mb-video-launch:focus-visible .mb-video-play-icon {
    top: auto;
    right: 16px;
    bottom: 16px;
    left: auto;
    transform: none;
}
.overlap-box-secondary.mode-media {
    width: 100%;
    min-height: 0;
    padding: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.overlap-box-secondary.mode-media::after { height: 30%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.32)); }
.overlap-box-secondary-media .overlap-video-launch img { object-fit: cover; background: transparent; }

@media (max-width: 992px) {
    .overlap-boxes {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 0;
        padding: 0 0 24px;
        overflow: visible;
    }
    .overlap-box-primary,
    .overlap-boxes.small-left .overlap-box-primary {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        padding: clamp(32px, 7vw, 52px);
        padding-bottom: clamp(66px, 11vw, 92px);
        border-radius: 28px;
    }
    .overlap-box-secondary,
    .overlap-boxes.small-left .overlap-box-secondary {
        position: relative;
        grid-column: 1;
        grid-row: 2;
        width: calc(100% - clamp(34px, 8vw, 72px)) !important;
        margin-top: clamp(-56px, -5vw, -36px);
        padding: clamp(26px, 5vw, 38px);
        border-radius: 26px;
    }
    .overlap-boxes:not(.small-left) .overlap-box-secondary { justify-self: end; }
    .overlap-boxes.small-left .overlap-box-secondary { justify-self: start; }
    .overlap-box-secondary.mode-media { padding: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
    .overlap-boxes { padding-bottom: 14px; }
    .overlap-box-primary,
    .overlap-boxes.small-left .overlap-box-primary {
        padding: 28px 24px 56px;
        border-radius: 24px;
    }
    .overlap-box-secondary,
    .overlap-boxes.small-left .overlap-box-secondary {
        width: calc(100% - 18px) !important;
        margin-top: -32px;
        padding: 22px 20px;
        border-radius: 22px;
    }
    .overlap-box-primary h3 { font-size: clamp(26px, 8vw, 32px); }
    .overlap-box-primary-rich,
    .overlap-box-primary p { font-size: 16px; line-height: 1.45; }
    .overlap-box-secondary h4 { font-size: 22px; }
    .overlap-box-secondary p,
    .overlap-box-secondary-rich p,
    .overlap-box-secondary-rich li { font-size: 15px; }
    .overlap-box-primary-media { align-items: flex-start; flex-direction: column; gap: 10px; }
    .overlap-box-media-frame { width: 100%; max-width: none; }
    .overlap-box-btn { width: auto; min-height: 44px; padding: 11px 18px; font-size: 15px; }
    .overlap-box-btn-primary { border: 0; background: #fff; color: var(--ob-primary-bg); font-weight: 500; }
    .overlap-box-secondary.mode-media { padding: 0; aspect-ratio: 4 / 3; }
    .overlap-box-corner-play,
    .overlap-box-secondary-media .mb-video-play-icon { right: 16px; bottom: 16px; width: 42px; height: 42px; }
    .overlap-box-secondary-media .mb-video-launch:hover .mb-video-play-icon,
    .overlap-box-secondary-media .mb-video-launch:focus-visible .mb-video-play-icon { right: 16px; bottom: 16px; }
}
/* ── Reviews · cinematic flip marquee ───────────────────────────── */
.section-type-reviews {
  overflow: hidden;
  padding-bottom: clamp(56px, 7vw, 104px);
}

.section-type-reviews .section-head {
  margin-bottom: clamp(24px, 4vw, 52px);
}

.review-flip-marquee {
  --review-card-width: clamp(240px, 22vw, 310px);
  --review-card-height: var(--review-card-width);
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: 8px 0 72px;
  overflow: hidden;
  perspective: 1400px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.review-flip-track {
  display: flex;
  width: max-content;
  animation: review-flip-scroll var(--review-scroll-duration, 38s) linear infinite;
  will-change: transform;
}

.review-flip-marquee[data-direction="right"] .review-flip-track {
  animation-direction: reverse;
}

.review-flip-marquee:hover .review-flip-track,
.review-flip-marquee:focus-within .review-flip-track {
  animation-play-state: paused;
}

.review-flip-group {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 64px);
  padding-right: clamp(28px, 4vw, 64px);
}

.review-flip-card {
  flex: 0 0 var(--review-card-width);
  width: var(--review-card-width);
  height: var(--review-card-height);
  border: 0;
  border-radius: 18px;
  outline: none;
  cursor: pointer;
  perspective: 1200px;
  transform: translateZ(0);
}

.review-flip-card-low {
  margin-top: clamp(38px, 5vw, 68px);
}

.review-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform .7s cubic-bezier(.2,.75,.25,1);
}

.review-flip-card:hover .review-flip-card-inner,
.review-flip-card:focus-visible .review-flip-card-inner,
.review-flip-card.is-flipped .review-flip-card-inner {
  transform: rotateY(180deg);
}

.review-flip-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(30, 100, 220, .22);
}

.review-flip-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.review-flip-front {
  color: #fff;
  background: #161719;
  transform: rotateY(0deg) translateZ(1px);
}

.review-flip-front::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.84));
  z-index: 1;
  pointer-events: none;
}

.review-flip-front img,
.review-flip-front video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  position: relative;
  z-index: 0;
}

.review-flip-no-media {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle at 30% 20%, #58606b, #17191d 64%);
}

.review-flip-no-media span {
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 700;
  letter-spacing: -.07em;
  color: rgba(255,255,255,.92);
}

.review-flip-no-media small {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.review-flip-front-copy {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 2.3vw, 34px);
  bottom: clamp(24px, 2.5vw, 38px);
  left: clamp(22px, 2.3vw, 34px);
  display: grid;
  gap: 7px;
  opacity: 1;
  visibility: visible;
  transform: translateZ(2px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.review-flip-front-copy strong,
.review-flip-back footer strong {
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.review-flip-front-copy span,
.review-flip-back footer span {
  color: rgba(255,255,255,.72);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.35;
}

.review-flip-back {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.2vw, 32px);
  color: #101828;
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: 0 12px 35px rgba(15,23,42,.08);
  transform: rotateY(180deg) translateZ(1px);
}

.review-flip-rating {
  color: #f5a623;
  font-size: 17px;
  letter-spacing: .12em;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.review-flip-back blockquote {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow: auto;
  color: #101828;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.025em;
  scrollbar-width: thin;
}

.review-flip-back blockquote p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.review-flip-back footer {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.review-flip-back footer span {
  color: #667085;
}

@keyframes review-flip-scroll {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

@media (max-width: 767px) {
  .review-flip-marquee {
    --review-card-width: min(72vw, 280px);
    --review-card-height: var(--review-card-width);
    padding-bottom: 38px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  }
  .review-flip-group { gap: 18px; padding-right: 18px; }
  .review-flip-card-low { margin-top: 28px; }
  .review-flip-back { padding: 26px; }
  .review-flip-back blockquote { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .review-flip-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .review-flip-track { animation: none; }
  .review-flip-group[aria-hidden="true"] { display: none; }
  .review-flip-card { scroll-snap-align: center; }
  .review-flip-card-inner { transition-duration: .01ms; }
}
/* Careers — dynamic Page Builder openings */
.career-openings{display:grid;gap:28px}.career-filters{display:grid;grid-template-columns:minmax(240px,1.5fr) repeat(2,minmax(170px,.75fr));gap:12px;padding:12px;background:#f5f5f7;border-radius:18px}.career-filters input,.career-filters select{width:100%;height:48px;border:1px solid #d2d2d7;border-radius:12px;background:#fff;color:#1d1d1f;padding:0 15px;font:inherit;outline:none}.career-filters input:focus,.career-filters select:focus{border-color:#0071e3;box-shadow:0 0 0 3px rgba(0,113,227,.12)}.career-job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.career-job-card{display:flex;min-height:285px;flex-direction:column;padding:28px;border:1px solid #e5e5e7;border-radius:22px;background:#fff;color:#1d1d1f;transition:border-color .2s ease,transform .2s ease}.career-job-card:hover{border-color:#b7b7bc;transform:translateY(-2px)}.career-job-card[hidden]{display:none}.career-job-top,.career-job-actions,.career-job-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.career-job-top{justify-content:space-between;color:#6e6e73;font-size:.84rem;font-weight:650}.career-job-top small{padding:5px 9px;border-radius:999px;background:#e8f2ff;color:#0066cc}.career-job-card h3{margin:20px 0 10px!important;color:#1d1d1f!important;font-size:clamp(1.35rem,2vw,1.7rem)!important;line-height:1.18}.career-job-card p{margin:0;color:#6e6e73!important;font-size:.98rem;line-height:1.55}.career-job-meta{margin-top:20px;color:#515154;font-size:.85rem}.career-job-meta span:not(:last-child):after{content:'·';margin-left:10px;color:#aeaeb2}.career-job-actions{justify-content:space-between;margin-top:auto;padding-top:24px}.career-job-actions a{font-weight:650;color:#0066cc!important;text-decoration:none}.career-job-actions .career-apply-link{padding:10px 15px;border-radius:999px;background:#0071e3;color:#fff!important}.career-empty{text-align:center;padding:52px 24px;border-radius:22px;background:#f5f5f7}.career-filter-empty{text-align:center;padding:24px;color:#6e6e73}.section-type-careers .section-head{margin-bottom:28px}
@media(max-width:760px){.career-filters{grid-template-columns:1fr}.career-job-grid{grid-template-columns:1fr}.career-job-card{min-height:250px;padding:22px;border-radius:18px}}

/* Signmitra Careers — brand treatment for the page-builder careers section. */
.section-type-careers .section-kicker,
.section-type-careers .career-job-top,
.section-type-careers .career-job-actions a {
    color: #68055f !important;
}
.section-type-careers .career-filters input:focus,
.section-type-careers .career-filters select:focus {
    border-color: #063a6d;
    box-shadow: 0 0 0 3px rgba(6, 58, 109, .12);
}
.section-type-careers .career-job-top small {
    background: rgba(104, 5, 95, .08);
    color: #68055f;
}
.section-type-careers .career-job-actions .career-apply-link {
    background: #063a6d;
    color: #fff !important;
}
.section-type-careers .career-job-actions .career-apply-link:hover {
    background: #68055f;
}
.section-type-careers .career-job-action-buttons {
    display: flex;
    align-items: center;
    gap: 9px;
}
.section-type-careers .career-share-button {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d2d2d7;
    border-radius: 50%;
    place-items: center;
    background: #fff;
    color: #063a6d;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.section-type-careers .career-share-button:hover,
.section-type-careers .career-share-button:focus-visible,
.section-type-careers .career-share-button.is-copied {
    border-color: #063a6d;
    background: #f2f6fa;
    color: #68055f;
    outline: none;
}
.section-type-careers .career-share-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}
.section-type-careers .career-share-feedback {
    position: absolute;
    right: 0;
    bottom: calc(100% + 9px);
    z-index: 3;
    padding: 6px 9px;
    border-radius: 7px;
    background: #1d1d1f;
    color: #fff;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(3px);
    transition: opacity .18s ease, transform .18s ease;
    white-space: nowrap;
}
.section-type-careers .career-share-button.is-copied .career-share-feedback {
    opacity: 1;
    transform: translateY(0);
}
@media(max-width:520px) {
    .section-type-careers .career-job-actions {
        align-items: flex-end;
    }
    .section-type-careers .career-job-action-buttons {
        gap: 7px;
    }
    .section-type-careers .career-share-button {
        width: 40px;
        height: 40px;
    }
}
