/* ════════════════════════════════════════════════════════════════════════════
   GMAT Score Calculator skin — CSS VERBATIM from Subash's gmat-score-calculator.html
   comp (lines 111–964). ALL rules scoped under body.single-calculator so nothing leaks into
   the Bricks header / footer chrome. Do NOT re-skin — fixes go through the comp first.
   Loaded on single `calculator` with slug `gmat-score-calculator` by
   includes/calculator_styles.php (per-slug enqueue).

   SCOPING: comp :root{--token} → body.single-calculator{--token} (NOT :root). The comp uses
   its own token names (--primary-color, --background-color, --text-light, …) — kept verbatim.
   html{} and @keyframes kept global. @media inner selectors scoped. See the CGPA skin.
   ════════════════════════════════════════════════════════════════════════════ */

body.single-calculator {
    --primary-color: #3b5bff;
    --secondary-color: #cc00cc;
    --primary-hover: #13217c;
    --secondary-hover: #A60066;
    --background-color: #13217c;
    --text-dark: #333333;
    --text-light: #808080;
    --white: #ffffff;
    --off-white: #fffdfe;
    --gray-light: #e6ebff;
    --gray-mid: #a0aeff;
    --gray-border: #dce3ff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 20px;
    --section-padding: 60px 0;
    --transition-smooth: all 0.3s ease;
}

body.single-calculator *, body.single-calculator *::before, body.single-calculator *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.single-calculator {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY - Galvanize Design System v2
   ============================================ */
body.single-calculator h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    line-height: 56px;
    margin-bottom: 12px;
}

body.single-calculator h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 48px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

body.single-calculator h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 10px;
}

body.single-calculator h4 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    line-height: 34px;
    margin-bottom: 10px;
}

body.single-calculator h5 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 10px;
}

body.single-calculator p, body.single-calculator .body-1 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

body.single-calculator .body-2 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

body.single-calculator .body-3, body.single-calculator .caption {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

/* ============================================
   HEADER SECTION
   ============================================ */
body.single-calculator .header-section {
    background-color: var(--background-color);
    color: var(--white);
    padding: 60px 80px 50px;
    text-align: center;
}

body.single-calculator .header-content {
    max-width: 1200px;
    margin: 0 auto;
}

body.single-calculator .header-section h1 {
    color: var(--white);
    margin-bottom: 12px;
}

body.single-calculator .header-section .subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 29px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
    font-weight: 400;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
body.single-calculator .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 80px;
}

body.single-calculator .section {
    padding: var(--section-padding);
}

/* ============================================
   CALCULATOR TWO-COLUMN LAYOUT
   ============================================ */
body.single-calculator .calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    margin: 20px 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 600px;
}

/* Left Column - Calculator */
body.single-calculator .calculator-left {
    padding: 30px;
    border-right: 2px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.single-calculator .calculator-header {
    text-align: center;
    margin-bottom: 20px;
}

body.single-calculator .calculator-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 26px;
}

body.single-calculator .calculator-header p {
    font-family: var(--font-body);
    color: #333333;
    font-size: 14px;
    line-height: 22px;
}

/* Score Display */
body.single-calculator .total-score-display {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

body.single-calculator .total-score-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
}

