/* ════════════════════════════════════════════════════════════════════════════
   PTE Score Calculator skin — CSS VERBATIM from Subash's pte-score-calculator.html
   comp (lines 45–1549). 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 `pte-score-calculator` by
   includes/calculator_styles.php (per-slug enqueue).

   SCOPING: comp :root{--token} → body.single-calculator{--token} (NOT :root). The bare
   body{} rule is scoped to body.single-calculator{}. html{} and @keyframes global.
   @media inner selectors scoped. See the IELTS skin (same conventions).
   ════════════════════════════════════════════════════════════════════════════ */

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

body.single-calculator {
    /* Brand Colors */
    --primary: #3b5bff;
    --secondary: #cc00cc;
    --bg-dark: #13217c;
    --white: #ffffff;
    --light-bg: #f8f9ff;
    --text-dark: #333333;
    --text-gray: #666666;
    --border: #e0e0e0;
    --success: #10b981;

    /* Galvanize Design System Typography - EXACT SPECIFICATIONS */
    --h1-size: 42px;
    --h1-line: 56px;
    --h1-weight: 600;

    --h2-size: 36px;
    --h2-line: 48px;
    --h2-weight: 600;

    --h3-size: 30px;
    --h3-line: 40px;
    --h3-weight: 600;

    --h4-size: 26px;
    --h4-line: 34px;
    --h4-weight: 600;

    --h5-size: 22px;
    --h5-line: 30px;
    --h5-weight: 500;

    --body1-size: 18px;
    --body1-line: 29px;
    --body1-weight: 400;

    --body2-size: 16px;
    --body2-line: 26px;
    --body2-weight: 400;

    --body3-size: 14px;
    --body3-line: 22px;
    --body3-weight: 400;

}

body.single-calculator {
    font-family: 'Inter', sans-serif;
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    font-weight: var(--body2-weight);
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
body.single-calculator h1, body.single-calculator h2, body.single-calculator h3, body.single-calculator h4, body.single-calculator h5, body.single-calculator h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

body.single-calculator h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line);
    font-weight: var(--h1-weight);
}

body.single-calculator h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line);
    font-weight: var(--h2-weight);
}

body.single-calculator h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-line);
    font-weight: var(--h3-weight);
}

body.single-calculator h4 {
    font-size: var(--h4-size);
    line-height: var(--h4-line);
    font-weight: var(--h4-weight);
}

body.single-calculator h5 {
    font-size: var(--h5-size);
    line-height: var(--h5-line);
    font-weight: var(--h5-weight);
}

body.single-calculator p {
    margin-bottom: 0.875rem;
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    font-weight: var(--body2-weight);
}

body.single-calculator a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

body.single-calculator a:hover {
    color: var(--secondary);
}

