.editorial-qa-preview-page {
    --eqap-ink: #14211e;
    --eqap-muted: #5d6a65;
    --eqap-paper: #fbfaf5;
    --eqap-line: rgba(20, 33, 30, .14);
    --eqap-lime: #d9ef62;
    --eqap-mint: #dcefe7;
    --eqap-peach: #f5dfcf;
}

.eqap-hero,
.eqap-catalog,
.eqap-method,
.eqap-detail,
.eqap-unavailable {
    color: var(--eqap-ink);
}

.eqap-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: clamp(28px, 5vw, 78px);
    align-items: end;
    padding: clamp(42px, 7vw, 92px) 0 clamp(44px, 7vw, 86px);
    border-bottom: 1px solid var(--eqap-line);
}

.eqap-hero h1,
.eqap-heading h2,
.eqap-method h2,
.eqap-detail h1,
.eqap-unavailable h1 {
    max-width: 900px;
    margin: 10px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.045em;
}

.eqap-hero h1 { font-size: clamp(44px, 7vw, 88px); }
.eqap-hero h1 em { color: #4e725f; font-weight: inherit; }
.eqap-hero__copy > p:not(.section-kicker) {
    max-width: 760px;
    color: var(--eqap-muted);
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.7;
}

.eqap-persona-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 30px;
}

.eqap-persona-flow > span {
    display: flex;
    gap: 10px;
    align-items: center;
}

.eqap-persona-flow b,
.eqap-card__dialogue b,
.eqap-speaker > header > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--eqap-ink);
    color: #fff;
    font: 800 14px/1 system-ui, sans-serif;
}

