/* ════════════════════════════════════════════════════════════════════════════
   SAT to ACT Score Converter skin — CSS VERBATIM from Subash's sat-to-act-calculator.html
   comp (lines 32–721). 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 `sat-to-act-calculator` by
   includes/calculator_styles.php (per-slug enqueue).

   SCOPING: comp :root{--token} → body.single-calculator{--token} (NOT :root). html{} and
   @keyframes kept global. @media inner selectors scoped. See the CGPA skin for the pattern.
   ════════════════════════════════════════════════════════════════════════════ */

/* ============================================
   RESET & ROOT
   ============================================ */
body.single-calculator *, body.single-calculator *::before, body.single-calculator *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.single-calculator {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --primary: #3b5bff;
    --secondary: #cc00cc;
    --hero-bg: #13217c;
    --primary-hover: #13217c;
    --secondary-hover: #A60066;
    --bg-light: #e6ebff;
    --bg-mid: #a0aeff;
    --text-black: #333333;
    --text-gray: #808080;
    --text-white: #fff;
    --radius: 20px;
}

html { scroll-behavior: smooth; }

body.single-calculator {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-black);
    background-color: #fff;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
body.single-calculator h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    line-height: 56px;
}
body.single-calculator h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 48px;
    color: var(--primary);
    margin-bottom: 16px;
    margin-top: 60px;
}
body.single-calculator h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 42px;
    color: #cc00cc;
    margin: 60px 0 12px;
}
body.single-calculator p {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 29px;
    font-weight: 400;
    color: var(--text-black);
    margin-bottom: 14px;
}
body.single-calculator ul, body.single-calculator ol {
    margin: 12px 0 12px 24px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 26px;
}
body.single-calculator li {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-black);
    margin-bottom: 16px;
}
body.single-calculator strong {
    font-weight: 600;
    color: #333333;
}

/* ============================================
   LAYOUT
   ============================================ */
body.single-calculator .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}
body.single-calculator .section {
    padding: 60px 80px;
    max-width: 1440px;
    margin: 0 auto;
}
body.single-calculator .section-alt {
    background-color: var(--bg-light);
    width: 100%;
}

/* ============================================
   HERO
   ============================================ */
body.single-calculator .hero-banner {
    background: var(--hero-bg);
    padding: 60px 80px;
    text-align: center;
    width: 100%;
}
body.single-calculator .hero-content {
    max-width: 900px;
    margin: 0 auto;
}
body.single-calculator .hero-banner h1 {
    color: var(--text-white);
    font-size: 42px;
    font-weight: 600;
    line-height: 56px;
    margin-bottom: 16px;
}
body.single-calculator .hero-banner p {
    font-size: 20px;
    font-family: var(--font-heading);
    font-weight: 400;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-white);
    line-height: 32px;
}

/* ============================================
   CALCULATOR SECTION WRAPPER
   ============================================ */
body.single-calculator .calculator-section-wrapper {
    background: var(--hero-bg);
    padding: 0 80px 60px;
    width: 100%;
}
body.single-calculator .calculator-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    border: 8px solid rgba(255,255,255,0.15);
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   TABS
   ============================================ */
body.single-calculator .calculator-tabs {
    display: flex;
    gap: 12px;
    border-bottom: none;

/* Bleed to card edges and add bg color */
    background: #e6ebff;
    margin: -38px -38px 38px -38px;
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;   /* matches .calculator-wrapper top corners */
}
body.single-calculator .tab-button {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #3b5bff;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}
body.single-calculator .tab-button:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: #3b5bff;
    color: #fffdfe;
}
body.single-calculator .tab-button.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}
body.single-calculator .calculator-content { display: none; }
body.single-calculator .calculator-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   INPUTS
   ============================================ */
body.single-calculator .input-group { margin-bottom: 20px; }
body.single-calculator .input-group label {
    display: block;
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
body.single-calculator .input-wrapper { position: relative; }
body.single-calculator .score-input {
    width: 100%;
    height: 60px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 400;
    border: 2px solid var(--bg-mid);
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #fffdfe;
    color: var(--text-gray);
}
body.single-calculator .score-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
}

/* ============================================
   BUTTONS
   ============================================ */
