/* The exam pages' design — template 16, the exam page (plan-exam-design-2026-11-04; the package's reba-design-system.css:
   .xq-* the questions, .etb-* the EasyTest banners — EasyTest's colors inside the banners only — and the lead band).
   A STATIC file, linked by the design alone (templates/exam-design/stylesheet.ts): no other page loads it — the Next 16
   check of 4.11 (CSS modules of a template land in the CSS of every content page). The file in public/ is this file,
   named by its hash (scripts/verify-exam-design.ts). The site's tokens; the few it lacks are set on .xd, not on :root.
   Mobile first (360–390px): 44px targets, no horizontal scroll, one sticky bar. No @import, no url(), nothing external. */

.xd {
  --etb-navy: #1b2b5e;
  --etb-navy-900: #0f1b3d;
  --etb-gold: #c9a84c;
  --etb-gold-hover: #d6b862;
  --etb-cream: #fdf8ec;
  --etb-ink-soft: #d5dbec;
  --etb-ink-mute: #b9c2db;
  /* the card after an answer (the spec of 9.11), on --etb-cream: its questions 8.65:1, the locked "באיזי טסט" 5.68:1,
     the small lines 7.09:1 */
  --etb-ink-ask: #3d4766;
  --etb-ink-lock: #6b6250;
  --etb-ink-note: #5b5444;
  --color-green-400: #a6d257;
  --radius-2xl: 28px;
  --shadow-lg: 0 18px 50px rgba(10, 55, 68, 0.14);
  --font-size-5xl: 2.3rem;
}
@media (min-width: 601px) {
  .xd {
    --font-size-5xl: 3.25rem;
  }
}

/* ── buttons (the package's .btn) ── */
.xd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.xd-btn svg {
  flex-shrink: 0;
}
/* the primary and the secondary (ghost) buttons — the exam page's PDF buttons and its toolbar, nowhere else — in navy
   (Roee 9.11: the cyan was 2.72:1 and 2.49:1): white on navy-700 5.77:1, like the navigation's "המבחן הבא"; the ghost's
   words and border navy-700, 5.77:1 on white and 5.28:1 on the header's band */
