/* New public shell around legacy, behavior-sensitive page modules. */
body.public-v2-page {
    display: block;
    height: auto;
    min-height: 100vh;
    margin: 0;
    padding-top: 72px;
    overflow-x: clip;
    background: #f8fafc;
    color: #0f172a;
    font-family: "Inter", sans-serif;
}

.public-v2-page .site-header {
    font-family: "Inter", sans-serif;
}

.public-v2-page .site-header .nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 22px;
}

.public-v2-page .site-header .nav a {
    color: #8a93a6;
    font-size: 13.6px;
    line-height: 1.6;
}

.public-v2-page .site-header .nav a:hover {
    color: #eceef2;
}

.public-v2-page .site-header .language-switcher a,
.public-v2-page .site-header .language-switcher .active {
    font-size: 10.4px;
    line-height: 1.4;
}

.public-v2-page .site-header .container,
.public-v2-page .footer .container {
    width: 100%;
    max-width: 1200px;
    padding-right: 24px;
    padding-left: 24px;
}

.public-v2-page .site-header .btn-primary {
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #e8a33d !important;
    color: #17110a !important;
    font-size: 12.8px;
    line-height: 1.6;
    box-shadow: none;
}

.public-v2-page .site-header .btn-outline {
    padding: 8px 18px;
    border: 1px solid #232936 !important;
    border-radius: 8px;
    background: transparent;
    color: #e5e7eb;
    font-size: 12.8px;
    line-height: 1.6;
}

.public-v2-page .site-header .btn-primary:hover {
    background: #f3b455 !important;
}

.public-v2-page .site-header .btn-outline:hover {
    border-color: #475569 !important;
    background: #141922;
    color: #fff;
}

.public-legacy-shell {
    min-height: 55vh;
    background:
        radial-gradient(circle at 12% 0, rgba(14, 139, 236, 0.06), transparent 26rem),
        #f8fafc;
}

.public-main-head:empty {
    display: none;
}

.public-main-head > .hero-overlay {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #1b2029;
    background:
        radial-gradient(circle at 20% 10%, rgba(0, 196, 255, 0.12), transparent 28rem),
        radial-gradient(circle at 80% 40%, rgba(232, 163, 61, 0.1), transparent 25rem),
        #0b0e14;
}

.public-main-head > .hero-overlay .hero-title {
    letter-spacing: -0.025em;
}

.public-breadcrumbs {
    padding-top: 28px;
    padding-bottom: 0;
}

.public-legacy-shell .card {
    border-color: #e5e7eb;
    border-radius: 14px;
}

.public-legacy-shell .shadow-sm {
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06) !important;
}

.public-legacy-shell .text-primary,
.public-legacy-shell .text-hover-primary:hover {
    color: #0e8bec !important;
}

.public-legacy-shell .btn-primary {
    border-color: #d7932f !important;
    background: #e8a33d !important;
    color: #17110a !important;
}

.public-legacy-shell .btn-primary:hover {
    border-color: #e8a33d !important;
    background: #f3b455 !important;
}

.public-legacy-shell .badge-light-primary,
.public-legacy-shell .btn-light-primary {
    background: #eaf5fe !important;
    color: #0875c8 !important;
}

.public-legacy-shell .pagination .page-item.active .page-link {
    background: #e8a33d !important;
    color: #17110a !important;
}

.public-legacy-shell .rich-text-content {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

.public-legacy-shell .rich-text-content h2,
.public-legacy-shell .rich-text-content h3,
.public-legacy-shell .rich-text-content h4 {
    color: #0f172a;
    letter-spacing: -0.015em;
}

.public-v2-page .footer {
    position: relative;
    z-index: 30;
    clear: both;
    padding: 56px 0 32px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
    font-family: "Inter", sans-serif;
}

.public-v2-page .footer-brand .tagline {
    font-size: 13.6px;
}

.public-v2-page .footer-social a,
.public-v2-page .legal-disclosure-content,
.public-v2-page .footer-bottom {
    font-size: 12px;
}

.public-v2-page .footer-col .title {
    font-size: 11.2px;
}

.public-v2-page .footer-col a {
    font-size: 13.6px;
}

.public-v2-page .legal-disclosure summary {
    font-size: 12.8px;
}

.public-legacy-shell .blog-sidebar-sticky {
    top: 92px !important;
    z-index: 20;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.public-legacy-shell .blog-sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.public-legacy-shell .blog-sidebar-sticky::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

@media (max-width: 900px) {
    body.public-v2-page {
        padding-top: 64px;
    }

    .public-v2-page .site-header {
        height: 64px;
    }

    .public-v2-page .site-header .nav {
        display: none;
    }

    .public-v2-page .site-header .nav.open {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        border-bottom: 1px solid #1b2029;
        background: #0b0e14;
    }

    .public-breadcrumbs {
        padding-top: 20px;
    }

    .public-legacy-shell .blog-sidebar-sticky {
        position: static !important;
        max-height: none;
        overflow: visible;
    }
}