body.single-calculator .button-group {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}
body.single-calculator .convert-button {
    flex: 1;
    height: 52px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.single-calculator .convert-button:hover { background: var(--primary-hover); }

body.single-calculator .reset-button {
    flex: 1;
    height: 52px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
body.single-calculator .reset-button:hover { background: var(--primary); color: #fff; }

body.single-calculator .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: center;
}
body.single-calculator .cta-button:hover { background: var(--primary-hover); text-decoration: none; color: #fff; }
body.single-calculator .cta-button-secondary { background: var(--secondary); }
body.single-calculator .cta-button-secondary:hover { background: var(--secondary-hover); }
body.single-calculator .cta-button-center {
    background: #3b5bff;
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
}
body.single-calculator .cta-button-center:hover { background: #13217c; }

/* ============================================
   RESULT BOX
   ============================================ */
body.single-calculator .result-box {
    margin-top: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-align: center;
    display: none;
}
body.single-calculator .result-box.show {
    display: block;
    animation: slideUp 0.5s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
body.single-calculator .result-label {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
body.single-calculator .result-score {
    font-size: 52px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--hero-bg);
    line-height: 1.1;
    margin: 8px 0;
}
body.single-calculator .result-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    font-family: var(--font-body);
    margin-bottom: 0;
}
body.single-calculator .result-cta-btn {
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: background 0.3s ease;
    margin-top: 16px;
}
body.single-calculator .result-cta-btn:hover { background: var(--secondary-hover); color: #fff; text-decoration: none; }

/* ============================================
   CARDS
   ============================================ */
body.single-calculator .cards-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin: 40px 0 0 0;
}
body.single-calculator .card {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid var(--bg-light);
    transition: border 0.3s ease, transform 0.3s ease;
}
body.single-calculator .card:hover { border-color: #a0aeff; }
body.single-calculator .card h3 {
    color: var(--primary);
    margin: 0 0 12px 0;
    font-size: 22px;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 32px;
}
body.single-calculator .card p {
    margin-bottom: 20px;
    color: var(--text-black);
    font-size: 18px;
    line-height: 28px;
}
body.single-calculator .card .cta-button { width: 100%; }

/* ============================================
   TABLE
   ============================================ */
body.single-calculator .table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius);
    display: block;
}
body.single-calculator table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}
body.single-calculator thead { background: var(--primary); }
body.single-calculator th {
    padding: 18px 16px;
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    border-right: 1.5px solid #fffdfe;
}
body.single-calculator th:last-child { border-right: none; }
body.single-calculator td {
    background: #e6ebff;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 24px;
    font-family: var(--font-body);
    color: var(--text-black);
    border-top: 1.5px solid #fffdfe;
    border-right: 1.5px solid #fffdfe;
}
body.single-calculator td:last-child { border-right: none; }
body.single-calculator tbody tr:nth-child(even) td { background: var(--bg-light); }

/* ============================================
   CTA + FORM SECTION
   ============================================ */
body.single-calculator .cta-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin: 60px 0;
}
body.single-calculator .cta-text-content {
    padding: 30px;
    background: var(--hero-bg);
    border-radius: var(--radius);
    color: var(--text-white);
}
body.single-calculator .cta-text-content h2 {
    color: var(--text-white);
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 20px;
    margin-top: 0;
}
body.single-calculator .cta-text-content p {
    color: var(--text-white);
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 14px;
}
body.single-calculator .cta-text-content ul { margin: 12px 0 12px 20px; }
body.single-calculator .cta-text-content li { color: var(--text-white); font-size: 15px; line-height: 26px; }
body.single-calculator .form-container {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* ============================================
   HIGHLIGHT BOX
   ============================================ */
body.single-calculator .highlight-box {
    background: var(--bg-light);
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}
body.single-calculator .highlight-box h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
body.single-calculator .highlight-box p,
body.single-calculator .highlight-box li {
    font-size: 16px;
    line-height: 28px;
    color: var(--text-black);
    margin-bottom: 0;
}

/* ============================================
   FAQ — NEW LAYOUT WITH IMAGE
   ============================================ */
body.single-calculator .faq-section { max-width: 100%; margin: 0 auto; }

body.single-calculator .faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

body.single-calculator .faq-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

body.single-calculator .faq-accordion-col { display: flex; flex-direction: column; gap: 0; }

body.single-calculator .faq-item {
    background: transparent;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid var(--bg-mid);
    transition: border-color 0.3s ease;
}
body.single-calculator .faq-item.active {
    border: 0px solid;
    border-color: #fffdfe;
    border-radius: 0px;
}

body.single-calculator .faq-question {
    width: 100%;
    padding: 18px 20px;
    background: #3b5bff;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: #fffdfe;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-radius: 0px;
}
body.single-calculator .faq-item.active .faq-question {
    background: var(--primary);
    color: #fff;
    border-radius: 0;
}
body.single-calculator .faq-question span:first-child { flex: 1; }

body.single-calculator .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
body.single-calculator .faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(255,255,255,0.2);
    color: #fff;
}

body.single-calculator .faq-answer {
    background: #fffdfe;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
body.single-calculator .faq-item.active .faq-answer { max-height: 1000px; }

body.single-calculator .faq-answer-content {
    padding: 16px 20px;
    color: #3b5bff;
    font-size: 18px;
    line-height: 28px;
    font-family: var(--font-body);
}

/* ============================================
   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 *:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    body.single-calculator .container { padding: 0 40px; }
    body.single-calculator .section { padding: 40px 40px; }
    body.single-calculator .hero-banner { padding: 60px 40px; }
    body.single-calculator .calculator-section-wrapper { padding: 0 40px 60px; }
    body.single-calculator .cards-section { grid-template-columns: 1fr; }
    body.single-calculator .cta-form-section { grid-template-columns: 1fr; }

/* Stack buttons vertically and make full width */
    body.single-calculator .button-group {
        flex-direction: column;
    }
    body.single-calculator .convert-button,
    body.single-calculator .reset-button {
        width: 100%;
        flex: unset;
    }
}

@media (max-width: 768px) {
    body.single-calculator .container { padding: 0 20px; }
    body.single-calculator .section { padding: 40px 20px; }
    body.single-calculator .hero-banner { padding: 40px 20px; }
    body.single-calculator .calculator-section-wrapper { padding: 0 20px 40px; }
    body.single-calculator h1 { font-size: 28px; line-height: 38px; }
    body.single-calculator h2 { font-size: 24px; line-height: 34px; margin-top: 30px; }
    body.single-calculator h3 { font-size: 18px; line-height: 27px; }
    body.single-calculator p  { font-size: 16px; line-height: 26px; }
    body.single-calculator .hero-banner h1 { font-size: 28px; line-height: 38px; }
    body.single-calculator .hero-banner p  { font-size: 17px; line-height: 27px; }
    body.single-calculator .calculator-wrapper { padding: 20px; }
    body.single-calculator .calculator-tabs { flex-direction: column; }
    body.single-calculator .tab-button {
        border: 2px solid #3b5bff;
        border-radius: 10px;
        text-align: center;
    }
    body.single-calculator .tab-button.active {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
    }
    body.single-calculator .button-group { flex-direction: column; }
    body.single-calculator .result-score { font-size: 40px; }
    body.single-calculator .faq-question { font-size: 16px; }
    body.single-calculator th, body.single-calculator td { padding: 10px; font-size: 14px; }

    body.single-calculator .calculator-tabs {
    margin: -28px -28px 28px -28px;
    padding: 16px 20px;
    }
}


@media (max-width: 480px) {
    body.single-calculator h1 { font-size: 24px; line-height: 34px; }
    body.single-calculator h2 { font-size: 22px; line-height: 32px; }
    body.single-calculator .result-score { font-size: 36px; }
    body.single-calculator .score-input { font-size: 15px; }
}

/* Responsive */
@media (max-width: 1024px) {
    body.single-calculator .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    body.single-calculator .faq-image-col img {
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    body.single-calculator .faq-question { font-size: 15px; padding: 14px 16px; }
    body.single-calculator .faq-answer-content { font-size: 14px; padding: 14px 16px; }
}

@media (max-width: 1024px) {
    /* ...existing rules... */
    body.single-calculator .faq-image-col { display: none; }
    body.single-calculator .faq-layout { grid-template-columns: 1fr; gap: 0; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Bricks integration reset (galv calc — SAT-to-ACT) — same pattern as the GRE/CGPA
   calculators. Neutralise brxe-container / .brxe-text wrappers so the comp sections go
   full-bleed, and prevent the comp's section padding from 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 SAT↔ACT
   explainer + related-tools sections, and the lead-form card that replaces the comp's Zoho
   iframe. Styled on the comp palette. Re-asserted with the body.single-calculator prefix so
   the comp's *{margin:0} reset (specificity 0,1,1) can't out-specify them (gal-build S103).
   ════════════════════════════════════════════════════════════════════════════ */
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); margin-bottom: 6px;
}
body.single-calculator .calc-quick-answer {
    max-width: 860px; margin: 40px auto 8px; padding: 22px 26px;
    background: #f7f9ff; border-left: 4px solid var(--primary); border-radius: 12px;
    font-size: 16px; line-height: 1.65; color: var(--text-black); text-align: left;
}
body.single-calculator .calc-quick-answer p { margin: 0; }

body.single-calculator .sat-act-explainers .container { max-width: 1000px; }
body.single-calculator .sat-act-explainers h3 { margin-top: 22px; color: var(--secondary); font-size: 24px; line-height: 32px; }

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);
}
body.single-calculator .related-card-title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--primary); }
body.single-calculator .related-card-desc { font-size: 15px; color: var(--text-gray); line-height: 22px; }