.xd-btn--primary {
  background: var(--color-navy-700);
  color: #fff;
}
.xd-btn--primary:hover {
  background: var(--color-navy-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.xd-btn--accent {
  background: var(--color-green-500);
  color: #173009;
}
.xd-btn--accent:hover {
  background: var(--color-green-600);
  color: #173009;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.xd-btn--ghost {
  background: transparent;
  color: var(--color-navy-700);
  border-color: var(--color-navy-700);
}
.xd-btn--ghost:hover {
  border-color: var(--color-navy-700);
  background: var(--color-blue-50);
}
.xd-btn--sm {
  padding: 9px 18px;
  font-size: var(--font-size-sm);
}
.xd-btn--lg {
  padding: 15px 32px;
  font-size: var(--font-size-lg);
}
.xd-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.xd-eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  color: var(--color-navy-700);
}

/* ── the header's download buttons (.xq-downloads): long link texts wrap, on phones a full row each ── */
.xq-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.xq-downloads .xd-btn {
  white-space: normal;
  text-align: start;
}
@media (max-width: 600px) {
  .xq-downloads .xd-btn {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}

/* ── the exam section ── */
.xd-exam {
  padding-block: 44px;
}
@media (min-width: 601px) {
  .xd-exam {
    padding-block: var(--space-16);
  }
}
.xd-col {
  max-width: 820px;
  min-width: 0;
}
.xd-box {
  margin-bottom: var(--space-6);
}
.xd-hero {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
}
.xq-intro {
  margin-bottom: var(--space-6);
}
.xq-intro h2 {
  margin: 0 0 var(--space-2);
}
.xq-intro > p {
  margin: 0;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}
.xq-intro .xd-slice {
  margin-top: var(--space-4);
}

/* the line before the questions (the spec of 9.11, exam-answer-all §2): what answering all of them gives — in the flow,
   right above the toolbar, so the toolbar never covers it when it floats */
.xq-goal {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-1);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  text-wrap: pretty;
}
.xq-goal svg {
  flex-shrink: 0;
  color: var(--color-navy-700);
}

/* the practice toolbar: sticky on wide screens, in the flow at 900px and narrower (one sticky bar on phones) */
.xq-toolbar {
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 901px) {
  .xq-toolbar {
    position: sticky;
    /* under the site's header: 86px, or the audience menu's height (68px below 1080px; plan-home-menu-2026-11-16) */
    top: var(--site-header-h, 86px);
  }
}
.xq-progress {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
}
.xq-progress b {
  color: var(--color-text-primary);
}
/* "לציון שלכם" (exam-answer-all §3): underlined, and at least 24px high to click */
.xq-to-result {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.xq-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.xq-tools .xd-btn[aria-pressed='true'] {
  background: var(--color-blue-50);
  border-color: var(--color-navy-700);
}
/* the toolbar's EasyTest link (the spec of 9.11 §3): from 901px only, where the toolbar floats — on phones, the sticky bar */
.xq-et {
  display: none;
}
@media (min-width: 901px) {
  .xq-et {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding-inline: 4px;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-navy-700);
    text-underline-offset: 3px;
  }
}
.xq-et-m {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* the questions */
.xq-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.xq {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  scroll-margin-top: 170px;
}
@media (min-width: 761px) {
  .xq {
    padding: var(--space-6);
  }
}
.xq-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.xq-num {
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-blue-700);
}
.xq-void {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: var(--color-gray-100);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-text-secondary);
}
.xq-stem p {
  margin: 0 0 var(--space-3);
  line-height: 1.75;
  color: var(--color-text-primary);
  text-wrap: pretty;
}
.xq-stem p:last-child {
  margin: 0;
  font-weight: 700;
}
.xq-opts {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
  margin: var(--space-4) 0 0;
  padding: 0;
  border: 0;
  list-style: none;
}
.xq-opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard);
}
label.xq-opt {
  cursor: pointer;
}
.xq-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
label.xq-opt:hover {
  border-color: var(--color-primary);
  background: var(--color-blue-50);
}
.xq-opt:has(input:focus-visible) {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
/* a pick, also without JavaScript */
.xq-opt:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-blue-50);
}
.xq-letter {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-secondary);
}
.xq-opt-text {
  padding-top: 2px;
  line-height: 1.6;
  color: var(--color-text-primary);
}
/* marked by the page's script (data-picked), or all answers shown */
.xq[data-picked] label.xq-opt {
  cursor: default;
}
.xq[data-picked] label.xq-opt:not([data-key]):not(:has(input:checked)):hover {
  border-color: var(--color-border);
  background: transparent;
}
.xq[data-picked] .xq-opt[data-key],
.xq-list[data-show-answers] .xq-opt[data-key] {
  border-color: var(--color-action-accessible);
  background: var(--color-green-50);
}
.xq[data-picked] .xq-opt[data-key] .xq-letter,
.xq-list[data-show-answers] .xq-opt[data-key] .xq-letter {
  border-color: var(--color-action-accessible);
  background: var(--color-action-accessible);
  color: #fff;
}
/* the pick among the accepted options — more than one may be right (83 q1; 84 q25, all accepted): a thicker border
   (inset, so nothing moves) and a ✓ at the end of the line, which only the eye needs (the radio says it is checked) */
.xq[data-picked] .xq-opt[data-key]:has(input:checked) {
  box-shadow: inset 0 0 0 1px var(--color-action-accessible);
}
.xq[data-picked] .xq-opt[data-key]:has(input:checked)::after {
  content: '✓';
  content: '✓' / '';
  flex-shrink: 0;
  margin-inline-start: auto;
  font-size: var(--font-size-lg);
  font-weight: 800;
  line-height: 28px;
  color: var(--color-action-accessible);
}
.xq[data-picked] .xq-opt:not([data-key]):has(input:checked) {
  border-color: var(--color-error);
  background: color-mix(in srgb, var(--color-error) 7%, var(--color-surface));
}
.xq[data-picked] .xq-opt:not([data-key]):has(input:checked) .xq-letter {
  border-color: var(--color-error);
  background: var(--color-error);
  color: #fff;
}
.xq-ans,
.xq-key {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border);
}
/* "הצגת התשובה הנכונה", "פרטי השאלה שנפסלה" and "מפתח התשובות": the words and the border navy-700 (Roee 9.11: blue-700
   was 4.16:1), 5.77:1 on white */
