
/* ── 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;
}

/* ── 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: 40px 0;
    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: 40px;
    width: 87.5%;
    max-width: var(--container-wide);
    margin: 0 auto;
}

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

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

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

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

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

.mega-item svg {
    width: 20px;
    height: 20px;
    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: 600;
    color: var(--text);
}
.mega-item-text span {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.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 {
    max-width: 100%;
    margin: 0 auto;
}
.hero-media img,
.hero-media video {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}
.hero-media .video-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}
.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 .card[style*="--feature-text-color"] h3,
.section-type-feature-grid .card[style*="--feature-text-color"] p,
.section-type-feature-grid .card[style*="--feature-text-color"] .badge-link {
    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;
}

/* ── 13. Timeline V2 (Apple-style horizontal steps) ───────────────── */
.timeline-v2 {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    padding: 40px 0;
    overflow-x: auto;
}

.timeline-line {
    position: absolute;
    top: 64px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: var(--border);
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

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

.timeline-number {
    font-size: 17px;
    font-weight: 600;
    color: var(--timeline-step-number-color, var(--text));
}

.timeline-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.42859;
}

/* Timeline Number Strip (Screenshot style) */
.timeline-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    align-items: start;
    background: transparent;
    border-radius: 8px;
    padding: 26px 34px;
}

.timeline-strip-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.timeline-strip-number {
    font-size: clamp(72px, 9.2vw, 124px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--timeline-step-number-color, #df1857);
    flex: 0 0 auto;
}

.timeline-strip-copy {
    min-width: 0;
}

.timeline-strip-title,
.timeline-strip-text {
    font-size: clamp(18px, 1.68vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: #4d4649;
    font-weight: 500;
}

.timeline-strip-title {
    font-size: clamp(19px, 1.82vw, 36px);
}

.timeline-strip-text {
    margin-top: 10px;
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0;
}

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

/* ── 14. Media Block (Apple-style split sections) ─────────────────── */
.media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.media-block.reverse {
    direction: rtl;
}
.media-block.reverse > * {
    direction: ltr;
}

.media-text h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text);
}
.media-text p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.media-image {
    border-radius: var(--radius);
    overflow: hidden;
}
.media-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mb-video-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #111827;
}

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

.mb-video-launch img,
.mb-video-fallback {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.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: 24px;
    overflow: hidden;
}

/* Media block slider */
.mb-slider {
    position: relative;
    border-radius: 24px;
    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: cover;
    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: 0 2px 12px rgba(0,0,0,0.12);
    transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
.mb-slider-prev:hover,
.mb-slider-next:hover {
    background: #fff;
    transform: scale(1.08);
}

/* 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: #f8f9ff;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

.faq-cta-copy h3 {
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.08;
    color: #111827;
    margin: 0;
}

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

.faq-cta-btn {
    min-width: 180px;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(6, 58, 109, 0.28);
    text-decoration: none;
}

.faq-cta-btn:hover {
    background: var(--primary-hover);
    color: #fff;
    text-decoration: 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: 24px;
    align-items: start;
}
.pb-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.column-section {
    padding: 0;
    overflow: visible;
}
.column-section.section-first {
    padding-top: 0;
}
.column-section.section-last {
    padding-bottom: 0;
}
.column-section .section-head {
    margin-bottom: 28px;
}
@media (max-width: 991px) {
    .pb-columns-layout {
        grid-template-columns: 1fr !important;
    }
}
.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: 960px;
    margin: 0 auto;
    padding: 40px 28px 30px;
    border: 1px solid rgba(6, 58, 109, 0.12);
    border-radius: 24px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

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

.device-grid-head h2 {
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: 1.08;
    max-width: 760px;
    margin: 0;
}

.device-grid-head p {
    max-width: 640px;
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.device-grid-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    max-width: 620px;
    margin: 0 auto;
}

.device-grid-tile {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    background: #eef3fb;
    border: 1px solid rgba(6, 58, 109, 0.10);
    box-shadow: 0 4px 12px rgba(6, 58, 109, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.device-grid-tile:hover {
    transform: translateY(-4px) scale(1.04);
    background: #dce8f8;
    box-shadow: 0 12px 24px rgba(6, 58, 109, 0.14);
}

.device-grid-tile img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    /* Tint icons to Signmitra primary blue */
    filter: brightness(0) saturate(100%) invert(13%) sepia(60%) saturate(1200%) hue-rotate(190deg) brightness(90%);
    transition: filter 0.25s ease;
}

