/**
 * ExamVillage — MCQ Subject taxonomy page
 * Cleaned responsive stylesheet. Requires ev-global.css.
 * Page CSS only defines layout/component behaviour; brand tokens remain global.
 */

/* ---------- Page base ---------- */
.evr-subject-preview {
    background: var(--off-white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}
.evr-subject-preview * { box-sizing: border-box; }
.evr-subject-preview a { text-decoration: none; }
.evr-subject-preview a:focus-visible,
.evr-subject-preview button:focus-visible {
    outline: 3px solid var(--amber-light);
    outline-offset: 2px;
}

/* ---------- Breadcrumb ---------- */






/* ---------- Subject hero ---------- */
.evr-subject-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(105deg,var(--teal-dark),var(--teal),var(--teal-mid));
    color: var(--white);
}
.evr-subject-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 62%;
    background: radial-gradient(circle at 50% 50%,rgba(255,255,255,.13),transparent 58%);
    pointer-events: none;
}
.evr-subject-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 145px;
    display: grid;
    grid-template-columns: 76px minmax(0,1fr) 300px;
    align-items: center;
    gap: 22px;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.evr-subject-hero__icon {
    width: 72px;
    height: 72px;
    border: 4px solid var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--royal);
    font-size: 34px;
    box-shadow: 0 6px 18px rgba(11,29,58,.18);
}
.evr-subject-hero__copy h1 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em;
    color: var(--white);
}
.evr-subject-hero__copy > p {
    max-width: 680px;
    margin: 0 0 18px;
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.55;
}
.evr-subject-hero__stats { display: flex; align-items: stretch; }
.evr-subject-hero__stats > div {
    min-width: 150px;
    display: grid;
    grid-template-columns: 34px auto;
    grid-template-rows: auto auto;
    align-items: center;
    margin-right: 22px;
    padding-right: 22px;
    border-right: 1px solid rgba(255,255,255,.18);
}
.evr-subject-hero__stats > div:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.evr-hero-stat-icon {
    grid-row: 1 / 3;
    width: 29px;
    height: 29px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.95);
    color: var(--teal);
    font-size: 14px;
}
.evr-subject-hero__stats strong { color: var(--white); font-size: 18px; line-height: 1; }
.evr-subject-hero__stats small { color: rgba(255,255,255,.82); font-size: 12px; }
.evr-subject-hero__art {
    justify-self: end;
    width: 250px;
    height: 110px;
    display: grid;
    place-items: center;
    font-size: 72px;
    filter: drop-shadow(0 10px 16px rgba(11,29,58,.25));
    opacity: .95;
}

/* ---------- Topics ---------- */
.evr-topics-band { background: var(--white); border-bottom: 1px solid var(--border); }
.evr-topics-band > .ev-container { padding-top: 10px !important; padding-bottom: 10px !important; }
.evr-band-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 9px;
}
.evr-band-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}
.evr-band-head > a { color: var(--teal-dark); font-size: 13px; font-weight: 700; }
.evr-band-icon,
.evr-panel-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal-pale);
    color: var(--teal);
}
.evr-topic-preview-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px 9px; }
.evr-topic-preview-card {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    background: var(--g50);
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.35;
    transition: background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
    touch-action: manipulation;
}
.evr-topic-preview-card > span {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal-pale);
    font-size: 12px;
}
.evr-topic-preview-card b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.evr-topic-preview-card:hover,
.evr-topic-preview-card.is-active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,122,135,.18);
}
.evr-topic-preview-card.is-active > span { background: rgba(255,255,255,.16); }

/* ---------- Main layout ---------- */
.evr-subject-body { padding: 12px 0 22px; }
.evr-subject-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 12px; align-items: start; }
.evr-question-panel,
.evr-set-panel,
.evr-side-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    box-shadow: var(--sh-xs);
}
.evr-question-panel__head {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
}
.evr-question-panel__head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}
.evr-question-tools { display: flex; align-items: center; gap: 7px; }
.evr-question-tools > * {
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}
.evr-question-tools a { color: var(--teal-dark); }
.evr-question-tools button { width: 36px; justify-content: center; color: var(--teal); cursor: pointer; }

/* ---------- MCQ cards: question row + 2x2 options ---------- */
.evr-preview-mcqs { list-style: none; margin: 0; padding: 0 0 4px; }
.evr-preview-mcq {
    display: block;
    margin: 10px 8px;
    padding: 15px 16px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    background: var(--white);
}
.evr-preview-mcq__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--g100);
}
.evr-preview-mcq__q {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    align-items: start;
    gap: 10px;
}
.evr-preview-mcq__q > span,
.evr-preview-mcq__number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal-dark);
    color: var(--white);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}
.evr-preview-mcq__q p {
    margin: 1px 0 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}
.evr-preview-mcq__bookmark {
    position: static;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    background: var(--white);
    color: var(--teal-dark);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.evr-preview-mcq__bookmark:hover { border-color: var(--teal-tint); background: var(--teal-pale); }
.evr-preview-mcq__opts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px 12px;
    margin: 0;
    padding: 0 0 0 44px;
}
.evr-preview-mcq__opts li {
    min-width: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    background: var(--white);
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
}
.evr-preview-mcq__opts li i {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 1px solid var(--teal-tint);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal-pale);
    color: var(--teal-dark);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}
.evr-preview-mcq__opts li span { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.evr-preview-mcq__opts li.is-correct { background: var(--green-pale); border-color: var(--green-tint); }

/* ---------- Pagination ---------- */
.evr-preview-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 12px; }
.evr-preview-pagination a,
.evr-preview-pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 700;
}
.evr-preview-pagination a { touch-action: manipulation; }
.evr-preview-pagination a.is-current,
.evr-preview-pagination .current,
.evr-preview-pagination [aria-current="page"] {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
}
.evr-preview-pagination .evr-next { margin-left: 10px; min-width: 88px; }

/* ---------- Existing MCQ set panel ---------- */
.evr-set-panel { margin-top: 12px; padding: 12px; }
.evr-set-panel .evr-cards-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }

