/* Pearson Edexcel IGCSE Business chapter pages - yellow/black, readable and accessible */
html{scroll-behavior:smooth;scroll-padding-top:22px}
.edexcel-page.ed-chapter-page{max-width:1120px;padding-bottom:66px}
.ed-chapter-page p{line-height:1.77}
.ed-chapter-page a:focus-visible,.ed-chapter-page button:focus-visible,.ed-chapter-page summary:focus-visible{outline:3px solid #ad7800;outline-offset:4px}
.ed-lesson-nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 18px}
.ed-nav-btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:9px 14px;border-radius:10px;background:#fff;border:1px solid #c7c5bd;color:#1b1b1b!important;text-decoration:none;font-size:.88rem;font-weight:800;box-shadow:0 2px 4px rgba(0,0,0,.025)}
.ed-nav-btn:hover{background:#fff8dc;border-color:#bb900f}
.ed-nav-btn.primary{background:#f4c430;color:#171717!important;border-color:#f4c430}.ed-nav-btn.primary:hover{background:#ffdc6b}
.ed-nav-btn.disabled{background:#f3f2ee;color:#777!important;border-color:#dedbd1;cursor:not-allowed;box-shadow:none}
.ed-lesson-head{border-radius:21px;overflow:hidden;background:radial-gradient(circle at 92% 18%,#46402a 0,#242424 38%,#101112 100%);padding:clamp(24px,5vw,49px);color:#fff;border-bottom:6px solid #eebd24;position:relative}
.ed-lesson-head .overline{color:#ffdd72;text-transform:uppercase;letter-spacing:.09em;font-size:.79rem;font-weight:900}
.ed-lesson-head h1{font-size:clamp(2rem,5vw,3.65rem);color:#fff;line-height:1.09;margin:15px 0 12px;letter-spacing:-.045em}
.ed-lesson-head h1 span{color:#f4c430}
.ed-lesson-head p{color:#e8e8e8;font-size:1.02rem;max-width:730px;margin:0 0 18px}
.ed-lesson-meta{display:flex;flex-wrap:wrap;gap:9px}.ed-lesson-meta span{color:#ffe5a4;border:1px solid rgba(244,196,48,.34);background:rgba(244,196,48,.1);padding:5px 11px;border-radius:100px;font-size:.78rem;font-weight:800}
.ed-objectives{border-left:5px solid #efc035;background:#fff9e8;padding:19px 23px;margin:22px 0;border-radius:0 14px 14px 0}
.ed-objectives h2{margin:0 0 8px;font-size:1.22rem;color:#151515}
.ed-objectives ul{margin:7px 0 0;padding-left:22px}.ed-objectives li{margin:5px 0}
.ed-subtopic-nav{margin:23px 0;border:1px solid #e6dfc7;background:#fff;border-radius:16px;padding:20px 21px}
.ed-subtopic-nav h2{margin:0 0 6px;color:#191919;font-size:1.27rem}
.ed-subtopic-nav p{margin:0 0 12px;color:#666;font-size:.91rem}
.ed-subtopic-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.ed-subtopic-links a{border:1px solid #e4dfd0;border-radius:10px;background:#fffbf0;text-decoration:none;color:#1f1e1a;display:flex;align-items:center;gap:10px;font-weight:750;font-size:.89rem;line-height:1.3;padding:11px;min-width:0}
.ed-subtopic-links a:hover{background:#ffecae;border-color:#d9af34}
.ed-subtopic-links .num{display:grid;place-items:center;background:#272729;color:#f4c430;border-radius:7px;min-width:26px;height:26px;font-size:.75rem}
.ed-lesson{max-width:100%;min-width:0}
.ed-topic{background:#fff;border:1px solid #e2e2dc;border-radius:18px;padding:clamp(20px,3.5vw,33px);margin:23px 0;scroll-margin-top:24px;box-shadow:0 5px 15px rgba(0,0,0,.035)}
.ed-topic h2{display:flex;align-items:center;gap:12px;color:#161718;margin:0 0 16px;font-size:clamp(1.32rem,2.7vw,1.82rem);line-height:1.3;letter-spacing:-.024em}
.ed-topic h2:before{content:'';width:6px;min-width:6px;height:27px;border-radius:4px;background:#f4c430}
.ed-topic h3{font-size:1.12rem;margin:23px 0 9px;color:#262522}
.ed-topic p{margin:10px 0 15px;font-size:1rem}
.ed-topic ul,.ed-topic ol{padding-left:23px;margin:12px 0 17px}.ed-topic li{margin:7px 0;line-height:1.7}
.ed-def{background:#fff7dc;border-left:4px solid #d5a315;color:#25221c;padding:13px 16px;border-radius:0 10px 10px 0;margin:18px 0;font-size:.96rem}
.ed-def strong{color:#151515}
.ed-example{background:#f4f4f0;border:1px solid #e5e5dc;border-radius:12px;padding:16px 19px;margin:18px 0}
.ed-example .label{display:inline-block;text-transform:uppercase;font-size:.71rem;letter-spacing:.09em;font-weight:900;color:#876100;margin-bottom:5px}
.ed-example p{margin:0;font-size:.95rem}
.ed-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:17px 0}
.ed-compare>div{min-width:0;border:1px solid #e5e1d5;border-radius:12px;padding:16px;background:#fefdf9}
.ed-compare h3{margin:0 0 6px;font-size:1.02rem}.ed-compare p{margin:0;font-size:.94rem}
.ed-table-scroll{overflow-x:auto;margin:20px 0;border-radius:11px;border:1px solid #e3e0d4}
.ed-lesson-table{width:100%;border-collapse:collapse;min-width:440px;font-size:.94rem}
.ed-lesson-table th{text-align:left;background:#282829;color:#fff;padding:12px}.ed-lesson-table td{padding:12px;border-top:1px solid #e3e0d4;vertical-align:top}.ed-lesson-table tr:nth-child(even) td{background:#fffaf0}
.ed-figure{background:#fff;border:1px solid #e4e0d5;border-radius:14px;padding:15px;max-width:675px;margin:20px auto}
.ed-figure img{display:block;max-width:100%;height:auto;margin:auto;object-fit:contain}
.ed-figure figcaption{color:#6c6b66;font-size:.8rem;line-height:1.5;text-align:center;margin-top:11px}
.ed-check{background:#1e1f20;color:#f7f7f7;border-radius:18px;padding:clamp(20px,3.5vw,30px);margin:28px 0;border:1px solid #353535}
.ed-check h2{color:#f5c637;margin:0 0 8px;font-size:1.48rem}.ed-check>p{margin:0 0 16px;color:#e6e6e6}
.ed-check .q{background:#2c2d2f;border:1px solid #444;border-radius:12px;padding:15px 17px;margin:11px 0}
.ed-check .q p{font-size:.97rem;line-height:1.58;margin:0 0 10px}
.ed-check .q .qnum{color:#f7d36e;font-size:.77rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.ed-check details{border-top:1px solid #505050;padding-top:9px}.ed-check summary{color:#ffdd83;font-weight:800;font-size:.88rem;cursor:pointer}
.ed-check .answer{font-size:.93rem;margin:8px 0 0;color:#f1f1ef;line-height:1.6}
.ed-lesson-end{margin:26px 0 20px;background:#fff7dc;border:1px solid #f0d685;border-radius:14px;padding:19px 22px}
.ed-lesson-end h2{font-size:1.25rem;margin:0 0 7px}.ed-lesson-end p{margin:0}
.ed-related-bottom{border-top:2px solid #dfd9c3;margin:25px 0;padding-top:20px}
.ed-small-source{font-size:.78rem;color:#656565;line-height:1.6;margin-top:18px}
.ed-chapter-page .ed-player{padding:8px 0 0}
@media(max-width:730px){.ed-subtopic-links{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-lesson-nav{gap:7px}.ed-nav-btn{padding:8px 11px;font-size:.82rem}.ed-compare{grid-template-columns:1fr}}
@media(max-width:460px){.ed-subtopic-links{grid-template-columns:1fr}.ed-lesson-head{border-radius:15px}.ed-topic{border-radius:13px}.ed-lesson-nav{gap:6px}.ed-nav-btn{min-height:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Chapter 2: compact jump links for original textbook subheadings */
.ed-jump-subheading{font-size:1rem;color:#242424;margin:17px 0 9px}
.ed-subtopic-chips{display:flex;gap:8px;flex-wrap:wrap}
.ed-subtopic-chips .ed-subchip{color:#222;text-decoration:none;font-size:.82rem;font-weight:750;border-radius:100px;border:1px solid #d9d2bf;background:#fff8e8;padding:7px 11px;line-height:1.35}
.ed-subtopic-chips .ed-subchip:hover{background:#ffe6a1;border-color:#cb9814}
.ed-topic h3[id]{scroll-margin-top:28px}
/* Override sitewide header/nav rules that otherwise turn the lesson hero into four narrow columns */
.edexcel-business-site header.ed-lesson-head{display:block;text-align:left;background-image:none;background-color:#181818;padding:clamp(24px,5vw,49px)}
.edexcel-business-site header.ed-lesson-head h1{margin:15px 0 12px;text-align:left;max-width:100%;overflow-wrap:normal;word-break:normal}
.edexcel-business-site nav.ed-lesson-nav{background:transparent;padding:0;border:0;align-items:center}
.edexcel-business-site nav.ed-subtopic-nav{background:#fff;border:1px solid #e6dfc7;padding:20px 21px}
@media(max-width:460px){.ed-subtopic-chips .ed-subchip{padding:8px 10px}}

/* 2026-11-03: centred top and bottom chapter navigation */
.edexcel-business-site nav.ed-lesson-nav{justify-content:center!important;}
