/* Single Past Paper dashboard — scoped to .evpd-page; global tokens and universal evx-mcq cards */
.evpd-page{background:#f5f8fe;color:var(--navy,#0b2145);padding-bottom:44px}.evpd-page *{box-sizing:border-box}.evpd-page .ev-container{max-width:1200px;margin-inline:auto;padding-inline:20px}.evpd-hero{background:linear-gradient(110deg,rgba(7,40,79,.97),rgba(9,49,93,.85)),linear-gradient(125deg,#123f73,#0a2851);color:white;padding:42px 0 45px}.evpd-hero__inner{position:relative;min-height:140px}.evpd-hero h1{font-size:35px;color:white;line-height:1.2;margin:0 0 10px;font-weight:800}.evpd-hero p{color:#e5efff;font-size:16px;margin:0;max-width:660px}.evpd-stats{position:absolute;right:20px;top:55px;display:flex;gap:25px;padding:18px 22px;border:1px solid #ffffff65;border-radius:12px;background:#092d5999;text-align:center}.evpd-stats div{display:flex;flex-direction:column;gap:4px}.evpd-stats strong{font-size:23px;color:white}.evpd-stats small{font-size:12px;color:#e3eeff}.evpd-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:16px;padding-top:26px;align-items:start}.evpd-main,.evpd-sidebar{min-width:0}.evpd-panel{background:#fff;border:1px solid #dce5f3;border-radius:15px;padding:20px;box-shadow:0 3px 14px #102e5210;margin-bottom:15px}.evpd-overview__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.evpd-pill{display:inline-block;padding:6px 14px;background:#0751d5;color:#fff;border-radius:24px;font-size:13px;font-weight:700}.evpd-overview h2{font-size:29px;line-height:1.25;margin:12px 0 10px;color:#071b3d}.evpd-overview p{font-size:15px;line-height:1.7;color:#344b6e;margin:0}.evpd-actions{display:grid;gap:10px;min-width:195px}.evpd-btn{border:1px solid #0751d5;background:#fff;color:#0751d5;border-radius:10px;padding:12px 16px;font-weight:700;font-size:14px;text-align:center;cursor:pointer;text-decoration:none;display:inline-block}.evpd-btn--primary{background:#0751d5;color:#fff}.evpd-btn:hover{filter:brightness(.95)}.evpd-meta{display:flex;flex-wrap:wrap;gap:12px 22px;margin:22px 0;color:#344b6e;font-size:13px}.evpd-meta b{color:#0751d5}.evpd-included{background:#eaf2ff;border-radius:11px;padding:18px;margin-top:8px}.evpd-included h3{font-size:17px;margin:0 0 6px;color:#08234a}.evpd-included p{font-size:13px;margin-bottom:12px}.evpd-setlinks{display:flex;flex-wrap:wrap;gap:10px}.evpd-setlinks a{padding:8px 12px;background:white;border:1px solid #bdd1f3;border-radius:9px;color:#0751d5;font-size:13px;font-weight:700;text-decoration:none}.evpd-section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.evpd-section-title h2{margin:0;font-size:21px;color:#0b2145}.evpd-section-title span{font-size:13px;color:#526681}.evpd-questions .evx-mcqs{display:grid;gap:16px}.evpd-btn--load{display:block;margin:22px auto 0}.evpd-sidebar .evpd-panel{padding:20px}.evpd-sidebar h2{font-size:19px;margin:0 0 18px;color:#0b2145}.evpd-sidepaper{display:flex;align-items:center;gap:12px;text-decoration:none;padding:12px 0;color:#10294e}.evpd-sidepaper>span:first-child{background:#eaf2ff;color:#0751d5;border-radius:10px;padding:10px;font-size:23px}.evpd-sidepaper strong{display:block;font-size:14px}.evpd-sidepaper small{display:block;color:#6b7c96;margin-top:4px;font-size:12px}.evpd-viewall{display:block;text-align:center;margin-top:14px;color:#0751d5;font-weight:700;font-size:13px}.evpd-quick{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #dce5f3;text-decoration:none;color:#10294e;font-size:14px}.evpd-quick:last-child{border:0}.evpd-quick span{color:#0751d5;font-size:22px}.evpd-cta{background:#dbeafe;border-radius:14px;text-align:center;padding:30px 20px}.evpd-trophy{font-size:46px}.evpd-cta h2{font-size:17px;margin:12px 0}.evpd-cta p{font-size:14px;line-height:1.6}.evpd-cta a{display:block;background:#063a94;color:white;padding:13px;border-radius:10px;text-decoration:none;font-weight:700}.evpd-more{padding-top:22px}.evpd-more .evpd-section-title a{font-size:13px;color:#0751d5}.evpd-moregrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.evpd-moregrid a{display:flex;flex-direction:column;gap:10px;background:white;border:1px solid #dce5f3;border-radius:12px;padding:18px;text-decoration:none;color:#10294e}.evpd-moregrid a>span{font-size:27px;color:#0751d5}.evpd-moregrid strong{font-size:14px}.evpd-moregrid small{color:#697c99}.evpd-mcq[hidden]{display:none!important}@media(max-width:980px){.evpd-stats{position:static;width:max-content;margin-top:20px}.evpd-layout{grid-template-columns:minmax(0,1fr) 260px}.evpd-moregrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.evpd-layout{display:block}.evpd-sidebar{margin-top:20px}.evpd-overview__heading{flex-direction:column}.evpd-actions{width:100%;grid-template-columns:1fr 1fr}.evpd-hero{padding:30px 0}.evpd-stats{width:100%;justify-content:space-around;gap:10px}}@media(max-width:520px){.evpd-page .ev-container{padding-inline:14px}.evpd-panel{padding:15px}.evpd-actions{grid-template-columns:1fr}.evpd-moregrid{grid-template-columns:1fr}.evpd-hero h1{font-size:29px}.evpd-stats{padding:13px 8px}.evpd-stats strong{font-size:18px}}@media print{.evpd-sidebar,.evpd-actions,.evpd-more,.evpd-btn--load{display:none!important}.evpd-layout{display:block}.evpd-mcq[hidden]{display:block!important}}

/* Single-paper full-width canvas: GeneratePress must not constrain or float this template. */
body.single-past_paper #page, body.single-past_paper .site.grid-container {max-width:none!important;width:100%!important;margin:0!important;padding:0!important;}
body.single-past_paper #content.site-content {display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;}
body.single-past_paper #primary.content-area {float:none!important;width:100%!important;margin:0!important;}
body.single-past_paper .evpd-page {width:100%;max-width:none;clear:both;}
body.single-past_paper .evpd-page .ev-container {width:100%;max-width:1200px;margin-left:auto!important;margin-right:auto!important;padding-left:20px;padding-right:20px;}
/* Respect the canonical MCQ card appearance: no duplicate sizing, backgrounds or shadows. */

.evpd-questions .evx-mcq-opt,



/* Four answers per row at desktop, without breaking the universal card. */
@media(min-width:981px){}
@media(min-width:601px) and (max-width:980px){}
@media(max-width:600px){body.single-past_paper .evpd-page .ev-container{padding-left:14px;padding-right:14px;}}


/* Match archive-past_paper.php: the shared ev-mcq-card.css owns card styling. */
.evpd-questions .evx-mcq-opts { grid-template-columns: minmax(0,1fr); }
.evpd-questions .evx-mcq__q a { color: inherit; text-decoration: none; }

/* Hero paper illustration and simplified single-stat layout. */
.evpd-hero{overflow:hidden}
.evpd-hero__inner{position:relative;min-height:235px;padding-right:330px}
.evpd-hero .evpd-stats{position:static;display:inline-flex;width:auto;margin-top:20px;padding:10px 20px;gap:0;align-items:center}
.evpd-hero .evpd-stats strong{font-size:23px}
.evpd-hero-art{position:absolute;right:32px;top:16px;width:250px;height:220px;pointer-events:none;transform:rotate(3deg)}
.evpd-art-sheet{position:absolute;width:184px;height:205px;border-radius:12px;background:#fff;box-shadow:0 16px 36px #00132b55}
.evpd-art-sheet--back{right:18px;top:9px;transform:rotate(11deg);background:#d7e8ff}
.evpd-art-sheet--front{right:43px;top:0;padding:19px 17px;transform:rotate(-5deg)}
.evpd-art-label{font-weight:900;letter-spacing:1.5px;font-size:12px;color:#0c3566;text-align:center}
.evpd-art-rule{height:3px;border-radius:3px;background:#f3a536;margin:11px 0 15px}
.evpd-art-question{height:6px;background:#c9d8ea;border-radius:4px;margin:10px 0;width:100%}
.evpd-art-question--short{width:70%}
.evpd-art-choices{display:flex;justify-content:space-between;gap:6px;margin:15px 0}
.evpd-art-choices span{display:grid;place-items:center;border:1px solid #a7bfdc;color:#446287;border-radius:50%;width:27px;height:27px;font-size:11px;font-weight:800}
.evpd-art-choices .evpd-art-choice--selected{background:#0eaa78;border-color:#0eaa78;color:#fff}
.evpd-art-check{position:absolute;right:5px;bottom:2px;width:54px;height:54px;border-radius:50%;background:#f7b33c;color:#0d2d56;display:grid;place-items:center;font-size:32px;font-weight:900;box-shadow:0 9px 20px #00152a55}
@media(max-width:760px){.evpd-hero__inner{padding-right:20px;min-height:0}.evpd-hero-art{right:12px;top:45px;opacity:.2;transform:scale(.8) rotate(3deg);transform-origin:top right}.evpd-hero .evpd-stats{width:auto;justify-content:flex-start;position:relative;z-index:1}}
@media(max-width:520px){.evpd-hero-art{opacity:.12;right:-60px}.evpd-hero .evpd-stats{padding:9px 16px}}

/* Single Past Paper breadcrumb: independent of the MCQ breadcrumb and hero. */







@media(max-width:600px){}

/* Responsive Past Paper hero: readable heading, no artwork/title overlap. */
body.single-past_paper .evpd-hero{padding:44px 0;background:linear-gradient(110deg,#09294c,#0c3765)}
body.single-past_paper .evpd-hero__inner{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:36px;min-height:0;padding-right:20px}
body.single-past_paper .evpd-hero-copy{min-width:0;position:relative;z-index:2}
body.single-past_paper .evpd-hero-eyebrow{display:inline-block;color:#bbf5ee;font-size:12px;font-weight:750;letter-spacing:.07em;text-transform:uppercase;margin-bottom:11px}
body.single-past_paper .evpd-hero h1{max-width:840px;margin:0 0 13px;font-size:clamp(26px,2.5vw,38px);line-height:1.19;overflow-wrap:break-word;letter-spacing:-.018em}
body.single-past_paper .evpd-hero p{max-width:780px;line-height:1.55;font-size:clamp(13px,1.2vw,16px);color:#dcecf7}
body.single-past_paper .evpd-hero .evpd-stats{grid-column:1;grid-row:2;margin-top:0;padding:10px 16px;justify-self:start}
body.single-past_paper .evpd-hero-art{grid-column:2;grid-row:1 / span 2;position:relative;right:auto;top:auto;width:220px;height:215px;opacity:.9;transform:none;justify-self:center}

@media(max-width:980px){
body.single-past_paper .evpd-hero__inner{grid-template-columns:minmax(0,1fr) 150px;gap:20px}
body.single-past_paper .evpd-hero-art{width:140px;height:165px;transform:scale(.72);transform-origin:center center}
}
@media(max-width:700px){
body.single-past_paper .evpd-hero{padding:26px 0 28px}
body.single-past_paper .evpd-hero__inner{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding-right:14px}
body.single-past_paper .evpd-hero-art{display:none}
body.single-past_paper .evpd-hero h1{font-size:clamp(23px,5.4vw,30px);line-height:1.25}
body.single-past_paper .evpd-hero p{font-size:13px}
body.single-past_paper .evpd-hero .evpd-stats{margin-top:0;padding:9px 14px}

}
@media(max-width:390px){body.single-past_paper .evpd-hero h1{font-size:22px}}

/* Past-paper hero: overview and PDF action live alongside the title. */
body.single-past_paper .evpd-hero{padding:clamp(24px,3vw,38px) 0;overflow:visible}
body.single-past_paper .evpd-hero__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,350px);align-items:center;gap:clamp(18px,3vw,38px);padding-right:20px;min-height:0}
body.single-past_paper .evpd-hero-copy{min-width:0}
body.single-past_paper .evpd-hero h1{color:#fff;font-size:clamp(25px,2.7vw,38px);overflow-wrap:anywhere}
body.single-past_paper .evpd-hero-facts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
body.single-past_paper .evpd-hero-facts span{display:inline-flex;align-items:center;gap:5px;padding:7px 11px;color:#eaf5ff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.19);border-radius:999px;font-size:12px;line-height:1.3}
body.single-past_paper .evpd-hero-facts strong{color:#fff;font-weight:800}
body.single-past_paper .evpd-hero-overview{min-width:0;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.24);border-radius:16px;padding:clamp(16px,2vw,23px);box-shadow:0 12px 30px rgba(2,21,46,.14)}
body.single-past_paper .evpd-hero-overview__label{display:block;color:#bcece8;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
body.single-past_paper .evpd-hero-overview h2{font-size:clamp(18px,1.75vw,22px);line-height:1.25;color:#fff;margin:0 0 9px;font-weight:800}
body.single-past_paper .evpd-hero-overview p{margin:0;color:#e4efff;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
body.single-past_paper .evpd-hero-overview__details{display:flex;flex-wrap:wrap;gap:7px 14px;padding-top:12px;margin-top:12px;border-top:1px solid rgba(255,255,255,.2)}
body.single-past_paper .evpd-hero-overview__details span{display:flex;flex-wrap:wrap;gap:5px;color:#d8e9ff;font-size:12px;line-height:1.5;min-width:0}
body.single-past_paper .evpd-hero-overview__details strong{color:#fff;overflow-wrap:anywhere}
body.single-past_paper .evpd-hero-download{display:block;width:100%;margin-top:15px;padding:12px 14px;border:1px solid #f6c457;border-radius:10px;background:#f6c457;color:#102747;font-size:14px;font-weight:800;line-height:1.4;text-align:center;text-decoration:none}
body.single-past_paper .evpd-hero-download:hover,body.single-past_paper .evpd-hero-download:focus-visible{background:#ffdc88;color:#102747;border-color:#ffdc88}
body.single-past_paper .evpd-hero-overview__unavailable{display:block;margin-top:12px;color:#dceaff;font-size:12px}
body.single-past_paper .evpd-overview.evpd-panel{padding:15px 19px}
body.single-past_paper .evpd-overview .evpd-meta{margin:0}

/* Analysis: five subject cards per full-width row, with responsive reflow. */
body.single-past_paper .ev-paper-insights{min-width:0;background:#fff;border:1px solid #dce5f3;border-radius:15px;padding:clamp(16px,2.2vw,24px);box-shadow:0 3px 14px rgba(16,46,82,.06);margin-bottom:15px}
body.single-past_paper .ev-paper-insights h2{margin:0 0 7px;color:#0b2145;font-size:clamp(19px,2vw,23px);line-height:1.3}
body.single-past_paper .ev-paper-insights>p{margin:0 0 18px;color:#586d88;font-size:13px}
body.single-past_paper .ev-paper-insights h3{margin:19px 0 11px;color:#17395d;font-size:16px;line-height:1.35}
body.single-past_paper .ev-paper-insights-grid,body.single-past_paper .ev-paper-difficulty-grid{list-style:none;display:grid;padding:0;margin:0;gap:10px;min-width:0}
body.single-past_paper .ev-paper-insights-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
body.single-past_paper .ev-paper-insights-subject{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:83px;padding:12px 8px;background:#f3f7fe;border:1px solid #dce7f7;border-radius:11px;text-align:center}
body.single-past_paper .ev-paper-insights-subject span{color:#28476c;font-size:12px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
body.single-past_paper .ev-paper-insights-subject strong{color:#0751b7;font-size:18px;font-weight:800;line-height:1.15}
body.single-past_paper .ev-paper-difficulty-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body.single-past_paper .ev-paper-difficulty-card{min-width:0;padding:13px;background:#f8faff;border:1px solid #e1e9f6;border-radius:11px}
body.single-past_paper .ev-paper-difficulty-card__top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px 9px;color:#264465;font-size:13px;font-weight:700}
body.single-past_paper .ev-paper-difficulty-card__top strong{font-size:19px;color:#123b72;font-weight:800}
body.single-past_paper .ev-paper-difficulty-card__top small{color:#657c97;font-size:11px;font-weight:600}
body.single-past_paper .ev-paper-difficulty-card meter{display:block;width:100%;height:11px;margin-top:12px;accent-color:#1463bf}
body.single-past_paper .ev-paper-difficulty-card--easy meter{accent-color:#138b68}
body.single-past_paper .ev-paper-difficulty-card--hard meter{accent-color:#cf7343}
body.single-past_paper .ev-paper-difficulty-card--unclassified meter{accent-color:#8796ab}

@media(max-width:1000px){
 body.single-past_paper .evpd-hero__inner{grid-template-columns:minmax(0,1fr) minmax(255px,320px);gap:20px}
 body.single-past_paper .ev-paper-insights-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.single-past_paper .ev-paper-difficulty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 body.single-past_paper .evpd-hero__inner{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:17px;padding-right:14px}
 body.single-past_paper .evpd-hero{padding:25px 0 28px}
 body.single-past_paper .evpd-hero-overview{padding:17px}
 body.single-past_paper .evpd-hero-overview p{max-width:none}
 body.single-past_paper .evpd-overview.evpd-panel{padding:14px}
}
@media(max-width:560px){
 body.single-past_paper .ev-paper-insights-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.single-past_paper .ev-paper-insights-subject{min-height:76px;padding:10px 7px}
 body.single-past_paper .ev-paper-difficulty-grid{gap:8px}
 body.single-past_paper .ev-paper-difficulty-card{padding:11px}
 body.single-past_paper .ev-paper-difficulty-card__top{display:block}
 body.single-past_paper .ev-paper-difficulty-card__top strong{display:block;margin-top:4px}
}