.device-grid-tile:hover img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(80%) saturate(900%) hue-rotate(200deg) brightness(85%);
}

.device-grid-link-wrap {
    text-align: center;
}

.device-grid-link {
    color: var(--primary);
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.device-grid-link:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

.device-grid-link-arrow {
    font-size: 24px;
    line-height: 1;
}

.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: 40px;
    }
    .media-block.reverse { direction: ltr; }

    .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(80vw, 360px);
        max-width: 100vw;
        height: 100dvh;
        min-height: 100vh;
        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-y: auto;
        overflow-x: hidden;
        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; }
    .mobile-drawer-header .brand { display: none; }

    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        align-items: initial;
    }
    .nav-links > a,
    .nav-links > .has-menu > button.submenu-toggle {
        height: auto;
        padding: 14px 20px;
        font-size: 17px;
        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 > 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;
        opacity: 1;
        visibility: visible;
        border-bottom: none;
        padding: 0;
        display: none;
    }
    .has-mega.is-open .mega-menu { display: block; }

    /* 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 {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px;
        margin-left: 0;
        gap: 8px;
        border-top: 1px solid var(--border-light);
        margin-top: auto;
    }
    .nav-actions .btn {
        font-size: 16px;
        padding: 12px 20px;
        min-height: 48px;
        text-align: center;
        justify-content: center;
    }

    .mega-menu-inner {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 4px 0 8px;
    }
    .mega-left { flex: auto; }
    .mega-right { display: none; }
    .mega-divider { display: none; }
    .mega-grid { grid-template-columns: 1fr; gap: 0; }

    /* Unify all mega items with top-level link style */
    .mega-item {
        padding: 12px 20px 12px 44px;
        font-size: 15px;
        border-radius: 0;
        align-items: center;
        gap: 0;
    }
    .mega-item [data-lucide]:not(.submenu-indicator),
    .mega-item > svg:not(.submenu-indicator) {
        width: 12px;
        height: 12px;
        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: 15px;
        font-weight: 400;
    }
    .mega-item-text span { display: none; }
    .mega-menu-inner {
        padding: 4px 0 8px;
    }

}

@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: 10px;
    }

    .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: 28px; }

    .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 {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 24px 0;
    }
    .timeline-line {
        top: 0; bottom: 0;
        left: 24px;
        right: auto;
        width: 1px;
        height: auto;
    }
    .timeline-step {
        flex: none;
        width: 100%;
        text-align: left;
        padding-left: 64px;
        min-width: 0;
        min-height: 48px;
    }
    .timeline-node {
        position: absolute;
        left: 0;
        margin: 0;
    }

    .timeline-strip {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 18px 16px;
    }

    .timeline-strip-item {
        align-items: flex-start;
        gap: 12px;
    }

    .timeline-strip-number {
        font-size: clamp(54px, 14vw, 84px);
        line-height: 0.84;
    }

    .timeline-strip-title,
    .timeline-strip-text {
        font-size: clamp(17px, 5.3vw, 24px);
        line-height: 1.15;
    }

    .timeline-strip-title {
        font-size: clamp(18px, 5.7vw, 26px);
    }

    .timeline-strip-text {
        margin-top: 10px;
        font-size: clamp(14px, 3.8vw, 17px);
        font-weight: 300;
        line-height: 1.45;
    }

    .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;
    }

    .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;
}