/* ---------- Sidebar ---------- */
.evr-preview-sidebar { display: grid; gap: 10px; }
.evr-side-card { padding: 10px; }
.evr-side-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}
.evr-side-card h3 > span { color: var(--teal); font-size: 16px; }
.evr-side-facts p {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 7px 2px;
    border-bottom: 1px solid var(--g100);
    font-size: 13px;
    line-height: 1.45;
}
.evr-side-facts p:last-child { border-bottom: 0; }
.evr-side-facts span { color: var(--text-mid); }
.evr-side-facts b { color: var(--navy-light); font-weight: 600; }
.evr-popular-list { list-style: none; margin: 0; padding: 0; }
.evr-popular-list li {
    display: grid;
    grid-template-columns: 23px 1fr auto;
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.45;
}
.evr-popular-list i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal-pale);
    color: var(--teal-dark);
    font-style: normal;
}
.evr-popular-list a,
.evr-related-list a { color: var(--text); }
.evr-popular-list small { color: var(--text-light); }
.evr-side-more { display: block; margin-top: 5px; text-align: right; color: var(--teal-dark); font-size: 12px; font-weight: 700; }
.evr-related-list { display: grid; }
.evr-related-list a {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 7px;
    padding: 7px 0;
    border-bottom: 1px solid var(--g100);
    font-size: 13px;
    line-height: 1.45;
}
.evr-related-list a:last-child { border-bottom: 0; }
.evr-related-list a > span {
    width: 21px;
    height: 21px;
    border-radius: 4px;
    display: grid;
    place-items: center;
    background: var(--teal-pale);
    color: var(--teal);
}
.evr-side-cta { padding: 12px; border: 1px solid var(--green-tint); border-radius: var(--r-xs); background: var(--green-pale); }
.evr-side-cta__art { text-align: center; font-size: 42px; line-height: 1.1; }
.evr-side-cta h3 { margin: 4px 0; color: var(--text); font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.2; }
.evr-side-cta p { margin: 0 0 9px; color: var(--text-mid); font-size: 13px; line-height: 1.5; }
.evr-side-cta a {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 5px;
    background: var(--teal-dark);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

/* ---------- English MCQ sets ---------- */
.evr-english-sets {
    margin-top: 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-xs);
}
.evr-cross-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.evr-cross-head > div { min-width: 0; }
.evr-cross-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.evr-cross-head h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.evr-cross-head p { max-width: 650px; margin: 5px 0 0; color: var(--text-mid); font-size: 13.5px; line-height: 1.55; }
.evr-cross-all { flex: 0 0 auto; color: var(--teal-dark); font-size: 13px; font-weight: 700; }
.evr-cross-all:hover { text-decoration: underline; }
.evr-english-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.evr-english-card {
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    box-shadow: var(--sh-xs);
    transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.evr-english-card:hover { transform: translateY(-2px); border-color: var(--teal-tint); box-shadow: var(--sh); }
.evr-english-card__media {
    height: 82px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg,var(--teal-pale),var(--navy-pale));
}
.evr-english-card__media img { width: 100%; height: 100%; object-fit: cover; }
.evr-english-card__media > span { color: var(--teal-dark); font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; }
.evr-english-card__body { position: relative; padding: 10px; }
.evr-english-card__badge {
    display: inline-flex;
    margin-bottom: 5px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--amber-pale);
    color: var(--amber-dark);
    font-size: 11px;
    font-weight: 700;
}
.evr-english-card h3 { min-height: 42px; margin: 0 0 7px; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.4; }
.evr-english-card h3 a { color: var(--text); }
.evr-english-card h3 a:hover { color: var(--teal-dark); }
.evr-english-card__meta { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 9px; color: var(--text-light); font-size: 12px; }
.evr-english-card__cta {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 6px;
    background: var(--teal-dark);
    color: var(--white);
    font-size: 12.5px;
    font-weight: 700;
    touch-action: manipulation;
}
.evr-english-card__cta:hover { background: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .evr-subject-hero__inner { grid-template-columns: 70px minmax(0,1fr); }
    .evr-subject-hero__art { display: none; }
    .evr-subject-hero__stats > div { min-width: 125px; margin-right: 12px; padding-right: 12px; }
    .evr-topic-preview-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .evr-english-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .evr-subject-hero__copy h1 { font-size: 34px; }
    .evr-subject-layout { grid-template-columns: 1fr; }
    .evr-preview-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .evr-topic-preview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .evr-subject-preview { font-size: 15px; }
    
    .evr-subject-hero__inner {
        grid-template-columns: 52px minmax(0,1fr);
        gap: 12px;
        min-height: 0;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }
    .evr-subject-hero__icon { width: 52px; height: 52px; border-width: 3px; font-size: 24px; }
    .evr-subject-hero__copy h1 { font-size: 28px; line-height: 1.1; letter-spacing: -.025em; }
    .evr-subject-hero__copy > p { margin-bottom: 12px; font-size: 14px; }
    .evr-subject-hero__stats {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
    }
    .evr-subject-hero__stats > div {
        min-width: 0;
        margin: 0;
        padding: 7px;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 7px;
    }
    .evr-band-head h2 { font-size: 17px; }
    .evr-topic-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .evr-topic-preview-card { min-height: 42px; font-size: 13px; }
    .evr-question-panel__head { align-items: flex-start; flex-direction: column; gap: 8px; }
    .evr-question-panel__head h2,
    .evr-cross-head h2 { font-size: 18px; }
    .evr-question-tools { width: 100%; overflow-x: auto; }
    .evr-preview-mcq { margin: 7px 6px; padding: 11px 10px 12px; }
    .evr-preview-mcq__top { gap: 8px; margin-bottom: 9px; padding-bottom: 9px; }
    .evr-preview-mcq__q { grid-template-columns: 30px minmax(0,1fr); gap: 8px; }
    .evr-preview-mcq__q p { font-size: 15px; line-height: 1.5; }
    .evr-preview-mcq__opts { grid-template-columns: 1fr; gap: 7px; padding-left: 40px; }
    .evr-preview-mcq__opts li { min-height: 46px; padding: 9px 10px; font-size: 14px; }
    .evr-preview-sidebar { grid-template-columns: 1fr; }
    .evr-set-panel .evr-cards-grid { grid-template-columns: 1fr; }
    .evr-cross-head { align-items: flex-start; flex-direction: column; gap: 8px; }
    .evr-english-grid { grid-template-columns: 1fr; }
    .evr-english-card { display: grid; grid-template-columns: 110px minmax(0,1fr); }
    .evr-english-card__media { height: 100%; min-height: 126px; }
    .evr-english-card h3 { min-height: 0; }
}

@media (max-width: 400px) {
    .evr-topic-preview-grid { grid-template-columns: 1fr; }
    .evr-preview-mcq__opts { padding-left: 0; }
    .evr-english-card { grid-template-columns: 92px minmax(0,1fr); }
}

/* =========================================================
   HERO TEXT — DARK TEXT OVERRIDE
   Uses ExamVillage global text tokens.
   ========================================================= */
.evr-subject-hero__copy h1,
.evr-subject-hero__copy p {
    color: var(--text);
}

/* Hero statistics: use dark text where stats sit on light/translucent surfaces. */
.evr-subject-hero__stats,
.evr-subject-hero__stats strong,
.evr-subject-hero__stats span {
    color: var(--text);
}

/* =========================================================
   MCQ TOPIC TAXONOMY — scoped companion to subject design
   Keeps all subject-page selectors above untouched.
   ========================================================= */
