/*
Theme Name: Astra Automatic Knowledge Base
Theme URI: https://astraautomatic.pl
Author: Astra Automatic
Description: Dedykowany motyw Astra Automatic pod migracje szablonow przez Astra Theme Switcher.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Update URI: https://astraautomatic.pl/themes/astra-automatic-kb
Text Domain: astraautomatic
*/

:root {
    --astra-dark: #16233a;
    --astra-darker: #0b1324;
    --astra-accent: #f97316;
    --astra-accent-hover: #ea580c;
    --astra-light: #f8fafc;
    --astra-gray: #64748b;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #0f172a;
    background: var(--astra-light);
}

a {
    color: inherit;
}

.site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    padding-top: 120px;
}

.astra-header-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.astra-topbar {
    background: var(--astra-darker);
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
}

.astra-container {
    width: min(1240px, 92%);
    margin: 0 auto;
}

.astra-topbar .astra-container,
.astra-topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.astra-topbar-left {
    color: #fff;
    font-weight: 600;
}

.astra-topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.astra-topbar-right a {
    text-decoration: none;
}

.astra-navbar-service {
    background: var(--astra-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.astra-navbar-service .astra-container,
.astra-navbar-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.astra-logo-service {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.astra-logo-service img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.astra-nav-service {
    display: flex;
    gap: 14px;
    align-items: center;
    height: 78px;
    flex: 1;
    margin-left: 18px;
}

.astra-nav-service-wp,
.astra-nav-service-wp ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.astra-nav-service-wp {
    display: flex;
    gap: 14px;
    align-items: center;
    height: 78px;
    flex: 1;
    margin-left: 18px;
}

.astra-nav-service-wp > li {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.astra-nav-service-wp a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    min-height: 78px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
}

.astra-nav-service-wp > li.current-menu-item > a,
.astra-nav-service-wp > li.current-menu-ancestor > a {
    color: #fff;
}

.astra-nav-service-wp .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: none;
    z-index: 320;
    padding: 8px 0;
}

.astra-nav-service-wp li:hover > .sub-menu {
    display: block;
}

.astra-nav-service-wp .sub-menu li {
    position: relative;
}

.astra-nav-service-wp .sub-menu a {
    padding: 10px 14px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    width: 100%;
}

.astra-nav-service-wp .sub-menu .sub-menu {
    top: -9px;
    left: 100%;
}

/* WP mega menu (temporary): assign class "has-mega" on top-level item in WP menu. */
.astra-nav-service-wp > li.has-mega,
.astra-nav-service-wp > li.menu-item-has-children,
.astra-nav-service-wp > li.mega-menu,
.astra-nav-service-wp > li.mega-menu-item {
    position: static;
}

.astra-nav-service-wp > li.has-mega > .sub-menu,
.astra-nav-service-wp > li.menu-item-has-children > .sub-menu,
.astra-nav-service-wp > li.mega-menu > .sub-menu,
.astra-nav-service-wp > li.mega-menu-item > .sub-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(1240px, 92vw);
    border: 0;
    border-top: 4px solid var(--astra-accent);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
    background: #fff;
    padding: 24px;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    z-index: 340;
}

.astra-nav-service-wp > li.has-mega:hover > .sub-menu,
.astra-nav-service-wp > li.has-mega:focus-within > .sub-menu,
.astra-nav-service-wp > li.menu-item-has-children:hover > .sub-menu,
.astra-nav-service-wp > li.menu-item-has-children:focus-within > .sub-menu,
.astra-nav-service-wp > li.mega-menu:hover > .sub-menu,
.astra-nav-service-wp > li.mega-menu:focus-within > .sub-menu,
.astra-nav-service-wp > li.mega-menu-item:hover > .sub-menu,
.astra-nav-service-wp > li.mega-menu-item:focus-within > .sub-menu {
    display: grid;
}

.astra-nav-service-wp > li.has-mega > .sub-menu > li,
.astra-nav-service-wp > li.menu-item-has-children > .sub-menu > li,
.astra-nav-service-wp > li.mega-menu > .sub-menu > li,
.astra-nav-service-wp > li.mega-menu-item > .sub-menu > li {
    border-right: 1px solid #e2e8f0;
    padding-right: 16px;
}

.astra-nav-service-wp > li.has-mega > .sub-menu > li:last-child,
.astra-nav-service-wp > li.menu-item-has-children > .sub-menu > li:last-child,
.astra-nav-service-wp > li.mega-menu > .sub-menu > li:last-child,
.astra-nav-service-wp > li.mega-menu-item > .sub-menu > li:last-child {
    border-right: 0;
}

.astra-nav-service-wp > li.has-mega > .sub-menu > li > a,
.astra-nav-service-wp > li.menu-item-has-children > .sub-menu > li > a,
.astra-nav-service-wp > li.mega-menu > .sub-menu > li > a,
.astra-nav-service-wp > li.mega-menu-item > .sub-menu > li > a {
    padding: 0 0 10px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.astra-nav-service-wp > li.has-mega > .sub-menu > li > .sub-menu,
.astra-nav-service-wp > li.menu-item-has-children > .sub-menu > li > .sub-menu,
.astra-nav-service-wp > li.mega-menu > .sub-menu > li > .sub-menu,
.astra-nav-service-wp > li.mega-menu-item > .sub-menu > li > .sub-menu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0;
    transform: none;
}

.astra-nav-service-wp > li.has-mega > .sub-menu > li > .sub-menu li a,
.astra-nav-service-wp > li.menu-item-has-children > .sub-menu > li > .sub-menu li a,
.astra-nav-service-wp > li.mega-menu > .sub-menu > li > .sub-menu li a,
.astra-nav-service-wp > li.mega-menu-item > .sub-menu > li > .sub-menu li a {
    padding: 8px 0;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.astra-nav-service-wp > li.has-mega > .sub-menu > li > .sub-menu li a:hover,
.astra-nav-service-wp > li.menu-item-has-children > .sub-menu > li > .sub-menu li a:hover,
.astra-nav-service-wp > li.mega-menu > .sub-menu > li > .sub-menu li a:hover,
.astra-nav-service-wp > li.mega-menu-item > .sub-menu > li > .sub-menu li a:hover {
    color: var(--astra-accent);
}

.astra-nav-item {
    height: 100%;
    position: static;
    display: flex;
    align-items: center;
}

.astra-nav-link {
    background: transparent;
    border: 0;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    min-height: 78px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
}

.astra-nav-link.is-active {
    color: #fff;
    position: relative;
}

.astra-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 22px;
    height: 2px;
    background: var(--astra-accent);
}

.astra-cta-service {
    color: var(--astra-accent);
    text-decoration: none;
    border: 1px solid var(--astra-accent);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.astra-cta-service:hover {
    background: var(--astra-accent);
    color: #fff;
}

.astra-mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    padding: 9px 8px;
    cursor: pointer;
    border-radius: 2px;
}

.astra-mobile-nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 0 0 6px;
}