/* ── 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 — dashboard showcase layout ──────────────── */
.section-type-scrolling-story {
    background: #e9ebf0;
}
.section-type-scrolling-story .section-head {
    margin-bottom: clamp(24px, 3.4vw, 36px);
}
.section-type-scrolling-story .section-head > div {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ss-showcase {
    width: min(1180px, 100%);
    margin: 0 auto;
}
.ss-showcase-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(20px, 2.4vw, 40px);
    align-items: stretch;
}
.ss-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ss-showcase-item {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    padding: 18px 18px;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.ss-showcase-item:hover {
    border-color: rgba(223, 24, 87, 0.32);
    background: rgba(255, 255, 255, 0.5);
}
.ss-showcase-item.is-active {
    border-color: rgba(223, 24, 87, 0.44);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.07);
}
.ss-showcase-item:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}
.ss-showcase-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    margin-top: 4px;
}
.ss-showcase-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.25;
}
.ss-showcase-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ss-showcase-copy strong {
    font-size: clamp(20px, 1.75vw, 26px);
    font-weight: 700;
    color: #111827;
    line-height: 1.12;
}
.ss-showcase-copy small {
    display: block;
    font-size: clamp(14px, 1.02vw, 17px);
    line-height: 1.45;
    color: #2e3541;
}

.ss-showcase-media {
    position: relative;
    min-height: clamp(330px, 34vw, 500px);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
    border: 1px solid rgba(17, 24, 39, 0.08);
}
.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(20px, 2.6vw, 30px);
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {
    .ss-showcase-grid {
        grid-template-columns: 1fr;
    }
    .ss-showcase-media {
        order: -1;
        min-height: min(62vw, 390px);
    }
}

@media (max-width: 640px) {
    .ss-showcase-item {
        grid-template-columns: 30px 1fr;
        gap: 12px;
        padding: 14px 12px;
    }
    .ss-showcase-copy strong {
        font-size: 20px;
    }
    .ss-showcase-copy small {
        font-size: 16px;
        line-height: 1.44;
    }

    .faq-cta-band {
        padding: 20px 18px;
        border-radius: 18px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
    }

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

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

    .faq-cta-btn {
        width: auto;
        min-width: 170px;
        align-self: flex-start;
        white-space: nowrap;
    }

    .device-grid-box {
        padding: 28px 18px 24px;
        gap: 28px;
        border-radius: 20px;
    }

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

    .device-grid-head p {
        font-size: 16px;
    }

    .device-grid-tiles {
        gap: 14px;
    }

    .device-grid-tile {
        width: 84px;
        height: 84px;
        border-radius: 18px;
    }

    .device-grid-tile img {
        width: 62px;
        height: 62px;
    }
}

