/* ════════════════════════════════════════════════════════════════════════════
   German Grade Calculator skin — CSS VERBATIM from Subash's german-grade-calculator.html
   comp (lines 7–650). 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 `german-grade-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 GRE-to-GMAT skin (same conventions).
   ════════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;600&display=swap');

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-color: #3b5bff;
  --secondary-color: #cc00cc;
  --hero-bg: #13217c;
  --primary-hover: #13217c;
  --secondary-hover: #a600a6;
  --text-dark: #333333;
  --text-light: #808080;
  --text-white: #ffffff;
  --bg-light: #e6ebff;
  --bg-mid: #a0aeff;
  --bg-soft: #f8f9fa;
  --border-color: #dce3ff;
  --radius-xs: 10px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

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: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
}

body.single-calculator .container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ── Hero ── */
body.single-calculator .page-header {
  background: var(--hero-bg);
  color: var(--text-white);
  padding-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

body.single-calculator .page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.single-calculator .page-header h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 600;
  line-height: 56px;
  margin-bottom: 20px;
  color: var(--text-white);
  text-align: center;
}

body.single-calculator .page-header p {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  color: var(--text-white);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ── Calculator Section Background ── */
body.single-calculator .calculator-section-bg {
  background: #13217c;
  margin: 0 -80px;
  padding: 40px 80px;
}

body.single-calculator .calculator-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* ── Calculator Card (white) ── */
body.single-calculator .calculator-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 4px solid var(--bg-light);
  box-shadow: none;
  padding: 30px;
  margin: 0;
}

body.single-calculator .calculator-card h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
  text-align: center;
}

/* ── Typography ── */
body.single-calculator .content-section h2, body.single-calculator .faq-section h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 48px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

body.single-calculator .content-section h3, body.single-calculator .result-description h3, body.single-calculator .cta-text h2, body.single-calculator .service-card h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 40px;
  color: var(--text-dark);
  margin: 32px 0 16px;
}

body.single-calculator .content-section p, body.single-calculator .cta-text p, body.single-calculator .service-card p, body.single-calculator .faq-answer-content, body.single-calculator .result-description p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 29px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

body.single-calculator .content-section ul { margin: 20px 0 20px 20px; }
body.single-calculator .content-section li { font-family: var(--font-body); font-size: 16px; line-height: 26px; color: var(--text-dark); margin-bottom: 8px; }

/* ── Forms ── */
body.single-calculator .form-group { margin-bottom: 20px; }