.astra-mobile-nav-toggle span:last-child {
    margin-bottom: 0;
}

.astra-mobile-nav-panel {
    background: #0b1324;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0 14px;
}

body.astra-mobile-menu-open {
    overflow: hidden;
}

.astra-mobile-menu-list,
.astra-mobile-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.astra-mobile-menu-list li {
    position: relative;
}

.astra-mobile-menu-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.astra-mobile-menu-list > li > a {
    display: block;
    min-height: 0;
    padding: 13px 40px 13px 0;
    color: #e2e8f0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.astra-mobile-submenu-toggle {
    position: absolute;
    top: 8px;
    right: 0;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(249, 115, 22, 0.45);
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.astra-mobile-submenu-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--astra-accent);
}

.astra-mobile-submenu-toggle span:first-child {
    width: 12px;
    height: 2px;
}

.astra-mobile-submenu-toggle span:last-child {
    width: 2px;
    height: 12px;
}

.astra-mobile-menu-list li.is-open > .astra-mobile-submenu-toggle span:last-child {
    display: none;
}

.astra-mobile-menu-list .sub-menu {
    position: static;
    transform: none;
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.24s ease, opacity 0.18s ease, padding 0.2s ease;
}

.astra-mobile-menu-list li.is-open > .sub-menu {
    max-height: 500px;
    opacity: 1;
    padding: 0 0 8px 12px;
}

.astra-mobile-menu-list .sub-menu li {
    border: 0;
}

.astra-mobile-menu-list .sub-menu a {
    display: block;
    min-height: 0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding: 7px 0;
}

.astra-mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    border-top: 4px solid var(--astra-accent);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 300;
}

.astra-nav-item.has-mega:hover .astra-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.astra-mega-wrap {
    width: min(1240px, 92%);
    margin: 0 auto;
    padding: 28px 0;
}

.astra-mega-note {
    text-align: center;
    color: #64748b;
    padding: 18px;
}

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

.astra-mega-col {
    border-right: 1px solid #e2e8f0;
    padding-right: 16px;
}

.astra-mega-col h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.astra-mega-col a {
    display: block;
    text-decoration: none;
    color: #475569;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}

.astra-mega-col a:hover {
    color: var(--astra-accent);
    border-bottom-color: #f1f5f9;
}

.astra-mega-featured {
    background: #020617;
    color: #fff;
    border-radius: 4px;
    padding: 18px;
}

.astra-mega-featured .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 8px;
    margin-bottom: 10px;
}

.astra-mega-featured h4 {
    margin: 0 0 8px;
    font-size: 20px;
}

.astra-mega-featured p {
    color: #cbd5e1;
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
}

.astra-mega-featured a {
    display: inline-block;
    text-decoration: none;
    background: var(--astra-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 14px;
    border-radius: 4px;
}

.bloghub-hero-pro {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.82) 0%, rgba(15, 23, 42, 0.75) 45%, rgba(2, 6, 23, 0.88) 100%),
        var(--bloghub-hero-bg-image, none),
        linear-gradient(180deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(2, 6, 23, 0.92) 100%),
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-position: center center, center center, center center, center center;
    background-repeat: no-repeat, no-repeat, repeat, repeat;
    background-size: cover, cover, 28px 28px, 28px 28px;
    color: #fff;
    padding: 26px 0 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bloghub-hero-inner {
    max-width: 980px;
    text-align: center;
}

