.ed-page { overflow-wrap:anywhere; }
.ed-hero { background:#eef1e9; padding:64px 0; }
.ed-hero h1 { max-width:880px; font-size:clamp(2rem,4vw,3.4rem); letter-spacing:-.045em; line-height:1.25; margin:14px 0 22px; color:#244437; }
.ed-hero p { max-width:780px; line-height:1.8; }
.ed-eyebrow { color:#8b5236; font-size:.8rem; letter-spacing:.14em; font-weight:800; }
.ed-lead { font-size:1.15rem; color:#40574a; }
.ed-note { color:#60685f; font-size:.9rem; margin:24px 0; }
.ed-filters,.ed-facts { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0; }
.ed-filters button { font:inherit; border:1px solid #d6dcd1; border-radius:30px; padding:11px 19px; background:white; color:#304d3c; cursor:pointer; }
.ed-filters button[aria-pressed=true] { background:#304d3c; color:white; border-color:#304d3c; }
.ed-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.ed-course { display:flex; flex-direction:column; color:inherit; text-decoration:none; background:white; border:1px solid #e2e5dc; border-radius:18px; overflow:hidden; transition:box-shadow .25s,transform .25s; min-width:0; }
.ed-course[hidden] { display:none; }
.ed-course:hover { transform:translateY(-3px); box-shadow:0 10px 28px #203e3518; color:inherit; text-decoration:none; }
.ed-image { position:relative; background:#f4f3ef; min-width:0; aspect-ratio:16/10; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:14px; }
.ed-course .ed-image { border-radius:0; aspect-ratio:4/3; }
/* Course cards: fill the 4:3 frame, centred, at the card's width. Detail pages keep contain. */
.ed-course .ed-image img { object-fit:cover; object-position:center; }
.ed-image img { display:block; width:100%; height:100%; object-fit:contain; }
.ed-image-error { padding:24px; color:#5f665c; text-align:center; }
.ed-course__body { padding:24px; display:flex; flex-direction:column; flex:1; }
.ed-course h3 { margin:12px 0; color:#244437; font-size:1.25rem; line-height:1.5; }
.ed-course p { color:#5f665c; line-height:1.7; margin:0 0 22px; }
.ed-course dl { display:grid; grid-template-columns:auto 1fr; gap:8px 12px; font-size:.85rem; margin-top:auto; line-height:1.6; }
.ed-course dd { margin:0; }
.ed-category { color:#995539; font-size:.82rem; font-weight:700; }
.ed-status { display:inline-block; align-self:flex-start; padding:7px 10px; border-radius:8px; color:#43583f; background:#edf2e9; font-size:.82rem; }
.ed-detail-hero { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:48px; align-items:center; }
.ed-detail-hero h1 { font-size:clamp(2rem,3.2vw,2.9rem); }
.ed-facts { align-items:center; font-size:.85rem; }
.ed-curriculum { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:0; padding:0; list-style:none; }
.ed-curriculum > li { display:flex; gap:18px; padding:24px; background:white; border:1px solid #e2e5dc; border-radius:14px; }
.ed-step { color:#bd583a; font-weight:800; font-size:1.25rem; }
.ed-curriculum h3 { margin:0 0 10px; font-size:1.1rem; }
.ed-curriculum p,.ed-curriculum small { color:#687063; line-height:1.6; }
.ed-outcome { padding-top:36px; padding-bottom:36px; }
.ed-outcome h3 { font-size:1.65rem; color:#304d3c; }
.ed-footer-cta .wk-btn,.ed-page #course-sessions .wk-btn { margin:12px 10px 12px 0; }
.ed-page a:focus-visible,.ed-page button:focus-visible { outline:3px solid #dc7448; outline-offset:4px; }
@media(max-width:1024px) { .ed-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ed-detail-hero { gap:24px; } }
@media(max-width:650px) { .ed-grid,.ed-detail-hero,.ed-curriculum { grid-template-columns:minmax(0,1fr); } .ed-hero { padding:40px 0; } .ed-course__body { padding:20px; } .ed-filters button { padding:10px 14px; } }
@media(prefers-reduced-motion:reduce) { .ed-course { transition:none; } }
.ed-image img[hidden] { display:none; }
.ed-image-pending { padding:24px; color:#5f665c; font-size:.9rem; text-align:center; }
.ed-level { display:inline-block; align-self:flex-start; margin-top:8px; padding:4px 10px; border-radius:20px; font-size:.78rem; font-weight:700; color:#304d3c; background:#e3ebdf; }
.ed-level--intermediate { color:#7a4a1f; background:#f6e8d6; }
.ed-level--advanced { color:white; background:#304d3c; }
.ed-tags { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 18px; padding:0; list-style:none; }
.ed-tags li { padding:3px 9px; border:1px solid #d6dcd1; border-radius:6px; font-size:.78rem; color:#40574a; }
.ed-curriculum ul { margin:0 0 10px; padding-left:18px; color:#4f5a4c; line-height:1.7; }
.ed-package { display:grid; grid-template-columns:minmax(0,max-content) minmax(0,1fr); gap:12px 24px; margin:0; padding:24px; background:white; border:1px solid #e2e5dc; border-radius:14px; }
.ed-package dt { font-weight:700; color:#304d3c; }
.ed-package dd { margin:0; color:#5f665c; }
.ed-page #course-sessions button[disabled] { cursor:not-allowed; opacity:.6; }
@media(max-width:650px) { .ed-package { grid-template-columns:minmax(0,1fr); gap:4px; } .ed-package dd { margin-bottom:10px; } }
.ed-description { margin-top:12px; white-space:pre-line; }
.ed-step-label { margin:8px 0 4px; font-weight:700; color:#40574a; }
.ed-discount { margin:-10px 0 14px !important; color:#995539 !important; font-size:.85rem; font-weight:700; }
.ed-status--open { color:#fff; background:#304d3c; }
.ed-status--closed { color:#7a4a1f; background:#f6e8d6; }
.ed-timeline { list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.ed-timeline > li { display:grid; grid-template-columns:minmax(0,120px) minmax(0,1fr); gap:18px; padding:20px; background:white; border:1px solid #e2e5dc; border-radius:14px; }
.ed-time { color:#bd583a; font-weight:800; }
.ed-timeline h3 { margin:0 0 6px; font-size:1.05rem; }
.ed-timeline ul { margin:0; padding-left:18px; color:#4f5a4c; line-height:1.7; }
.ed-notices { margin-top:18px; }
.ed-sessions { list-style:none; margin:0 0 18px; padding:0; display:grid; gap:10px; }
.ed-sessions li { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding:16px 20px; background:white; border:1px solid #e2e5dc; border-radius:14px; }
.ed-sessions li div { display:flex; flex-direction:column; gap:4px; min-width:0; }
.ed-sessions span { color:#5f665c; font-size:.88rem; }
@media(max-width:650px) { .ed-timeline > li { grid-template-columns:minmax(0,1fr); gap:6px; } }
/* Class booking and pre-payment summary */
.eb-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:20px; align-items:start; }
.eb-steps { display:grid; gap:16px; min-width:0; }
.eb-card { background:white; border:1px solid #e2e5dc; border-radius:16px; padding:22px; min-width:0; }
.eb-card h2 { font-size:1.15rem; margin:0 0 14px; color:#244437; }
.eb-summary { position:sticky; top:96px; }
.eb-field { display:flex; flex-direction:column; gap:6px; font-size:.9rem; font-weight:600; margin-top:12px; min-width:0; }
.eb-field select, .eb-field input { font:inherit; padding:10px 12px; border:1px solid #d6dcd1; border-radius:10px; background:white; min-width:0; width:100%; }
.eb-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.eb-choice { display:grid; gap:8px; }
.eb-choice label, .eb-agree { display:flex; gap:8px; align-items:flex-start; line-height:1.5; }
.eb-sessions { display:grid; gap:8px; }
.eb-session { display:flex; gap:10px; align-items:flex-start; padding:12px; border:1px solid #e2e5dc; border-radius:12px; cursor:pointer; }
.eb-session span { display:flex; flex-direction:column; gap:2px; min-width:0; }
.eb-session small { color:#5f665c; }
.eb-session.is-disabled { opacity:.55; cursor:not-allowed; }
.eb-lines { width:100%; border-collapse:collapse; font-size:.9rem; }
.eb-lines th, .eb-lines td { text-align:left; padding:8px 4px; border-bottom:1px solid #eef0ea; vertical-align:top; }
.eb-lines td:last-child, .eb-lines thead th:last-child { text-align:right; white-space:nowrap; }
.eb-lines th small, .eb-lines td small { display:block; color:#5f665c; font-weight:400; font-size:.8rem; }
.eb-discount { color:#bd583a !important; }
.eb-total th, .eb-total td { font-weight:800; font-size:1.05rem; color:#244437; border-bottom:none; }
.eb-problems { color:#9b2c1f; padding-left:18px; }
.eb-help { color:#5f665c; font-size:.85rem; line-height:1.6; }
.eb-meta { font-weight:700; color:#304d3c; }
.eb-submit { width:100%; margin-top:14px; }
.eb-submit[disabled] { opacity:.5; cursor:not-allowed; }
.eb-refund { margin-top:12px; font-size:.88rem; color:#40574a; white-space:pre-line; }
.eb-refund h3 { font-size:.95rem; margin:0 0 4px; }
.eb-state { display:inline-block; padding:6px 12px; border-radius:20px; font-weight:700; background:#edf2e9; color:#304d3c; }
.eb-state--expired, .eb-state--released { background:#f6e8d6; color:#7a4a1f; }
@media(max-width:900px) { .eb-grid { grid-template-columns:minmax(0,1fr); } .eb-summary { position:static; } }
@media(max-width:520px) { .eb-row { grid-template-columns:minmax(0,1fr); } .eb-card { padding:16px; } }
.eb-to-cart { display:block; width:100%; margin-top:10px; text-align:center; }
