.klube-aiq-page {
    --klube-aiq-blue: #02a2d6;
    --klube-aiq-blue-strong: #1aa3ff;
    --klube-aiq-ink: #023056;
    --klube-aiq-muted: #5d6f7d;
    --klube-aiq-line: rgba(2, 48, 86, 0.12);
    --klube-aiq-soft: #f4fafd;
    background: #ffffff;
    color: var(--klube-aiq-ink);
    font-family: var(--font-primary, "Mona Sans", Arial, sans-serif);
}

.klube-aiq-page a {
    color: inherit;
}

.klube-aiq-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(128px, 16vw, 188px) 20px clamp(44px, 7vw, 76px);
    background: #023056;
    border-bottom: 1px solid var(--klube-aiq-line);
}

.klube-aiq-hero__video,
.klube-aiq-hero__overlay {
    position: absolute;
    inset: 0;
}

.klube-aiq-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.klube-aiq-hero__overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2, 48, 86, 0.86) 0%, rgba(2, 48, 86, 0.62) 44%, rgba(2, 48, 86, 0.24) 100%),
        linear-gradient(180deg, rgba(2, 48, 86, 0.18) 0%, rgba(2, 48, 86, 0.82) 100%);
}

.klube-aiq-hero__inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1040px);
    margin: 0 auto;
}

.klube-aiq-eyebrow,
.klube-aiq-section-kicker {
    margin: 0 0 10px;
    color: var(--klube-aiq-blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.klube-aiq-title {
    max-width: 840px;
    margin: 0 0 26px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.02;
}

.klube-aiq-title span {
    color: #7ee0ff;
}

.klube-aiq-search {
    width: min(100%, 790px);
    min-height: 70px;
    padding: 10px 10px 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--klube-aiq-blue);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(2, 48, 86, 0.12);
}

.klube-aiq-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--klube-aiq-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 650;
}

.klube-aiq-search input::placeholder {
    color: rgba(2, 48, 86, 0.58);
}

.klube-aiq-search button,
.klube-aiq-copy,
.klube-aiq-card__link {
    border: 0;
    border-radius: 999px;
    background: var(--klube-aiq-blue-strong);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.klube-aiq-search button {
    min-height: 48px;
    padding: 0 24px;
}

.klube-aiq-copy,
.klube-aiq-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
}

.klube-aiq-search button:hover,
.klube-aiq-copy:hover,
.klube-aiq-card__link:hover {
    opacity: 0.88;
}

.klube-aiq-search button:focus-visible,
.klube-aiq-copy:focus-visible,
.klube-aiq-card__link:focus-visible {
    outline: 2px solid var(--klube-aiq-blue);
    outline-offset: 3px;
}

.klube-aiq-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--klube-aiq-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--klube-aiq-ink);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.klube-aiq-hero .klube-aiq-eyebrow {
    color: #7ee0ff;
}