.bloghub-hero-inner h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4.2vw, 3.7rem);
    margin: 0 0 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.bloghub-hero-inner p {
    color: #cbd5e1;
    margin: 0 0 18px;
}

.bloghub-kicker {
    margin: 0 0 12px;
    color: var(--astra-accent);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.bloghub-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dbe2ed;
    padding: 5px;
}

.bloghub-search input {
    min-height: 46px;
    border: 0;
    border-radius: 0;
    padding: 0 14px;
    font-size: 15px;
}

.bloghub-search button {
    min-height: 46px;
    border: 0;
    padding: 0 22px;
    background: var(--astra-accent);
    color: #fff;
    border-radius: 0;
    font-weight: 700;
}

.bloghub-popular {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.bloghub-popular span,
.bloghub-popular a {
    font-size: 11px;
}

.bloghub-popular span {
    color: #94a3b8;
}

.bloghub-popular a {
    text-decoration: none;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1px;
}

.bloghub-popular a:hover {
    color: var(--astra-accent);
    border-bottom-color: var(--astra-accent);
}

.bloghub-featured {
    background: #fff;
    padding: 30px 0 16px;
}

.bloghub-featured-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.bloghub-featured-main {
    background: #0f172a;
    color: #fff;
    padding: 22px;
}

.bloghub-section-kicker {
    margin: 0 0 10px;
    color: var(--astra-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.bloghub-featured-main h2 {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 2.1vw, 2rem);
    line-height: 1.2;
}

.bloghub-featured-main h2 a {
    color: #fff;
    text-decoration: none;
}

.bloghub-featured-main h2 a:hover {
    color: #e2e8f0;
}

.bloghub-featured-main p {
    margin: 0 0 14px;
    color: #cbd5e1;
}

.bloghub-featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}

.bloghub-featured-meta a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.bloghub-featured-thumb {
    display: block;
    min-height: 100%;
    background: #0f172a;
}

.bloghub-featured-thumb img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.bloghub-latest,
.bloghub-archive {
    padding: 22px 0 10px;
}

.bloghub-newsletter-box {
    padding: 18px 0 8px;
}

.bloghub-newsletter-shell {
    background: linear-gradient(135deg, #0b1324 0%, #16233a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
    align-items: center;
}

.bloghub-newsletter-copy h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.25rem, 2.1vw, 1.8rem);
    line-height: 1.2;
}

.bloghub-newsletter-copy p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
}

.bloghub-newsletter-form .bloghub-newsletter-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.bloghub-newsletter-form .newsletter-input {
    min-height: 44px;
    border: 1px solid #cbd5e1;
    background: #fff;
    padding: 0 12px;
    font-size: 14px;
}

.bloghub-newsletter-form .btn-newsletter {
    min-height: 44px;
    border: 0;
    background: var(--astra-accent);
    color: #fff;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.bloghub-newsletter-form .btn-newsletter:hover {
    background: var(--astra-accent-hover);
}

.bloghub-newsletter-consent {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.45;
}

.bloghub-newsletter-consent a {
    color: #fff;
}

.bloghub-newsletter-consent a:hover {
    color: var(--astra-accent);
}

.bloghub-newsletter-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.bloghub-newsletter-form .newsletter-message {
    margin-top: 10px;
    font-size: 12px;
    display: none;
}

.bloghub-newsletter-form .newsletter-message.is-success {
    color: #14532d;
}

.bloghub-newsletter-form .newsletter-message.is-error {
    color: #b91c1c;
}

.bloghub-newsletter-form .newsletter-message.is-muted {
    color: #94a3b8;
}

.bloghub-headline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
}

.bloghub-headline-row h3 {
    margin: 0;
    font-size: 24px;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.bloghub-headline-row a,
.bloghub-headline-row span {
    font-size: 12px;
    color: #64748b;
}

.bloghub-headline-row a {
    text-decoration: none;
    font-weight: 700;
}

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

.bloghub-card {
    background: #fff;
    border: 1px solid #e2e8f0;
}

.bloghub-card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.bloghub-card-body {
    padding: 14px;
}

.bloghub-card-body time {
    font-size: 11px;
    color: #64748b;
}

.bloghub-card-body h4 {
    margin: 6px 0 8px;
    font-size: 16px;
    line-height: 1.35;
}

.bloghub-card-body h4 a {
    text-decoration: none;
}

.bloghub-card-body p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}

.kb-hero {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.88) 0%, rgba(2, 6, 23, 1) 100%);
    color: #fff;
    padding: 80px 0 56px;
}

.kb-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    margin: 0 0 18px;
}

.kb-hero p {
    color: #cbd5e1;
    margin: 0 0 30px;
}

.search-hero-pro {
    padding: 22px 0 48px;
}

.search-hero-pro .search-hero-count {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
}

.contact-hero-pro {
    padding: 24px 0 52px;
}