.evr-topic-preview{background:var(--off-white);color:var(--text);font-family:var(--font-body);font-size:16px;line-height:1.6}
.evr-topic-preview *{box-sizing:border-box}.evr-topic-preview a{text-decoration:none}
.evr-topic-preview a:focus-visible,.evr-topic-preview button:focus-visible,.evr-topic-preview summary:focus-visible{outline:3px solid var(--amber-light);outline-offset:2px}
.evr-topic-hero{background:linear-gradient(105deg,var(--teal-dark),var(--teal),var(--teal-mid));position:relative;overflow:hidden}
.evr-topic-hero:after{content:"";position:absolute;inset:0 0 0 58%;background:radial-gradient(circle at center,rgba(255,255,255,.2),transparent 62%);pointer-events:none}
.evr-topic-hero__inner{position:relative;z-index:1;display:grid;grid-template-columns:78px minmax(0,1fr) 300px;gap:22px;align-items:center;padding-top:24px!important;padding-bottom:24px!important}
.evr-topic-hero__icon{width:72px;height:72px;display:grid;place-items:center;border:4px solid var(--white);border-radius:18px;background:rgba(255,255,255,.96);font-size:34px;box-shadow:0 8px 24px rgba(11,29,58,.16)}
.evr-topic-hero__eyebrow{display:inline-flex;margin-bottom:5px;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.18);color:var(--navy);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.evr-topic-hero__copy h1{margin:0 0 7px;color:var(--text);font-family:var(--font-display);font-size:38px;font-weight:800;line-height:1.1;letter-spacing:-.035em}
.evr-topic-hero__copy>p{max-width:680px;margin:0 0 13px;color:var(--text);font-size:15px;line-height:1.55}
.evr-topic-search{max-width:650px;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:4px;border-radius:9px;background:var(--white);box-shadow:0 5px 18px rgba(11,29,58,.13)}
.evr-topic-search input[type=search]{min-width:0;height:40px;padding:0 12px;border:0!important;outline:0;background:transparent;color:var(--text);font:inherit}
.evr-topic-search button{min-width:86px;border:0;border-radius:7px;background:var(--amber);color:var(--navy);font-size:13px;font-weight:800;cursor:pointer}
.evr-topic-hero__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.evr-topic-hero__stats>div{min-height:68px;padding:10px;border:1px solid rgba(255,255,255,.55);border-radius:10px;background:rgba(255,255,255,.9);text-align:center;box-shadow:0 4px 14px rgba(11,29,58,.08)}
.evr-topic-hero__stats strong,.evr-topic-hero__stats small{display:block}.evr-topic-hero__stats strong{color:var(--navy);font-size:18px;line-height:1.2}.evr-topic-hero__stats small{margin-top:3px;color:var(--text-mid);font-size:11.5px;font-weight:600}
.evr-topic-body{padding:14px 0 26px}.evr-topic-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:12px;align-items:start}.evr-topic-main{min-width:0}
.evr-topic-question-panel,.evr-topic-sets,.evr-topic-why{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xs);box-shadow:var(--sh-xs)}
.evr-topic-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid var(--border)}
.evr-topic-kicker{display:block;margin-bottom:1px;color:var(--teal-dark);font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.evr-topic-panel-head h2{margin:0;color:var(--text);font-family:var(--font-display);font-size:21px;line-height:1.3}.evr-topic-page-meta{flex:0 0 auto;color:var(--text-light);font-size:12px;font-weight:600}
.evr-topic-mcqs{list-style:none;margin:0;padding:5px 8px}.evr-topic-mcq{margin:8px 0;padding:14px 15px;border:1px solid var(--border);border-radius:10px;background:var(--white);transition:border-color .18s ease,box-shadow .18s ease}.evr-topic-mcq:hover{border-color:var(--teal-tint);box-shadow:0 5px 16px rgba(11,29,58,.055)}
.evr-topic-mcq__head{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;margin-bottom:10px}.evr-topic-mcq__number{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--teal-dark);color:var(--white);font-size:12px;font-weight:800}.evr-topic-mcq__title small{display:block;margin:0 0 2px;color:var(--teal-dark);font-size:11px;font-weight:700}.evr-topic-mcq__title h3{margin:0;color:var(--text);font-family:var(--font-body);font-size:16px;font-weight:700;line-height:1.5}
.evr-topic-mcq__options{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;margin:0;padding:0 0 0 44px}.evr-topic-mcq__options li{min-height:44px;display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--g50);color:var(--text);font-size:14px;line-height:1.4}.evr-topic-option-letter{flex:0 0 25px;width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--teal-tint);border-radius:50%;background:var(--teal-pale);color:var(--teal-dark);font-size:11px;font-weight:800}
.evr-topic-mcq__footer{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin:11px 0 0 44px;padding-top:9px;border-top:1px solid var(--g100);font-size:11.5px}.evr-topic-meta{color:var(--text-light)}.evr-topic-meta strong{color:var(--text-mid)}.evr-topic-answer{padding:4px 8px;border-radius:999px;background:var(--green-pale);color:var(--green-dark);font-weight:600}.evr-topic-actions{margin-left:auto;display:flex;align-items:center;gap:6px}.evr-topic-actions>a,.evr-topic-explanation>summary{min-height:30px;display:inline-flex;align-items:center;padding:5px 9px;border:1px solid var(--teal-tint);border-radius:6px;background:var(--white);color:var(--teal-dark);font-size:11.5px;font-weight:700;cursor:pointer;list-style:none}.evr-topic-explanation>summary::-webkit-details-marker{display:none}.evr-topic-explanation[open]{width:100%;order:5}.evr-topic-explanation[open]>div{margin-top:8px;padding:10px 12px;border-left:3px solid var(--teal);border-radius:5px;background:var(--teal-pale);color:var(--text-mid);font-size:13px;line-height:1.55}.evr-topic-explanation[open]>div p{margin:0}
.evr-topic-empty{padding:28px;text-align:center;color:var(--text-mid)}.evr-topic-empty strong{display:block;color:var(--text);font-family:var(--font-display);font-size:18px}.evr-topic-empty p{margin:5px 0 0}
.evr-topic-sets{margin-top:12px;padding:15px}.evr-topic-set-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.evr-topic-why{margin-top:12px;padding:16px;display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px}.evr-topic-why__icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--amber-pale);font-size:22px}.evr-topic-why h2{margin:0 0 4px;color:var(--text);font-family:var(--font-display);font-size:19px}.evr-topic-why p{margin:0;color:var(--text-mid);font-size:13.5px}.evr-topic-benefits{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:9px;color:var(--teal-dark);font-size:12px;font-weight:700}
.evr-topic-sidebar{position:sticky;top:16px}.evr-topic-sidebar .evr-related-list b{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.evr-topic-sidebar .evr-related-list small{color:var(--teal-dark)}
@media(max-width: 1000px){.evr-topic-hero__inner{grid-template-columns:70px minmax(0,1fr)}.evr-topic-hero__stats{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.evr-topic-hero__stats>div{min-height:58px}.evr-topic-layout{grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width: 820px){.evr-topic-layout{grid-template-columns:1fr}.evr-topic-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.evr-topic-hero__copy h1{font-size:33px}}
@media(max-width: 640px){.evr-topic-preview{font-size:15px}.evr-topic-hero__inner{grid-template-columns:52px minmax(0,1fr);gap:12px;padding-top:18px!important;padding-bottom:18px!important}.evr-topic-hero__icon{width:52px;height:52px;border-width:3px;border-radius:13px;font-size:24px}.evr-topic-hero__copy h1{font-size:27px}.evr-topic-hero__copy>p{font-size:13.5px}.evr-topic-search{grid-column:1/-1}.evr-topic-hero__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.evr-topic-panel-head{align-items:flex-start;flex-direction:column;gap:4px}.evr-topic-panel-head h2{font-size:18px}.evr-topic-mcq{padding:11px 10px}.evr-topic-mcq__head{grid-template-columns:30px minmax(0,1fr);gap:8px}.evr-topic-mcq__number{width:29px;height:29px}.evr-topic-mcq__title h3{font-size:15px}.evr-topic-mcq__options{padding-left:38px;gap:7px}.evr-topic-mcq__options li{min-height:42px;padding:8px;font-size:13.5px}.evr-topic-mcq__footer{margin-left:38px}.evr-topic-actions{width:100%;margin-left:0}.evr-topic-set-grid{grid-template-columns:1fr}.evr-topic-sidebar{grid-template-columns:1fr}.evr-topic-why{grid-template-columns:1fr}.evr-topic-why__icon{width:40px;height:40px}}
@media(max-width: 420px){.evr-topic-mcq__options{grid-template-columns:1fr;padding-left:0}.evr-topic-mcq__footer{margin-left:0}.evr-topic-actions{align-items:stretch;flex-direction:column}.evr-topic-actions>a,.evr-topic-explanation>summary{justify-content:center;min-height:40px}}

/* =========================================================
   2026 UNIFIED SUBJECT + TOPIC POLISH
   Shared MCQ cards, typography, set cards and newsletter.
   ========================================================= */
.evr-subject-preview,
.evr-topic-preview {
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.evr-subject-preview h1,.evr-subject-preview h2,.evr-subject-preview h3,.evr-subject-preview h4,
.evr-topic-preview h1,.evr-topic-preview h2,.evr-topic-preview h3,.evr-topic-preview h4 {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -.02em;
}
.evr-subject-preview p,.evr-topic-preview p { color: var(--text-mid); }
.evr-subject-preview strong,.evr-topic-preview strong { font-weight: 800; }

/* Keep both taxonomy heroes in the same visual family. */
.evr-subject-hero,.evr-topic-hero {
    background: linear-gradient(105deg,var(--teal-pale),var(--g50),var(--navy-pale));
    color: var(--text);
    border-bottom: 1px solid var(--teal-tint);
}
.evr-subject-hero::after,.evr-topic-hero::after {
    background: radial-gradient(circle at 50% 50%,rgba(0,194,203,.14),transparent 62%);
}
.evr-subject-hero__copy h1,.evr-topic-hero__copy h1 { color: var(--navy); font-weight: 800; }
.evr-subject-hero__copy>p,.evr-topic-hero__copy>p { color: var(--navy-mid); font-weight: 500; }
.evr-subject-hero__stats strong,.evr-subject-hero__stats small { color: var(--text); }
.evr-subject-hero__icon { border-color: var(--white); background: var(--white); color: var(--teal-dark); }

/* Unified question panel headings. */
.evr-question-panel__head h2,.evr-topic-panel-head h2 { font-size: 22px; font-weight: 800; color: var(--navy); }
.evr-topic-kicker,.evr-cross-kicker,.evr-preview-mcq__kicker { color: var(--teal-dark); font-weight: 800; }

/* One MCQ card design for subject and topic taxonomies. */
.evr-preview-mcqs { list-style: none; margin: 0; padding: 8px; }
.evr-preview-mcq {
    position: relative;
    margin: 10px 0;
    padding: 17px 18px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 3px 12px rgba(11,29,58,.045);
    transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.evr-preview-mcq:hover { border-color: var(--teal-tint); box-shadow: 0 8px 24px rgba(11,29,58,.075); }
.evr-preview-mcq__top { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid var(--g100); }
.evr-preview-mcq__q { flex:1 1 auto;min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;align-items:start; }
.evr-preview-mcq__number { width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--teal-dark);color:var(--white);font-size:13px;font-weight:800;box-shadow:0 3px 8px rgba(0,155,170,.18); }
.evr-preview-mcq__question-copy { min-width:0; }
.evr-preview-mcq__kicker { display:block;margin:0 0 2px;font-size:11px;line-height:1.35;letter-spacing:.035em;text-transform:uppercase; }
.evr-preview-mcq__q p { margin:0;color:var(--navy);font-size:18px;line-height:1.5;font-weight:800;letter-spacing:-.01em; }
.evr-preview-mcq__bookmark { flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--white);color:var(--teal-dark);font-size:19px;cursor:pointer; }
.evr-preview-mcq__bookmark:hover { border-color:var(--teal-tint);background:var(--teal-pale); }
.evr-preview-mcq__opts { list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 11px;margin:0;padding:0 0 0 45px; }
.evr-preview-mcq__opts li { position:relative;min-width:0;min-height:48px;display:flex;align-items:center;gap:10px;padding:10px 40px 10px 11px;border:1px solid var(--border);border-radius:9px;background:var(--g50);color:var(--navy);font-size:16px;line-height:1.45;font-weight:600; }
.evr-preview-mcq__opts li i { flex:0 0 27px;width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--teal-tint);border-radius:50%;background:var(--teal-pale);color:var(--teal-dark);font-size:12px;font-style:normal;font-weight:800; }
.evr-preview-mcq__opts li>span { min-width:0;overflow-wrap:anywhere; }
.evr-preview-mcq__opts li.is-correct { border-color:var(--green-tint);background:var(--green-pale);color:var(--navy);font-weight:800;box-shadow:inset 3px 0 0 var(--green-dark); }
.evr-preview-mcq__opts li.is-correct i { border-color:var(--green-tint);background:var(--green-pale);color:var(--green-dark); }
.evr-preview-mcq__tick { position:absolute;right:12px;top:50%;transform:translateY(-50%);width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--green-dark);color:#fff;font-size:15px;line-height:1;font-weight:900; }
.evr-preview-mcq__footer { display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:12px 0 0 45px;padding-top:10px;border-top:1px solid var(--g100);font-size:13px;line-height:1.45; }
.evr-preview-mcq__meta { color:var(--text-light);font-weight:600; }
.evr-preview-mcq__meta strong { color:var(--text); }
.evr-preview-mcq__answer { padding:5px 9px;border:1px solid var(--green-tint);border-radius:7px;background:var(--green-pale);color:var(--navy);font-weight:700; }
.evr-preview-mcq__answer b,.evr-preview-mcq__answer strong { color:var(--navy);font-weight:900; }
.evr-preview-mcq__actions { margin-left:auto;display:flex;align-items:center;gap:7px; }
.evr-preview-mcq__actions>a,.evr-preview-mcq__explanation>summary { min-height:32px;display:inline-flex;align-items:center;padding:6px 10px;border:1px solid var(--teal-tint);border-radius:7px;background:var(--white);color:var(--teal-dark);font-size:12px;font-weight:800;cursor:pointer;list-style:none; }
.evr-preview-mcq__explanation>summary::-webkit-details-marker { display:none; }
.evr-preview-mcq__explanation[open] { width:100%;order:10; }
.evr-preview-mcq__explanation[open]>div { margin-top:8px;padding:11px 13px;border-left:3px solid var(--teal);border-radius:6px;background:var(--teal-pale);color:var(--text);font-size:13.5px;line-height:1.6; }
.evr-preview-mcq__explanation[open]>div p { margin:0;color:var(--text); }

/* Hide obsolete topic-card styling now that both taxonomies share .evr-preview-mcq. */
.evr-topic-mcqs { list-style:none;margin:0;padding:8px; }

/* Popular MCQ sets — same treatment on subject and topic pages. */
.evr-popular-sets { margin-top:14px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--white);box-shadow:var(--sh-xs); }
.evr-popular-set-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.evr-popular-set-grid > * { min-width:0;border:1px solid var(--border)!important;border-radius:10px!important;background:var(--white)!important;box-shadow:0 3px 12px rgba(11,29,58,.045)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;overflow:hidden; }
.evr-popular-set-grid > *:hover { transform:translateY(-2px);border-color:var(--teal-tint)!important;box-shadow:0 8px 22px rgba(11,29,58,.08)!important; }
.evr-popular-set-grid h2,.evr-popular-set-grid h3,.evr-popular-set-grid h4 { color:var(--navy)!important;font-weight:800!important; }
.evr-popular-set-grid a { font-weight:700; }
.evr-popular-set-grid img { width:100%;object-fit:cover; }
.evr-cross-head h2 { color:var(--navy);font-size:21px;font-weight:800; }
.evr-cross-head p { color:var(--text-mid);font-size:14px; }

/* Newsletter / email subscription box above footer. */
.evr-newsletter { margin-top:24px;padding:26px 0;background:linear-gradient(105deg,var(--navy),var(--navy-mid));border-top:1px solid rgba(255,255,255,.08); }
.evr-newsletter__inner { display:grid;grid-template-columns:56px minmax(0,1fr) minmax(330px,440px);gap:18px;align-items:center;padding:20px 22px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.055); }
.evr-newsletter__icon { width:52px;height:52px;display:grid;place-items:center;border-radius:12px;background:var(--teal);color:var(--navy);font-size:25px;font-weight:900; }
.evr-newsletter__copy>span { display:block;margin-bottom:2px;color:var(--teal-tint);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase; }
.evr-newsletter__copy h2 { margin:0 0 4px!important;color:var(--white)!important;font-size:21px!important;line-height:1.3;letter-spacing:-.02em; }
.evr-newsletter__copy p { margin:0;color:rgba(255,255,255,.75);font-size:13.5px;line-height:1.5; }
.evr-newsletter__form form,.evr-newsletter__fallback { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin:0; }
.evr-newsletter__form input[type=email] { width:100%;min-width:0;height:44px;padding:0 13px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:var(--white);color:var(--text);font:600 14px/1 var(--font-body);outline:0; }
.evr-newsletter__form input[type=email]:focus { border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,194,203,.18); }
.evr-newsletter__form button { min-height:44px;padding:0 17px;border:0;border-radius:8px;background:var(--teal);color:var(--navy);font:800 13px/1 var(--font-body);cursor:pointer; }
.evr-newsletter__form button:hover { background:var(--amber); }