.xq-ans summary,
.xq-key summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--color-navy-700);
  border-radius: var(--radius-full);
  list-style: none;
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-navy-700);
}
.xq-ans summary::-webkit-details-marker,
.xq-key summary::-webkit-details-marker {
  display: none;
}
.xq-ans summary::before,
.xq-key summary::before {
  content: '+';
  font-size: 1.25em;
  line-height: 1;
}
.xq-ans[open] summary::before,
.xq-key[open] summary::before {
  content: '−';
}
.xq-ans p {
  margin: var(--space-2) 0 0;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.xq-ans strong {
  color: var(--color-action-accessible);
}
.xq-key {
  margin-top: var(--space-6);
}

/* the result of a whole exam; "לציון שלכם" brings it below the floating toolbar, as a question's link does (.xq) */
.xq-result {
  margin-top: var(--space-6);
  padding: var(--space-10) var(--space-6);
  text-align: center;
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  scroll-margin-top: 170px;
}
/* its title takes the focus from "לציון שלכם" (tabindex -1): a place to read from, not a control — no ring, as main's
   (Roee 9.11: nothing seen changes) */
.xq-result [data-title]:focus-visible {
  outline: none;
}
.xq-result[hidden] {
  display: none;
}
.xq-score {
  margin: var(--space-2) 0;
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1;
  color: var(--color-navy-deep);
}
.xq-result p {
  max-width: 46ch;
  margin: 0 auto var(--space-5);
  color: var(--color-text-secondary);
}
.xq-result .xq-verdict {
  font-weight: 700;
  color: var(--color-text-primary);
}
/* the result's EasyTest box (the spec of 9.11 §4), in place of the button: EasyTest's navy, its gold button */
.etb-res {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 22px;
  text-align: start;
  background: var(--etb-navy-900);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 27, 61, 0.22);
}
.xq-result .etb-res-t {
  max-width: none;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}
.etb-res-list {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding-inline-start: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--etb-ink-soft);
}
.etb-res .etb-btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

/* ── the card after an answer (the spec of 9.11): built by the page's script after the question's answer — EasyTest's
   cream and gold, its navy button; the law, the section and the why locked, always ── */
.xq-gap {
  margin-top: var(--space-4);
  padding: 18px 20px 16px;
  background: var(--etb-cream);
  border: 1px solid color-mix(in srgb, var(--etb-gold) 60%, transparent);
  border-radius: var(--radius-lg);
}
.xq-gap-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--etb-navy-900);
}
.xq-gap-h svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.xq-gap ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.xq-gap li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--etb-gold) 60%, transparent);
}
.xq-gap li span {
  font-weight: 700;
  color: var(--etb-ink-ask);
}
.xq-gap li i {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  font-style: normal;
  font-weight: 700;
  color: var(--etb-ink-lock);
}
.xq-gap-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
}
.xq-gap-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--etb-navy-900);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.xq-gap-cta a:hover {
  background: var(--etb-navy);
  color: #fff;
}
.xq-gap-cta small {
  font-size: var(--font-size-sm);
  color: var(--etb-ink-note);
}
.xq-gap-f {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: var(--font-size-sm);
  color: var(--etb-ink-note);
}
@media (max-width: 760px) {
  .xq-gap-cta a {
    flex: 1 1 100%;
  }
}
/* the short line: one link, in the navy of the site's links (5.77:1 on the question's white) */
.xq-gap-line {
  margin: var(--space-3) 0 0;
}
.xq-gap-line a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-navy-700);
  text-underline-offset: 3px;
}

/* the end of the page's text */
.xd-end {
  margin-top: var(--space-8);
}

/* ── the navigation (.xn-*, plan-exam-nav-2026-11-07): the row in the header of 16 and 15, and 16's block at the end.
   AA on white and on the header's band: navy-700 (5.28:1 or more), the secondary grey for the texts at an edge, white on
   navy-700 for "המבחן הבא". 44px targets at every width. The separators of the row are borders, not characters. ── */
