/* ============================================================
   EOR QUESTION PAGES (30 country/topic articles)
   Scoped under .eorprev so it can't leak into or collide with
   any other page's markup/classes. Loaded by each question page.
   Shares the same font-hardening pattern as eor-new.css: the
   site has global h1-h4/p rules with !important, so every rule
   here that sets font-size/color on a bare heading or <p> must
   also use !important to win.
   ============================================================ */
.eorprev{
  --orange:#f28a1a; --orange-hover:#d77308; --orange-soft:#fff3e4;
  --ink:#172033; --body-clr:#4e5a6f; --muted:#7c8798;
  --surface-grey:#f7f8fb; --surface-cream:#fff8ef; --surface-dark:#101828;
  --border:#e8edf3;
  --shadow-soft:0 20px 60px rgba(23,32,51,.10);
  --shadow-card:0 14px 40px rgba(23,32,51,.08);
  --green:#1b8a5a; --green-soft:#eafaf2;
  font-family:Inter-Regular,'Inter-Fallback',Arial,system-ui,-apple-system,sans-serif;color:var(--body-clr);background:#fff;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;
}
.eorprev *,.eorprev *::before,.eorprev *::after{box-sizing:border-box;}
.eorprev a{color:var(--orange);text-decoration:none;}
.eorprev a:hover{color:var(--orange-hover);}
.eorprev h1,.eorprev h2,.eorprev h3,.eorprev h4{color:var(--ink)!important;letter-spacing:-.035em;font-weight:700!important;margin:0!important;}
.eorprev p{margin:0!important;}
.eorprev .container-main{width:100%;max-width:1180px;margin:0 auto;padding:0 32px;}

.eorprev,.eorprev p,.eorprev li,.eorprev td,.eorprev th,.eorprev span,.eorprev div{font-family:Inter-Regular,'Inter-Fallback',Arial,system-ui,-apple-system,sans-serif!important;}
.eorprev h1,.eorprev h2,.eorprev h3,.eorprev h4,.eorprev .eorprev-btn,.eorprev strong,.eorprev b,.eorprev .cta-h,.eorprev .cta-eyebrow{font-family:Inter-Bold,Inter-SemiBold,'Inter-Fallback',Arial,sans-serif!important;font-weight:400!important;}
.eorprev .material-icons-outlined{font-family:'Material Icons Outlined'!important;}