@media(max-width: 900px){
    .evr-newsletter__inner{grid-template-columns:52px minmax(0,1fr)}
    .evr-newsletter__form{grid-column:1/-1}
}
@media(max-width: 640px){
    .evr-subject-preview,.evr-topic-preview{font-size:15px}
    .evr-preview-mcq{padding:13px 11px}
    .evr-preview-mcq__q{grid-template-columns:31px minmax(0,1fr);gap:8px}
    .evr-preview-mcq__number{width:31px;height:31px}
    .evr-preview-mcq__q p{font-size:16.5px;line-height:1.5}
    .evr-preview-mcq__opts{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:39px;gap:7px}
    .evr-preview-mcq__opts li{min-height:46px;padding:8px 34px 8px 8px;font-size:14.5px}
    .evr-preview-mcq__opts li i{flex-basis:24px;width:24px;height:24px}
    .evr-preview-mcq__tick{right:8px;width:22px;height:22px;font-size:13px}
    .evr-preview-mcq__footer{margin-left:39px;font-size:12px}
    .evr-preview-mcq__actions{width:100%;margin-left:0}
    .evr-popular-set-grid{grid-template-columns:1fr}
    .evr-newsletter{padding:18px 0}
    .evr-newsletter__inner{grid-template-columns:42px minmax(0,1fr);gap:12px;padding:16px}
    .evr-newsletter__icon{width:42px;height:42px;font-size:20px}
    .evr-newsletter__copy h2{font-size:18px!important}
    .evr-newsletter__form form,.evr-newsletter__fallback{grid-template-columns:1fr}
    .evr-newsletter__form button{width:100%}
}
@media(max-width: 420px){
    .evr-preview-mcq__opts{grid-template-columns:1fr;padding-left:0}
    .evr-preview-mcq__footer{margin-left:0}
    .evr-preview-mcq__actions{align-items:stretch;flex-direction:column}
    .evr-preview-mcq__actions>a,.evr-preview-mcq__explanation>summary{justify-content:center;min-height:40px}
}