/* lead-form card (inside the comp's .form-container, replacing the Zoho iframe) */
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(--hero-bg); margin-bottom: 8px; line-height: 1.25; }
body.single-calculator .calc-lead-form > p { font-size: 16px; color: var(--text-gray); 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-black); }
body.single-calculator .calc-lead-form input::placeholder { color: #9aa3c7; }
body.single-calculator .calc-lead-form input:focus { outline: none; border-color: var(--primary); 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); 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; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Subash design review (2026-06-13) — SAT to ACT. Overrides layered on top of
   the comp; the verbatim comp block above is untouched.
   ════════════════════════════════════════════════════════════════════════════ */

/* Quick Answer band — full-width lavender strip; card stays its own colour */
body.single-calculator .calc-qa-band { background: #e6ebff; padding: 48px 0; display: flex; justify-content: center; }

/* Tab labels — centre-align both tab buttons */
body.single-calculator .tab-button { text-align: center; justify-content: center; }

/* Related tools — extra breathing room at the bottom */
body.single-calculator .related-tools { padding-bottom: 60px; }

/* Related-card CTA link */
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); }
body.single-calculator .related-card:hover .related-card-cta { text-decoration: underline; }

/* (a) Reset button centering — centre the button-group so both Convert and Reset sit
   centred in the card. Comp has no max-width constraint on the group; adding
   justify-content:center + max-width on each button so they don't stretch full-width. */