@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 {
    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 — actual HTML class ──────────────────────────────────── */
.cta-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}
.section-type-cta .card.cta-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    --cta-overlay-gradient: linear-gradient(90deg, rgba(15, 29, 86, 0.92) 0%, rgba(15, 29, 86, 0.84) 34%, rgba(15, 29, 86, 0.48) 58%, rgba(15, 29, 86, 0.18) 100%);
}
.section-type-cta .card.cta-band.has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cta-overlay-gradient);
    z-index: 0;
}
.section-type-cta .card.cta-band.has-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    z-index: 0;
}
.section-type-cta .card.cta-band.cta-align-left {
    align-items: flex-start;
    text-align: left;
}
.section-type-cta .card.cta-band.cta-align-right {
    align-items: flex-end;
    text-align: right;
}
.section-type-cta .card.cta-band.cta-align-left .cta-band-copy,
.section-type-cta .card.cta-band.cta-align-right .cta-band-copy {
    max-width: 560px;
}
.section-type-cta .card.cta-band.cta-align-left .cta-band p,
.section-type-cta .card.cta-band.cta-align-right .cta-band p {
    margin-left: 0;
    margin-right: 0;
}
.section-type-cta .card.cta-band.has-bg-image .cta-band h2,
.section-type-cta .card.cta-band.has-bg-image .cta-band p {
    position: relative;
    z-index: 1;
}
.section-type-cta .card.cta-band.has-bg-image .cta-band h2 {
    font-size: clamp(42px, 4vw, 58px);
    max-width: 9ch;
}
.section-type-cta .card.cta-band.has-bg-image .cta-band p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 34ch;
}
.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 .cta-hero-actions {
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.section-type-cta .card.cta-band .pb-cta-button {
    min-width: 180px;
    min-height: 52px;
    padding: 13px 24px;
    border: 2px solid transparent;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 24px rgba(4, 18, 35, 0.16);
    opacity: 1;
    transform: translateY(0);
    transition:
        transform 180ms var(--ease),
        box-shadow 180ms var(--ease),
        filter 180ms var(--ease),
        opacity 180ms var(--ease);
}
.section-type-cta .card.cta-band .pb-cta-button-primary {
    border-color: rgba(255, 255, 255, 0.14);
}
.section-type-cta .card.cta-band .pb-cta-button-secondary {
    padding: 13px 24px;
    border-color: rgba(6, 65, 120, 0.18);
}
.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);
    filter: brightness(0.97);
    box-shadow: 0 14px 30px rgba(4, 18, 35, 0.22);
    text-decoration: none;
}
.section-type-cta .card.cta-band .pb-cta-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.78);
    outline-offset: 3px;
}
.section-type-cta .card.cta-band .pb-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 7px 18px rgba(4, 18, 35, 0.16);
}
.section-type-cta .card.cta-band.has-bg-image .btn {
    min-width: 210px;
    min-height: 56px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: none;
    border-style: solid;
}
.section-type-cta .card.cta-band.has-bg-image .btn-primary:hover {
    filter: brightness(0.96);
}
.section-type-cta .card.cta-band.has-bg-image .btn-secondary {
    border-width: 2px;
    padding: 8px 22px;
}
.section-type-cta .card.cta-band.has-bg-image .btn-secondary:hover {
    filter: brightness(0.96);
}

/* ── 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-card-img {
    display: block;
    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 {
    padding: 20px;
    background: var(--bg-secondary);
}
.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: 100%;
    }
    .section-type-cta .card.cta-band .pb-cta-button {
        width: min(100%, 320px);
        min-height: 50px;
    }
    .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)
   ====================================================== */
/* ── Pricing Controls ── */
.pricing-wrapper{padding:40px 0}
.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);
}

/* 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}
}


/* ======================================================
   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 textarea{width:100%;padding:.65rem .8rem;border:1px solid #d2d6de;border-radius:6px;font-size:.95rem;transition:border-color .2s}
.pb-form-field input: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 ── */
.downloader-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.downloader-card-grid {
    display: grid;
    gap: 16px;
}

.downloader-card-grid--platforms {
    order: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.downloader-card-grid--devices {
    order: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.downloader-section.is-panel-after-platforms .downloader-detail {
    order: 2;
}

.downloader-section.is-panel-after-devices .downloader-detail {
    order: 4;
}

.downloader-card {
    background: var(--bg-secondary);
    border: 1px solid #c8cdd4;
    border-radius: 16px;
    min-height: 200px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.downloader-card:hover {
    transform: translateY(-1px);
    border-color: #9fb9d5;
}

.downloader-card.is-active {
    border-color: #2abf82;
    box-shadow: 0 0 0 1px rgba(42, 191, 130, .2) inset;
}

.downloader-card-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
}

.downloader-card-icon {
    max-width: 84px;
    max-height: 84px;
    object-fit: contain;
}

.downloader-card-title {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.15;
    color: #2a2a2a;
    font-weight: 600;
    letter-spacing: 0;
}

.downloader-detail {
    order: 4;
    --dl-pointer-left: 50%;
    position: relative;
    border: 1px solid #c8cdd4;
    background: #fff;
    min-height: 250px;
    padding: 36px 24px 28px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: center;
}

.downloader-card-grid .downloader-detail {
    order: 0;
    grid-column: 1 / -1;
    margin-top: 18px;
}

.downloader-detail-arrow {
    position: absolute;
    top: -11px;
    left: var(--dl-pointer-left);
    width: 22px;
    height: 22px;
    border-top: 1px solid #c8cdd4;
    border-left: 1px solid #c8cdd4;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
}

.downloader-detail-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.downloader-detail-media img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

.downloader-detail-content h3 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.18;
}

.downloader-detail-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 21px;
    line-height: 1.38;
    max-width: 760px;
}

