/* IGCSE360 | Pearson Edexcel International GCSE Business — yellow & black */
:root {--ed-yellow:#f4c430;--ed-yellow-soft:#fff7d8;--ed-black:#141517;--ed-charcoal:#25272a;--ed-ink:#1b1c1e;--ed-muted:#63676c;--ed-border:#e4e2d8;--ed-canvas:#f7f7f3}
html{scroll-behavior:smooth;scroll-padding-top:26px}
.edexcel-page [hidden]{display:none !important}
.edexcel-business-site{margin:0;background:var(--ed-canvas);color:var(--ed-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6}
.edexcel-business-site *{box-sizing:border-box}
.edexcel-business-site > header{background:var(--ed-black);color:#fff;border-bottom:4px solid var(--ed-yellow);padding:20px 18px;text-align:center}
.edexcel-business-site > header h1{color:#fff;font-size:clamp(1.15rem,2.7vw,1.65rem);line-height:1.3;margin:0;letter-spacing:.01em}
.edexcel-business-site .global-site-nav{position:relative;z-index:80}
.edexcel-business-site .subject-menu{z-index:999}
.edexcel-page{max-width:1170px;margin:0 auto;padding:26px 18px 70px}
.ed-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#555;font-size:.88rem;margin:0 0 20px;font-weight:650}
.ed-breadcrumbs a{color:#484848;text-decoration:none}
.ed-breadcrumbs a:hover{text-decoration:underline;color:#111}
.ed-breadcrumbs span[aria-hidden]{color:#888}
.ed-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#0d0e0f 0%,#1b1d1f 68%,#292921 100%);color:white;border-radius:22px;padding:clamp(26px,5vw,55px);border:1px solid #303030;box-shadow:0 18px 36px rgba(18,20,22,.15)}
.ed-hero:before{content:'';position:absolute;right:-94px;top:-130px;width:345px;height:345px;border-radius:50%;border:65px solid rgba(244,196,48,.13);z-index:-1}
.ed-hero:after{content:'';position:absolute;right:42px;bottom:-145px;width:230px;height:230px;background:var(--ed-yellow);transform:rotate(35deg);opacity:.12;z-index:-1}
.ed-eyebrow{display:inline-flex;align-items:center;gap:10px;background:rgba(244,196,48,.12);border:1px solid rgba(244,196,48,.42);border-radius:100px;padding:7px 13px;font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#ffe38c}
.ed-hero h2{font-size:clamp(2.15rem,4.8vw,4.25rem);letter-spacing:-.045em;line-height:1.08;margin:20px 0 16px;color:#fff;max-width:920px}
.ed-hero h2 span{color:var(--ed-yellow)}
.ed-hero p{color:#ebebeb;font-size:clamp(.97rem,1.9vw,1.12rem);max-width:790px;margin:0;line-height:1.65}
.ed-stats{display:flex;flex-wrap:wrap;gap:11px;margin-top:25px}
.ed-stat{display:flex;align-items:center;gap:10px;padding:9px 14px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:13px;color:#fff}
.ed-stat strong{font-size:1.12rem;color:var(--ed-yellow)}
.ed-stat span{font-size:.88rem;font-weight:700}
.ed-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.ed-tabs a{background:var(--ed-yellow);color:#171717;padding:9px 14px;border-radius:9px;text-decoration:none;font-weight:850;font-size:.91rem;transition:background .18s}
.ed-tabs a:hover,.ed-tabs a:focus-visible{background:#ffe17a;outline:2px solid transparent}
.ed-tabs a.ed-secondary{background:transparent;border:1px solid #888;color:#fff}
.ed-tabs a.ed-secondary:hover{border-color:var(--ed-yellow)}
.ed-panel{background:#fff;border:1px solid var(--ed-border);box-shadow:0 6px 18px rgba(20,20,20,.04);border-radius:18px;padding:clamp(20px,3vw,30px);margin-top:24px}
.ed-panel h2{font-size:clamp(1.38rem,2.5vw,1.9rem);line-height:1.3;letter-spacing:-.025em;color:var(--ed-black);margin:0 0 8px}
.ed-panel>p{color:var(--ed-muted);margin:0 0 20px}
.ed-jump{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 0}
.ed-jump a{color:#171717;background:#fafaf8;min-width:0;border:1px solid #deded9;display:flex;flex-direction:column;justify-content:space-between;gap:8px;border-radius:14px;padding:17px 15px;text-decoration:none;transition:transform .16s,border-color .16s,box-shadow .16s}
.ed-jump a:hover,.ed-jump a:focus-visible{transform:translateY(-3px);border-color:#b28a12;box-shadow:0 7px 18px rgba(0,0,0,.09)}
.ed-jump a b{color:#997000;font-size:.75rem;text-transform:uppercase;letter-spacing:.07em}
.ed-jump a strong{font-size:.96rem;line-height:1.35;color:#151515}
.ed-jump a small{color:#777;font-size:.79rem}
.ed-search-row{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin:27px 0 18px}
.ed-search-row h2{margin:0;font-size:clamp(1.45rem,3vw,2rem);color:var(--ed-black);letter-spacing:-.03em}
.ed-search-wrap{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #cecdc6;border-radius:12px;padding:0 13px;max-width:100%;width:355px;min-height:48px}
.ed-search-wrap:focus-within{outline:3px solid rgba(244,196,48,.33);border-color:#bd9b30}
.ed-search-wrap svg{flex:none;stroke:#777}
.ed-search-wrap input{color:#111;font:inherit;font-size:.94rem;width:100%;outline:none;border:0;background:transparent;min-width:0;padding:11px 0}
.ed-results{font-size:.86rem;color:#606060;font-weight:650;margin:-8px 0 20px}
.ed-unit{margin:26px 0 34px;scroll-margin-top:25px}
.ed-unit-head{background:#1c1d1e;border-radius:17px 17px 0 0;border-top:5px solid var(--ed-yellow);padding:22px 24px;color:#fff;display:flex;justify-content:space-between;gap:24px;align-items:center}
.ed-unit-head h3{font-size:clamp(1.25rem,2.5vw,1.8rem);line-height:1.22;margin:3px 0 5px;color:white;letter-spacing:-.025em}
.ed-unit-head p{margin:0;color:#dedede;font-size:.93rem}
.ed-unit-head .ed-small{font-size:.72rem;color:#f8d768;font-weight:850;letter-spacing:.11em}
.ed-unit-count{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right;flex:none}
.ed-unit-count strong{font-size:1.65rem;color:var(--ed-yellow);line-height:1.1}
.ed-unit-count span{color:#f2f2f2;font-size:.77rem}
.ed-chapters{margin:0;padding:20px;background:#fff;border:1px solid var(--ed-border);border-top:0;border-radius:0 0 17px 17px;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ed-chapter{min-width:0;display:flex;align-items:flex-start;gap:14px;border:1px solid #e3e2dc;border-radius:13px;background:#fcfcfa;padding:16px;transition:border-color .16s}
.ed-chapter:hover{border-color:#dfc276}
.ed-num{display:flex;justify-content:center;align-items:center;background:#ffe9a5;color:#382e16;font-size:1rem;font-weight:900;min-width:39px;width:39px;height:39px;border-radius:9px}
.ed-chapter-content{flex:1;min-width:0}
.ed-chapter h4{margin:0;color:#171717;line-height:1.4;font-size:.99rem;font-weight:800}
.ed-chapter-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px;font-size:.78rem;color:#636363}
.ed-chapter-meta .ed-book-page{color:#484848}
.ed-chapter-meta .ed-dot{color:#aaa}
.ed-coming{display:inline-flex;align-items:center;border:1px solid #e9e3d3;background:#f6f3eb;border-radius:999px;padding:2px 8px;color:#695321;font-size:.72rem;font-weight:750}
.ed-empty{display:none;background:#fff7da;border:1px solid #edcd6e;border-radius:12px;padding:17px 20px;margin:16px 0;color:#4d390a}
.ed-empty[data-visible="true"]{display:block}
.ed-notice{border-left:5px solid #c69722;background:#fff9e7;border-radius:10px;padding:16px 19px;margin:22px 0;font-size:.94rem;color:#4c442b}
.ed-notice strong{color:#171717}
.ed-exams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.ed-exam-card{background:#fff;border:1px solid #ddd;border-radius:12px;padding:18px}
.ed-exam-card .ed-exam-label{color:#977321;font-size:.78rem;letter-spacing:.08em;font-weight:850;text-transform:uppercase}
.ed-exam-card h3{font-size:1.05rem;line-height:1.4;margin:8px 0;color:#171717}
.ed-exam-card p{margin:0;color:#686868;font-size:.9rem}
.ed-related{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 0}
.ed-related a{padding:10px 15px;border:1px solid #d6d6d2;border-radius:10px;color:#1c1c1c;background:#fff;text-decoration:none;font-weight:800;font-size:.9rem}
.ed-related a:hover,.ed-related a:focus-visible{border-color:#ba910c;background:#fffae9}
.ed-source{margin-top:20px;font-size:.82rem;color:#666;line-height:1.65}
.ed-player{padding:14px 0 0;min-height:0}
@media(max-width:1000px){.ed-jump{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.edexcel-page{padding:17px 12px 46px}.ed-hero{border-radius:17px}.ed-jump{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-chapters{grid-template-columns:1fr;padding:13px;gap:10px}.ed-unit-head{padding:18px 16px}.ed-exams{grid-template-columns:1fr}.ed-search-wrap{width:100%}.ed-stat{padding:8px 10px}.ed-stat span{font-size:.82rem}}
@media(max-width:460px){.ed-jump{grid-template-columns:1fr}.ed-jump a{gap:4px}.ed-unit-count strong{font-size:1.35rem}.ed-unit-count span{font-size:.7rem}.ed-unit-head{gap:12px}.ed-hero h2{font-size:2.1rem}.ed-stats{gap:7px}.ed-chapter{padding:13px;gap:10px}.ed-num{min-width:34px;width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ed-jump a{transition:none}}


/* 2026-11-03 | Edexcel 45-chapter shared header: logo left, current lesson title right. */
.edexcel-business-site > header.ed-course-header {
  display:flex!important; flex-wrap:nowrap; align-items:center!important;
  justify-content:space-between!important; gap:clamp(12px,3vw,35px);
  min-height:92px; padding:15px clamp(14px,3.5vw,40px)!important;
  background-color:#141517!important; background-image:none!important;
  border-bottom:4px solid #f4c430; text-align:left!important;
}
.edexcel-business-site .ed-course-logo {
  display:flex; align-items:center; flex:0 0 auto; max-width:35%;
  text-decoration:none; border-radius:8px; outline-offset:4px;
}
.edexcel-business-site .ed-course-logo img {
  display:block; width:clamp(150px,20vw,220px); height:auto; max-width:100%;
  max-height:72px; object-fit:contain; border-radius:7px;
}
.edexcel-business-site > header.ed-course-header .ed-course-title {
  display:block; flex:1 1 auto; min-width:0; margin:0!important;
  max-width:820px!important; color:#fff!important;
  font-size:clamp(1.08rem,2.15vw,1.65rem)!important; line-height:1.3;
  font-weight:800; text-align:right!important;
  letter-spacing:.005em; overflow-wrap:anywhere; word-break:normal;
}
@media(max-width:600px) {
  .edexcel-business-site > header.ed-course-header{min-height:77px;gap:10px;padding:12px 11px!important}
  .edexcel-business-site .ed-course-logo{max-width:42%}
  .edexcel-business-site .ed-course-logo img{width:clamp(110px,34vw,175px);max-height:58px}
  .edexcel-business-site > header.ed-course-header .ed-course-title{font-size:clamp(.89rem,3.35vw,1.1rem)!important;line-height:1.34}
}
/* Keep chapter prev / index / next controls centred at top and bottom. */
.edexcel-business-site nav.ed-lesson-nav{justify-content:center!important;text-align:center;}