body.single-calculator .button-group { justify-content: center; }
body.single-calculator .convert-button,
body.single-calculator .reset-button { flex: 0 1 220px; }

/* (b) "SAT to ACT Conversion — Quick Answers" section — left-align to match content sections.
   BEFORE: .sat-act-explainers .container { max-width: 1000px } (SEO additions block ~line 743).
   AFTER: drop the 1000px cap so the left edge aligns with the page's .container
   (max-width: 1440px / padding: 0 80px); text-align left for heading + body copy. */
body.single-calculator .sat-act-explainers .container { max-width: 1440px; }
body.single-calculator .sat-act-explainers .section-title,
body.single-calculator .sat-act-explainers p { text-align: left; }

/* (c) FAQ — override SAT-to-ACT accordion to match SAT Score Calculator chevron style.
   SAT-to-ACT markup uses: .faq-item > button.faq-question[span(text) + span.faq-icon("+")]
                            + .faq-answer > .faq-answer-content
   Active state toggled by .faq-item.active class.

   Changes matched to SAT Score Calculator FAQ (calculator.css):
   1. Icon: hide the .faq-icon span; use ::after pseudo-element with "›" that rotates 90° on open.
   2. Border-radius: SAT-score .faq-item has NO border-radius → set to 0.
   3. Spacing/padding: .faq-question padding 20px 50px 20px 20px; .faq-answer.active padding 20px.
   4. Expand/collapse: ::after rotates 0deg→90deg via transform transition (no +/−).
*/

/* 1. Hide the existing .faq-icon span (contains "+", rotated 45° on active by comp CSS) */
body.single-calculator .faq-icon { display: none; }

/* 2. Border-radius: remove rounding from .faq-item (comp has border-radius:10px + border) */
body.single-calculator .faq-item {
    border-radius: 0;
    border: none;
    margin-bottom: 18px;
}
body.single-calculator .faq-item.active {
    border-radius: 0;
    border: none;
}

/* 3. Padding — match SAT Score Calculator spacing */
body.single-calculator .faq-question {
    padding: 20px 50px 20px 20px;
    position: relative;
    display: block;        /* override the comp's flex so ::after can position:absolute */
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
}
/* Remove the flex span layout the comp relied on for the icon */
body.single-calculator .faq-question span:first-child { display: inline; }

/* 4. Chevron ::after — "›" rotates 90° when open, matches SAT Score Calculator exactly */
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-item.active .faq-question::after {
    content: "›";
    transform: translateY(-50%) rotate(90deg);
}

/* Answer padding — match SAT Score Calculator .faq-answer.active { padding: 20px } */
body.single-calculator .faq-item.active .faq-answer { max-height: 1000px; }
body.single-calculator .faq-answer-content { padding: 20px; }

/* v3 (Subash 2026-06-13 5pm) — centre the Reset button text to match Convert. */
body.single-calculator .reset-button { display: flex; align-items: center; justify-content: center; }