body.single-calculator .form-label {
  display: block;
  font-size: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

body.single-calculator .form-input, body.single-calculator .form-select {
  width: 100%;
  height: 60px;
  padding: 12px 16px;
  border: 1.5px solid #808080;
  border-radius: var(--radius-xs);
  font-size: 16px;
  line-height: 26px;
  font-family: var(--font-body);
  transition: var(--transition);
  background: #ffffff;
  color: var(--text-dark);
  cursor: pointer;
}

body.single-calculator .form-input::placeholder { color: #808080; }

body.single-calculator .form-input:focus, body.single-calculator .form-select:focus {
  outline: none;
  border-color: var(--bg-mid);
  background: #ffffff;
  box-shadow: none;
}

body.single-calculator .form-select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg width="14" height="8" viewBox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg"%3e%3cpath d="M1 1L7 7L13 1" stroke="%23808080" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 45px;
}

body.single-calculator .form-select option { background: #ffffff; color: var(--text-dark); }

body.single-calculator small {
  font-family: var(--font-body);
  font-size: 14px !important;
  line-height: 22px;
  color: var(--text-light) !important;
}

/* ── Buttons ── */
body.single-calculator .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

body.single-calculator .btn-primary { background: var(--primary-color); color: var(--text-white); width: 100%; }
body.single-calculator .btn-primary:hover { background: var(--primary-hover); }

body.single-calculator .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: var(--secondary-color);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s ease;
  margin: 16px 0 0;
  width: 100%;
  height: auto;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
}

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

body.single-calculator .cta-center .btn-cta { background: #3b5bff; }
body.single-calculator .cta-center .btn-cta:hover { background: #13217c; }

body.single-calculator .cta-center { text-align: center; margin: 20px 0 0; }
body.single-calculator .cta-center .btn-cta { width: auto; }

/* ══════════════════════════════════════
   RESULT DISPLAY — Fully Responsive Fix
══════════════════════════════════════ */
body.single-calculator .result-display {
  margin-top: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease;
  display: none;
}

body.single-calculator .result-display.active {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

body.single-calculator .result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

body.single-calculator .result-item {
  background: #ffffff;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  overflow: hidden;
}

body.single-calculator .result-value {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 56px;
  color: var(--hero-bg);
  margin-bottom: 8px;
  word-break: break-word;
  max-width: 100%;
}

body.single-calculator .result-label {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

body.single-calculator .result-sublabel {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-light);
}

body.single-calculator .result-description {
  background: #ffffff;
  padding: 20px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 12px;
}

body.single-calculator .result-description h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--hero-bg);
  margin: 0 0 8px;
  line-height: 1.3;
}

body.single-calculator .result-description p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.6;
}

body.single-calculator .result-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

body.single-calculator .result-cta-buttons .btn-cta {
  margin: 0;
  flex: 1 1 200px;
  min-width: 0;
  max-width: 280px;
  font-size: 16px;
  padding: 14px 16px;
  height: auto;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  word-break: break-word;
}

/* ── Tables ── */
body.single-calculator .info-table { width: 100%; border-collapse: collapse; margin: 32px 0; background: #ffffff; border-radius: var(--radius-md); overflow: hidden; }
body.single-calculator .info-table thead { background: var(--primary-color); color: var(--text-white); }
body.single-calculator .info-table th, body.single-calculator .info-table td { padding: 20px 16px; text-align: left; }
body.single-calculator .info-table th { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0.5px; border-right: 1.5px solid #fffdfe; border-bottom: 1.5px solid #fffdfe; }
body.single-calculator .info-table th:last-child { border-right: none; }
body.single-calculator .info-table td { background: #e6ebff; font-family: var(--font-body); font-size: 16px; color: var(--text-dark); border-top: 1.5px solid #fffdfe; border-right: 1.5px solid #fffdfe; }
body.single-calculator .info-table td:last-child { border-right: none; }
body.single-calculator .info-table tbody tr:hover { background: #f8f9fa; }
body.single-calculator .info-table tbody tr:last-child td { border-bottom: none; }

/* ── Sections ── */
body.single-calculator .content-section { margin: 60px 0; }

body.single-calculator .cta-section-wrapper { background: #13217c; margin: 60px -80px; padding: 60px 80px; overflow: hidden; }
body.single-calculator .cta-section { background: var(--hero-bg); border-radius: var(--radius-lg); margin: 0; }
body.single-calculator .cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
body.single-calculator .cta-text h2 { font-family: var(--font-heading); font-size: 36px; line-height: 48px; font-weight: 600; color: var(--text-white); margin-bottom: 16px; }
body.single-calculator .cta-text p { font-size: 18px; line-height: 29px; color: var(--text-white); margin-bottom: 24px; }
body.single-calculator .cta-form { background: #13217c; border-radius: 0px; }
body.single-calculator .cta-form iframe { width: 100%; height: 500px; border: none; border-radius: 10px; box-shadow: var(--shadow-md); }

/* ── Service Cards ── */
body.single-calculator .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 40px 0; }
body.single-calculator .service-card { background: #e6ebff; border-radius: var(--radius-lg); padding: 20px; transition: var(--transition); text-align: center; }
body.single-calculator .service-card:hover { border: 2px solid; border-color: #a0aeff }
body.single-calculator .service-icon { font-size: 36px; margin-bottom: 20px; }
body.single-calculator .service-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
body.single-calculator .service-card p { font-size: 16px; color: var(--text-dark); margin-bottom: 24px; }
body.single-calculator .service-card .btn { width: 100%; }

/* ── Test Prep Section (Boost Your Study Abroad Profile) ── */
body.single-calculator #test-prep {
  background-color: #fffdfe;
  margin-top: -60px;
  margin-left: -80px;
  margin-right: -80px;
  padding: 60px 80px;
}

body.single-calculator #test-prep h2 {
  font-size: 30px;
  font-family: Poppins;
  font-weight: 600px;
  line-height: 36px;
  text-align: center;
}
body.single-calculator #test-prep > p {
  font-size: 20px;
  font-family: Poppins;
  font-weight: 600px;
  line-height: 36px;
  text-align: center;
}

/* ── FAQ ── */
body.single-calculator .faq-section { margin: 60px 0; padding-top: 30px}

body.single-calculator .faq-layout {
  display: grid;
  grid-template-columns: 2fr 3fr; /* Subash v2: match SAT FAQ proportions (was 1fr 1fr) */
  gap: 20px;                      /* Subash v2: tighten image↔content gap (was 60px) */
  align-items: flex-start;
}

body.single-calculator .faq-image-col {
  position: sticky;
  top: 20px;
}

body.single-calculator .faq-image-col img {
  width: 100%;
  max-width: 420px; /* Subash v2: cap image like SAT FAQ so it doesn't fill the column */
  height: auto;
  display: block;
  border-radius: 0px;
}

body.single-calculator .faq-content-col h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 48px;
  color: #3b5bff;
  margin-bottom: 28px;
}

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

body.single-calculator .faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--primary-color);
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--text-white);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: background 0.3s ease;
}

body.single-calculator .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  font-style: normal;
  transition: transform 0.3s ease;
}