.contact-page-shell {
    background: #f8fafc;
    padding: 34px 0 70px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.contact-page-info {
    display: grid;
    gap: 14px;
}

.contact-info-card,
.contact-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 18px;
}

.contact-info-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-card h3 i {
    color: var(--astra-accent);
}

.contact-info-card p {
    margin: 0;
    color: #334155;
    line-height: 1.6;
}

.contact-info-card a {
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.22);
}

.contact-info-card a:hover {
    color: var(--astra-accent);
    border-bottom-color: var(--astra-accent);
}

.contact-form-card h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    color: #0f172a;
}

.contact-form-card > p {
    margin: 0 0 16px;
    color: #64748b;
}

.contact-form-content > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

.contact-pro-hero {
    position: relative;
    background: linear-gradient(180deg, #0b1324 0%, #16233a 100%);
    overflow: hidden;
    padding: 44px 0 88px;
}

.contact-pro-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
    background-size: 38px 38px;
}

.contact-pro-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.contact-pro-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 10px;
    border: 1px solid rgba(249, 115, 22, 0.28);
    background: rgba(249, 115, 22, 0.1);
    color: var(--astra-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 800;
}

.contact-pro-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.contact-pro-hero p {
    margin: 0;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.6;
}

.contact-pro-hero h1 span {
    color: var(--astra-accent);
}

.contact-pro-main {
    margin-top: -46px;
    position: relative;
    z-index: 3;
    padding: 0 0 34px;
}

.contact-pro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.contact-pro-form-card {
    background: #fff;
    border-top: 4px solid var(--astra-accent);
    border-right: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 16px 30px -20px rgba(15, 23, 42, 0.35);
    padding: 22px;
}

.contact-pro-form-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-pro-form-head h2 {
    margin: 0 0 4px;
    font-size: 30px;
    color: #0f172a;
}

.contact-pro-form-head p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.contact-pro-office-status {
    text-align: right;
    min-width: 132px;
}

.contact-pro-office-status span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.contact-pro-office-status strong {
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    white-space: nowrap;
}

.contact-pro-office-status strong.is-open {
    color: #15803d;
}

.contact-pro-office-status strong.is-after-hours {
    color: #b45309;
}

.contact-pro-office-status strong i {
    font-size: 9px;
}

.contact-pro-office-status em {
    display: block;
    margin-top: 2px;
    color: #b45309;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.02em;
}

.contact-pro-form-content input,
.contact-pro-form-content select,
.contact-pro-form-content textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 2px;
}

.contact-pro-form-content textarea {
    min-height: 140px;
    padding: 12px;
}

.contact-pro-form-content input:focus,
.contact-pro-form-content select:focus,
.contact-pro-form-content textarea:focus {
    border-color: var(--astra-accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    outline: none;
}

.contact-pro-form-content button,
.contact-pro-form-content input[type="submit"] {
    min-height: 46px;
    border: 0;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 18px;
    cursor: pointer;
}

.contact-pro-form-content button:hover,
.contact-pro-form-content input[type="submit"]:hover {
    background: var(--astra-accent);
}

.contact-pro-demo-form {
    display: grid;
    gap: 12px;
}

.contact-pro-form-alert {
    margin: 0 0 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    padding: 10px 12px;
    font-size: 14px;
}

.contact-pro-form-alert.is-success {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.contact-pro-form-alert.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.contact-pro-demo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-pro-demo-form label {
    display: block;
}

.contact-pro-demo-form label > span {
    display: block;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
}

.contact-pro-demo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.contact-pro-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-pro-consent input {
    margin-top: 2px;
    min-height: 0;
    width: auto;
}

.contact-pro-consent span {
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
}

.contact-pro-consent a {
    color: #0f172a;
}

.contact-pro-consent a:hover {
    color: var(--astra-accent);
}

.contact-pro-right {
    display: grid;
    gap: 12px;
}

.contact-pro-quick-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 14px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
}

.contact-pro-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.12);
    color: var(--astra-accent);
    font-size: 18px;
}

.contact-pro-quick-card span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
}

.contact-pro-quick-card a {
    display: block;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5;
}

.contact-pro-quick-card a:hover {
    color: var(--astra-accent);
}

.contact-pro-map-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 6px;
}

.contact-pro-map-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.contact-pro-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(85%);
    transition: filter 0.3s ease;
}

.contact-pro-map-wrap:hover iframe {
    filter: none;
}

.contact-pro-map-label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 9px;
    border: 1px solid #e2e8f0;
}

.contact-pro-company-card {
    background: #0f172a;
    color: #94a3b8;
    padding: 16px;
}

.contact-pro-company-card h4 {
    margin: 0 0 10px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    font-size: 16px;
}

.contact-pro-company-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-pro-company-card li {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 8px;
    margin-bottom: 8px;
    align-items: start;
}

.contact-pro-company-card strong {
    color: #fff;
    font-weight: 600;
}

.contact-pro-team {
    padding: 54px 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.contact-pro-section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 24px;
}