body.single-calculator .total-score-value {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

body.single-calculator .total-score-percentile {
    font-family: var(--font-body);
    font-size: 16px;
}

/* Section Sliders */
body.single-calculator .section-slider {
    margin-bottom: 20px;
}

body.single-calculator .slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

body.single-calculator .slider-label {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

body.single-calculator .slider-value-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.single-calculator .slider-score {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

body.single-calculator .slider-percentile {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-light);
    background-color: var(--gray-light);
    padding: 8px 10px;
    border-radius: 40px;
}

/* Custom Range Slider Styling */
body.single-calculator .slider-input {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: var(--gray-light);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 10px;
}

body.single-calculator .slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

body.single-calculator .slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

body.single-calculator .slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

body.single-calculator .slider-input::-moz-range-thumb:hover {
    transform: scale(1.15);
}

body.single-calculator .slider-range {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Reset Button */
body.single-calculator .calculator-footer {
    text-align: center;
    margin-top: 12px;
}

body.single-calculator .btn-reset {
    background-color: #3b5bff;
    color: #fffdfe;
    border: 1px solid #fffdfe;
    padding: 12px 18px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

body.single-calculator .btn-reset:hover {
    background-color: #13217c;
    color: var(--white);;
}

/* Right Column - GRE Advantages */
body.single-calculator .calculator-right {
    padding: 20px;
    height: -webkit-fill-available;
    background-color: #13217c;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.single-calculator .gre-advantages {
    text-align: center;
}

body.single-calculator .gre-advantages h3 {
    color: #fffdfe;
    margin-bottom: 20px;
    font-size: 28px;
}

body.single-calculator .gre-intro-text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 26px;
    color: #fffdfe;
    margin-bottom: 20px;
    font-weight: 500;
}

body.single-calculator .gre-highlight {
    background-color: var(--white);
    border-left: 5px solid var(--primary-color);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 12px;
    text-align: left;
}

body.single-calculator .gre-highlight p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

body.single-calculator .gre-highlight p:last-child {
    margin-bottom: 0;
}

body.single-calculator .gre-highlight strong {
    color: var(--primary-color);
}

/* GRE CTA Buttons */
body.single-calculator .gre-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

body.single-calculator .gre-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #cc00cc;
    color: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
}

body.single-calculator .gre-cta-btn:hover {
    background-color: #a600a6;
}

body.single-calculator .gre-cta-btn.secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

body.single-calculator .gre-cta-btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
body.single-calculator .content-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

body.single-calculator .content-section h2 {
    color: var(--primary-color);
    margin-bottom: 2px;
    padding-bottom: 10px;
    display: inline-block;
}

body.single-calculator .content-section h3 {
    padding-top: 20px;
    font-size: 22px;
    color: var(--text-dark);
}

body.single-calculator .content-section p {
    font-family: var(--font-body);
    color: var(--text-dark);
    margin-bottom: 10px;
}

body.single-calculator .content-section ul, body.single-calculator .content-section ol {
    margin-left: 1.5rem;
    margin-bottom: 20px;
}

body.single-calculator .content-section li {
    font-family: var(--font-body);
    margin-bottom: 10px;
    line-height: 29px;
    font-size: 18px;
    color: var(--text-dark);
}

body.single-calculator .content-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

body.single-calculator .content-section a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Highlight Box */
body.single-calculator .highlight-box {
    background-color: var(--gray-light);
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
}

body.single-calculator .highlight-box strong {
    color: var(--primary-color);
}

body.single-calculator .highlight-box p {
    font-family: var(--font-body);
    margin-bottom: 0;
}

/* Score Table */
body.single-calculator .score-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--radius);
    overflow: hidden;
}

body.single-calculator .score-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

body.single-calculator .score-table th {
    padding: 10px;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

body.single-calculator .score-table th:last-child {
    border-right: none;
}

body.single-calculator .score-table td {
    background: #e6ebff;
    padding: 10px 12px;
    border-bottom: 1.5px solid #fffdfe;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    border-right: 1.5px solid #fffdfe;
}

body.single-calculator .score-table td:last-child {
    border-right: none;
}

body.single-calculator .score-table tbody tr:hover {
    background-color: var(--gray-light);
}

body.single-calculator .score-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   FAQ SECTION
   ============================================ */
body.single-calculator .faq-section {
    padding: var(--section-padding);
}

/* Two-column FAQ layout: image left + accordion right */
body.single-calculator .faq-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    align-items: start;
}

body.single-calculator .faq-image-col img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: var(--radius);
    display: block;
    position: sticky;
    top: 20px;
}

body.single-calculator .faq-layout .faq-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.single-calculator .faq-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.single-calculator .faq-main-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 48px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

body.single-calculator .faq-item {
    background: var(--primary-color);
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 0;
}

body.single-calculator .faq-question {
    padding: 20px 50px 20px 20px;
    cursor: pointer;
    position: relative;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 18px;
    line-height: 29px;
    color: var(--white);
    transition: var(--transition-smooth);
    user-select: none;
}

body.single-calculator .faq-question::after {
    content: "›";
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 28px;
    color: var(--white);
    font-weight: 400;
    transition: transform 0.3s ease;
    line-height: 1;
}

body.single-calculator .faq-question.active::after {
    content: "›";
    transform: translateY(-50%) rotate(90deg);
}