body.single-calculator .faq-item.active .faq-icon { transform: rotate(90deg); }

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

body.single-calculator .faq-answer-content {
  padding: 18px 0;
  color: #3b5bff;
  line-height: 26px;
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-body);
}

body.single-calculator .faq-item.active .faq-answer { max-height: 600px; padding: 0 24px; }

/* ── Alerts ── */
body.single-calculator .alert { padding: 16px 20px; border-radius: var(--radius-xs); margin: 20px 0; display: none; font-family: var(--font-body); font-size: 16px; line-height: 24px; }
body.single-calculator .alert.show { display: block; animation: slideIn 0.4s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
body.single-calculator .alert-error { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

body.single-calculator .internal-link { color: var(--primary-color); text-decoration: none; font-weight: 600; transition: var(--transition); }
body.single-calculator .internal-link:hover { color: var(--primary-hover); }

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, body.single-calculator select:focus { outline: 2px solid var(--primary-color); outline-offset: 2px; }

body.single-calculator .loading { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(160,174,255,0.3); border-radius: 50%; border-top-color: #3b5bff; animation: spin 0.8s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

@media print { body.single-calculator .calculator-card, body.single-calculator .cta-section { page-break-inside: avoid; } }

/* ══════════════════════
   TABLET (≤ 1024px)
══════════════════════ */
@media (max-width: 1024px) {
  body.single-calculator .container, body.single-calculator .page-header .container { padding: 0 40px; }
  body.single-calculator .calculator-section-bg { margin: 0 -40px; padding: 40px 40px; }
  body.single-calculator .cta-section-wrapper { margin: 60px -40px; padding: 60px 40px; }
  body.single-calculator #test-prep {
  margin-top: -60px;
  margin-left: -80px;
  margin-right: -80px;
  padding: 60px 80px;
}
  body.single-calculator .faq-layout { gap: 40px; }

  body.single-calculator .result-value { font-size: 40px; }
  body.single-calculator .result-label { font-size: 12px; }
  body.single-calculator .result-sublabel { font-size: 14px; }
  body.single-calculator .result-description h3 { font-size: 18px; }
  body.single-calculator .result-description p { font-size: 14px; }
  body.single-calculator .result-cta-buttons .btn-cta { font-size: 14px; max-width: 100%; flex: 1 1 180px; }
}

/* ══════════════════════
   TABLET (≤ 768px)
══════════════════════ */
@media (max-width: 768px) {
  body.single-calculator .container, body.single-calculator .page-header .container { padding: 0 20px; }
  body.single-calculator .page-header { padding: 40px 0; }
  body.single-calculator .page-header h1 { font-size: 24px; line-height: 38px; }
  body.single-calculator .page-header p { font-size: 20px; line-height: 29px; }
  body.single-calculator .calculator-section-bg { margin: 0 -20px; padding: 30px 20px; }
  body.single-calculator .cta-section-wrapper { margin: 60px -20px; padding: 40px 20px; }
  body.single-calculator #test-prep {
  margin-top: -60px;
  margin-left: -80px;
  margin-right: -80px;
  padding: 60px 80px;
}
  body.single-calculator .calculator-card { border-radius: var(--radius-lg); padding: 20px; }
  body.single-calculator .calculator-card h2 { font-size: 18px; line-height: 29px; }
  body.single-calculator .content-section h2, body.single-calculator .faq-content-col h2, body.single-calculator .cta-text h2 { font-size: 24px; line-height: 38px; margin-bottom: 10px; }
  body.single-calculator .content-section h3, body.single-calculator .service-card h3 { font-size: 20px; line-height: 29px; }
  body.single-calculator .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  body.single-calculator .services-grid { grid-template-columns: 1fr; }
  body.single-calculator .info-table { font-size: 14px; display: block; overflow-x: auto; }
  body.single-calculator .info-table th, body.single-calculator .info-table td { padding: 12px 8px; }
  body.single-calculator .cta-section { padding: 32px 24px; }
  body.single-calculator .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  body.single-calculator .faq-image-col { position: static; display: none; }
  body.single-calculator .faq-question { font-size: 18px; line-height: 26px; }

  body.single-calculator .result-display { padding: 16px; }
  body.single-calculator .result-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
  body.single-calculator .result-item { padding: 16px 10px; min-height: 100px; }
  body.single-calculator .result-value { font-size: 32px; }
  body.single-calculator .result-label { font-size: 12px; letter-spacing: 0.5px; }
  body.single-calculator .result-sublabel { font-size: 14px; }
  body.single-calculator .result-description { padding: 16px 12px; margin-top: 10px; }
  body.single-calculator .result-description h3 { font-size: 16px; margin-bottom: 6px; }
  body.single-calculator .result-description p { font-size: 14px; }
  body.single-calculator .result-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
  }
  body.single-calculator .result-cta-buttons .btn-cta {
    max-width: 100%;
    flex: none;
    width: 100%;
    font-size: 16px;
    padding: 14px 16px;
  }

  body.single-calculator .result-value {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    color: var(--hero-bg);
    margin-bottom: 8px;
    word-break: break-word;
    max-width: 100%;
  }
}