.contact-pro-section-head span {
    color: var(--astra-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 800;
}

.contact-pro-section-head h3 {
    margin: 8px 0 10px;
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
}

.contact-pro-section-head p {
    margin: 0;
    color: #64748b;
}

.contact-pro-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.contact-pro-team-grid.count-1 {
    grid-template-columns: minmax(300px, 460px);
    justify-content: center;
}

.contact-pro-team-grid.count-2 {
    grid-template-columns: repeat(2, minmax(300px, 460px));
    justify-content: center;
}

.contact-pro-person-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-pro-person-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.2);
}

.contact-pro-avatar {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    border-radius: 999px;
    background: #e2e8f0;
    color: var(--astra-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-pro-person-card:hover .contact-pro-avatar {
    border-color: var(--astra-accent);
}

.contact-pro-person-body {
    min-width: 0;
}

.contact-pro-person-card h4 {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
    line-height: 1.25;
}

.contact-pro-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.contact-pro-person-card:hover .contact-pro-avatar img {
    filter: grayscale(0%);
}

.contact-pro-person-card .contact-pro-person-role {
    margin: 6px 0 8px;
    color: var(--astra-accent);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.contact-pro-person-card p {
    margin: 0 0 10px;
    color: #64748b;
    line-height: 1.55;
    font-size: 14px;
}

.contact-pro-person-links {
    display: grid;
    gap: 4px;
    margin-top: 10px;
}

.contact-pro-person-card a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-pro-person-card a:hover {
    color: var(--astra-accent);
}

.contact-pro-person-card a i {
    color: #94a3b8;
    font-size: 12px;
    transition: color 0.2s ease;
}

.contact-pro-person-card a:hover i {
    color: var(--astra-accent);
}

.contact-pro-faq {
    padding: 50px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.contact-pro-faq h3 {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    color: #0f172a;
}

.contact-pro-faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.contact-pro-faq-list details {
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
}

.contact-pro-faq-list summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #0f172a;
    padding: 14px 16px;
    position: relative;
    padding-right: 38px;
}

.contact-pro-faq-list summary::-webkit-details-marker {
    display: none;
}

.contact-pro-faq-list summary::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--astra-accent);
    font-size: 22px;
    line-height: 1;
}

.contact-pro-faq-list details[open] summary::after {
    content: "−";
}

.contact-pro-faq-list details p {
    margin: 0;
    padding: 0 16px 14px;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .contact-pro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .contact-pro-team-grid {
        grid-template-columns: 1fr;
    }
    .contact-pro-person-card {
        padding: 20px;
    }
    .contact-pro-avatar {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }
    .contact-pro-form-head {
        flex-direction: column;
    }
    .contact-pro-office-status {
        text-align: left;
    }
    .contact-pro-demo-row {
        grid-template-columns: 1fr;
    }
}

.kb-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 780px;
}

.kb-search input {
    min-height: 52px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0 14px;
    font-size: 16px;
}

.kb-search button {
    min-height: 52px;
    border: 0;
    padding: 0 22px;
    background: var(--astra-accent);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 44px 0 60px;
}

.kb-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.kb-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

/* About page */
@keyframes aboutFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes aboutSlideUp {
    0% {
        opacity: 0;
        transform: translateY(34px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutKenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.about-hero {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--astra-darker);
}

.about-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.46;
    filter: grayscale(100%);
    animation: aboutKenBurns 18s ease-out forwards;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.62) 100%);
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1040px;
    padding: 86px 0 80px;
    animation: aboutFadeIn 0.95s ease-out both;
}

.about-hero-kicker {
    display: inline-block;
    color: var(--astra-accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 10px;
    margin-bottom: 14px;
}

.about-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.04;
    font-weight: 900;
}

.about-hero p {
    margin: 0 auto;
    color: #cbd5e1;
    max-width: 720px;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    line-height: 1.6;
}

.about-stats {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 22px 0 24px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.about-stat {
    text-align: center;
    padding: 10px 8px;
    opacity: 0;
    animation: aboutSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-stat:nth-child(2) {
    animation-delay: 0.1s;
}

.about-stat:nth-child(3) {
    animation-delay: 0.2s;
}

.about-stat:nth-child(4) {
    animation-delay: 0.3s;
}

.about-stat.has-divider {
    border-left: 1px solid #e2e8f0;
}

.about-stat strong {
    display: block;
    color: #0f172a;
    font-size: clamp(2rem, 3vw, 2.95rem);
    line-height: 1;
    font-weight: 900;
}

.about-stat span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
    font-weight: 800;
}

.about-dna {
    padding: 78px 0 88px;
    background: #f1f5f9;
}

.about-section-head {
    text-align: center;
    margin: 0 auto 44px;
    max-width: 780px;
}

.about-section-head span {
    color: var(--astra-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 800;
}

.about-section-head h2 {
    margin: 10px 0 10px;
    font-size: clamp(2rem, 3.1vw, 2.8rem);
    color: #0f172a;
}

.about-section-head p {
    margin: 0;
    color: #64748b;
}

.about-dna-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.about-dna-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 18px;
    min-height: 186px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    opacity: 0;
    animation: aboutSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-dna-card:nth-child(2) {
    animation-delay: 0.05s;
}

.about-dna-card:nth-child(3) {
    animation-delay: 0.1s;
}

.about-dna-card:nth-child(4) {
    animation-delay: 0.15s;
}

.about-dna-card:nth-child(5) {
    animation-delay: 0.2s;
}

.about-dna-card:hover {
    transform: translateY(-6px);
    background: #0f172a;
}

.about-dna-watermark {
    position: absolute;
    right: -6px;
    top: -14px;
    font-size: 104px;
    line-height: 1;
    font-weight: 900;
    color: #f1f5f9;
    pointer-events: none;
}

.about-dna-letter {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 12px;
}

.about-dna-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 20px;
}

.about-dna-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.about-dna-card:hover .about-dna-letter {
    color: var(--astra-accent);
}

.about-dna-card:hover h3 {
    color: #fff;
}

.about-dna-card:hover p {
    color: #cbd5e1;
}

.about-dna-card:hover .about-dna-watermark {
    color: rgba(255, 255, 255, 0.06);
}

.about-why {
    padding: 96px 0 88px;
    background: #fff;
}

.about-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 66px;
    align-items: center;
}