body.single-calculator .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ===== HERO SECTION ===== */
body.single-calculator .hero {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

body.single-calculator .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

body.single-calculator .hero h1 {
    color: var(--white);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease;
}

body.single-calculator .hero p {
    font-size: #22px;
    line-height: 32px;
    font-weight: 500;
    color: #fffdfe;
    margin-bottom: 0;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CALCULATOR SECTION ===== */
body.single-calculator .calculator-section {
    padding: 50px 0;
    background: #e6ebff;
}

body.single-calculator .calculator-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}

/* When results are shown, make calculator span full width */
body.single-calculator .calculator-wrapper.results-active {
    grid-template-columns: 1fr;
}

body.single-calculator .calculator-wrapper.results-active .discount-sidebar {
    display: none;
}

body.single-calculator .calculator-card,
body.single-calculator .discount-sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(59, 91, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* When results are active, calculator card takes full width */
body.single-calculator .calculator-wrapper.results-active .calculator-card {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

body.single-calculator .discount-sidebar {
    background: #13217c;
    color: var(--white);
    position: sticky;
    top: 20px;
    align-self: start;
}

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

body.single-calculator .calculator-header h2 {
    color: #3b5bff;
    margin-bottom: 8px;
}

body.single-calculator .calculator-header p {
    color: var(--text-gray);
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    margin-bottom: 0;
}

body.single-calculator .calculator-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

body.single-calculator .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.single-calculator .form-group label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: var(--body2-size);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.single-calculator .label-icon {
    width: 26px;
    height: 26px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

body.single-calculator .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: var(--body2-size);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    font-weight: 600;
}

body.single-calculator .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light-bg);
}

body.single-calculator .input-hint {
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    color: var(--text-gray);
}

body.single-calculator .calc-btn {
    background: var(--primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: var(--body1-size);
    padding: 16px 36px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    grid-column: 1 / -1;
    text-align: center;
}

body.single-calculator .calc-btn:hover {
    background: #13217c;
}

/* Result Section - FULL WIDTH NO EMPTY SPACES */
body.single-calculator .result-wrapper {
    margin-top: 24px;
    display: none;
    animation: slideIn 0.6s ease;
    width: 100%;
}

body.single-calculator .result-wrapper.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Results Grid - Two Column Layout */
body.single-calculator .results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

body.single-calculator .overall-score-card {
    background: #13217c;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

body.single-calculator .overall-score-card h3 {
    color: var(--white);
    font-size: var(--h5-size);
    line-height: var(--h5-line);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

body.single-calculator .score-display {
    position: relative;
    z-index: 2;
}

body.single-calculator .score-value {
    font-size: 56px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
    margin: 8px 0;
}

body.single-calculator .score-label {
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    opacity: 0.95;
    font-weight: 500;
    margin-top: 4px;
}

body.single-calculator .toefl-alternative-card {
    background: var(--secondary);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.single-calculator .toefl-alternative-card h3 {
    color: var(--white);
    font-size: var(--h5-size);
    line-height: var(--h5-line);
    margin-bottom: 12px;
}

body.single-calculator .toefl-alternative-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    margin-bottom: 16px;
}

body.single-calculator .toefl-stat {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 6px;
}

body.single-calculator .combined-result-card {
    background: #e6ebff;
    padding: 24px;
    border-radius: 14px;
    border-left: 4px solid var(--primary);
    text-align: center;
    width: 100%;
}

body.single-calculator .result-icon {
    font-size: 38px;
    margin-bottom: 8px;
    display: block;
}

body.single-calculator .combined-result-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

body.single-calculator .combined-result-card p {
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: var(--body2-line);
    text-align: center;
}

body.single-calculator .cta-highlight {
    background: #13217c;
    padding: 30px;
    border-radius: 20px;
    color: var(--white);
    margin-bottom: 14px;
    text-align: center;
}

body.single-calculator .cta-highlight p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    margin-bottom: 0;
    font-weight: 500;
    text-align: center;
}

/* CTA Buttons - Pink/Secondary Brand Color */
body.single-calculator .cta-btn {
    display: inline-block;
    background: #cc00cc;
    color: #fffdfe;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

body.single-calculator .cta-btn:hover {
    background: #a60066;
    color: #fffdfe;
}


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

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

/* Sticky Banner */
body.single-calculator .discount-sidebar h3 {
    color: var(--white);
    font-size: var(--h4-size);
    line-height: var(--h4-line);
    margin-bottom: 12px;
}

body.single-calculator .discount-sidebar .banner-message {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    margin-bottom: 20px;
    font-weight: 500;
}

body.single-calculator .banner-stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.single-calculator .banner-stat-number {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

body.single-calculator .banner-stat-label {
    font-size: var(--body3-size);
    line-height: var(--body3-line);
    color: rgba(255, 255, 255, 0.9);
}

body.single-calculator .banner-cta {
    display: block;
    width: 100%;
    background: #cc00cc;
    color: #fffdfe;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: var(--body2-size);
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

body.single-calculator .banner-cta:hover {
    background: #a60066;
    color: #fffdfe;
}

/* Content Sections */
body.single-calculator .content-section {
    background: #e6ebff;
    padding: 50px 0;
}

body.single-calculator .content-section:nth-child(even) {
    background: #fffdfe;
}

body.single-calculator .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 36px;
}

body.single-calculator .section-header h2 {
    color: #3b5bff;
    position: relative;
    display: inline-block;
    padding-bottom: 0px;
}


body.single-calculator .section-header p {
    color: #333333;
    font-family: Poppins;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    margin-top: 2px;
}

body.single-calculator .info-box {
    background: #e6ebff;
    padding: 28px;
    border-radius: 14px;
    margin: 24px 0;
}

body.single-calculator .info-box:hover {
    border: 2px solid #a0aeff;
}

body.single-calculator .info-box h3 {
    color: #3b5bff;
    margin-bottom: 16px;
}

body.single-calculator .info-box-2 {
    background: #fffdfe;
    padding: 28px;
    border-radius: 14px;
    margin: 24px 0;
}

body.single-calculator .info-box-2:hover {
    border: 2px solid #a0aeff;
}

body.single-calculator .info-box-2 h3 {
    color: #3b5bff;
    margin-bottom: 16px;
}

body.single-calculator .code-card {
    background: rgba(59, 91, 255, 0.05);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

body.single-calculator .code-card h4 {
    color: var(--primary);
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.single-calculator .code-display {
    background: var(--white);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 10px;
}

body.single-calculator .code-text {
    font-family: 'Poppins', monospace;
    font-weight: 700;
    color: var(--primary);
    font-size: var(--body1-size);
    letter-spacing: 1px;
    word-break: break-all;
}

body.single-calculator .copy-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: var(--body3-size);
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

body.single-calculator .copy-btn:hover {
    background: var(--secondary);
}

body.single-calculator .copy-btn.copied {
    background: var(--success);
}

body.single-calculator .code-savings {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

body.single-calculator .score-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

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

body.single-calculator .score-table th,
body.single-calculator .score-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: var(--body2-size);
    line-height: var(--body2-line);
}

body.single-calculator .score-table th {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

body.single-calculator .score-table tbody tr {
    background: #e6ebff;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}


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

body.single-calculator .score-table-2 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

body.single-calculator .score-table-2 thead {
    background: #3b5bff;
    color: var(--white);
}

body.single-calculator .score-table-2 th,
body.single-calculator .score-table-2 td {
    padding: 14px 16px;
    text-align: left;
    font-size: var(--body2-size);
    line-height: var(--body2-line);
}

body.single-calculator .score-table-2 th {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

body.single-calculator .score-table-2 tbody tr {
    background: #fffdfe;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}


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

body.single-calculator .score-table-slider {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.single-calculator .score-table-slider .score-table,
body.single-calculator .score-table-slider .score-table-2 {
    min-width: 700px;
}

body.single-calculator .content-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

body.single-calculator .content-list li {
    padding: 10px 0 10px 36px;
    position: relative;
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    margin-bottom: 6px;
}

body.single-calculator .content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

/* PTE Details Grid */
body.single-calculator .pte-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

body.single-calculator .detail-card {
    background: var(--white);
    padding: 24px;
    border-radius: 14px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

body.single-calculator .detail-card h4 {
    color: #3b5bff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.single-calculator .highlight-box {
    background: #e6ebff;
    padding: 24px;
    border-radius: 20px;
    margin: 24px 0;
}

body.single-calculator .highlight-box:hover {
    border: 2px solid #a0aeff;
}

body.single-calculator .highlight-box h3 {
    color: var(--primary);
    margin-bottom: 16px;
}

body.single-calculator .highlight-box-2 {
    background: #fffdfe;
    padding: 24px;
    border-radius: 20px;
    margin: 24px 0;
}

body.single-calculator .highlight-box-2:hover {
    border: 2px solid #a0aeff;
}

body.single-calculator .highlight-box-2 h3 {
    color: var(--primary);
    margin-bottom: 16px;
}

/* Cards Grid */
body.single-calculator .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

body.single-calculator .prep-card {
    background: #e6ebff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

body.single-calculator .prep-card:hover {
    border-color: #a0aeff;
}

body.single-calculator .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #fffdfe;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

body.single-calculator .prep-card h3 {
    font-size: 22px;
    line-height: 32px;
    color: #3b5bff;
    margin-bottom: 12px;
}

body.single-calculator .prep-card p {
    color: #333333;
    margin-bottom: 20px;
}

body.single-calculator .card-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: var(--body2-size);
    border: none;
    cursor: pointer;
}

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

/* CTA Section */
body.single-calculator .cta-section {
    background: var(--bg-dark);
    padding: 50px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

body.single-calculator .cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

body.single-calculator .cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

body.single-calculator .cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body1-size);
    line-height: var(--body1-line);
    margin-bottom: 20px;
}

body.single-calculator .cta-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

body.single-calculator .cta-features li {
    padding: 10px 0 10px 36px;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--body2-size);
    line-height: var(--body2-line);
    margin-bottom: 6px;
}

body.single-calculator .cta-features li::before {
    content: '🎯';
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 20px;
}

/* Form Box - MORE SPACING LEFT & RIGHT */
body.single-calculator .cta-form-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 48px;
}

body.single-calculator .cta-form-box iframe {
    width: 100%;
    min-height: 480px;
    border: none;
    border-radius: 12px;
}

/* ===== FAQ SECTION (NEW LAYOUT) ===== */
body.single-calculator .faq-section {
    background: var(--white);
    padding: 50px 0;
}

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

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

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

body.single-calculator .faq-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: var(--h2-size);
    font-weight: 600;
    line-height: var(--h2-line);
    color: var(--primary);
    margin-bottom: 30px;
}

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

body.single-calculator .faq-question {
    padding: 20px 50px 20px 20px;
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
}

body.single-calculator .faq-question:hover {
    background: rgba(255, 255, 255, 0.08);
}

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: #e6ebff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: var(--primary);
}

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

@media (max-width: 1024px) {
    body.single-calculator .faq-layout {
        grid-template-columns: 1fr 1.3fr;
        gap: 36px;
    }

    body.single-calculator .faq-main-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    body.single-calculator .faq-layout {
        grid-template-columns: 1fr;
    }
    body.single-calculator .section-header h2 {
        font-size: 24px;
        line-height: 32px;
        color: #3b5bff;
        position: relative;
        display: inline-block;
        padding-bottom: 0px;
    }

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

    body.single-calculator .faq-main-title {
        font-size: 24px;
        text-align: center;
    }

    body.single-calculator .faq-question {
        font-size: var(--body2-size);
        padding: 16px 44px 16px 16px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    body.single-calculator .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.single-calculator .calculator-wrapper.results-active {
        grid-template-columns: 1fr;
    }

    body.single-calculator .calculator-card {
        order: 1;
    }

    body.single-calculator .discount-sidebar {
        position: relative;
        top: 0;
        order: 2;
    }

    body.single-calculator .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.single-calculator .cta-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body.single-calculator .pte-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.single-calculator .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body.single-calculator {
        --h1-size: 32px;
        --h1-line: 42px;
        --h2-size: 28px;
        --h2-line: 38px;
        --h3-size: 24px;
        --h3-line: 32px;
        --h4-size: 20px;
        --h4-line: 28px;
        --h5-size: 18px;
        --h5-line: 26px;
    }

    body.single-calculator .container {
        padding: 0 16px;
    }

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

    body.single-calculator .hero {
        padding: 60px 0 50px;
    }

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

    body.single-calculator .calculator-card,
    body.single-calculator .discount-sidebar {
        padding: 28px 20px;
        border-radius: 16px;
    }

    body.single-calculator .calculator-header {
        margin-bottom: 24px;
    }

    body.single-calculator .calculator-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.single-calculator .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    body.single-calculator .overall-score-card {
        padding: 24px 20px;
    }

    body.single-calculator .toefl-alternative-card {
        padding: 24px 20px;
    }

    body.single-calculator .combined-result-card {
        padding: 20px 16px;
    }

    body.single-calculator .info-box {
        padding: 20px 16px;
        margin: 20px 0;
    }

    body.single-calculator .info-box-2 {
        padding: 20px 16px;
        margin: 20px 0;
    }

    body.single-calculator .detail-card {
        padding: 20px 16px;
    }

    body.single-calculator .highlight-box {
        padding: 20px 16px;
    }

    body.single-calculator .prep-card {
        padding: 24px 20px;
    }

    body.single-calculator .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.single-calculator .score-table {
        font-size: var(--body3-size);
    }

    body.single-calculator .score-table th,
    body.single-calculator .score-table td {
        padding: 10px 12px;
        font-size: var(--body3-size);
    }

    body.single-calculator .cta-form-box {
        padding: 28px 24px;
    }

    body.single-calculator .cta-form-box iframe {
        min-height: 420px;
    }

    body.single-calculator .faq-question {
        padding: 16px 18px;
        font-size: var(--body2-size);
    }

    body.single-calculator .faq-answer-content {
        padding: 0 18px 16px;
    }

    body.single-calculator .code-display {
        flex-wrap: wrap;
    }

    body.single-calculator .copy-btn {
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    body.single-calculator .container {
        padding: 0 14px;
    }

    body.single-calculator .calculator-card,
    body.single-calculator .discount-sidebar,
    body.single-calculator .info-box,
    body.single-calculator .info-box-2
    body.single-calculator .detail-card,
    body.single-calculator .highlight-box {
        padding: 18px 14px;
    }

    body.single-calculator .cta-form-box {
        padding: 24px 20px;
    }

    body.single-calculator .section-header {
        margin-bottom: 28px;
    }

    body.single-calculator .calc-btn {
        padding: 14px 28px;
    }

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

    body.single-calculator .card-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

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

html {
    scroll-behavior: smooth;
}

/* Scrollbar */
body.single-calculator ::-webkit-scrollbar {
    width: 8px;
}

body.single-calculator ::-webkit-scrollbar-track {
    background: #d9d9d9;
    border-radius: 10px;
}

body.single-calculator ::-webkit-scrollbar-thumb {
    background: #808080;
    border-radius: 10px;
}

/* ===== VOUCHER / PROMO SECTION ===== */
body.single-calculator .promotions-section {
    background: #fffdfe;
    padding: 50px 0 0 0;
}

body.single-calculator .promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

body.single-calculator .promo-card {
    background: #e6ebff;
    border-radius: 20px;
    padding: 24px;
    border: 2px solid #dce3ff;
    transition: all 0.3s ease;
}

body.single-calculator .promo-card:hover {
    border-color: #a0aeff;
}

body.single-calculator .promo-title {
    font-family: 'Poppins', sans-serif;
    font-size: var(--body1-size);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

body.single-calculator .promo-card p {
    font-size: var(--body2-size);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: var(--body2-line);
}

body.single-calculator .promo-code-display {
    background: var(--bg-dark);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: var(--body1-size);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

body.single-calculator .promo-copy-btn {
    background: #fffdfe;
    color: #333333;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: var(--body3-size);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background 0.2s ease;
}

body.single-calculator .promo-copy-btn.copied {
    background: #00bc7d;
    color: var(--white);
}

body.single-calculator .voucher-card {
    background: var(--bg-dark);
    border: none;
}

body.single-calculator .voucher-card .promo-title {
    color: var(--white);
}

body.single-calculator .voucher-card p {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.single-calculator .btn-voucher {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: var(--body2-size);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 16px;
    width: 100%;
}

body.single-calculator .btn-voucher:hover {
    background: #a60066;
    color: var(--white);
}

@media (max-width: 768px) {
    body.single-calculator .promo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ── Subash review fixes (2026-06-14) ── */
body.single-calculator .content-section.qa-section { background: #fffdfe; }
body.single-calculator .content-section.qa-section h2 { color: #3b5bff; }
body.single-calculator .content-section.qa-section h3 { font-size: 20px; }