/* =========================================================
   2026-10 unified taxonomy hero + set-card corrections
   ========================================================= */
/* Breadcrumb and both taxonomy heroes intentionally use the same dark family. */
.evr-subject-hero, .evr-topic-hero{
    background: var(--teal-dark) !important;
    color: var(--white) !important;
    border-color: rgba(255,255,255,.12) !important;
}
.evr-subject-hero::after,
.evr-topic-hero::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(115deg,rgba(11,29,58,.18),transparent 58%),radial-gradient(circle at 82% 45%,rgba(255,255,255,.10),transparent 30%) !important;
    pointer-events:none;
}
.evr-subject-hero__inner,
.evr-topic-hero__inner {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:78px minmax(0,1fr) 255px !important;
    gap:22px;
    align-items:center;
    min-height:176px;
    padding-top:24px !important;
    padding-bottom:24px !important;
}
.evr-subject-hero__icon,
.evr-topic-hero__icon {
    width:72px !important;
    height:72px !important;
    display:grid;
    place-items:center;
    border:3px solid rgba(255,255,255,.85) !important;
    border-radius:18px !important;
    background:rgba(255,255,255,.96) !important;
    color:var(--teal-dark) !important;
    font-size:34px;
    box-shadow:0 10px 24px rgba(11,29,58,.18);
}
.evr-subject-hero__eyebrow,
.evr-topic-hero__eyebrow {
    display:inline-flex;
    margin-bottom:5px;
    color:rgba(255,255,255,.78) !important;
    font-size:12px;
    line-height:1.3;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.evr-subject-hero__copy h1,
.evr-topic-hero__copy h1 {
    margin:0 0 7px !important;
    color:var(--white) !important;
    font-family:var(--font-display);
    font-size:38px !important;
    line-height:1.12 !important;
    font-weight:800 !important;
    letter-spacing:-.035em;
}
.evr-subject-hero__copy>p,
.evr-topic-hero__copy>p {
    max-width:690px;
    margin:0 !important;
    color:rgba(255,255,255,.88) !important;
    font-size:15.5px;
    line-height:1.6;
    font-weight:500;
}
/* Same vertical stats card on the right for Subject and Topic. */
.evr-subject-hero__stats,
.evr-topic-hero__stats {
    width:100%;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px !important;
    align-self:stretch;
    padding:0;
}
.evr-subject-hero__stats>div,
.evr-topic-hero__stats>div {
    min-width:0 !important;
    margin:0 !important;
    padding:10px 9px !important;
    display:grid !important;
    grid-template-columns:28px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    align-content:center;
    align-items:center;
    column-gap:8px;
    border:1px solid rgba(255,255,255,.18) !important;
    border-radius:9px;
    background:rgba(255,255,255,.09);
    backdrop-filter:blur(3px);
}
.evr-subject-hero__stats>div:last-child { border-right:1px solid rgba(255,255,255,.18) !important; }
.evr-subject-hero__stats .evr-hero-stat-icon {
    grid-row:1/3;
    width:27px;
    height:27px;
    border-radius:7px;
    background:rgba(255,255,255,.95);
    color:var(--teal-dark);
    font-size:12px;
}
.evr-subject-hero__stats strong,
.evr-topic-hero__stats strong {
    color:var(--white) !important;
    font-size:17px !important;
    line-height:1.1;
    font-weight:800;
}
.evr-subject-hero__stats small,
.evr-topic-hero__stats small {
    color:rgba(255,255,255,.76) !important;
    font-size:11px !important;
    line-height:1.25;
    font-weight:600;
}
.evr-subject-hero__art { display:none !important; }

/* Topic MCQ sets: fully styled even when card-mcq.php has its own internal classes. */
.evr-topic-sets { overflow:hidden; }
.evr-topic-set-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    margin-top:14px;
}
.evr-topic-set-grid > article,
.evr-topic-set-grid > div,
.evr-topic-set-grid > a {
    min-width:0;
    height:100%;
    border:1px solid var(--border) !important;
    border-radius:11px !important;
    background:var(--white) !important;
    box-shadow:0 3px 12px rgba(11,29,58,.05) !important;
    overflow:hidden;
}
.evr-topic-set-grid > *:hover { border-color:var(--teal-tint) !important;box-shadow:0 8px 22px rgba(11,29,58,.09) !important;transform:translateY(-2px); }
.evr-topic-set-grid h2,.evr-topic-set-grid h3,.evr-topic-set-grid h4 { color:var(--navy) !important;font-family:var(--font-display) !important;font-weight:800 !important;line-height:1.35 !important; }
.evr-topic-set-grid p { color:var(--text-mid) !important;line-height:1.55; }
.evr-topic-set-grid a { color:var(--text);font-weight:700; }
.evr-topic-set-grid a:hover { color:var(--teal-dark); }
.evr-topic-set-grid img { width:100%;height:auto;object-fit:cover; }
.evr-topic-set-grid .ev-btn,
.evr-topic-set-grid [class*="cta"],
.evr-topic-set-grid [class*="button"] { border-radius:7px !important; }