.about-why-media {
    position: relative;
    opacity: 0;
    animation: aboutSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.about-why-media img {
    width: 100%;
    display: block;
    border-radius: 2px;
    filter: grayscale(100%);
}

.about-why-quote {
    position: absolute;
    right: -22px;
    bottom: -22px;
    background: var(--astra-accent);
    color: #fff;
    padding: 20px 22px;
    max-width: 260px;
}

.about-why-quote p {
    margin: 0 0 4px;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 800;
}

.about-why-quote span {
    font-size: 13px;
    opacity: 0.9;
}

.about-why-copy h2 {
    margin: 0 0 22px;
    font-size: clamp(2rem, 3vw, 3.1rem);
    color: #0f172a;
    line-height: 1.1;
}

.about-why-copy {
    opacity: 0;
    animation: aboutSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.about-why-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px;
}

.about-why-list li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
}

.about-why-list i {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: #fff7ed;
    color: var(--astra-accent);
    font-size: 13px;
    border: 1px solid #fed7aa;
}

.about-why-list h4 {
    margin: 0 0 2px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.2;
}

.about-why-list p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.about-cta {
    background: #0b1324;
    color: #fff;
    padding: 70px 0 74px;
    text-align: center;
}

.about-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 2.8vw, 2.7rem);
    color: #fff;
}

.about-cta p {
    margin: 0 auto 26px;
    color: #cbd5e1;
    max-width: 680px;
    font-size: 14px;
}

.about-cta a {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    background: var(--astra-accent);
    color: #fff;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.about-cta a:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .about-hero > img,
    .about-hero-inner,
    .about-stat,
    .about-dna-card,
    .about-why-media,
    .about-why-copy,
    .about-cta {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 1100px) {
    .about-hero {
        min-height: 480px;
    }
    .about-dna-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-why-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 760px) {
    .about-hero {
        min-height: 430px;
    }
    .about-hero-inner {
        padding: 66px 0 56px;
    }
    .about-hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-stat.has-divider {
        border-left: 0;
    }
    .about-dna-grid {
        grid-template-columns: 1fr;
    }
    .about-dna {
        padding: 58px 0 66px;
    }
    .about-why {
        padding: 62px 0;
    }
    .about-why-quote {
        position: static;
        margin-top: 12px;
        max-width: 100%;
    }
}

.kb-card-body {
    padding: 18px;
}

.kb-card-meta {
    font-size: 12px;
    color: var(--astra-gray);
    margin-bottom: 8px;
}

.kb-card h2 {
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 10px;
}

.kb-card p {
    margin: 0;
    color: #475569;
}

.kb-pagination {
    margin: 0 0 70px;
}

.kb-pagination .nav-links {
    display: flex;
    gap: 8px;
}

.kb-pagination .page-numbers {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 0 10px;
}

.kb-pagination .page-numbers.current,
.kb-pagination .page-numbers:hover {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.single-hero {
    min-height: 380px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #020617;
}

.single-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.75) 36%, rgba(15, 23, 42, 0.5) 100%);
}

.single-hero-inner {
    position: relative;
    z-index: 2;
    padding-bottom: 34px;
}

.single-breadcrumb {
    display: flex;
    gap: 8px;
    color: #cbd5e1;
    font-size: 12px;
    margin-bottom: 18px;
}

.single-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
}

.single-hero-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.12;
    max-width: 720px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.single-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.single-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.single-hero-badge i {
    font-size: 12px;
    line-height: 1;
}

.single-hero-meta-card {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 11px 16px;
    border-radius: 3px;
}

.single-hero-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.single-hero-author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid var(--astra-accent);
}

.single-hero-author-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.single-hero-author-name {
    font-size: 14px;
    font-weight: 700;
}