.xn-row ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}
.xn-row li {
  display: flex;
  align-items: center;
  min-width: 0;
}
.xn-prev {
  justify-content: flex-start;
}
.xn-mid {
  justify-content: center;
  padding-inline: var(--space-3);
  border-inline: 1px solid var(--color-border);
}
.xn-next {
  justify-content: flex-end;
  text-align: end;
}
.xn-row a,
.xn-row .xn-edge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding-inline: var(--space-2);
  font-size: var(--font-size-sm);
  line-height: 1.35;
}
.xn-row a {
  color: var(--color-navy-700);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.xn-row a:hover {
  color: var(--color-navy-deep);
}
.xn-row .xn-edge {
  color: var(--color-text-secondary);
}
.xn-end {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.xn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 359px) {
  .xn-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.xn-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-navy-700);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
a.xn-btn:hover {
  border-color: var(--color-navy-700);
  background: var(--color-blue-50);
}
.xn-btn--next {
  border-color: var(--color-navy-700);
  background: var(--color-navy-700);
  color: #fff;
}
a.xn-btn--next:hover {
  border-color: var(--color-navy-deep);
  background: var(--color-navy-deep);
  color: #fff;
}
/* the ring sits on the white around the button, not on its navy (Roee 7.11, §14 א) */
.xn-btn--next:focus-visible {
  outline-offset: 3px;
}
.xn-btn--edge {
  border-style: dashed;
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-regular);
}

/* ── EasyTest banners (.etb-*) ── */
.etb-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.etb-logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.etb-logo b {
  font-weight: 900;
  color: #fff;
}
.etb-logo i {
  font-style: normal;
  color: var(--etb-gold);
}
.etb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  background: var(--etb-gold);
  color: var(--etb-navy-900);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.28);
  transition: background 0.15s, transform 0.15s;
}
.etb-btn:hover {
  background: var(--etb-gold-hover);
  color: var(--etb-navy-900);
  transform: translateY(-1px);
}
.etb-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* 1. the card after the questions */
.etb-card {
  container-type: inline-size;
  margin-top: var(--space-12);
}
.etb-card-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  overflow: hidden;
  padding: 30px 24px 0;
  background: var(--etb-navy-900);
  background-image: radial-gradient(120% 90% at 0% 100%, rgba(43, 64, 132, 0.55), transparent 60%);
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 18px 50px rgba(15, 27, 61, 0.22);
}
.etb-copy {
  align-self: center;
  padding-bottom: 20px;
}
.etb-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 18px;
}
.etb-by {
  font-size: 14px;
  color: var(--etb-ink-mute);
}
.etb-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.14);
  color: #ebddae;
  font-size: 14px;
  font-weight: 700;
}
.etb-count svg {
  color: var(--etb-gold);
}
.etb-title {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.22;
  color: #fff;
  text-wrap: balance;
}
.etb-title em {
  font-style: normal;
  color: var(--etb-gold);
}
.etb-text {
  max-width: 54ch;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--etb-ink-soft);
  text-wrap: pretty;
}
.etb-list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.etb-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}
.etb-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--etb-gold);
}
.etb-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.etb-cta .etb-btn {
  flex: 1 1 100%;
}
.etb-note {
  font-size: 14px;
  color: var(--etb-ink-mute);
}
.etb-more-line {
  margin: 18px 0 0;
}
.etb-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 4px;
}
.etb-more:hover {
  color: var(--etb-gold);
  text-decoration-color: var(--etb-gold);
}
/* the phone: an HTML mockup of a question screen (decorative, aria-hidden) */
.etb-phone {
  justify-self: center;
  width: min(100%, 250px);
  height: 220px;
  padding: 10px 10px 0;
  background: #0a1230;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.etb-screen {
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  overflow: hidden;
  padding: 16px 14px 0;
  background: #f6f7fb;
  border-radius: 30px 30px 0 0;
  color: var(--etb-navy-900);
  font-size: 12px;
  line-height: 1.45;
}
.etb-s-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #4a5578;
}
.etb-s-top span:last-child {
  direction: ltr;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7eaf3;
}
.etb-s-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #e1e5ef;
}
.etb-s-bar i {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: 5px;
  background: var(--etb-gold);
}
.etb-s-q {
  margin: 2px 0 0;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
}
.etb-s-opts {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.etb-s-opts li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #dde2ec;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
}
.etb-s-opts li b {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef0f6;
  font-size: 11px;
}
.etb-s-opts li.ok {
  border-color: #2e9e5b;
  background: #eaf7ef;
  font-weight: 700;
}
.etb-s-opts li.ok b {
  background: #2e9e5b;
  color: #fff;
}
.etb-s-exp {
  padding: 10px 11px;
  border: 1px solid #eedfb5;
  border-radius: 10px;
  background: var(--etb-cream);
  font-size: 11.5px;
}
.etb-s-exp strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}
.etb-s-exp span {
  display: block;
  margin-top: 5px;
  font-weight: 700;
  color: #8a6d1e;
}
@container (min-width: 521px) {
  .etb-phone {
    width: 250px;
    height: 300px;
  }
}
@container (min-width: 761px) {
  .etb-card-in {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 40px;
    padding: 44px 48px 0;
  }
  .etb-copy {
    padding-bottom: 44px;
  }
  .etb-title {
    font-size: 30px;
  }
  .etb-text {
    font-size: 17px;
  }
  .etb-cta .etb-btn {
    flex: 0 0 auto;
  }
  .etb-phone {
    width: 270px;
    height: 410px;
  }
}