/* ══════════════════════
   MOBILE (≤ 480px)
══════════════════════ */
@media (max-width: 480px) {
  body.single-calculator .page-header h1 { font-size: 24px; line-height: 38px; }
  body.single-calculator .calculator-card { padding: 16px; }
  body.single-calculator .content-section h2, body.single-calculator .faq-content-col h2, body.single-calculator .cta-text h2 { font-size: 24px; line-height: 38px; }
  body.single-calculator .content-section h3 { font-size: 18px; line-height: 29px; }

  body.single-calculator .result-display { padding: 14px 12px; border-radius: var(--radius-sm); }
  body.single-calculator .result-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
  body.single-calculator .result-item { padding: 14px 8px; min-height: 90px; border-radius: var(--radius-sm); }
  body.single-calculator .result-value { font-size: 26px; }
  body.single-calculator .result-label { font-size: 10px; letter-spacing: 0; }
  body.single-calculator .result-sublabel { font-size: 12px; }
  body.single-calculator .result-description { padding: 14px 10px; border-radius: var(--radius-sm); margin-top: 10px; }
  body.single-calculator .result-description h3 { font-size: 16px; }
  body.single-calculator .result-description p { font-size: 14px; }
  body.single-calculator .result-cta-buttons { gap: 10px; margin-top: 14px; }
  body.single-calculator .result-cta-buttons .btn-cta { font-size: 14px; padding: 14px 12px; }
}

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

/* v3 (2026-06-15): Quick-Answers spacing — Subash wants Q(H3) → 10px → A(P) → 20px → next Q.
   margin-top:0 on the H3 makes the 20px below each answer paragraph the sole separator
   between Q/A pairs, so the section scans as a clean hierarchy. */
body.single-calculator .content-section.qa-section h3 { margin-top: 0; margin-bottom: 10px; }
body.single-calculator .content-section.qa-section p { margin-bottom: 20px; }

/* Subash review v2 (2026-06-14): Quick-Answers band full-width.
   Colour the wrapping .container so the lavender fills its side padding (the
   white frame v1 left), plus vertical padding — edge-to-edge, no white frame. */
body.single-calculator .container:has(> .qa-section) {
    background: #e6ebff;
    padding-top: 40px;
    padding-bottom: 40px;
}
/* Suppress duplicate ::after chevron (base calculator.css adds one; German has its own .faq-icon span) */
body.single-calculator .faq-question::after { content: none; }

/* ──────────────────────────────────────────────────────────────────────────
   Integration override (2026-06-13) — NOT in the comp; fixes a shared-skin collision.
   The shared base skin (assets/css/calculator.css, enqueued on EVERY `calculator`
   singular) sets a bare `section { display:flex; justify-content:center; }` so the
   SAT/TOEFL-style comps center their single inner `.container`. THIS comp instead places
   content DIRECTLY inside each `<section>` (h2 + paragraphs + tables as siblings) and the
   calculator itself is a `<section>` — so the inherited flex turns every section into a
   broken horizontal row (and squishes the calculator card). Reset this comp's own sections
   back to block so children stack as the comp intends. Scoped to `.container section` (all
   of this comp's sections live inside a `.container`), so it only affects this page.
   ────────────────────────────────────────────────────────────────────────── */
body.single-calculator .container section {
  display: block;
}