@media(max-width: 900px){
    .evr-subject-hero__inner,.evr-topic-hero__inner{grid-template-columns:66px minmax(0,1fr) 220px !important;gap:16px}
    .evr-subject-hero__icon,.evr-topic-hero__icon{width:62px!important;height:62px!important;font-size:29px}
    .evr-subject-hero__copy h1,.evr-topic-hero__copy h1{font-size:32px!important}
}
@media(max-width: 720px){
    .evr-subject-hero__inner,.evr-topic-hero__inner{grid-template-columns:54px minmax(0,1fr) !important;min-height:0;padding-top:20px!important;padding-bottom:20px!important}
    .evr-subject-hero__icon,.evr-topic-hero__icon{width:52px!important;height:52px!important;border-radius:13px!important;font-size:24px}
    .evr-subject-hero__copy h1,.evr-topic-hero__copy h1{font-size:27px!important}
    .evr-subject-hero__copy>p,.evr-topic-hero__copy>p{font-size:14px}
    .evr-subject-hero__stats,.evr-topic-hero__stats{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:3px}
    .evr-subject-hero__stats>div,.evr-topic-hero__stats>div{display:flex!important;flex-direction:column;gap:3px!important;text-align:center;padding:8px 5px!important}
    .evr-subject-hero__stats .evr-hero-stat-icon{display:none}
    .evr-topic-set-grid{grid-template-columns:1fr!important}
}
@media(max-width: 460px){
    .evr-subject-hero__stats,.evr-topic-hero__stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* =========================================================
   MCQ SET CARDS — card-mcq.php (.ev-mcard)
   Shared by Subject + Topic taxonomy popular-set sections.
   ========================================================= */
.evr-popular-sets {
    margin: 16px 0 0;
    padding: 18px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-xs);
}
.evr-popular-sets .evr-cross-head { margin-bottom: 16px; }
.evr-popular-sets .evr-cross-kicker { color: var(--teal-dark); font-weight: 800; }
.evr-popular-sets .evr-cross-head h2 {
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 21px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -.02em;
}
.evr-popular-sets .evr-cross-head p { margin-top: 5px; color: var(--text-mid); font-size: 14px; }
.evr-popular-set-grid,
.evr-topic-set-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}
.evr-popular-set-grid > .ev-mcard,
.evr-topic-set-grid > .ev-mcard { min-width: 0; height: 100%; }

.ev-mcard {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(11,29,58,.055);
    transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.ev-mcard:hover {
    transform: translateY(-2px);
    border-color: var(--teal-tint);
    box-shadow: 0 10px 26px rgba(11,29,58,.10);
}
.ev-mcard__accent {
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--amber);
    transition: width .18s ease,box-shadow .18s ease;
}
.ev-mcard:hover .ev-mcard__accent { width: 5px; box-shadow: 2px 0 10px rgba(245,166,35,.24); }
.ev-mcard__new-badge {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.ev-mcard__body { flex: 1 1 auto; padding: 15px 16px 12px 19px; }
.ev-mcard__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 9px; }
.ev-mcard__badge {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}
.ev-mcard__badge--subject { background: var(--teal-pale); color: var(--teal-dark); }
.ev-mcard__badge--diff { background: var(--g50); color: var(--text-mid); border: 1px solid var(--border); }
.ev-mcard__badge-icon { font-size: 12px; line-height: 1; }
.ev-mcard__diff-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.ev-mcard__badge--diff-easy .ev-mcard__diff-dot { background: var(--green-dark); }
.ev-mcard__badge--diff-hard .ev-mcard__diff-dot { background: var(--red); }
.ev-mcard__title {
    margin: 0 0 7px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.38;
    font-weight: 800;
    letter-spacing: -.015em;
}
.ev-mcard__title-link { color: var(--text) !important; text-decoration: none; }
.ev-mcard__title-link:hover { color: var(--teal-dark) !important; }
.ev-mcard__desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 0 0 11px;
    color: var(--text-mid);
    font-size: 13px;
    line-height: 1.5;
}
.ev-mcard__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; color: var(--text-mid); }
.ev-mcard__stat { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; line-height: 1.3; }
.ev-mcard__stat svg { flex: 0 0 auto; color: var(--teal-dark); }
.ev-mcard__stat strong { color: var(--text); font-weight: 800; }
.ev-mcard__footer {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 14px 9px 19px;
    border-top: 1px solid var(--g100);
    background: var(--g50);
}
.ev-mcard__cta-btn {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 7px;
    background: var(--teal-dark);
    color: var(--white) !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease,transform .18s ease;
}
.ev-mcard__cta-btn:hover { background: var(--teal); color: var(--white) !important; transform: translateY(-1px); }
.ev-mcard__date { color: var(--text-light); font-size: 11.5px; white-space: nowrap; }

/* Shared hero stat icon treatment. */
.evr-topic-hero__stats > div,
.evr-subject-hero__stats > div {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    align-items: center;
    gap: 9px;
    text-align: left;
}
.evr-topic-hero__stats .evr-hero-stat-icon,
.evr-subject-hero__stats .evr-hero-stat-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    color: var(--teal-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.evr-topic-hero__stats .evr-hero-stat-icon svg,
.evr-subject-hero__stats .evr-hero-stat-icon svg { width: 15px; height: 15px; }
.evr-hero-stat-copy { min-width: 0; display: block; }

@media (max-width: 720px) {
    .evr-popular-sets { padding: 13px; }
    .evr-popular-set-grid,.evr-topic-set-grid { grid-template-columns: 1fr; }
    .ev-mcard__title { font-size: 16px; }
    .evr-topic-hero__stats > div,.evr-subject-hero__stats > div { grid-template-columns: 30px minmax(0,1fr); }
    .evr-topic-hero__stats .evr-hero-stat-icon,.evr-subject-hero__stats .evr-hero-stat-icon { width: 29px; height: 29px; }
}
@media (max-width: 400px) {
    .ev-mcard__footer { align-items: flex-start; flex-direction: column; }
    .ev-mcard__cta-btn { width: 100%; }
}


/* =========================================================================
   SUBJECT PAGE v3 — taxonomy-mcq_subject.php  (.evs-*)
   Built on ev-global.css tokens. Fully scoped: does not affect the topic page.
   ========================================================================= */
.evs-page { display: block; width: 100%; max-width: 100%; flex: 1 1 100%; align-self: stretch; margin: 0; background: var(--off-white); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
/* Shared .evs-page box-sizing rule lives in ev-global.css. */
.evs-page > * { width: 100%; max-width: 100%; }
.evs-page .ev-container { margin-left: auto; margin-right: auto; }
.evs-page a { text-decoration: none; color: inherit; }
.evs-page ul, .evs-page ol { list-style: none; margin: 0; padding: 0; }
.evs-page h1, .evs-page h2, .evs-page h3, .evs-page p { margin: 0; }
.evs-page a:focus-visible, .evs-page button:focus-visible, .evs-page summary:focus-visible, .evs-page select:focus-visible { outline: 3px solid var(--amber-light); outline-offset: 2px; box-shadow: none; }
.evs-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Breadcrumb ---------- */








/* ---------- Hero ---------- */
.evs-hero { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--teal-deep) 0%, var(--teal-deep) 52%, var(--teal) 100%); color: #fff; }
.evs-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 40%, rgba(255,255,255,.16), transparent 40%); pointer-events: none; }
.evs-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 24px; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.evs-hero__main { min-width: 0; }
.evs-hero__top { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 20px; align-items: center; margin-bottom: 14px; }
.evs-hero__icon { width: 80px; height: 80px; display: grid; place-items: center; border-radius: 16px; background: var(--white); color: var(--teal-dark); font-size: 40px; box-shadow: 0 8px 22px rgba(11,29,58,.2); }
.evs-hero__copy h1 { color: #fff; font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 7px; }
.evs-hero__copy p { max-width: 560px; color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.55; }
.evs-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0,1.55fr); gap: 10px; }
.evs-stat { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(255,255,255,.12); }
.evs-stat__ico { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.18); color: #fff; }
.evs-stat__txt { min-width: 0; display: flex; flex-direction: column; }
.evs-stat strong { color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.15; }
.evs-stat small { color: rgba(255,255,255,.85); font-size: 12px; line-height: 1.3; font-weight: 500; }
.evs-stat--wide strong { font-size: 15px; }
.evs-stat--wide small { font-size: 10.5px; }