/* 2. the closing band */
.etb-band {
  padding: 52px 0;
  background: var(--etb-navy-900);
  background-image: radial-gradient(80% 120% at 100% 0%, rgba(43, 64, 132, 0.5), transparent 60%);
  color: #fff;
}
.etb-band-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px 56px;
  align-items: center;
}
.etb-band h2 {
  margin: 14px 0 10px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}
.etb-band h2 em {
  font-style: normal;
  color: var(--etb-gold);
}
.etb-band p {
  max-width: 56ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--etb-ink-soft);
}
.etb-band-cta {
  display: grid;
  justify-items: stretch;
  gap: 10px;
  text-align: center;
}
@media (min-width: 761px) {
  .etb-band {
    padding: 72px 0;
  }
  .etb-band-in {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .etb-band h2 {
    font-size: 34px;
  }
  .etb-band-cta {
    justify-items: center;
  }
}

/* 2א. the banner at the top of the exam page (the spec of 9.11 §2): from 761px only (Roee 9.11), in the page's flow — no
   position, so it covers nothing. From 761px to 900px the sticky bar exists too: it hides while the banner is seen */
.etb-top {
  display: none;
}
@media (min-width: 761px) {
  .etb-top {
    display: block;
    padding-top: var(--space-10);
  }
}
.etb-top-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  padding: 26px 28px;
  background: var(--etb-navy-900);
  background-image: radial-gradient(80% 120% at 100% 0%, rgba(43, 64, 132, 0.5), transparent 60%);
  border-radius: 20px;
  color: #fff;
}
.etb-top-t {
  margin: 14px 0 8px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-wrap: balance;
}
.etb-top-t em {
  font-style: normal;
  color: var(--etb-gold);
}
.etb-top-s {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--etb-ink-soft);
}
.etb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.etb-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--etb-ink-soft) 35%, transparent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--etb-ink-soft);
}
.etb-top-cta {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}
.etb-top-cta .etb-count {
  margin: 0;
}

/* 3. the sticky bar: phones only (900px and narrower), one, at the bottom; shown by the page's script (data-visible) */
.etb-sticky {
  display: none;
}
@media (max-width: 900px) {
  .etb-sticky {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--etb-navy-900);
    color: #fff;
    box-shadow: 0 -6px 24px rgba(15, 27, 61, 0.28);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .etb-sticky[data-visible] {
    transform: none;
  }
  .etb-sticky > svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  .etb-sticky-t {
    display: grid;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
  }
  .etb-sticky-t b {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
  }
  .etb-sticky-t span {
    font-size: 13px;
    color: var(--etb-ink-mute);
  }
  .etb-sticky .etb-btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
    box-shadow: none;
  }
  /* the bar covers the screen's bottom strip: a control of a question or of its card, reached by the keyboard, stops
     above it (the spec of 9.11, Roee: nothing covers the question) */
  .xq-opt input,
  .xq-ans summary,
  .xq-gap a,
  .xq-gap-line a {
    scroll-margin-bottom: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .etb-sticky,
  .etb-btn,
  .xd-btn,
  .ea-chips a,
  .ey-card {
    transition: none;
  }
}

/* ── the lead band: the page's own form (components/site/LeadForm, unchanged) in the package's look — its title and
   intro in one column, its fields in a card beside them; CSS only ── */
