/* product-education-01  (namespace e5-)  Educational workbook: blue paper, navy, sunflower + coral. Notebook ruling, curriculum accordion, answer-reveal sample page. */
.e5 { --pm-ink: #14305e; --pm-bg: #f3f7ff; --pm-brand: #14305e; --pm-on-brand: #fff; --pm-cta: #ffc845; --pm-on-cta: #14305e; --pm-muted: #4b5f82; --pm-line: #cfdaee; --pm-soft: #e5edfb; --pm-surface: #fff;
  --pm-btn-r: 10px; --pm-btn-bd: 2px solid #14305e; --pm-btn-sh: 3px 3px 0 #14305e; --e5-coral: #ff6b57; }
.e5-ruled { background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, #b4c6e6 35px, #b4c6e6 36px); background-color: #fff; }
.e5-head { background: var(--pm-bg); border-bottom: 2px solid var(--pm-ink); }
.e5-head__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.e5-brand { font-weight: 900; font-size: 1.1rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.e5-brand i { width: 32px; height: 36px; border: 2px solid var(--pm-ink); border-radius: 4px 8px 8px 4px; background: var(--pm-cta); font-style: normal; display: grid; place-items: center; font-size: .95rem; }

.e5-hero { background: var(--pm-bg); padding-block: 28px 56px; position: relative; }
.e5-hero::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 38px; width: 2px; background: var(--e5-coral); opacity: .55; display: none; }
.e5-hero__grid { display: grid; gap: 32px; align-items: center; }
.e5-tag { display: inline-block; background: #fff; border: 2px solid var(--pm-ink); border-radius: 8px; padding: 0 12px; font-weight: 800; font-size: .9rem; line-height: 2; margin-bottom: 14px; transform: rotate(-1.5deg); }
.e5-h1 { font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.3; font-weight: 900; }
.e5-lead { margin: 16px 0 0; color: var(--pm-muted); font-size: clamp(1.05rem, 3vw, 1.2rem); max-width: 33em; line-height: 1.95; }
.e5-hero .pm-cta { margin-top: 24px; } .e5-hero .pm-btn--ghost { background: #fff; }
.e5-levels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .e5-levels span { font-weight: 800; font-size: .86rem; border: 2px solid var(--pm-ink); border-radius: 99px; padding: 0 14px; background: #fff; line-height: 2; }

.e5-wb { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.e5-pg { min-height: 360px; align-content: start; background: #fff; border: 2px solid var(--pm-ink); border-radius: 6px 14px 14px 6px; padding: 22px 20px 20px 18px; display: grid; gap: 12px; position: relative; box-shadow: 8px 8px 0 var(--pm-ink); }
.e5-pg::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 14px; background: radial-gradient(circle at 50% 50%, var(--pm-bg) 4px, transparent 5px) 0 0 / 14px 22px, var(--pm-soft); border-inline-end: 2px solid var(--pm-ink); border-radius: 4px 0 0 4px; }
.e5-pg > * { margin-inline-start: 12px; }
.e5-pg h3 { margin: 0; font-size: 1rem; font-weight: 900; line-height: 1.5; }
.e5-blank { border-bottom: 2px dashed var(--pm-ink); height: 28px; }
.e5-blank.f { border-bottom-style: solid; position: relative; } .e5-blank.f::after { content: "المسألة تدور حول الأسباب"; position: absolute; inset-inline: 0; bottom: 2px; color: var(--e5-coral); font-weight: 700; font-size: .85rem; }
.e5-sticker { position: absolute; inset-inline-end: -8px; top: -14px; background: var(--e5-coral); color: #fff; border: 2px solid var(--pm-ink); border-radius: 10px; padding: 0 12px; font-weight: 900; font-size: .85rem; line-height: 2; transform: rotate(5deg); z-index: 2; }

.e5-sec { padding-block: 60px; }
.e5-sec--w { background: #fff; }
.e5-h2 { font-size: clamp(1.7rem, 5.6vw, 2.5rem); line-height: 1.32; font-weight: 900; max-width: 19em; }
.e5-sub { margin: 10px 0 0; color: var(--pm-muted); max-width: 36em; }
.e5-out { display: grid; gap: 22px; align-items: start; margin-top: 26px; }
.e5-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.e5-checks li[role="checkbox"] { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 2px solid var(--pm-ink); border-radius: 14px; padding: 14px 16px; cursor: pointer; font-weight: 700; line-height: 1.7; user-select: none; }
.e5-checks li::before { content: ""; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--pm-ink); flex: none; margin-top: 2px; background: #fff center / 70% no-repeat; }
.e5-checks li[aria-checked="true"] { background: #fff7de; } .e5-checks li[aria-checked="true"]::before { background-color: var(--pm-cta); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%2314305e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.e5-checks li:focus-visible { outline: 3px solid var(--e5-coral); }
.e5-score { background: var(--pm-ink); color: #fff; border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; line-height: 1.5; }
.e5-score b { font-size: 2rem; font-weight: 900; direction: ltr; color: var(--pm-cta); }

.e5 .accordion { --bs-accordion-border-color: var(--pm-ink); }
.e5-cur .accordion-item { border: 2px solid var(--pm-ink) !important; border-radius: 14px !important; margin-bottom: 12px; background: #fff; overflow: hidden; }
.e5-cur .accordion-item:first-child { border-top: 2px solid var(--pm-ink) !important; }
.e5-cur .accordion-button { padding: 16px 18px; }
.e5-cur .accordion-body { padding: 0 18px 18px; }
.e5-cur ul { margin: 0; padding-inline-start: 1.2em; } .e5-cur li { line-height: 1.9; }
.e5-wk { background: var(--pm-cta); border: 2px solid var(--pm-ink); border-radius: 8px; padding: 0 10px; font-weight: 900; font-size: .82rem; line-height: 1.9; white-space: nowrap; }

.e5-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: e5s; }
.e5-steps li { counter-increment: e5s; display: grid; grid-template-columns: 50px 1fr; gap: 0 16px; align-items: start; }
.e5-steps li::before { content: counter(e5s); width: 46px; height: 46px; border: 2px solid var(--pm-ink); border-radius: 50%; background: var(--pm-cta); display: grid; place-items: center; font-weight: 900; grid-row: span 2; }
.e5-steps h3 { margin: 0; font-size: 1.12rem; font-weight: 900; } .e5-steps p { margin: 0; color: var(--pm-muted); }

.e5-sample { display: grid; gap: 22px; align-items: start; margin-top: 26px; }
.e5-q { background: #fff; border: 2px solid var(--pm-ink); border-radius: 16px; padding: 20px; }
.e5-q h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 900; } .e5-q p { margin: 0 0 12px; }
.e5-ans { background: #fff7de; border: 2px dashed var(--pm-ink); border-radius: 12px; padding: 12px 14px; margin-top: 12px; font-weight: 600; }
.e5-q .pm-btn { min-height: 44px; }
.e5-note { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--pm-ink); border-radius: 18px; padding: 18px; }
.e5-av { width: 60px; height: 66px; border: 2px solid var(--pm-ink); border-radius: 999px 999px 8px 8px; background: var(--e5-coral); color: #fff; display: grid; place-items: end center; padding-bottom: 8px; font-weight: 900; font-size: 1.3rem; }
.e5-note p { margin: 0; color: var(--pm-muted); } .e5-note b { display: block; }

.e5-ticket { background: var(--pm-ink); color: #fff; border-radius: 26px; padding: 26px 22px; display: grid; gap: 20px; }
.e5-ticket h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 900; line-height: 1.35; }
.e5-ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-weight: 700; } .e5-ticket li { display: flex; gap: 10px; } .e5-ticket li .pm-ico { color: var(--pm-cta); margin-top: .3em; }
.e5-buy { background: #fff; color: var(--pm-ink); border-radius: 20px; padding: 20px; text-align: center; border: 2px dashed var(--pm-ink); }
.e5-buy .p { font-size: clamp(3.4rem, 14vw, 4.4rem); font-weight: 900; direction: ltr; line-height: 1.1; } .e5-buy .p small { font-size: 1.2rem; font-weight: 800; }
.e5-buy small.n { display: block; margin-top: 10px; color: var(--pm-muted); font-weight: 600; }
.e5-faq { display: grid; gap: 20px; }
.e5-final { background: var(--pm-cta); text-align: center; padding-block: 56px; border-top: 2px solid var(--pm-ink); } .e5-final h2 { margin: 0 auto; font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 900; max-width: 15em; line-height: 1.3; } .e5-final p { margin: 10px auto 22px; max-width: 30em; }
.e5-final .pm-btn { background: var(--pm-ink); color: #fff !important; box-shadow: 3px 3px 0 rgba(0,0,0,.3); }
.e5-foot { background: var(--pm-ink); color: #9fb2d3; font-size: .9rem; padding-block: 22px; } .e5-foot p { margin: 0; }

@media (min-width: 768px) {
  .e5-sec { padding-block: 88px; } .e5-hero::before { display: block; }
  .e5-out { grid-template-columns: 1.4fr 1fr; gap: 36px; } .e5-score { position: sticky; top: 24px; flex-direction: column; text-align: center; padding: 28px 20px; }
  .e5-sample { grid-template-columns: 1.1fr .9fr; gap: 36px; }
  .e5-ticket { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 36px; padding: 36px; }
}
@media (min-width: 992px) { .e5-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } .e5-faq { grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; } }