/* Hero art — inline SVG (books + pencil cup) */
.evs-hero__art { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; min-width: 0; }
.evs-art { display: block; width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.22)); }

/* ---------- Topic chips ---------- */
.evs-chips { background: var(--white); border-bottom: 1px solid var(--border); }
.evs-chips__row { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.evs-chips__row::-webkit-scrollbar { display: none; }
.evs-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 15px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--text); font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; list-style: none; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.evs-chip::-webkit-details-marker { display: none; }
.evs-chip:hover { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-pale); }
.evs-chip.is-active, .evs-chip.is-active:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.evs-more { position: relative; flex: 0 0 auto; }
.evs-more[open] > summary { border-color: var(--teal); color: var(--teal-dark); }
.evs-more__menu { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; min-width: 210px; max-height: 300px; overflow: auto; padding: 6px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); box-shadow: var(--sh-md); }
.evs-more__menu a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--text); font-size: 13px; font-weight: 600; }
.evs-more__menu a:hover { background: var(--teal-pale); color: var(--teal-dark); }

/* ---------- Layout ---------- */
.evs-body { padding: 14px 0 28px; }
.evs-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 14px; align-items: start; }
.evs-main { min-width: 0; display: grid; gap: 14px; }
.evs-side { display: grid; gap: 14px; min-width: 0; }

/* ---------- Panels ---------- */
.evs-panel { padding: 14px 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: var(--sh-xs); }
.evs-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.evs-panel__head h2 { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.evs-panel__ico { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--navy-pale); color: var(--teal-dark); }
.evs-link { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: var(--teal-dark); font-size: 13px; font-weight: 700; }
.evs-link:hover { text-decoration: underline; }
.evs-link--end { display: flex; justify-content: flex-end; margin-top: 8px; font-size: 12.5px; }

/* ---------- Set cards ---------- */
.evs-set-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.evs-set { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--white); box-shadow: 0 2px 8px rgba(11,29,58,.05); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.evs-set:hover { transform: translateY(-2px); border-color: var(--teal-tint); box-shadow: var(--sh); }
.evs-set__media { position: relative; display: block; height: 104px; overflow: hidden; background: linear-gradient(135deg, var(--teal-pale), var(--navy-pale)); }
.evs-set__media img { width: 100%; height: 100%; object-fit: cover; }
.evs-set__ph { height: 100%; display: grid; place-items: center; font-size: 38px; }
.evs-set__badge { position: absolute; top: 8px; right: 8px; padding: 2px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; line-height: 1.5; letter-spacing: .02em; color: #fff; box-shadow: 0 2px 6px rgba(11,29,58,.2); }
.evs-set__badge--exam { background: rgba(255,255,255,.96); color: var(--teal-dark); }
.evs-set__badge--easy { background: var(--green-dark); }
.evs-set__badge--medium { background: var(--amber); }
.evs-set__badge--hard { background: var(--rose); }
.evs-set__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 11px; }
.evs-set__title { min-height: 38px; color: var(--text); font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1.35; }
.evs-set__title a:hover { color: var(--teal-dark); }
.evs-set__meta { display: flex; flex-wrap: wrap; gap: 3px 10px; color: var(--text-light); font-size: 11px; line-height: 1.3; }
.evs-set__meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.evs-set__meta svg { color: var(--teal-dark); flex: 0 0 auto; }
.evs-set__cta { margin-top: auto; min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 8px; border-radius: 6px; background: var(--teal-dark); color: #fff !important; font-size: 12px; font-weight: 700; transition: background .18s ease; }
.evs-set__cta:hover { background: var(--teal); }

/* ---------- Question list ---------- */
.evs-qtools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.evs-range { color: var(--text-light); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.evs-perpage { margin: 0; }
.evs-perpage select { height: 34px; padding: 0 30px 0 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1D3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--text); font: 600 12.5px var(--font-body); appearance: none; -webkit-appearance: none; cursor: pointer; }
.evs-mcqs { margin: 0; }
.evs-mcq { display: grid; grid-template-columns: 34px minmax(0,1fr) 30px; column-gap: 12px; row-gap: 10px; align-items: start; padding: 14px 4px; border-top: 1px solid var(--g100); }
.evs-mcq__num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--border); color: var(--navy); font-size: 14px; font-weight: 800; }
.evs-mcq__q { min-width: 0; padding-top: 6px; }
.evs-mcq__q p { color: var(--text); font-size: 15px; font-weight: 700; line-height: 1.45; }
.evs-mcq__q a:hover { color: var(--teal-dark); }
.evs-mcq__bm { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--g300); cursor: pointer; transition: color .18s ease; }
.evs-mcq__bm:hover { color: var(--teal-dark); }
.evs-mcq__opts { grid-column: 2 / 3; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 14px; }
.evs-mcq__opts li { position: relative; min-width: 0; min-height: 36px; display: flex; align-items: center; gap: 12px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--g50); color: var(--text); font-size: 13.5px; line-height: 1.4; font-weight: 500; }
.evs-mcq__opts li i { flex: 0 0 14px; color: var(--text); font-size: 12.5px; font-style: normal; font-weight: 800; text-align: center; }
.evs-mcq__opts li span { min-width: 0; overflow-wrap: anywhere; }
.evs-mcq__opts li.is-correct { border-color: var(--green-tint); background: var(--green-pale); font-weight: 600; }
.evs-mcq__exp { grid-column: 2 / 3; }
.evs-mcq__exp summary { display: inline-block; color: var(--teal-dark); font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.evs-mcq__exp summary::-webkit-details-marker { display: none; }
.evs-mcq__exp[open] > div { margin-top: 8px; padding: 10px 12px; border-left: 3px solid var(--teal); border-radius: 5px; background: var(--teal-pale); color: var(--text-mid); font-size: 13px; line-height: 1.6; }

/* ---------- Pagination ---------- */
.evs-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; padding: 14px 0 2px; border-top: 1px solid var(--g100); }
.evs-pager a, .evs-pager > span:not(.evs-pager__gap) { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 11px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); color: var(--text); font-size: 13px; font-weight: 700; touch-action: manipulation; }
.evs-pager a:hover { border-color: var(--teal); color: var(--teal-dark); }
.evs-pager a.is-current { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.evs-pager__nav { padding: 0 13px !important; }
.evs-pager__nav.is-off { color: var(--g300) !important; background: var(--g50) !important; font-weight: 600 !important; }
.evs-pager__gap { color: var(--text-light); padding: 0 2px; }

/* ---------- Sidebar ---------- */
.evs-card { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: var(--sh-xs); }
.evs-card h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text); font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.evs-card__ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; flex: 0 0 32px; }
.evs-card__ico--teal { background: var(--teal-pale); color: var(--teal-dark); }
.evs-flame { font-size: 26px; line-height: 1; }
.evs-about { margin-bottom: 8px; color: var(--text-mid); font-size: 12.5px; line-height: 1.6; }
.evs-list li + li { border-top: 1px solid var(--g100); }
.evs-list a { display: flex; align-items: center; gap: 11px; padding: 8px 0; color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.35; }
.evs-list a:hover { color: var(--teal-dark); }
.evs-list em { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; }
.evs-list small { color: var(--text-mid); font-size: 12.5px; font-weight: 500; }
.evs-list--count li + li, .evs-list--count li { border-top: 0; }
.evs-list--count a { padding: 6px 0; }
.evs-list--chev a svg { color: var(--text-mid); flex: 0 0 auto; }
.evs-tint { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; font-size: 13px; line-height: 1; }
.evs-tint--t { background: var(--teal-pale); } .evs-tint--a { background: var(--amber-pale); } .evs-tint--g { background: var(--green-pale); }
.evs-tint--b { background: var(--border); } .evs-tint--p { background: var(--navy-pale); } .evs-tint--r { background: var(--red-pale); } .evs-tint--o { background: var(--amber-pale); }