.xd-lead {
  padding-block: 44px;
}
@media (min-width: 601px) {
  .xd-lead {
    padding-block: var(--space-16);
  }
}
.xd-lead-grid {
  padding: var(--space-8) var(--space-5);
  background: var(--gradient-navy-deep);
  border-radius: var(--radius-2xl);
}
.xd-lead-grid > section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'title' 'note' 'card';
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.xd-lead-grid > section > h2 {
  grid-area: title;
  color: var(--color-text-inverse);
  text-wrap: balance;
}
.xd-lead-grid > section > p {
  grid-area: note;
  max-width: 46ch;
  font-size: var(--font-size-md);
  line-height: 1.65;
  color: var(--color-blue-50);
}
.xd-lead-grid > section > div[role='status'] {
  grid-area: card;
  align-self: start;
}
.xd-lead-grid > section > form {
  grid-area: card;
  grid-template-columns: minmax(0, 1fr);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 901px) {
  .xd-lead-grid {
    padding: var(--space-16) var(--space-12);
  }
  .xd-lead-grid > section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    grid-template-areas: 'title card' 'note card' '. card';
    grid-template-rows: auto auto 1fr;
    column-gap: var(--space-12);
    align-items: start;
  }
  .xd-lead-grid > section > form {
    padding: var(--space-8);
  }
}

/* ══ stage 2: templates 14 (the archive, pages 7 and 6) and 15 (the year pages) — the package's 14-exam-archive.html and
   15-exam-year.html, mobile first ══ */

/* ── the areas: sections, the head of an area, the header's intro, the text after the cards ── */
.xd-section {
  padding-block: 44px;
}
@media (min-width: 601px) {
  .xd-section {
    padding-block: var(--space-16);
  }
}
.xd-alt {
  background: var(--color-gray-50);
}
.container.xd-narrow {
  max-width: 880px;
}
.xd-head2 {
  max-width: 720px;
  margin: 0 auto var(--space-8);
  text-align: center;
}
.xd-head2 h2 {
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
.xd-answer {
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: 1.65;
  color: var(--color-text-secondary);
  text-wrap: pretty;
}
.xd .xd-intro {
  max-width: 64ch;
  margin-top: var(--space-5);
}
.xd .xd-intro p {
  font-size: var(--font-size-lg);
  line-height: 1.65;
  color: var(--color-text-secondary);
}
.xd-end {
  margin-top: var(--space-8);
}
.xd-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-8);
  margin: var(--space-8) 0 0;
}
.xd-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  color: var(--color-blue-700);
  text-decoration: none;
}
.xd-links a:hover {
  text-decoration: underline;
}