body.single-calculator .faq-answer {
    background-color: var(--gray-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

body.single-calculator .faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

body.single-calculator .faq-answer p {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 29px;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 400;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    body.single-calculator .container,
    body.single-calculator .breadcrumb,
    body.single-calculator .header-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 968px) {
    body.single-calculator .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    body.single-calculator .calculator-left {
        border-right: none;
        border-bottom: 2px solid var(--gray-light);
    }
}

@media (max-width: 768px) {
    body.single-calculator {
        --section-padding: 40px 0;
    }

    body.single-calculator .container,
    body.single-calculator .breadcrumb,
    body.single-calculator .header-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.single-calculator h1 {
        font-size: 32px;
        line-height: 42px;
    }

    body.single-calculator h2 {
        font-size: 28px;
        line-height: 38px;
    }

    body.single-calculator h3 {
        font-size: 24px;
        line-height: 32px;
    }

    body.single-calculator h4 {
        font-size: 20px;
        line-height: 28px;
    }

    body.single-calculator p, body.single-calculator .body-1 {
        font-size: 16px;
        line-height: 26px;
    }

    body.single-calculator .section {
        padding: 20px 0;
    }

    body.single-calculator .calculator-left,
    body.single-calculator .calculator-right {
        padding: 20px;
    }

    body.single-calculator .total-score-value {
        font-size: 44px;
    }

    body.single-calculator .calculator-wrapper {
        margin: 20px 0;
    }

    body.single-calculator .score-table {
        font-size: 14px;
    }

    body.single-calculator .score-table th,
    body.single-calculator .score-table td {
        padding: 10px 10px;
    }

    body.single-calculator .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body.single-calculator .faq-image-col {
        display: none;
    }

    body.single-calculator .faq-main-title {
        font-size: 26px;
        line-height: 38px;
        text-align: center;
    }

    body.single-calculator .faq-question {
        font-size: 18px;
        padding: 16px 44px 16px 16px;
    }

    body.single-calculator .faq-answer p {
        font-size: 18px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
body.single-calculator .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body.single-calculator a:focus, body.single-calculator button:focus, body.single-calculator input:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ⚠ comp bug fixed: original block had declarations with no selector + a stray brace.
   Wrapped in body.single-calculator * selector to scope and validate correctly. */
@media (prefers-reduced-motion: reduce) {
    body.single-calculator *,
    body.single-calculator *::before,
    body.single-calculator *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Calculator Section Full-Width Background */
body.single-calculator #calculator {
    background-color: #e6ebff;
    clip-path: inset(0 -100vmax);
}

/* ============================================
   TABLE HORIZONTAL SCROLL - MOBILE SLIDER
   ============================================ */
@media (max-width: 720px) {
    body.single-calculator .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius);
        margin: 20px 0;
    }

    body.single-calculator .table-wrapper .score-table {
        min-width: 480px;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
    }
}

/* Calculator Section Full-Width Background */
body.single-calculator #calculator {
    background-color: #e6ebff;
    margin-left: -80px;
    margin-right: -80px;
    padding-left: 80px;
    padding-right: 80px;
}

@media (max-width: 1024px) {
    body.single-calculator #calculator {
        margin-left: -40px;
        margin-right: -40px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    body.single-calculator #calculator {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   Bricks integration reset (galv calc — GMAT) — same pattern as the GRE/CGPA/SAT calculators.
   Neutralise brxe-container / .brxe-text wrappers so the comp sections go full-bleed, and stop
   the comp's section padding leaking into header/footer chrome.
   ════════════════════════════════════════════════════════════════════════════ */
body.single-calculator #brx-content.brxe-container,
body.single-calculator .brxe-text {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    gap: 0 !important;
    align-items: stretch !important;
}
body.single-calculator #brx-content.brxe-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.single-calculator header section,
body.single-calculator footer section {
    padding: 0 !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   Galvanize SEO/UX additions (NOT from the comp) — quick-answer callout, the GMAT explainer +
   related-tools sections, and the lead-form card (the comp shipped no contact form). Styled on
   the comp palette (its own --*-color tokens). Re-asserted with the body.single-calculator
   prefix so the comp's *{margin:0} reset (specificity 0,1,1) can't out-specify them.
   ════════════════════════════════════════════════════════════════════════════ */
body.single-calculator .calc-qa-eyebrow {
    display: inline-block; font-family: var(--font-heading);
    font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
    color: var(--primary-color); margin-bottom: 6px;
}
body.single-calculator .calc-quick-answer {
    max-width: 860px; margin: 30px auto 0; padding: 22px 26px;
    background: #f7f9ff; border-left: 4px solid var(--primary-color); border-radius: 12px;
    font-size: 16px; line-height: 1.65; color: var(--text-dark); text-align: left;
}
body.single-calculator .calc-quick-answer p { margin: 0; }

body.single-calculator .gmat-explainers { padding: 50px 0; }
body.single-calculator .gmat-explainers .container { max-width: 1000px; }
body.single-calculator .gmat-explainers h3 { margin-top: 22px; color: var(--secondary-color); font-size: 24px; line-height: 32px; }
body.single-calculator .gmat-explainers a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
body.single-calculator .gmat-explainers a:hover { text-decoration: underline; }

body.single-calculator .related-tools { padding: 50px 0; background: var(--gray-light); }
body.single-calculator .related-tools .container { max-width: 1120px; }
body.single-calculator .related-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px;
}
body.single-calculator .related-card {
    display: flex; flex-direction: column; gap: 8px;
    background: #fff; border: 1px solid #dfe5ff; border-radius: 14px; padding: 22px 24px;
    text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
body.single-calculator .related-card:hover {
    transform: translateY(-3px); box-shadow: 0 8px 22px rgba(19,33,124,.10); border-color: var(--primary-color);
}
body.single-calculator .related-card-title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--primary-color); }
body.single-calculator .related-card-desc { font-size: 15px; color: var(--text-light); line-height: 22px; }

/* CTA + lead-form section (comp shipped none) */
body.single-calculator .cta-form-section { background: var(--background-color); padding: 60px 0; }
body.single-calculator .cta-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
body.single-calculator .cta-form-content h2 { color: #fffdfe; margin-bottom: 16px; }
body.single-calculator .cta-form-content p { font-size: 18px; color: #fffdfe; margin-bottom: 15px; font-family: var(--font-body); line-height: 29px; }
body.single-calculator .cta-features { list-style: none; padding-left: 0; margin: 20px 0; }
body.single-calculator .cta-features li { padding-left: 24px; position: relative; font-size: 16px; color: #fffdfe; margin-bottom: 12px; font-family: var(--font-body); line-height: 26px; }
body.single-calculator .cta-features li::before { content: "\2713"; position: absolute; left: 0; color: #00bc7d; font-weight: 700; }
body.single-calculator .cta-form-content .highlight-note { margin-top: 20px; font-weight: 600; color: var(--gray-light); font-family: var(--font-body); font-size: 16px; line-height: 26px; }
body.single-calculator .cta-form-frame { background: #fffdfe; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; padding: 8px; }
body.single-calculator .calc-lead-form { width: 100%; padding: 28px; }
body.single-calculator .calc-lead-form h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--background-color); margin-bottom: 8px; line-height: 1.25; }
body.single-calculator .calc-lead-form > p { font-size: 16px; color: var(--text-light); margin-bottom: 22px; line-height: 24px; }
body.single-calculator .calc-lead-form .form-row { margin-bottom: 14px; }
body.single-calculator .calc-lead-form input { width: 100%; padding: 14px 16px; font-family: var(--font-body); font-size: 16px; border: 1.5px solid #dfe5ff; border-radius: 10px; background: #f7f9ff; color: var(--text-dark); }
body.single-calculator .calc-lead-form input::placeholder { color: #9aa3c7; }
body.single-calculator .calc-lead-form input:focus { outline: none; border-color: var(--primary-color); background: #fff; }
body.single-calculator .calc-lead-form .lead-submit { width: 100%; margin-top: 8px; padding: 15px; cursor: pointer; font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: #fff; background: var(--secondary-color); border: none; border-radius: 10px; transition: background .2s, transform .2s; }
body.single-calculator .calc-lead-form .lead-submit:hover { background: var(--secondary-hover); transform: translateY(-1px); }

@media (max-width: 768px) {
    body.single-calculator .related-grid { grid-template-columns: 1fr; }
    body.single-calculator .cta-form-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Subash design review v2 (2026-06-13) — GMAT below-calc rework.
   Brings GMAT below-calculator sections to parity with the GRE gold-standard.
   Comp-verbatim block above is UNTOUCHED. All rules scoped body.single-calculator.
   ════════════════════════════════════════════════════════════════════════════ */

/* (1) Base section layout — missing from GMAT comp but present in GRE.
   Makes every <section> flex-centred with section-padding (--section-padding:60px 0
   is already defined on body.single-calculator above, so var() resolves correctly).
   Excludes the calculator tool section which uses its own .section class. */
body.single-calculator section { padding: var(--section-padding); display: flex; justify-content: center; }

/* (2) content-section + content-box — override the comp's margin-only approach so
   content stays contained like GRE (.container max-width 1920px / padding 0 80px,
   .content-box fills 100% inside that). The comp's .container already has
   padding:0 80px; ensure max-width is the full-bleed 1920px (not 100%) to match GRE. */
body.single-calculator .container { width: 100%; max-width: 1920px; padding: 0 80px; }
body.single-calculator .content-section { margin-top: 0; margin-bottom: 0; }
body.single-calculator .content-box { width: 100%; background: #fffdfe; }

/* (3) Content typography parity with GRE — h2/h3/p/ul/li/strong */
body.single-calculator .content-section h2 { font-size: 36px; color: var(--primary-color); margin-bottom: 20px; margin-top: 50px; font-family: var(--font-heading); font-weight: 600; line-height: 48px; }
body.single-calculator .content-section h2:first-child { margin-top: 0; }
body.single-calculator .content-section h3 { font-size: 24px; color: var(--secondary-color); margin-bottom: 15px; margin-top: 35px; font-family: var(--font-heading); font-weight: 600; line-height: 34px; }
body.single-calculator .content-section p { margin-bottom: 18px; font-size: 18px; color: var(--text-dark); line-height: 29px; font-family: var(--font-body); }
body.single-calculator .content-section ul, body.single-calculator .content-section ol { margin: 15px 0 15px 20px; }
body.single-calculator .content-section li { margin-bottom: 10px; font-size: 16px; line-height: 26px; color: var(--text-dark); font-family: var(--font-body); }
body.single-calculator .content-section strong { color: var(--primary-color); font-weight: 600; }
body.single-calculator .content-section a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
body.single-calculator .content-section a:hover { text-decoration: underline; }

/* (4) highlight-box → matches GRE .info-box style (lavender bg + primary left-border) */
body.single-calculator .highlight-box { background: var(--gray-light); border-left: 4px solid var(--primary-color); padding: 20px 24px; margin: 25px 0; border-radius: 10px; }
body.single-calculator .highlight-box p { font-size: 16px; margin-bottom: 0; color: var(--text-dark); font-family: var(--font-body); }
body.single-calculator .highlight-box strong { color: var(--primary-color); }

/* (5) Tables — style .table-wrapper/.score-table to match GRE's .table-responsive/.data-table
   (primary-color header bg, cell borders #fffdfe, lavender cell bg, 16px/18px padding, radius). */
body.single-calculator .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); background: #fffdfe; width: 100%; margin: 25px 0; }
body.single-calculator .score-table { width: 100%; border-collapse: collapse; }
body.single-calculator .score-table thead th { background: var(--primary-color); color: #fffdfe; padding: 18px 16px; text-align: left; font-family: var(--font-body); font-size: 16px; font-weight: 600; border-right: 1.5px solid #fffdfe; }
body.single-calculator .score-table thead th:last-child { border-right: none; }
body.single-calculator .score-table tbody td { background: var(--gray-light); padding: 16px; font-size: 16px; font-family: var(--font-body); color: var(--text-dark); border-top: 1.5px solid #fffdfe; border-right: 1.5px solid #fffdfe; }
body.single-calculator .score-table tbody td:last-child { border-right: none; }
body.single-calculator .score-table tbody tr:last-child td { border-bottom: none; }

/* (6) Quick Answer at the BOTTOM OF THE CALCULATOR (Subash 2026-06-13) — not a
   separate band. #calculator is already full-bleed lavender (#e6ebff), so the card
   just stacks below the two-column calculator. (The .calc-qa-band wrapper was removed
   from the tool partial.) */
body.single-calculator #calculator { flex-direction: column; }
body.single-calculator #calculator .calc-quick-answer {
    max-width: 1100px; width: 100%; margin: 28px auto 0;
    background: #fffdfe; border-left: 4px solid var(--primary-color);
    border-radius: 12px; padding: 22px 26px;
}

/* (7) Related-card CTA — matches GRE override block */
body.single-calculator .related-card-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--primary-color); }
body.single-calculator .related-card:hover .related-card-cta { text-decoration: underline; }

/* (8) SEO explainers section — constrain to readable width + left-align body text */
body.single-calculator .gmat-explainers .container { max-width: 1920px; }
body.single-calculator .gmat-explainers .section-title,
body.single-calculator .gmat-explainers p { text-align: left; }

/* (9) FAQ chevron — GMAT already uses ›  rotate chevron (comp-native); re-assert here
   to ensure it wins over any section{} rule collision. No change to the icon/logic. */
body.single-calculator .faq-question::after {
    content: "›";
    position: absolute; right: 28px; top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 28px; color: #fff;
    transition: transform 0.3s ease;
    line-height: 1;
}
body.single-calculator .faq-question.active::after {
    content: "›";
    transform: translateY(-50%) rotate(90deg);
}

/* (10) Responsive: container padding narrows on tablet/mobile */
@media (max-width: 1024px) {
    body.single-calculator .container { padding: 0 40px; }
}
@media (max-width: 768px) {
    body.single-calculator .container { padding: 0 20px; }
    body.single-calculator .content-section h2 { font-size: 26px; line-height: 36px; }
    body.single-calculator .content-section h3 { font-size: 20px; line-height: 28px; }
}