.klube-aiq-layout {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(34px, 6vw, 72px) 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.klube-aiq-main {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.klube-aiq-answer,
.klube-aiq-results,
.klube-aiq-practical,
.klube-aiq-contact {
    border: 1px solid var(--klube-aiq-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(2, 48, 86, 0.08);
}

.klube-aiq-answer {
    padding: clamp(24px, 4vw, 42px);
}

.klube-aiq-thinking {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(2, 162, 214, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(2, 162, 214, 0.1), rgba(255, 255, 255, 0.86)),
        #ffffff;
    box-shadow: 0 16px 38px rgba(2, 48, 86, 0.08);
}

.klube-aiq-thinking__head {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.klube-aiq-thinking__head h2 {
    margin: 0;
    color: var(--klube-aiq-ink);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 850;
    line-height: 1.12;
}

.klube-aiq-thinking__mark {
    width: 58px;
    height: 58px;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    align-items: end;
    border-radius: 8px;
    background: #023056;
}

.klube-aiq-thinking__mark span {
    display: block;
    height: 18px;
    border-radius: 999px;
    background: #7ee0ff;
    animation: klube-aiq-equalizer 0.9s ease-in-out infinite;
}

.klube-aiq-thinking__mark span:nth-child(2) {
    animation-delay: 0.12s;
}

.klube-aiq-thinking__mark span:nth-child(3) {
    animation-delay: 0.24s;
}

.klube-aiq-thinking__mark span:nth-child(4) {
    animation-delay: 0.36s;
}

.klube-aiq-thinking__track {
    position: relative;
    height: 6px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(2, 48, 86, 0.1);
}

.klube-aiq-thinking__track span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, #02a2d6, #7ee0ff);
    animation: klube-aiq-scan 1.25s ease-in-out infinite;
}

.klube-aiq-thinking__msg {
    margin-top: 14px;
    color: var(--klube-aiq-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

@keyframes klube-aiq-equalizer {
    0%,
    100% {
        height: 14px;
        opacity: 0.62;
    }

    50% {
        height: 34px;
        opacity: 1;
    }
}

@keyframes klube-aiq-scan {
    0% {
        transform: translateX(-105%);
    }

    50% {
        transform: translateX(75%);
    }

    100% {
        transform: translateX(245%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .klube-aiq-hero__video {
        display: none;
    }

    .klube-aiq-thinking__mark span,
    .klube-aiq-thinking__track span {
        animation: none;
    }

    .klube-aiq-thinking__track span {
        width: 100%;
        transform: none;
    }
}

.klube-aiq-section-heading,
.klube-aiq-results__head {
    margin-bottom: 20px;
}

.klube-aiq-section-heading h2,
.klube-aiq-results__head h2,
.klube-aiq-practical h2 {
    margin: 0;
    color: var(--klube-aiq-ink);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 850;
    line-height: 1.1;
}

.klube-aiq-summary {
    position: relative;
    color: var(--klube-aiq-ink);
    font-size: 17px;
    line-height: 1.72;
}

.klube-aiq-summary h2,
.klube-aiq-summary h3 {
    margin: 22px 0 12px;
    color: var(--klube-aiq-ink);
    font-weight: 850;
}

.klube-aiq-summary h2:first-child,
.klube-aiq-summary h3:first-child {
    margin-top: 0;
}

.klube-aiq-summary ul {
    margin: 14px 0;
    padding-left: 22px;
}

.klube-aiq-summary li + li {
    margin-top: 8px;
}

.klube-aiq-status {
    margin-top: 14px;
    color: var(--klube-aiq-muted);
    font-size: 13px;
}

.klube-aiq-copy {
    margin-top: 16px;
}

.klube-aiq-correction {
    margin: 0;
    padding: 14px 18px;
    border-left: 4px solid var(--klube-aiq-blue);
    border-radius: 8px;
    background: var(--klube-aiq-soft);
    color: var(--klube-aiq-ink);
}

.klube-aiq-results {
    padding: clamp(22px, 4vw, 34px);
}

.klube-aiq-results__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.klube-aiq-results__head > p {
    margin: 0;
    color: var(--klube-aiq-muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.klube-aiq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.klube-aiq-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--klube-aiq-line);
    border-radius: 8px;
    background: #ffffff;
}

.klube-aiq-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--klube-aiq-soft);
    text-decoration: none;
}

.klube-aiq-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.klube-aiq-card__media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(2, 162, 214, 0.16), rgba(2, 48, 86, 0.08));
}

.klube-aiq-card__media--empty span {
    color: var(--klube-aiq-blue);
    font-size: 46px;
    font-weight: 850;
    text-transform: uppercase;
}

.klube-aiq-card__body {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.klube-aiq-card__type {
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    color: var(--klube-aiq-blue);
    font-size: 11px;
}

.klube-aiq-card h3 {
    margin: 0;
    color: var(--klube-aiq-ink);
    font-size: 20px;
    font-weight: 850;
    line-height: 1.16;
}

.klube-aiq-card h3 a {
    text-decoration: none;
}

.klube-aiq-card h3 a:hover {
    color: var(--klube-aiq-blue);
}

.klube-aiq-card p {
    margin: 0;
    color: var(--klube-aiq-muted);
    font-size: 14px;
    line-height: 1.55;
}

.klube-aiq-card__link {
    width: fit-content;
    margin-top: 4px;
    min-height: 36px;
    padding: 0 16px;
    font-size: 13px;
}

.klube-aiq-empty {
    padding: 28px;
    border-radius: 8px;
    background: var(--klube-aiq-soft);
}

.klube-aiq-empty h3,
.klube-aiq-empty p {
    margin: 0;
}

.klube-aiq-empty p {
    margin-top: 8px;
    color: var(--klube-aiq-muted);
}

.klube-aiq-aside {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 18px;
}

.klube-aiq-practical,
.klube-aiq-contact {
    padding: 22px;
}

.klube-aiq-practical p {
    margin: 10px 0 0;
    color: var(--klube-aiq-muted);
    line-height: 1.55;
}

.klube-aiq-practical ul {
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.klube-aiq-practical li {
    padding-top: 10px;
    border-top: 1px solid var(--klube-aiq-line);
    color: var(--klube-aiq-ink);
    font-size: 14px;
    line-height: 1.45;
}

.klube-aiq-practical a {
    color: var(--klube-aiq-blue);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 980px) {
    .klube-aiq-layout {
        grid-template-columns: 1fr;
    }

    .klube-aiq-aside {
        position: static;
    }
}

@media (max-width: 720px) {
    .klube-aiq-hero {
        padding: 104px 16px 36px;
    }

    .klube-aiq-search {
        min-height: 0;
        padding: 14px;
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
    }

    .klube-aiq-search button {
        width: 100%;
    }

    .klube-aiq-layout {
        padding: 28px 16px;
    }

    .klube-aiq-grid {
        grid-template-columns: 1fr;
    }

    .klube-aiq-results__head {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .klube-aiq-results__head > p {
        white-space: normal;
    }
}