.eorprev .eorprev-btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 24px;border:1.5px solid transparent;font-size:15px!important;font-weight:700!important;line-height:1.2;transition:transform .25s,background .25s;white-space:nowrap;cursor:pointer;font-family:inherit;}
.eorprev .eorprev-btn:hover{transform:translateY(-2px);}
.eorprev .eorprev-btn-primary{background:var(--orange);border-color:var(--orange);color:#fff!important;}
.eorprev .eorprev-btn-primary:hover{background:var(--orange-hover);border-color:var(--orange-hover);color:#fff!important;}
.eorprev .eorprev-btn-ghost{background:rgba(255,255,255,.1);color:#fff!important;border-color:rgba(255,255,255,.28);}
.eorprev .eorprev-btn-ghost:hover{background:rgba(255,255,255,.18);color:#fff!important;}
.eorprev .eorprev-btn-outline{background:#fff;color:var(--ink)!important;border-color:var(--border);}
.eorprev .eorprev-btn-outline:hover{background:var(--surface-grey);color:var(--ink)!important;border-color:var(--ink);}
.eorprev .eorprev-btn.full{width:100%;}

.eorprev .section{padding:56px 0;}

/* ARTICLE HERO */
.eorprev .article-hero{background:linear-gradient(180deg,#fff8ef 0%,#fff 100%);border-bottom:1px solid #fde8c8;padding:40px 0 34px;text-align:center;}
.eorprev .article-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;border:1px solid #ffe3c3;background:var(--orange-soft);color:var(--orange)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px!important;}
.eorprev .article-h1{font-size:clamp(26px,3.6vw,40px)!important;font-weight:800!important;color:var(--ink)!important;line-height:1.15!important;letter-spacing:-.03em;margin:0 auto 16px!important;max-width:780px;}
.eorprev .article-lede{font-size:16.5px!important;color:var(--body-clr)!important;line-height:1.7;max-width:740px;margin:0 auto 22px!important;}
.eorprev .article-meta{display:flex;flex-wrap:wrap;gap:22px;justify-content:center;}
.eorprev .article-meta span{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--body-clr);}
.eorprev .article-meta .material-icons-outlined{font-size:17px;color:var(--orange);}

/* ARTICLE LAYOUT */
.eorprev .article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:56px;align-items:start;}
.eorprev .article-main{min-width:0;}
.eorprev .article-aside{position:sticky;top:130px;display:flex;flex-direction:column;gap:20px;}

.eorprev .toc-card{background:var(--surface-grey);border:1px solid var(--border);border-radius:14px;padding:22px;}
.eorprev .toc-card h4{font-size:12px!important;font-weight:800!important;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)!important;margin-bottom:16px!important;}
.eorprev .toc-card ol{list-style:none;margin:0;padding:0;counter-reset:toc;display:flex;flex-direction:column;gap:11px;}
.eorprev .toc-card li{counter-increment:toc;}
.eorprev .toc-card a{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;font-weight:600;color:var(--body-clr);line-height:1.4;}
.eorprev .toc-card a::before{content:counter(toc);flex-shrink:0;width:20px;height:20px;border-radius:50%;background:#fff;border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:800;color:var(--muted);transition:border-color .15s,color .15s;}
.eorprev .toc-card a:hover{color:var(--orange);}
.eorprev .toc-card a:hover::before{border-color:var(--orange);color:var(--orange);}

.eorprev .side-cta{background:linear-gradient(135deg,#c97010 0%,#a05200 100%);border-radius:16px;padding:26px 24px;color:#fff;box-shadow:var(--shadow-card);}
.eorprev .side-cta h4{color:#fff!important;font-size:16.5px!important;margin-bottom:8px!important;letter-spacing:-.02em;}
.eorprev .side-cta p{font-size:13.5px!important;color:rgba(255,255,255,.85)!important;line-height:1.6;margin-bottom:18px!important;}
.eorprev .side-cta .eorprev-btn{width:100%;}

/* ARTICLE CONTENT TYPOGRAPHY */
.eorprev .article-content h2{font-size:23px!important;margin:46px 0 16px!important;letter-spacing:-.025em;scroll-margin-top:140px;}
.eorprev .article-content > h2:first-child{margin-top:0!important;}
.eorprev .article-content h3{font-size:16.5px!important;margin:26px 0 10px!important;color:var(--ink)!important;}
.eorprev .article-content h3:first-of-type{margin-top:18px!important;}
.eorprev .article-content p{font-size:15.5px!important;line-height:1.75;color:var(--body-clr)!important;margin:0 0 16px!important;}
.eorprev .article-content p:last-child{margin-bottom:0!important;}

.eorprev .check-list{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:12px;}
.eorprev .check-list li{display:flex;align-items:flex-start;gap:10px;font-size:15.5px;line-height:1.65;color:#273346;}
.eorprev .check-list li .material-icons-outlined{color:var(--orange);font-size:19px;flex-shrink:0;margin-top:2px;}

.eorprev .data-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-card);margin:8px 0 24px;}
.eorprev .data-table th,.eorprev .data-table td{padding:13px 20px;text-align:left;font-size:14px;line-height:1.55;border-bottom:1px solid var(--border);}
.eorprev .data-table th{background:var(--surface-grey);font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);}
.eorprev .data-table td:first-child{font-weight:700;color:var(--ink);}
.eorprev .data-table tr:last-child td{border-bottom:none;}
.eorprev .data-table tr.total td{background:var(--orange-soft);font-weight:800;color:var(--ink);}
.eorprev .article-content p.stat-line{font-size:15.5px!important;color:var(--ink)!important;background:var(--surface-grey);border:1px solid var(--border);border-radius:10px;padding:12px 16px;display:inline-block;}
.eorprev .article-content p.stat-line strong{color:var(--orange)!important;}

.eorprev .callout-box{background:var(--surface-cream);border:1px solid #ffe3c3;border-left:4px solid var(--orange);border-radius:12px;padding:22px 26px;margin:8px 0 26px;}
.eorprev .callout-label{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--orange);margin-bottom:10px;}
.eorprev .callout-box p{margin:0 0 10px!important;}
.eorprev .callout-box p:last-child{margin-bottom:0!important;}
.eorprev .callout-box ul{list-style:none;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:9px;}
.eorprev .callout-box ul li{display:flex;align-items:flex-start;gap:9px;font-size:14.5px;line-height:1.6;color:var(--ink);}
.eorprev .callout-box ul li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--orange);flex-shrink:0;margin-top:8px;}

.eorprev .mistake-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 24px;}
.eorprev .mistake-card{background:var(--surface-grey);border:1px solid var(--border);border-radius:12px;padding:18px 20px;}
.eorprev .mistake-card h3{display:flex;align-items:center;gap:9px;font-size:15px!important;margin:0 0 7px!important;}
.eorprev .mistake-card h3 .material-icons-outlined{color:var(--orange);font-size:18px;flex-shrink:0;}
.eorprev .mistake-card p{font-size:13.8px!important;margin:0!important;color:var(--body-clr)!important;}

.eorprev .bottom-line{background:#fff;border:1px solid var(--border);border-radius:14px;padding:24px 26px;box-shadow:var(--shadow-card);margin-top:8px;}

/* FAQ */
.eorprev .faq-list{max-width:100%;margin:0;}
.eorprev .faq-item{overflow:hidden;border:none;border-radius:10px;background:var(--surface-grey);margin-bottom:8px;transition:box-shadow .25s ease;}
.eorprev .faq-item:hover{box-shadow:var(--shadow-card);}
.eorprev .faq-q{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;color:var(--ink);font-size:15px;font-weight:700;cursor:pointer;user-select:none;}
.eorprev .faq-a{display:block;max-height:0;overflow:hidden;opacity:0;padding:0 22px;color:var(--body-clr);font-size:14.5px;line-height:1.8;transition:max-height .42s cubic-bezier(.4,0,.2,1),opacity .32s ease,padding .42s cubic-bezier(.4,0,.2,1);}
.eorprev .faq-item.is-open .faq-a{max-height:400px;opacity:1;padding:0 22px 20px;}
.eorprev .faq-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0;opacity:.65;}
.eorprev .faq-icon::before,.eorprev .faq-icon::after{content:'';position:absolute;background:#000;border-radius:2px;transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .35s ease;}
.eorprev .faq-icon::before{width:14px;height:2px;top:50%;left:50%;transform:translate(-50%,-50%);}
.eorprev .faq-icon::after{width:2px;height:14px;top:50%;left:50%;transform:translate(-50%,-50%);}
.eorprev .faq-item.is-open .faq-icon::after{transform:translate(-50%,-50%) scaleY(0);opacity:0;}

/* QUESTION NAVIGATION */
.eorprev .question-nav-section{padding:8px 0 4px;}
.eorprev .question-nav{display:flex;align-items:stretch;gap:14px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:22px 0;flex-wrap:wrap;}
.eorprev .question-nav-link{flex:1 1 260px;display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid var(--border);border-radius:12px;color:var(--ink);transition:border-color .15s,box-shadow .15s;min-width:0;}
.eorprev .question-nav-link:hover{border-color:var(--orange);box-shadow:var(--shadow-card);}
.eorprev .question-nav-link.next{text-align:right;justify-content:flex-end;}
.eorprev .question-nav-link .material-icons-outlined{color:var(--orange);flex-shrink:0;}
.eorprev .question-nav-text{display:flex;flex-direction:column;gap:3px;min-width:0;}
.eorprev .question-nav-label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
.eorprev .question-nav-title{font-size:14.5px;font-weight:700;color:var(--ink);white-space:normal;}
.eorprev .question-nav-all{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px 20px;border-radius:12px;background:var(--surface-grey);color:var(--muted);font-size:13px;font-weight:700;flex:0 0 auto;white-space:nowrap;}
.eorprev .question-nav-all:hover{color:var(--orange);}
@media (max-width:640px){.eorprev .question-nav{flex-direction:column;}.eorprev .question-nav-link.next{text-align:left;justify-content:flex-start;}}

/* RELATED RESOURCES */
.eorprev .related-resources{padding:6px 0 26px;}
.eorprev .related-resources-inner{border-top:1px solid var(--border);padding-top:26px;}
.eorprev .related-resources-head{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.eorprev .related-resources-head .material-icons-outlined{color:var(--orange);font-size:20px;}
.eorprev .related-resources-head h3{font-size:16px!important;font-weight:800!important;color:var(--ink)!important;margin:0!important;letter-spacing:-.01em;}
.eorprev .related-links-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.eorprev .related-link-card{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-grey);color:var(--ink);font-size:13.5px;font-weight:600;line-height:1.4;transition:border-color .15s,background .15s,transform .15s;}
.eorprev .related-link-card:hover{border-color:var(--orange);background:#fff;color:var(--ink);transform:translateY(-1px);box-shadow:var(--shadow-card);}
.eorprev .related-link-card .material-icons-outlined{color:var(--orange);font-size:17px;flex-shrink:0;}
@media (max-width:640px){.eorprev .related-links-grid{grid-template-columns:1fr;}}

/* CLOSING CTA */
.eorprev .final-cta{background:linear-gradient(135deg,#c97010 0%,#a05200 45%,#7a3800 100%);padding:64px 0;}
.eorprev .final-cta .container-main{text-align:center;}
.eorprev .cta-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.85)!important;margin-bottom:14px!important;}
.eorprev .cta-eyebrow::before{content:'';width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.9);}
.eorprev .cta-h{font-size:clamp(26px,3.4vw,36px)!important;font-weight:800!important;color:#fff!important;letter-spacing:-.04em;line-height:1.12!important;margin:0 0 14px!important;}
.eorprev .cta-p{font-size:15.5px!important;color:rgba(255,255,255,.86)!important;line-height:1.7;max-width:520px;margin:0 auto 26px!important;}
.eorprev .cta-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:24px;}
.eorprev .final-cta .eorprev-btn-ghost{border-color:rgba(255,255,255,.5);}
.eorprev .cta-flags{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;}
.eorprev .cta-flags span{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:rgba(255,255,255,.88);}
.eorprev .cta-flags .material-icons-outlined{font-size:17px;color:#ffd28a;}

/* RESPONSIVE */
@media(max-width:1080px){
  .eorprev .article-layout{grid-template-columns:1fr;}
  .eorprev .article-aside{position:static;flex-direction:row;flex-wrap:wrap;}
  .eorprev .toc-card,.eorprev .side-cta{flex:1;min-width:260px;}
}
@media(max-width:900px){
  .eorprev .mistake-grid{grid-template-columns:1fr;}
}
@media(max-width:760px){
  .eorprev .container-main{padding:0 20px;}
  .eorprev .article-hero{padding:32px 0 28px;}
  .eorprev .section{padding:40px 0;}
  .eorprev .article-aside{flex-direction:column;}
  .eorprev .data-table{font-size:13px;}
  .eorprev .data-table th,.eorprev .data-table td{padding:11px 12px;}
}
@media(prefers-reduced-motion:reduce){.eorprev *{animation-duration:.01ms!important;transition-duration:.01ms!important;}}