.single-hero-author-role {
    font-size: 10px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.single-hero-meta-separator {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
}

.single-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.single-hero-meta-item i {
    font-size: 14px;
    color: #e2e8f0;
}

.single-content-wrap {
    background: #fff;
    padding: 34px 0 72px;
}

.single-content-inner {
    max-width: 960px;
}

.single-article-content {
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
    max-width: 620px;
}

.single-article-content h2,
.single-article-content h3,
.single-article-content h4 {
    color: #0f172a;
    line-height: 1.25;
}

.single-article-content h2 {
    margin-top: 2.6rem;
    margin-bottom: 0.8rem;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.single-article-content h3 {
    margin-top: 2.2rem;
    margin-bottom: 0.7rem;
    font-size: 28px;
    font-weight: 700;
}

.single-article-content p {
    margin: 0 0 1.3rem;
}

.single-article-content ul,
.single-article-content ol {
    margin: 0 0 1.4rem 1.4rem;
}

.single-article-content blockquote {
    margin: 1.8rem 0;
    border-left: 4px solid var(--astra-accent);
    background: #fff7ed;
    padding: 1.2rem 1.4rem;
    color: #475569;
}

.single-article-content img {
    max-width: 100%;
    height: auto;
}

.single-tax {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    color: #334155;
}

.single-tax p {
    margin: 0 0 8px;
}

.single-tax a {
    color: var(--astra-accent);
    text-decoration: none;
}

.single-content-shell {
    display: grid;
    grid-template-columns: 228px minmax(0, 620px) 250px;
    gap: 26px;
    justify-content: center;
    align-items: start;
}

.single-sticky {
    position: sticky;
    top: 132px;
}

.single-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 12px;
    margin-bottom: 12px;
}

.single-widget h3 {
    margin: 0 0 10px;
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.single-share-links {
    display: flex;
    gap: 8px;
}

.single-share-links a {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
}

.single-share-links a i {
    font-size: 12px;
    line-height: 1;
}

.single-toc {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.single-toc a {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    padding: 5px 0 5px 10px;
    border-left: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.single-toc a:hover {
    color: var(--astra-accent);
    border-left-color: rgba(249, 115, 22, 0.5);
}

.single-toc a.is-active {
    color: var(--astra-accent);
    font-weight: 700;
    border-left-color: var(--astra-accent);
}

.single-widget-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px 14px 12px;
    border-radius: 2px;
}

.single-main-col {
    background: #fff;
}

.single-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.3rem;
}

.single-ai-overview {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 16px;
    margin: 0 0 22px;
}

.single-ai-overview h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.single-ai-overview h3 i {
    color: var(--astra-accent);
    font-size: 16px;
    line-height: 1;
}

.single-ai-overview p {
    margin: 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}

.single-ai-overview-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.single-ai-overview-list li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.single-ai-overview-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--astra-accent);
    position: absolute;
    left: 2px;
    top: 9px;
}

.single-faq {
    margin: 28px 0 12px;
}

.single-faq h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #0f172a;
}

.single-faq-list {
    display: grid;
    gap: 10px;
}

.single-faq-item {
    border: 1px solid #d8e3f2;
    background: #fff;
}

.single-faq-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    text-align: left;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.single-faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid var(--astra-accent);
    background: #0f172a;
    position: relative;
    flex: 0 0 auto;
}

.single-faq-icon::before,
.single-faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--astra-accent);
    transform: translate(-50%, -50%);
    transition: all .2s ease;
}

.single-faq-icon::before {
    width: 10px;
    height: 2px;
}

.single-faq-icon::after {
    width: 2px;
    height: 10px;
}

.single-faq-item.is-open .single-faq-icon::after {
    height: 0;
}

.single-faq-panel {
    padding: 0 16px 14px;
    color: #334155;
    font-size: 14px;
    line-height: 1.75;
}

.single-faq-panel p {
    margin: 0 0 10px;
}

.single-author-box {
    margin-top: 28px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 14px;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
}

.single-author-avatar img {
    border-radius: 999px;
}

.single-author-box h4 {
    margin: 0 0 4px;
    font-size: 14px;
}

.single-author-role {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f97316;
}

.single-author-box p {
    margin: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.6;
}

.product-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
}

.product-item img {
    width: 74px;
    height: 74px;
    object-fit: cover;
}

.product-item-icon {
    width: 74px;
    height: 74px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.product-item-icon i {
    font-size: 24px;
    line-height: 1;
}

.product-item strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
}

.product-item span {
    color: #64748b;
    font-size: 12px;
}

.single-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: var(--astra-accent);
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 10px 12px;
}

.single-btn.secondary {
    background: #0f172a;
}

.newsletter-widget p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 12px;
    text-align: center;
}

.newsletter-widget-text {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 12px;
    text-align: center;
}

.newsletter-widget-text p {
    margin: 0 0 10px;
}

.newsletter-widget {
    text-align: center;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.newsletter-widget h3 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #0f172a;
    text-transform: none;
    letter-spacing: 0;
}

.newsletter-widget-icon {
    display: inline-block;
    font-size: 34px;
    color: var(--astra-accent);
    margin-bottom: 8px;
}

.single-related {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 18px 0 36px;
}

.single-related h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #0f172a;
}

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

.single-related-card {
    background: #fff;
    border: 1px solid #e2e8f0;
}

.single-related-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.single-related-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.single-related-thumb-placeholder {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #64748b;
}