/* ── "the upcoming exam" (14, in the header; decision 2): on phones the date beside the title, the rest below ── */
.ea-upcoming {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 var(--space-4);
  align-items: center;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.ea-upcoming > :not(.ea-upcoming-date) {
  display: contents;
}
.ea-upcoming-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 76px;
  border-radius: var(--radius-md);
  background: var(--gradient-navy-deep);
  color: var(--color-text-inverse);
  line-height: 1;
}
.ea-upcoming-date b {
  font-size: var(--font-size-2xl);
  font-weight: 800;
}
.ea-upcoming-date span {
  margin-top: 6px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-green-400);
}
.ea-upcoming p {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.ea-upcoming p:not(.ea-upcoming-title) {
  grid-column: 1 / -1;
  margin-top: var(--space-3);
}
.ea-upcoming .ea-upcoming-title {
  font-size: var(--font-size-md);
  font-weight: 800;
  color: var(--color-text-primary);
  text-wrap: balance;
}
.ea-upcoming .ea-upcoming-next {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.ea-upcoming-next b {
  font-weight: 700;
  color: var(--color-text-primary);
}
.ea-upcoming-next a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  color: var(--color-blue-700);
  text-decoration: none;
  white-space: nowrap;
}
.ea-upcoming-next a:hover {
  text-decoration: underline;
}
/* after the last exam, while the next dates are not published */
.ea-upcoming--tbd .ea-upcoming-date {
  background: var(--color-blue-50);
  border: 1px dashed var(--color-primary);
  color: var(--color-blue-700);
}
.ea-upcoming--tbd .ea-upcoming-date span {
  margin: 0;
  padding: 0 6px;
  font-size: var(--font-size-xs);
  text-align: center;
  color: var(--color-blue-700);
}
@media (min-width: 561px) {
  .ea-upcoming {
    display: flex;
    max-width: 640px;
  }
  .ea-upcoming > :not(.ea-upcoming-date) {
    display: block;
  }
  .ea-upcoming .ea-upcoming-title {
    margin-bottom: 2px;
  }
  .ea-upcoming p:not(.ea-upcoming-title) {
    margin-top: 0;
  }
  .ea-upcoming .ea-upcoming-next {
    margin-top: var(--space-3);
  }
}

/* ── "בקצרה" (14 and 15; the package's .lp-facts, plan-exam-design-fixes-2026-11-05 §3): the label first in the document,
   the number above it on screen (column-reverse); two columns on phones, four from 901px ── */
.xd .lp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-8) 0 0;
}
.xd .lp-fact {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.xd .lp-fact dt {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}
.xd .lp-fact dd {
  margin: 0;
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1;
  color: var(--color-blue-700);
}
@media (min-width: 901px) {
  .xd .lp-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── "דלגו לשנה" (14): on phones one row that scrolls in itself — the page never scrolls sideways ── */
.lp-toc {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding-block: var(--space-1);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to left, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(to left, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.lp-toc::-webkit-scrollbar {
  display: none;
}
.lp-toc > * {
  flex-shrink: 0;
  white-space: nowrap;
}
.lp-toc span {
  margin-inline-end: var(--space-1);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-secondary);
}
.lp-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
}
.lp-toc a:hover {
  border-color: var(--color-primary);
  color: var(--color-blue-700);
}
@media (min-width: 761px) {
  .lp-toc {
    flex-wrap: wrap;
    overflow-x: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ── the dates table (14): a real table, shown as cards (one row = one sitting); the ARIA roles keep it a table ── */
.ea-dates-block {
  margin-bottom: var(--space-10);
}
#dates {
  scroll-margin-top: 104px;
}
.ea-dates {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}
.ea-dates thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ea-dates tbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}
.ea-dates tbody tr {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'season season' 'exam open' 'exam close';
  column-gap: var(--space-4);
  align-items: start;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.ea-dates :where(th, td) {
  display: block;
  padding: 0;
  border: 0;
  text-align: start;
}
.ea-dates tbody th {
  grid-area: season;
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-blue-700);
}
.ea-date-exam {
  grid-area: exam;
  margin: var(--space-2) 0 0;
}
.ea-date-exam time {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-2xl);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-navy-deep);
  font-variant-numeric: tabular-nums;
}
.ea-date-exam span {
  display: block;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.ea-date-reg {
  grid-area: open;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: var(--space-2);
  padding-inline-start: var(--space-4);
  border-inline-start: 1px solid var(--color-border);
  line-height: 1.6;
}
.ea-date-reg + .ea-date-reg {
  grid-area: close;
  margin-top: 0;
  padding-top: var(--space-2);
}
.ea-date-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-tertiary);
}
.ea-date-reg time,
.ea-date-tbd {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.ea-date-badge {
  position: absolute;
  top: 0;
  inset-inline-end: var(--space-5);
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-green-400);
  font-size: var(--font-size-xs);
  font-weight: 800;
  color: var(--color-navy-deep);
  white-space: nowrap;
  transform: translateY(-50%);
}
.ea-dates tr.is-next {
  background: var(--gradient-navy-deep);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.ea-dates tr.is-next th,
.ea-dates tr.is-next time,
.ea-dates tr.is-next .ea-date-tbd {
  color: var(--color-text-inverse);
}
.ea-dates tr.is-next .ea-date-exam span,
.ea-dates tr.is-next .ea-date-label {
  color: var(--color-blue-100);
}
.ea-dates tr.is-next .ea-date-exam,
.ea-dates tr.is-next .ea-date-reg {
  border-color: rgba(255, 255, 255, 0.2);
}
@media (min-width: 561px) {
  .ea-dates tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ea-dates tbody tr {
    display: flex;
    flex-direction: column;
  }
  .ea-date-exam {
    flex: 1;
    margin: var(--space-2) 0 var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
  }
  .ea-date-reg {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0 var(--space-2);
    margin-top: 0;
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  .ea-date-reg + .ea-date-reg {
    margin-top: var(--space-1);
    padding-top: 0;
  }
}
@media (min-width: 901px) {
  .ea-dates tbody {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── the archive's years (14): a card per year — its sittings as chips, its year page, the EasyTest line ── */
.ea-years {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ea-year {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3) var(--space-6);
  align-items: center;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  scroll-margin-top: 104px;
}
@media (min-width: 761px) {
  .ea-year {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    padding: var(--space-5) var(--space-6);
  }
}
.ea-year h3 {
  margin: 0;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-navy-deep);
}
.ea-year h3 span {
  display: block;
  margin-bottom: 4px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue-700);
}
.ea-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ea-chips a,
.ea-chip-text {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
}
.ea-chips a {
  background: var(--color-blue-50);
  border: 1px solid transparent;
  color: var(--color-navy-deep);
  transition: border-color var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard);
}
.ea-chips a:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-blue-700);
}
/* a sitting without a page or files yet: its name, no link */
.ea-chip-text {
  border: 1px dashed var(--color-border);
  color: var(--color-text-secondary);
}
.ea-chips-center {
  justify-content: center;
}
.ea-year-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-blue-700);
  text-decoration: none;
  white-space: nowrap;
}
.ea-year-link:hover {
  text-decoration: underline;
}
/* page 6 (the spec of 8.11): the hint under "במדור זה"; a card per year page — its title and its button lead there, the
   card itself is no link. The button is a full row up to 760px, beside the title from 761px */