/* ---------- Why practice ---------- */
.evs-why { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1.5fr); gap: 20px; align-items: center; margin-top: 14px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: var(--sh-xs); }
.evs-why__intro { display: flex; align-items: flex-start; gap: 14px; }
.evs-why__ico { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--navy-pale); color: var(--teal-dark); }
.evs-why h2 { margin-bottom: 4px; color: var(--text); font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.evs-why p { color: var(--text-mid); font-size: 12.5px; line-height: 1.55; }
.evs-why__list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.evs-why__list li { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-mid); font-size: 11px; font-weight: 600; line-height: 1.3; text-align: center; }
.evs-why__badge { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 4px 10px rgba(11,29,58,.14); }
.evs-why__badge--g { background: var(--green); } .evs-why__badge--a { background: var(--amber); }
.evs-why__badge--b { background: var(--royal); } .evs-why__badge--p { background: var(--royal); }

/* ---------- Newsletter ---------- */
.evs-news { display: grid; grid-template-columns: 48px minmax(0,1fr) minmax(300px,520px); gap: 16px; align-items: center; margin-top: 14px; padding: 14px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: var(--sh-xs); }
.evs-news__ico { width: 44px; height: 44px; display: grid; place-items: center; color: var(--teal-dark); }
.evs-news h2 { color: var(--text); font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.evs-news p { color: var(--text-mid); font-size: 12.5px; line-height: 1.5; }
.evs-news__form form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin: 0; }
.evs-news__form input[type=email] { width: 100%; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 7px; background: var(--white); color: var(--text); font: 500 13.5px var(--font-body); }
.evs-news__form input[type=email]:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 3px rgba(0,194,203,.18); }
.evs-news__form button { min-height: 44px; padding: 0 24px; border: 0; border-radius: 7px; background: var(--amber); color: #fff; font: 800 14px var(--font-body); cursor: pointer; transition: background .18s ease; }
.evs-news__form button:hover { background: var(--amber-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .evs-hero__inner { grid-template-columns: minmax(0,1fr) 300px; }
    .evs-set-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .evs-why { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .evs-hero__inner { grid-template-columns: 1fr; }
    .evs-hero__art { display: none; }
    .evs-layout { grid-template-columns: 1fr; }
    .evs-side { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; }
    .evs-news { grid-template-columns: 44px minmax(0,1fr); }
    .evs-news__form { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .evs-page { font-size: 14.5px; }
    
    .evs-hero__top { grid-template-columns: 56px minmax(0,1fr); gap: 12px; }
    .evs-hero__icon { width: 56px; height: 56px; border-radius: 13px; font-size: 28px; }
    .evs-hero__copy h1 { font-size: 26px; }
    .evs-hero__copy p { font-size: 13.5px; }
    .evs-hero__stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .evs-stat--wide { grid-column: 1 / -1; }
    .evs-panel { padding: 12px 11px 14px; }
    .evs-panel__head { flex-wrap: wrap; }
    .evs-panel__head h2 { font-size: 17px; }
    .evs-qtools { width: 100%; justify-content: space-between; }
    .evs-mcq { grid-template-columns: 30px minmax(0,1fr) 28px; column-gap: 9px; padding: 12px 0; }
    .evs-mcq__num { width: 30px; height: 30px; font-size: 13px; }
    .evs-mcq__opts { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .evs-mcq__exp { grid-column: 1 / -1; }
    .evs-side { grid-template-columns: 1fr; }
    .evs-why__list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 10px; }
    .evs-news__form form { grid-template-columns: 1fr; }
    .evs-news__form button { width: 100%; }
}
@media (max-width: 480px) {
    .evs-set-grid { grid-template-columns: 1fr; }
    .evs-set { display: grid; grid-template-columns: 112px minmax(0,1fr); }
    .evs-set__media { height: 100%; min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) { .evs-set, .evs-chip { transition: none; } }


/* =========================================================================
   TOPIC PAGE additions — taxonomy-mcq_topic.php
   Reuses every .evs-* component above; only topic-specific bits live here.
   ========================================================================= */
.evs-card__ico--blue { background: var(--navy-pale); color: var(--teal-dark); }
.evs-hero__copy p strong { color: #fff; font-weight: 800; }
.evs-hero__copy h1 { overflow-wrap: anywhere; }
.evs-empty { padding: 28px 12px; text-align: center; color: var(--text-mid); border-top: 1px solid var(--g100); }
.evs-empty strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 17px; }
.evs-empty p { margin-top: 4px; }
.evs-mcq__q p u, .evs-mcq__q p ins { text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.evs-mcq__q p br + * , .evs-mcq__q p br { font-weight: 500; }
.evs-list--chev em { flex: 1; }
/* Taxonomy question-panel integration: shared .evx-mcq cards.
   Keep page layout here; individual card visuals live in ev-mcq-card.css. */
.evs-page #evs-mcqs { min-width: 0; width: 100%; }
.evs-page #evs-mcqs .evx-mcqs-wrap { min-width: 0; width: 100%; }
.evs-page #evs-mcqs .evx-mcqs { list-style: none; margin: 0; padding: 0; }
.evs-page #evs-mcqs .evx-mcqs > li { min-width: 0; list-style: none; margin: 0; padding: 0; }

/* ExamVillage responsive uploaded taxonomy visuals */
.evs-hero__icon img,.evs-tint img,.ev-term-visual-image {max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;}
.evs-set__media img {display:block;width:100%;height:100%;object-fit:cover;}
@media(max-width:767px){.evs-set-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.evs-set__media{min-width:0;}}
@media(max-width:420px){.evs-set-grid{grid-template-columns:minmax(0,1fr);}}

/* Subject archive related sets */
.evs-set__media { display:flex; align-items:center; justify-content:center; overflow:hidden; }
.evs-set__media > img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.evs-set__ph img { width:100%; height:100%; max-width:96px; max-height:96px; object-fit:contain; }
.evs-set-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:640px){.evs-set-grid{grid-template-columns:minmax(0,1fr);}.evs-set{min-width:0;}}

/* ExamVillage integrated MCQ visual refinements — taxonomy. */
.evx-topic__ico{width:42px;height:42px;border-radius:12px}
.evs-hero__icon{min-width:76px;width:76px;height:76px;font-size:2rem}
.evx-set__thumb--fit{display:grid;place-items:center;overflow:hidden;min-height:125px;background:linear-gradient(145deg,#eaf5f7,#f4f8f3);border-radius:14px}
.evx-set__thumb--fit img.evx-set__icon{width:100%;height:100%;max-height:190px;object-fit:contain;padding:12px;box-sizing:border-box}
.evx-set__thumb--fit img.evx-set__icon--cover{object-fit:cover;padding:0}
.evx-set__fallback{font-size:2.5rem}
.evs-set-grid--list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
.evs-set--compact{display:flex;align-items:center;min-width:0;border:1px solid #e1eaf0;border-radius:14px;background:#fff;box-shadow:0 4px 18px rgba(10,49,69,.04)}
.evs-set--compact .evs-set__body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:20px;width:100%;padding:18px}
.evs-set--compact .evs-set__title,.evs-set--compact .evs-set__meta{grid-column:1;min-width:0}
.evs-set--compact .evs-set__cta{grid-column:2;grid-row:1 / span 2;white-space:nowrap}
.evs-chips__row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.evs-chip{max-width:100%;overflow-wrap:anywhere}
@media (max-width:600px){.evs-set--compact .evs-set__body{grid-template-columns:1fr;gap:8px;padding:15px}}
@media (max-width:600px){.evs-set--compact .evs-set__title,.evs-set--compact .evs-set__meta,.evs-set--compact .evs-set__cta{grid-column:1;grid-row:auto}}
@media (max-width:600px){.evs-set--compact .evs-set__cta{justify-self:start}}