.downloader-detail-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.downloader-detail-actions .btn[hidden] {
    display: none !important;
}

@media (max-width: 1200px) {
    .downloader-card-title { font-size: 24px; }
}

@media (max-width: 991px) {
    .downloader-card-grid--platforms,
    .downloader-card-grid--devices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .downloader-detail {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .downloader-detail-content p {
        max-width: none;
    }

    .downloader-detail-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .downloader-card-grid--platforms,
    .downloader-card-grid--devices {
        grid-template-columns: 1fr;
    }

    .downloader-card {
        min-height: 160px;
    }

    .downloader-card-title { font-size: 21px; }
    .downloader-detail-content h3 { font-size: 26px; }
    .downloader-detail-content p { font-size: 18px; }
    .downloader-detail-actions .btn {
        width: 100%;
        justify-content: center;
        font-size: 20px;
    }
}

/* ── Compare Table Section ── */
.compare-table-wrap {
    width: 100%;
}

.compare-table-desktop {
    display: block;
    overflow-x: auto;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 900px;
}

.compare-table thead th {
    padding: 18px 24px;
    text-align: left;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--text);
    background: #f3f4f7;
    border-bottom: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
}

.compare-table thead th:not(:first-child) {
    text-align: center;
}

.compare-table thead th:first-child {
    width: 42%;
    border-top-left-radius: 24px;
}

.compare-table thead th:last-child {
    border-top-right-radius: 24px;
    border-right: none;
}

.compare-table thead th.compare-col-highlight {
    background: rgba(29, 78, 216, 0.08);
    color: #1d4ed8;
}

.compare-table tbody td {
    padding: 18px 24px;
    border-top: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text);
}

.compare-table tbody td:last-child {
    border-right: none;
}

.compare-table tbody tr:nth-child(even) td {
    background: rgba(243, 244, 247, 0.45);
}

.compare-table tbody tr:first-child td {
    border-top: none;
}

.compare-table tbody td.compare-col-highlight {
    background: rgba(29, 78, 216, 0.06);
}

.compare-table tbody tr:nth-child(even) td.compare-col-highlight {
    background: rgba(29, 78, 216, 0.1);
}

.compare-table .compare-capability {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.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;
    width: 20px;
    justify-content: center;
    line-height: 1;
    font-size: 18px;
    margin-top: 0;
    font-weight: 700;
}

.compare-value.is-icon-only .compare-icon {
    margin-right: 0;
}

.compare-value.is-positive {
    color: #16a34a;
    font-weight: 600;
}

.compare-value.is-negative {
    color: #e11d48;
}

.compare-value.is-neutral {
    color: #222;
    font-weight: 500;
}

.compare-table-mobile {
    display: none;
}

.compare-mobile-card {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 16px;
}

.compare-mobile-card h3 {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.3;
}

.compare-mobile-row {
    border: 1px solid var(--border-light);
    background: #f7f8fb;
    border-radius: 12px;
    padding: 10px 12px;
}

.compare-mobile-row + .compare-mobile-row {
    margin-top: 10px;
}

.compare-mobile-row-highlight {
    border-color: rgba(29, 78, 216, 0.2);
    background: rgba(29, 78, 216, 0.08);
}

.compare-mobile-label {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-secondary);
}

.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;
        gap: 12px;
    }
}

/* 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; }
}