.eqap-persona-flow small,
.eqap-persona-flow strong { display: block; }
.eqap-persona-flow small { margin-top: 2px; color: var(--eqap-muted); }
.eqap-persona-flow i { color: #8b9691; font-style: normal; }

.eqap-disclosure,
.eqap-detail__disclosure {
    display: flex;
    gap: 17px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(20, 33, 30, .18);
    border-radius: 24px;
    background: var(--eqap-lime);
    box-shadow: 12px 12px 0 rgba(20, 33, 30, .08);
}

.eqap-disclosure > span,
.eqap-detail__disclosure > span { font-size: 28px; line-height: 1; }
.eqap-disclosure strong,
.eqap-detail__disclosure strong { display: block; font-size: 18px; line-height: 1.35; }
.eqap-disclosure p,
.eqap-detail__disclosure p { margin: 10px 0 0; line-height: 1.6; }

.eqap-catalog { padding: clamp(54px, 7vw, 96px) 0; }
.eqap-heading {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}
.eqap-heading h2,
.eqap-method h2 { font-size: clamp(36px, 5vw, 62px); }
.eqap-heading > p { max-width: 370px; color: var(--eqap-muted); line-height: 1.6; }

.eqap-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(130px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    padding: 18px;
    margin-bottom: 30px;
    border: 1px solid var(--eqap-line);
    border-radius: 20px;
    background: #f0efe7;
}
.eqap-filters label span { display: block; margin: 0 0 7px 4px; color: var(--eqap-muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.eqap-filters input,
.eqap-filters select {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid rgba(20, 33, 30, .2);
    border-radius: 12px;
    background: #fff;
    color: var(--eqap-ink);
    font: inherit;
}
.eqap-filters > a { grid-column: 1 / -1; justify-self: end; color: var(--eqap-ink); font-weight: 750; }

.eqap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.eqap-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--eqap-line);
    border-radius: 24px;
    background: var(--eqap-paper);
    box-shadow: 0 20px 55px rgba(20, 33, 30, .055);
}
.eqap-card__disclosure {
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--eqap-lime);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .025em;
}
.eqap-card__taxonomy { display: flex; flex-wrap: wrap; gap: 7px; }
.eqap-card__taxonomy span { padding: 6px 9px; border: 1px solid var(--eqap-line); border-radius: 999px; color: var(--eqap-muted); font-size: 12px; font-weight: 750; }
.eqap-card h3 { margin: 18px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 3vw, 34px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.eqap-card h3 a { color: inherit; text-decoration: none; }
.eqap-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.eqap-card__dialogue { display: grid; gap: 12px; }
.eqap-card__dialogue p { display: flex; gap: 12px; margin: 0; padding: 15px; border-radius: 16px; background: #f0eee5; color: var(--eqap-muted); line-height: 1.55; }
.eqap-card__dialogue p:nth-child(2) { background: var(--eqap-mint); }
.eqap-card__dialogue strong { display: block; margin-bottom: 4px; color: var(--eqap-ink); font-size: 13px; }
.eqap-card__dialogue p > span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.eqap-card__learning { display: grid; gap: 0; margin: 18px 0 22px; }
.eqap-card__learning div { display: grid; grid-template-columns: 125px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--eqap-line); }
.eqap-card__learning dt { color: #5c6f65; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.eqap-card__learning dd { display: -webkit-box; overflow: hidden; margin: 0; color: var(--eqap-muted); line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.eqap-card__link { margin-top: auto; color: var(--eqap-ink); font-weight: 850; text-decoration: none; }
.eqap-card__link span { display: inline-block; transition: transform .2s ease; }
.eqap-card__link:hover span { transform: translateX(5px); }

.eqap-pagination { display: flex; max-width: 580px; align-items: center; justify-content: space-between; gap: 20px; margin: 38px auto 0; padding: 16px 20px; border: 1px solid var(--eqap-line); border-radius: 999px; }
.eqap-pagination a { color: var(--eqap-ink); font-weight: 800; }
.eqap-pagination span { color: #9aa29e; }

.eqap-empty,
.eqap-unavailable {
    padding: clamp(36px, 7vw, 80px);
    border: 1px solid var(--eqap-line);
    border-radius: 26px;
    background: var(--eqap-paper);
    text-align: center;
}
.eqap-empty > span,
.eqap-unavailable > span { display: block; margin-bottom: 15px; font-size: 42px; }
.eqap-empty strong,
.eqap-unavailable > strong { display: inline-block; padding: 7px 10px; border-radius: 8px; background: var(--eqap-lime); }
.eqap-empty h3 { margin: 20px 0 8px; font: 500 30px/1.15 Georgia, serif; }

.eqap-method {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
    gap: clamp(36px, 7vw, 100px);
    padding: clamp(52px, 8vw, 100px) 0;
    border-top: 1px solid var(--eqap-line);
}
.eqap-method ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.eqap-method li { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--eqap-line); }
.eqap-method li > span { font: 800 12px/1.4 ui-monospace, monospace; }
.eqap-method li strong { font-size: 19px; }
.eqap-method li p { margin: 6px 0 0; color: var(--eqap-muted); line-height: 1.6; }
.eqap-method__note { grid-column: 1 / -1; padding: 19px 22px; border-radius: 14px; background: var(--eqap-lime); line-height: 1.6; }

.eqap-detail { max-width: 1120px; margin: 0 auto; padding: clamp(36px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.eqap-detail__header { max-width: 970px; margin-bottom: 42px; }
.eqap-detail__disclosure { margin-bottom: 34px; }
.eqap-detail__header .eqap-card__taxonomy { margin-bottom: 24px; }
.eqap-detail h1 { font-size: clamp(40px, 6vw, 76px); }
.eqap-detail__conversation { display: grid; gap: 24px; }
.eqap-speaker { padding: clamp(24px, 4vw, 46px); border: 1px solid var(--eqap-line); border-radius: 28px; background: var(--eqap-paper); }
.eqap-speaker > header { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--eqap-line); }
.eqap-speaker > header h2 { margin: 0; font-size: 20px; }
.eqap-speaker > header p { margin: 4px 0 0; color: var(--eqap-muted); font-size: 13px; }
.eqap-speaker--question > p { margin: 26px 0; font: 500 clamp(21px, 2.6vw, 29px)/1.55 Georgia, serif; }
.eqap-speaker--question aside { padding: 19px 22px; border-left: 4px solid #c28c67; border-radius: 0 14px 14px 0; background: var(--eqap-peach); }
.eqap-speaker--question aside p { margin: 7px 0 0; line-height: 1.65; }
.eqap-speaker--answer { background: #f8faf7; }
.eqap-speaker--answer > header > span { background: #446755; }
.eqap-learning-block { padding: 30px 0; border-bottom: 1px solid var(--eqap-line); }
.eqap-learning-block:last-child { border-bottom: 0; padding-bottom: 0; }
.eqap-learning-block h3 { margin: 7px 0 12px; font: 500 clamp(27px, 3.5vw, 40px)/1.1 Georgia, serif; letter-spacing: -.025em; }
.eqap-learning-block > p:not(.section-kicker) { max-width: 850px; margin: 0; color: var(--eqap-muted); font-size: 17px; line-height: 1.75; }
.eqap-learning-block ol { display: grid; gap: 12px; margin: 19px 0 0; padding: 0; list-style: none; counter-reset: eqap-steps; }
.eqap-learning-block li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; counter-increment: eqap-steps; }
.eqap-learning-block li > span::before { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--eqap-ink); color: #fff; content: counter(eqap-steps); font-size: 13px; font-weight: 800; }
.eqap-learning-block li p { margin: 3px 0 0; line-height: 1.65; }
.eqap-learning-block--diagnosis { margin-top: 20px; }
.eqap-learning-block--check { margin-top: 5px; padding: 28px; border: 0; border-radius: 20px; background: var(--eqap-lime); }
.eqap-learning-block--check > p:not(.section-kicker) { color: var(--eqap-ink); }
.eqap-learning-block--lesson a { display: inline-flex; margin-top: 17px; color: var(--eqap-ink); font-weight: 850; }

.eqap-intents,
.eqap-sources,
.eqap-detail__footer { margin-top: 28px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--eqap-line); border-radius: 24px; }
.eqap-intents h2,
.eqap-sources h2 { margin: 7px 0 16px; font: 500 clamp(27px, 3.4vw, 39px)/1.1 Georgia, serif; }
.eqap-intents ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.eqap-intents li { padding: 9px 12px; border-radius: 999px; background: #efeee7; }
.eqap-sources { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; background: #efeee7; }
.eqap-sources p { color: var(--eqap-muted); line-height: 1.65; }
.eqap-sources small { font-weight: 800; }
.eqap-sources ul { display: grid; align-content: start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eqap-sources a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; color: var(--eqap-ink); font-weight: 750; text-decoration: none; }
.eqap-detail__footer { display: flex; align-items: center; justify-content: space-between; gap: 26px; background: var(--eqap-mint); }
.eqap-detail__footer strong { font-size: 17px; }
.eqap-detail__footer p { margin: 7px 0 0; color: var(--eqap-muted); }
.eqap-unavailable { margin: clamp(40px, 8vw, 100px) auto; max-width: 900px; }
.eqap-unavailable h1 { max-width: 720px; margin: 28px auto 18px; font-size: clamp(37px, 6vw, 64px); }
.eqap-unavailable > p { max-width: 650px; margin: 0 auto 25px; color: var(--eqap-muted); font-size: 18px; line-height: 1.7; }
.eqap-unavailable > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.eqap-unavailable > div > a:not(.button) { color: var(--eqap-ink); font-weight: 800; }

@media (max-width: 980px) {
    .eqap-hero,
    .eqap-method { grid-template-columns: 1fr; }
    .eqap-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eqap-filters > button { min-height: 48px; }
    .eqap-method__note { grid-column: auto; }
}

@media (max-width: 760px) {
    .eqap-grid,
    .eqap-sources { grid-template-columns: 1fr; }
    .eqap-heading,
    .eqap-detail__footer { align-items: flex-start; flex-direction: column; }
    .eqap-card__learning div { grid-template-columns: 1fr; gap: 4px; }
    .eqap-pagination { border-radius: 20px; }
}

@media (max-width: 560px) {
    .eqap-hero { padding-top: 28px; }
    .eqap-hero h1 { font-size: clamp(41px, 13vw, 58px); }
    .eqap-persona-flow { display: grid; grid-template-columns: 1fr; }
    .eqap-persona-flow i { transform: rotate(90deg); justify-self: start; margin-left: 15px; }
    .eqap-filters { grid-template-columns: 1fr; }
    .eqap-filters > a { justify-self: start; }
    .eqap-card,
    .eqap-speaker { border-radius: 19px; }
    .eqap-card__dialogue p { display: grid; grid-template-columns: 42px 1fr; }
    .eqap-detail__disclosure { flex-direction: column; }
    .eqap-learning-block--check { padding: 21px; }
    .eqap-pagination { gap: 12px; padding: 13px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .eqap-card__link span { transition: none; }
}
