.elementor-12747 .elementor-element.elementor-element-822554c{--display:flex;}body.elementor-page-12747:not(.elementor-motion-effects-element-type-background), body.elementor-page-12747 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://pdotuitionservices.com/wp-content/uploads/2025/08/ChatGPT-Image-Aug-14-2025-11_00_39-AM-1.png");}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-790ada7 *//* ==========================================================================
   ONTARIO ECONOMICS ONLINE TUITION — PREMIUM STYLESHEET
   Concept: "The Market Ledger" — a classic accounting-ledger aesthetic:
   cream ledger paper ruled with faint green lines, a gold "margin rule"
   running down the page the way real ledger pads do, navy ink, and a
   brass/gold accent standing in for value. Fully distinct from the other
   three subject pages on this site (Biology's herbarium paper, Chemistry's
   lab bench, Science's graph-paper/orbit identity) — this one reads as a
   19th-century accounting book brought into a modern layout.

   SCOPING NOTE
   Every rule is anchored to this page's own markup via
   [class*="ontario-economics-"] (section wrappers) or the shared component
   suffixes already in the HTML — [class$="-grid"], [class$="-card"],
   .section-note, .eyebrow, .btn — plus the few one-off classes that don't
   follow the suffix pattern (.economics-process, .economics-process-step,
   .step-number, .faq-item). The native <details>/<summary> FAQ markup is
   scoped under .ontario-economics-faq. Alternating section backgrounds are
   assigned by explicit class name, never by :nth-of-type. No HTML changes
   required.

   FAQ NOTE
   Built from the start as a spacious two-column grid of bordered cards
   using the full container width, not a narrow centered column.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&family=Roboto+Mono:wght@500;600&display=swap');

/* ---------- Tokens ---------- */
:root{
  --eco-bg:         #F2EFE3;
  --eco-bg-alt:     #E9E4D1;
  --eco-card:       #FEFDF8;
  --eco-ink:        #1C2A22;
  --eco-ink-navy:   #1E2A3A;
  --eco-ink-soft:   #4E5C52;
  --eco-green:      #2F6B4F;
  --eco-green-soft: #A9C7B7;
  --eco-gold:       #B98A2E;
  --eco-gold-dark:  #8E6A20;
  --eco-line:       #DAD4BC;
  --eco-rule:       rgba(47,107,79,0.09);
  --eco-shadow:     0 12px 28px rgba(28,42,34,0.14);

  --eco-font-display: 'Source Serif 4', Georgia, serif;
  --eco-font-body:    'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --eco-font-mono:    'Roboto Mono', ui-monospace, monospace;

  --eco-measure: 66ch;
  --eco-radius: 4px;
}

/* ---------- Scoped reset & base ---------- */
[class*="ontario-economics-"],
[class*="ontario-economics-"] *{
  box-sizing: border-box;
}

[class*="ontario-economics-"]{
  background-color: var(--eco-bg);
  color: var(--eco-ink);
  font-family: var(--eco-font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

/* ledger-ruled paper: faint horizontal rules every 32px, plus a single
   gold "margin rule" running down the page — the one texture every
   section shares, standing in for the ledger pad itself */
section[class*="ontario-economics-"]{
  background-image:
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--eco-rule) 31px 32px),
    linear-gradient(90deg, transparent 0 79px, rgba(185,138,46,0.22) 79px 80px, transparent 80px 81px);
}

[class*="ontario-economics-"] h1,
[class*="ontario-economics-"] h2,
[class*="ontario-economics-"] h3{
  font-family: var(--eco-font-display);
  color: var(--eco-ink-navy);
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}

[class*="ontario-economics-"] h1{ font-size: clamp(2.3rem, 4.1vw, 3.3rem); font-weight: 700; }
[class*="ontario-economics-"] h2{ font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
[class*="ontario-economics-"] h3{ font-size: 1.14rem; font-weight: 600; }

[class*="ontario-economics-"] p{ margin: 0 0 1em; max-width: var(--eco-measure); color: var(--eco-ink-soft); }

[class*="ontario-economics-"] p a,
[class*="ontario-economics-"] li a{
  color: var(--eco-green);
  text-decoration-color: var(--eco-green-soft);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
[class*="ontario-economics-"] p a:hover,
[class*="ontario-economics-"] li a:hover{
  color: var(--eco-gold-dark);
  text-decoration-color: var(--eco-gold);
}

section[class*="ontario-economics-"] > .container{
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

section[class*="ontario-economics-"]{
  padding: 92px 0;
  border-bottom: 1px solid var(--eco-line);
  position: relative;
}

/* explicit alternating stock — assigned by section name */
.ontario-economics-learning-areas,
.ontario-economics-data-analysis,
.ontario-economics-macroeconomics,
.ontario-economics-assessment,
.ontario-economics-why-pdo,
.ontario-economics-faq{
  background-color: var(--eco-bg-alt);
}

/* ==========================================================================
   EYEBROW — a ledger entry code
   ========================================================================== */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--eco-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--eco-gold-dark);
  margin: 0 0 1rem;
}
.eyebrow::before{
  content: "";
  width: 18px;
  height: 1px;
  background: var(--eco-gold);
  flex-shrink: 0;
}

.section-heading{ max-width: 640px; margin: 0 0 3.2rem; }
.section-heading p:last-child{ margin-bottom: 0; }

/* ==========================================================================
   NOTE CALLOUTS — a footnote clipped to a ledger line
   ========================================================================== */
.section-note{
  margin-top: 2.8rem;
  padding: 20px 24px;
  border: 1px solid var(--eco-line);
  border-left: 3px solid var(--eco-gold);
  background: var(--eco-card);
  border-radius: 0 var(--eco-radius) var(--eco-radius) 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.section-note:hover{
  border-left-color: var(--eco-green);
  box-shadow: var(--eco-shadow);
}
.section-note p{ margin: 0; font-size: 0.97rem; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
[class*="ontario-economics-"] .btn{
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--eco-font-body);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.85em 1.7em;
  border-radius: var(--eco-radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
              color 0.15s ease, border-color 0.15s ease;
}

[class*="ontario-economics-"] .btn-primary{
  background: var(--eco-green);
  color: #F7FAF4;
  box-shadow: var(--eco-shadow);
}
[class*="ontario-economics-"] .btn-primary:hover{
  background: #23543D;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(28,42,34,0.22);
}
[class*="ontario-economics-"] .btn-primary:active{ transform: translateY(0); }

[class*="ontario-economics-"] .btn-secondary{
  background: transparent;
  color: var(--eco-ink);
  border-color: var(--eco-green-soft);
}
[class*="ontario-economics-"] .btn-secondary:hover{
  background: var(--eco-green);
  border-color: var(--eco-green);
  color: #F7FAF4;
}

[class*="ontario-economics-"] .btn:focus-visible{
  outline: 2px solid var(--eco-gold);
  outline-offset: 3px;
}

.hero-actions, .final-cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.1rem;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.ontario-economics-hero{
  padding: 112px 0 100px;
  overflow: hidden;
}

.ontario-economics-hero > .container{ position: relative; }

.hero-content{
  position: relative;
  max-width: 680px;
  padding-left: 24px;
  border-left: 2px solid var(--eco-gold);
}

.hero-intro{ font-size: 1.08rem; color: var(--eco-ink); }

/* a large supply/demand cross fading in behind the hero copy */
.ontario-economics-hero::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -60px;
  width: 440px;
  height: 400px;
  transform: translateY(-50%);
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 200'%3E%3Cline x1='20' y1='180' x2='20' y2='10' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cline x1='20' y1='180' x2='210' y2='180' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cline x1='30' y1='20' x2='200' y2='170' stroke='%23B98A2E' stroke-width='2'/%3E%3Cline x1='30' y1='170' x2='200' y2='20' stroke='%232F6B4F' stroke-width='2'/%3E%3Ccircle cx='115' cy='95' r='4' fill='%23B98A2E'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(115deg, #000 0%, #000 32%, transparent 62%);
          mask-image: linear-gradient(115deg, #000 0%, #000 32%, transparent 62%);
  pointer-events: none;
}

/* ==========================================================================
   SHARED CARD-GRID SYSTEM
   ========================================================================== */
[class$="-grid"]{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 2rem;
}

article[class$="-card"]{
  position: relative;
  background: var(--eco-card);
  border: 1px solid var(--eco-line);
  border-top: 3px solid var(--eco-green);
  border-radius: var(--eco-radius);
  padding: 30px 26px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

article[class$="-card"]:hover{
  border-color: var(--eco-green-soft);
  border-top-color: var(--eco-gold);
  transform: translateY(-4px);
  box-shadow: var(--eco-shadow);
}

/* signature micro-interaction: a gold dot-leader line draws in under the
   heading, like a line item in a balance sheet — and a small check mark
   appears top-right, as if the entry had just been reconciled */
article[class$="-card"] h3{
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-size: 1.1rem;
}
article[class$="-card"] h3::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 0;
  border-bottom: 1.5px dotted var(--eco-gold);
  transition: width 0.3s ease;
}
article[class$="-card"]:hover h3::after{ width: 100%; }

article[class$="-card"]::before{
  content: "✓";
  position: absolute;
  top: 14px; right: 16px;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--eco-green);
  color: #F7FAF4;
  font-size: 0.68rem;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
article[class$="-card"]:hover::before{ opacity: 1; transform: scale(1); }

article[class$="-card"] p{ font-size: 0.96rem; margin-bottom: 0.5em; }
article[class$="-card"] p:last-child{ margin-bottom: 0; }

/* ==========================================================================
   COURSE CARDS — numbered like ledger entries
   ========================================================================== */
.economics-course-grid{ counter-reset: ledgerline; }

.economics-course-card{ counter-increment: ledgerline; padding-top: 44px; }

.economics-course-card::after{
  content: "Entry " counter(ledgerline, decimal-leading-zero);
  position: absolute;
  top: 16px; left: 22px;
  font-family: var(--eco-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--eco-green-soft);
  transition: color 0.2s ease;
}
.economics-course-card:hover::after{ color: var(--eco-gold); }

/* ==========================================================================
   LITERAL ECONOMICS-WORLD WATERMARKS
   Each of these sections gets one faint illustration tied to what it's
   actually about — a supply/demand curve, a rising line graph, a scale,
   a circular flow, a globe with trade routes, a government building —
   rather than the ledger rule alone.
   ========================================================================== */
.ontario-economics-learning-areas::before,
.ontario-economics-market-analysis::before,
.ontario-economics-data-analysis::before,
.ontario-economics-microeconomics::before,
.ontario-economics-macroeconomics::before,
.ontario-economics-international::before,
.ontario-economics-policy::before{
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Explore the Major Areas — a bar-chart cluster, since this section
   surveys every area of the Economics course */
.ontario-economics-learning-areas::before{
  top: 8%; right: 5%;
  width: 230px; height: 170px;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 160'%3E%3Cline x1='10' y1='150' x2='210' y2='150' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Crect x='30' y='90' width='22' height='60' fill='%232F6B4F' fill-opacity='0.55'/%3E%3Crect x='75' y='60' width='22' height='90' fill='%232F6B4F' fill-opacity='0.55'/%3E%3Crect x='120' y='100' width='22' height='50' fill='%232F6B4F' fill-opacity='0.55'/%3E%3Crect x='165' y='40' width='22' height='110' fill='%232F6B4F' fill-opacity='0.55'/%3E%3C/svg%3E");
}

/* Markets and Decision-Making — the classic supply/demand cross */
.ontario-economics-market-analysis::before{
  bottom: 5%; right: 4%;
  width: 220px; height: 200px;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 200'%3E%3Cline x1='20' y1='180' x2='20' y2='10' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cline x1='20' y1='180' x2='210' y2='180' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cline x1='30' y1='20' x2='200' y2='170' stroke='%23B98A2E' stroke-width='2'/%3E%3Cline x1='30' y1='170' x2='200' y2='20' stroke='%232F6B4F' stroke-width='2'/%3E%3Ccircle cx='115' cy='95' r='4' fill='%23B98A2E'/%3E%3C/svg%3E");
}

/* Data and Quantitative Skills — a rising line graph */
.ontario-economics-data-analysis::before{
  top: 10%; right: 5%;
  width: 220px; height: 170px;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 160'%3E%3Cline x1='10' y1='150' x2='210' y2='150' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cline x1='10' y1='150' x2='10' y2='10' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cpolyline points='20,130 60,100 100,110 140,60 180,30' fill='none' stroke='%23B98A2E' stroke-width='2.2'/%3E%3Ccircle cx='20' cy='130' r='3' fill='%23B98A2E'/%3E%3Ccircle cx='60' cy='100' r='3' fill='%23B98A2E'/%3E%3Ccircle cx='100' cy='110' r='3' fill='%23B98A2E'/%3E%3Ccircle cx='140' cy='60' r='3' fill='%23B98A2E'/%3E%3Ccircle cx='180' cy='30' r='3' fill='%23B98A2E'/%3E%3C/svg%3E");
}

/* Microeconomics — a balance scale, for equilibrium and trade-offs */
.ontario-economics-microeconomics::before{
  bottom: 6%; left: 4%;
  width: 190px; height: 190px;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cline x1='100' y1='20' x2='100' y2='160' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='40' y1='50' x2='160' y2='50' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='40' y1='50' x2='25' y2='90' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cline x1='40' y1='50' x2='55' y2='90' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cpath d='M25 90 A15 15 0 0 0 55 90' fill='none' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cline x1='160' y1='50' x2='145' y2='90' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cline x1='160' y1='50' x2='175' y2='90' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Cpath d='M145 90 A15 15 0 0 0 175 90' fill='none' stroke='%232F6B4F' stroke-width='1.5'/%3E%3Crect x='75' y='160' width='50' height='14' fill='none' stroke='%232F6B4F' stroke-width='2'/%3E%3C/svg%3E");
}

/* Macroeconomics — a circular flow, the classic households/firms loop */
.ontario-economics-macroeconomics::before{
  top: 8%; right: 5%;
  width: 190px; height: 190px;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M50 60 A70 70 0 0 1 150 60' fill='none' stroke='%232F6B4F' stroke-width='2'/%3E%3Cpath d='M150 60 l-14 -6 l4 15 z' fill='%232F6B4F'/%3E%3Cpath d='M150 140 A70 70 0 0 1 50 140' fill='none' stroke='%23B98A2E' stroke-width='2'/%3E%3Cpath d='M50 140 l14 6 l-4 -15 z' fill='%23B98A2E'/%3E%3C/svg%3E");
}

/* International Economics — a globe with a trade route arcing over it */
.ontario-economics-international::before{
  bottom: 5%; right: 4%;
  width: 220px; height: 220px;
  opacity: 0.15;
  animation: eco-globe-spin 60s linear infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Ccircle cx='110' cy='110' r='85' fill='none' stroke='%232F6B4F' stroke-width='2'/%3E%3Cellipse cx='110' cy='110' rx='85' ry='34' fill='none' stroke='%232F6B4F' stroke-width='1.3'/%3E%3Cellipse cx='110' cy='110' rx='34' ry='85' fill='none' stroke='%232F6B4F' stroke-width='1.3'/%3E%3Cline x1='25' y1='110' x2='195' y2='110' stroke='%232F6B4F' stroke-width='1.3'/%3E%3Cpath d='M40 60 Q110 20 180 60' fill='none' stroke='%23B98A2E' stroke-width='1.8'/%3E%3Ccircle cx='180' cy='60' r='4' fill='%23B98A2E'/%3E%3Ccircle cx='40' cy='60' r='4' fill='%23B98A2E'/%3E%3C/svg%3E");
}

/* Government, Policy and Public Finance — a small government building */
.ontario-economics-policy::before{
  top: 9%; right: 5%;
  width: 230px; height: 170px;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 160'%3E%3Cpath d='M20 70 L110 20 L200 70 Z' fill='none' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='30' y1='70' x2='30' y2='140' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='60' y1='70' x2='60' y2='140' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='90' y1='70' x2='90' y2='140' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='130' y1='70' x2='130' y2='140' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='160' y1='70' x2='160' y2='140' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='190' y1='70' x2='190' y2='140' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='15' y1='140' x2='205' y2='140' stroke='%232F6B4F' stroke-width='2'/%3E%3Cline x1='15' y1='70' x2='205' y2='70' stroke='%232F6B4F' stroke-width='2'/%3E%3C/svg%3E");
}

@media (max-width: 860px){
  .ontario-economics-learning-areas::before,
  .ontario-economics-market-analysis::before,
  .ontario-economics-data-analysis::before,
  .ontario-economics-microeconomics::before,
  .ontario-economics-macroeconomics::before,
  .ontario-economics-international::before,
  .ontario-economics-policy::before{
    opacity: 0.09;
    width: 140px; height: 140px;
  }
}

/* slow, continuous spin — the globe turns steadily behind the trade
   route, the one piece of ambient motion on this page */
@keyframes eco-globe-spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* ==========================================================================
   HOW IT WORKS — a horizontal stepper with ledger-stamp badges
   ========================================================================== */
.economics-process{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 3.2rem;
  padding-top: 30px;
}

.economics-process::before{
  content: "";
  position: absolute;
  top: 26px;
  left: 6%; right: 6%;
  height: 0;
  border-top: 1px dotted var(--eco-gold);
  opacity: 0.7;
}

.economics-process-step{ position: relative; }

.step-number{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: 16px;
  background: var(--eco-card);
  border: 2px solid var(--eco-green);
  outline: 1px solid var(--eco-green);
  outline-offset: 3px;
  color: var(--eco-green);
  font-family: var(--eco-font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  transform: rotate(-2deg);
  transition: border-color 0.2s ease, outline-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.economics-process-step:hover .step-number{
  border-color: var(--eco-gold);
  outline-color: var(--eco-gold);
  color: var(--eco-gold-dark);
  transform: rotate(0deg) scale(1.05);
}

.economics-process-step h3{ font-size: 1.02rem; }
.economics-process-step p{ font-size: 0.94rem; }

@media (max-width: 780px){
  .economics-process{ grid-template-columns: 1fr; gap: 28px; }
  .economics-process::before{ display: none; }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.ontario-economics-final-cta{
  background-color: var(--eco-ink-navy);
  border-bottom: none;
  overflow: hidden;
}

.ontario-economics-final-cta::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(247,250,244,0.05) 31px 32px);
  pointer-events: none;
}

.final-cta-content{ max-width: 660px; position: relative; z-index: 1; padding-left: 24px; border-left: 2px solid var(--eco-gold); }

.ontario-economics-final-cta h2{ color: #F7FAF4; }
.ontario-economics-final-cta p{ color: rgba(247,250,244,0.78); }
.ontario-economics-final-cta .eyebrow{ color: var(--eco-gold); }

.ontario-economics-final-cta .btn-primary{
  background: var(--eco-gold);
  color: #251A05;
}
.ontario-economics-final-cta .btn-primary:hover{
  background: #CE9E42;
  box-shadow: 0 16px 32px rgba(185,138,46,0.3);
}

/* ==========================================================================
   FAQ — a spacious two-column grid of bordered cards using the full
   container width, with generous padding per question
   ========================================================================== */
.ontario-economics-faq > .container{ max-width: 1160px; }

.faq-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  align-items: start;
}

.ontario-economics-faq .faq-item{
  background: var(--eco-card);
  border: 1px solid var(--eco-line);
  border-radius: var(--eco-radius);
  padding: 4px 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ontario-economics-faq .faq-item:hover{
  border-color: var(--eco-green-soft);
  box-shadow: var(--eco-shadow);
  transform: translateY(-2px);
}
.ontario-economics-faq .faq-item[open]{ border-color: var(--eco-green); }

.ontario-economics-faq summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  font-family: var(--eco-font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--eco-ink-navy);
  padding: 20px 18px;
  transition: color 0.18s ease;
}
.ontario-economics-faq summary::-webkit-details-marker{ display: none; }
.ontario-economics-faq summary::marker{ content: ""; }

.ontario-economics-faq summary:hover{ color: var(--eco-green); }
.ontario-economics-faq summary:focus-visible{
  outline: 2px solid var(--eco-gold);
  outline-offset: 4px;
}

/* toggle: a small ledger-stamp circle with a plus, filling solid gold
   and rotating when the entry is open */
.ontario-economics-faq summary::after{
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--eco-green-soft);
  font-family: var(--eco-font-mono);
  font-size: 1rem;
  color: var(--eco-green);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.ontario-economics-faq summary:hover::after{ border-color: var(--eco-gold); color: var(--eco-gold-dark); }

.ontario-economics-faq .faq-item[open] summary::after{
  content: "–";
  background: var(--eco-green);
  border-color: var(--eco-green);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer{ padding: 0 18px 22px; }
.faq-answer p{ margin: 0; font-size: 0.98rem; max-width: 56ch; }

@media (max-width: 900px){
  .faq-list{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   ACCESSIBILITY & MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  [class*="ontario-economics-"],
  [class*="ontario-economics-"] *{
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
  .ontario-economics-international::before{ animation: none; }
}

[class*="ontario-economics-"] a:focus-visible,
[class*="ontario-economics-"] button:focus-visible{
  outline: 2px solid var(--eco-gold);
  outline-offset: 3px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 860px){
  section[class*="ontario-economics-"]{ padding: 64px 0; }
  section[class*="ontario-economics-"] > .container{ padding: 0 22px; }

  .ontario-economics-hero{ padding: 76px 0 60px; }
  .ontario-economics-hero::after{ right: -220px; opacity: 0.4; }
  .hero-content{ padding-left: 18px; }

  [class$="-grid"]{ grid-template-columns: 1fr; }

  .hero-actions, .final-cta-actions{ flex-direction: column; align-items: stretch; }
  [class*="ontario-economics-"] .btn{ justify-content: center; }
}

@media (max-width: 480px){
  [class*="ontario-economics-"] h1{ font-size: 2rem; }
  [class*="ontario-economics-"] h2{ font-size: 1.4rem; }
}/* End custom CSS */
/* Start custom CSS *//* ===========================
   SAFE FULL-WIDTH OVERRIDE
   (NO 100vw, NO OVERFLOW)
=========================== */

/* Allow theme to stretch */
.site,
.site-content,
.content-area,
.wrap,
.page-wrap {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Elementor root */
.elementor {
  max-width: 100% !important;
}

/* Elementor sections full width */
.elementor-section {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===========================
   HERO – FULL SCREEN, CENTERED
=========================== */

.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  box-sizing: border-box;
}

/* Keep hero content aligned */
.hero > * {
  max-width: 1200px;
  margin: auto;
}

/* ===========================
   MOBILE SAFETY
=========================== */

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 50px 16px;
    text-align: center;
  }
}




/* ===========================
   MOBILE VISIBILITY FIX
=========================== */

@media (max-width: 768px) {

  /* Restore section spacing */
  section {
    padding: 40px 16px !important;
    margin: 0 !important;
  }

  /* Ensure all sections show fully */
  section,
  .elementor-section {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Fix grids stacking visibility */
  .stats,
  .features-grid,
  .subject-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Prevent text from shrinking */
  p, li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Ensure background sections are visible */
  .subjects,
  .trust,
  .national-cbse,
  .global-cbse,
  .national-icse,
  .global-icse,
  .national-igcse,
  .global-igcse {
    background-clip: padding-box;
    padding: 40px 16px !important;
  }
}/* End custom CSS */