.single-related-thumb-placeholder i {
    font-size: 28px;
    line-height: 1;
}

.single-related-card h4 {
    margin: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #0f172a;
}

.single-link-wall {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #e2e8f0;
    padding: 24px 0 36px;
    content-visibility: auto;
    contain-intrinsic-size: 1px 820px;
}

.single-link-wall-head {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.single-link-wall-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    letter-spacing: -0.01em;
}

.single-link-wall-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.single-link-wall-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.single-link-wall-col {
    background: #fff;
    border: 1px solid #dbe6f2;
    border-top: 3px solid var(--astra-accent);
    padding: 12px 12px 10px;
    min-height: 100%;
}

.single-link-wall-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.single-link-wall-col-head a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.3;
}

.single-link-wall-col-head a:hover {
    color: var(--astra-accent);
}

.single-link-wall-col-head span {
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.3;
}

.single-link-wall-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.single-link-wall-list li a {
    position: relative;
    display: block;
    text-decoration: none;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.45;
    padding-left: 14px;
}

.single-link-wall-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #0f172a;
}

.single-link-wall-list li a:hover {
    color: var(--astra-accent);
}

.single-link-wall-list li a:hover::before {
    background: var(--astra-accent);
}

.single-link-wall-more {
    display: inline-block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.single-link-wall-more:hover {
    color: var(--astra-accent);
}

.single-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--astra-accent);
    z-index: 500;
}

.single-left-rail .single-widget {
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 0 10px;
    margin-bottom: 10px;
}

.single-left-rail .single-widget.single-widget-toc {
    border: 1px solid #e2e8f0;
    padding: 14px 14px 12px;
    margin-bottom: 10px;
}

.single-right-rail .single-widget {
    border-color: #d9e2ef;
}

.product-widget h3 {
    margin: -12px -12px 10px;
    background: #0f172a;
    color: #fff;
    padding: 8px 12px;
    font-size: 9px;
}

.astra-footer {
    background: var(--astra-darker);
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 56px 0 26px;
}

.astra-footer h3 {
    color: #fff;
    font-size: 13px;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.astra-footer-grid-modern {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.25fr;
    gap: 28px;
    margin-bottom: 28px;
}

.astra-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.astra-footer a:hover {
    color: var(--astra-accent);
}

.astra-footer-brand p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 360px;
}

.astra-footer-logo {
    height: 36px;
    width: auto;
    display: block;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.astra-footer-nav,
.astra-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.astra-footer-nav li {
    margin: 0 0 11px;
}

.astra-footer-nav a {
    font-size: 14px;
    line-height: 1.35;
}

.astra-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #cbd5e1;
}

.astra-footer-contact i {
    font-size: 14px;
    color: var(--astra-accent);
    margin-top: 3px;
}

.astra-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    font-size: 12px;
    color: #64748b;
}

.astra-footer-credit {
    padding-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

.astra-footer-credit p {
    margin: 0;
}

.astra-footer-credit a {
    color: #94a3b8;
}

@media (max-width: 960px) {
    .site-main {
        padding-top: 104px;
    }
    .astra-topbar-left {
        font-size: 11px;
    }
    .astra-topbar-right {
        gap: 12px;
    }
    .astra-nav-service {
        display: none;
    }
    .astra-nav-service-wp {
        display: none;
    }
    .astra-mobile-nav-toggle {
        display: inline-block;
    }
    .astra-cta-service {
        display: none;
    }
    .astra-cta-service {
        padding: 9px 12px;
        font-size: 11px;
    }
    .kb-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bloghub-featured-grid {
        grid-template-columns: 1fr;
    }
    .bloghub-latest-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bloghub-headline-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .bloghub-hero-inner {
        text-align: left;
    }
    .bloghub-search {
        margin: 0;
    }
    .bloghub-popular {
        justify-content: flex-start;
    }
    .bloghub-newsletter-shell {
        grid-template-columns: 1fr;
    }
    .astra-footer-grid,
    .astra-footer-grid-modern {
        grid-template-columns: 1fr;
    }
    .astra-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .astra-footer-credit {
        text-align: left;
    }
    .single-content-shell {
        grid-template-columns: 1fr;
    }
    .single-left-rail,
    .single-right-rail {
        display: none;
    }
    .single-related-grid {
        grid-template-columns: 1fr;
    }
    .single-related-card img,
    .single-related-thumb-placeholder {
        height: 190px;
    }
    .single-link-wall-grid {
        grid-template-columns: 1fr;
    }
    .single-hero {
        min-height: 320px;
    }
    .single-hero-meta-card {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 12px;
        padding: 10px 12px;
    }
    .single-hero-meta-separator {
        display: none;
    }
}

@media (max-width: 620px) {
    .kb-search,
    .bloghub-search {
        grid-template-columns: 1fr;
    }
    .kb-grid,
    .bloghub-latest-grid {
        grid-template-columns: 1fr;
    }
    .bloghub-hero-inner {
        text-align: left;
    }
    .bloghub-popular {
        justify-content: flex-start;
    }
    .bloghub-newsletter-form .bloghub-newsletter-row {
        grid-template-columns: 1fr;
    }
}