.ea-hint {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-secondary);
  text-wrap: balance;
}
.ea-year.ea-year--page {
  grid-template-columns: minmax(0, 1fr);
}
.ea-year--page h3 {
  font-size: var(--font-size-xl);
  line-height: 1.3;
}
.ea-year--page h3 a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ea-year--page h3 a:hover,
.ea-year--page h3 a:focus-visible {
  text-decoration-line: underline;
}
.ea-year-cta {
  width: 100%;
}
.ea-year-cta-arrow {
  font-size: 1.1em;
  line-height: 1;
}
@media (min-width: 761px) {
  .ea-year.ea-year--page {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .ea-year-cta {
    width: auto;
  }
}
/* phones: two chips to a row, the year page's link a full row */
@media (max-width: 560px) {
  .ea-year .ea-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ea-year .ea-chips li {
    display: grid;
  }
  .ea-year .ea-chips a,
  .ea-year .ea-chip-text {
    justify-content: center;
    width: 100%;
    padding: 6px var(--space-3);
    line-height: 1.3;
    text-align: center;
  }
  .ea-year .ea-year-link {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
  }
}

/* the EasyTest line under a year (.etb-year: 2024 to 2026 only) — EasyTest's colors, in the banner only */
.etb-year {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  align-items: center;
  gap: 6px 12px;
  margin: 2px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.etb-year svg.etb-m {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.etb-year a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 800;
  color: var(--etb-navy);
  text-decoration: none;
}
.etb-year a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.etb-year a svg {
  color: var(--etb-gold);
}

/* ── the sittings of a year page (15): a card each — its exam page (the title and a button lead there, the card itself is
   no link: the spec of 8.11), or its files ── */
.ey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 761px) {
  .ey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ey-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.ey-card h3 {
  margin: 0;
  font-size: var(--font-size-xl);
}
.ey-card h3 a {
  color: var(--color-text-primary);
  text-decoration: none;
}
.ey-card p {
  margin: 0;
  color: var(--color-text-secondary);
}
.ey-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-tertiary);
}
.ey-step svg {
  color: var(--color-primary);
}
.ey-card .xq-downloads {
  margin-top: var(--space-3);
}
/* the title, and the button: a full row up to 760px, from 761px its own width at the card's start. The buttons of a row
   sit at the bottom of their cards, also when one title takes two lines */
.ey-card--page h3 a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ey-card--page h3 a:hover,
.ey-card--page h3 a:focus-visible {
  text-decoration-line: underline;
}
.ey-cta {
  align-self: stretch;
  margin-top: auto;
}
.ey-card--page p + .ey-cta {
  margin-top: var(--space-3);
}
.ey-cta-arrow {
  font-size: 1.1em;
  line-height: 1;
}
@media (min-width: 761px) {
  .ey-cta {
    align-self: flex-start;
  }
  .ey-card--page p {
    margin-bottom: auto;
  }
}
/* "משנים נוספות" (15): buttons, not tags — white with a navy border, navy filled on hover. This block only
   (.ea-chips--nav): the chips of page 7 stay as they are */
.ea-chips--nav a {
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1.5px solid var(--color-navy-700);
  color: var(--color-navy-deep);
}
.ea-chips--nav a:hover {
  background: var(--color-navy-700);
  border-color: var(--color-navy-700);
  color: #fff;
}
.ea-chips--nav .ea-chip-arrow {
  line-height: 1;
}
