/* ══════════════════════════════════════════════════════════════════
   עיצוב 2026 — בורדו, זהב וקלף (אושר ע"י רוני 24.11.2026)
   נטען אחרי style.css ודורס טוקנים ורכיבים. מקור: docs/design/redesign-2026-11/
   ══════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Hadasim'; src: url('/assets/fonts/HadasimCLM-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hadasim'; src: url('/assets/fonts/HadasimCLM-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Drugulin'; src: url('/assets/fonts/DrugulinCLM-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --primary: #6E1423;
  --primary-dark: #4A0D17;
  --primary-light: #8C2234;
  --gold: #B0812F;
  --gold-light: #D9B56A;
  --gold-pale: #F6EBD6;
  --bg: #F7EEDC;
  --surface: #FCF6EA;
  --text: #3A2418;
  --text-muted: #7A6450;
  --border: #D8C298;
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: 'Hadasim', 'Spectral', Georgia, serif;
  --font-head: 'Hadasim', 'Spectral', Georgia, serif;
  --font-text: 'Drugulin', 'Hadasim', serif;
  --shadow: 0 2px 6px rgba(74, 13, 23, .10);
  --shadow-lg: 0 14px 30px rgba(74, 13, 23, .18);
}
html[lang="en"], html[lang="fr"], html[lang="es"] { --font-body: 'Spectral', 'Hadasim', Georgia, serif; --font-head: 'Spectral', 'Hadasim', Georgia, serif; }
body { font-family: var(--font-body); font-size: 1.08rem; background: var(--bg); color: var(--text); }
h1, h2, h3, h4, .section-title, .page-title { font-family: var(--font-head); font-weight: 700; color: var(--primary); }

/* ── רכיבי יסוד ─────────────────────────────────────────── */
.t26-frame {
  position: relative; border-radius: 20px;
  background: url('/assets/images/theme/parchment.jpg') center / cover, var(--surface);
  box-shadow: 0 0 0 1px var(--gold-light), 0 0 0 5px #F6EBD6, 0 0 0 6px var(--gold), var(--shadow-lg);
}
.t26-emb, .btn-outline, .btn-ghost, .btn-muted {
  background: linear-gradient(#FCF6EA, #EFE1C4) !important; color: var(--text) !important;
  border: 1px solid var(--border) !important; border-radius: 14px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(74, 13, 23, .14);
}
.t26-cta, .btn-primary, .btn-gold, .btn-navy {
  background: linear-gradient(var(--primary-light), var(--primary-dark)) !important; color: #fff !important;
  border: 1px solid var(--primary-dark) !important; border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 10px rgba(74, 13, 23, .35);
}
.t26-cta i, .btn-primary i, .btn-gold i, .btn-navy i { color: var(--gold-light); }
.t26-emb i { color: var(--primary); }
.t26-cta, .t26-emb { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .7rem 1.4rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-decoration: none; cursor: pointer; min-height: 48px; }
.t26-cta:hover { filter: brightness(1.08); color: #fff; }
.t26-emb:hover { filter: brightness(1.03); color: var(--text); }
.t26-cta:focus-visible, .t26-emb:focus-visible, .t26-nav a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.t26-badge { display: inline-flex; align-items: center; gap: .6rem; border: 1.5px solid var(--gold); border-radius: 999px;
  padding: .25rem 1.3rem; font-family: var(--font-head); font-weight: 700; color: var(--primary); background: rgba(255, 250, 240, .75); }
.t26-badge::before, .t26-badge::after { content: ""; width: 18px; height: 1.5px; background: var(--gold); }
.t26-muted { color: var(--text-muted); }
.t26-text { font-family: var(--font-text); color: var(--text); }

/* ── כותרת ותפריט ───────────────────────────────────────── */
.site-header.t26-header { position: relative; background: none; box-shadow: none; padding: 0; }
.t26-top { position: relative; background: #4A0D17 url('/assets/images/theme/shelf_he_crop.jpg') right 30% / 560px auto no-repeat; color: #F3E2BE; }
html[dir="ltr"] .t26-top { background-position: left 30%; }
.t26-top::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(74, 13, 23, .05) 0%, rgba(74, 13, 23, .55) 22%, rgba(74, 13, 23, .97) 40%, #4A0D17 100%); }
html[dir="ltr"] .t26-top::before { background: linear-gradient(to right, rgba(74, 13, 23, .05) 0%, rgba(74, 13, 23, .55) 22%, rgba(74, 13, 23, .97) 40%, #4A0D17 100%); }
.t26-top-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 168px; }
.t26-brand { display: flex; align-items: center; gap: 1.2rem; text-decoration: none; margin-inline-start: 26%; }
.t26-brand img { height: 92px; width: auto; }
.t26-brand-title { font-family: var(--font-head); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--gold-light); text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.t26-brand-sub { font-size: 1.15rem; color: #EAD6B0; margin-top: .35rem; }
.t26-tools { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.t26-tools-row { display: flex; gap: .5rem; align-items: center; }
.t26-pill { display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding: 0 1rem; border-radius: 21px;
  border: 1px solid var(--gold-light); background: rgba(0, 0, 0, .22); color: #F3E2BE; font-size: 1rem; text-decoration: none; }
.t26-pill:hover { background: rgba(0, 0, 0, .35); color: #fff; }
.t26-pill select { background: transparent; border: none; color: inherit; font: inherit; cursor: pointer; }
.t26-pill select option { color: #3A2418; }
.t26-nav { background: linear-gradient(#FBF4E6, #F1E4C8); border-bottom: 1px solid var(--border); box-shadow: 0 3px 8px rgba(74, 13, 23, .08); }
.t26-nav .nav-list { display: flex; align-items: stretch; gap: 0; margin: 0; padding: 0; min-height: 92px; }
.t26-nav .nav-list > li { flex: 1; display: flex; }
.t26-nav .nav-list > li > a, .t26-nav .nav-dropdown-toggle {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  color: var(--text); font-size: 1.02rem; text-decoration: none; padding: .6rem .4rem; border-inline-start: 1px solid #E0CFA9;
  background: none; border-radius: 0; text-align: center; line-height: 1.2; }
.t26-nav .nav-list > li > a i, .t26-nav .nav-dropdown-toggle i { font-size: 1.45rem; color: var(--primary); }
.t26-nav .nav-list > li > a:hover { background: rgba(255, 255, 255, .5); }
.t26-nav .nav-list > li > a.active { background: linear-gradient(var(--primary-light), var(--primary-dark)); color: #fff;
  border-radius: 14px 14px 0 0; margin-top: -6px; font-weight: 700; }
.t26-nav .nav-list > li > a.active i { color: var(--gold-light); }
.t26-hamburger { display: none; }

/* ── דף הבית ────────────────────────────────────────────── */
.t26-home { padding: 2.4rem 0 3rem; }
.t26-hero { display: grid; grid-template-columns: 1.15fr 1.25fr 1fr; min-height: 400px; overflow: hidden; }
.t26-hero-img { background-size: cover; background-position: center; }
.t26-hero-img.kotel { background-image: url('/assets/images/theme/kotel_wide.jpg'); background-position: 22% center;
  border-radius: 0 20px 20px 0; -webkit-mask-image: linear-gradient(to left, #000 75%, transparent); mask-image: linear-gradient(to left, #000 75%, transparent); }
.t26-hero-img.books { background-image: url('/assets/images/theme/books_he.jpg');
  border-radius: 20px 0 0 20px; -webkit-mask-image: linear-gradient(to right, #000 70%, transparent); mask-image: linear-gradient(to right, #000 70%, transparent); }
html[dir="ltr"] .t26-hero-img.kotel { border-radius: 20px 0 0 20px; -webkit-mask-image: linear-gradient(to right, #000 75%, transparent); mask-image: linear-gradient(to right, #000 75%, transparent); }
html[dir="ltr"] .t26-hero-img.books { border-radius: 0 20px 20px 0; -webkit-mask-image: linear-gradient(to left, #000 70%, transparent); mask-image: linear-gradient(to left, #000 70%, transparent); }
.t26-hero-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem .5rem; }
.t26-hero-seder { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; margin-top: 1rem; }
.t26-hero-title { font-family: var(--font-head); font-weight: 700; font-size: 4.6rem; line-height: 1; color: var(--primary); text-shadow: 0 1px 0 #fff; margin: .1rem 0 0; }
.t26-hero-perek { display: flex; align-items: center; gap: 1rem; margin-top: .9rem; }
.t26-hero-perek .t26-badge { font-size: 1.8rem; padding: .3rem 2rem; }
.t26-round { width: 48px; height: 48px; border-radius: 24px !important; padding: 0 !important; min-height: 0; }
.t26-hero-meta { font-size: 1.25rem; margin-top: .7rem; color: var(--text-muted); }
.t26-actions { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.t26-actions > * { min-height: 76px; font-size: 1.3rem; }
.t26-grid2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.7rem; margin-top: 2rem; align-items: start; }
.t26-col { display: flex; flex-direction: column; gap: 1.7rem; }
.t26-card { padding: 1.7rem 2rem; }
.t26-card-row { display: flex; align-items: center; gap: 1.3rem; }
.t26-card h2, .t26-card h3 { margin: 0; font-size: 1.7rem; color: var(--text); }
.t26-ring { width: 72px; height: 72px; flex: none; border-radius: 50%; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.8rem; }
.t26-mishna-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.t26-mishna-title h2 { font-size: 1.9rem; color: var(--primary); }
.t26-mishna-title small { font-size: 1.15rem; color: var(--gold); font-weight: 700; }
.t26-mishna { font-family: var(--font-text); font-size: 1.6rem; line-height: 1.8; margin-top: .9rem; color: var(--text); }
.t26-bart { border-top: 1px dashed var(--border); margin-top: 1rem; padding-top: .9rem; font-size: 1.18rem; line-height: 1.75; color: var(--text-muted); }
.t26-bart b { font-family: var(--font-text); color: var(--text); font-weight: 700; }
.t26-bart-name { font-family: var(--font-head); font-weight: 700; color: var(--primary); margin-bottom: .3rem; }
.t26-progress { height: 8px; border-radius: 4px; background: #E6D5B2; overflow: hidden; }
.t26-progress > span { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
.t26-in-memory { margin-top: 1.2rem; text-align: center; font-size: 1.15rem; color: var(--primary); }

/* ── הסדרים (אייקונים במקום אמוג'י) ───────────────────────── */
.seder-card { background: url('/assets/images/theme/parchment.jpg') center / cover; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.seder-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.seder-icon i { font-size: 2rem; color: var(--primary); }
.seder-name { font-family: var(--font-head); color: var(--primary); }
.seder-count { color: var(--gold); font-weight: 700; }

/* ── כותרת תחתונה ───────────────────────────────────────── */
.site-footer { background: linear-gradient(#4A0D17, #350910); color: #EAD6B0; }
.site-footer a { color: #F3E2BE; }
.site-footer .footer-logo { font-family: var(--font-head); color: var(--gold-light); }
.site-footer .footer-heading { color: var(--gold-light); font-family: var(--font-head); }
.site-footer .footer-contact i { color: var(--gold-light); margin-inline-end: .35rem; }

/* ── לימוד משותף ────────────────────────────────────────── */
.t26-page { padding: 2rem 0 3.5rem; }
.t26-banner { position: relative; overflow: hidden; border-radius: 20px; min-height: 230px; display: flex; align-items: flex-end;
  background: url('/assets/images/theme/kotel_wide.jpg') 30% center / cover; box-shadow: 0 0 0 1px var(--gold-light), var(--shadow-lg); }
.t26-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(74, 13, 23, .25), rgba(74, 13, 23, .88)); }
.t26-banner > div { position: relative; padding: 1.6rem 2rem; color: #fff; width: 100%; }
.t26-banner h1 { color: var(--gold-light); font-size: 2.7rem; line-height: 1.1; margin: .2rem 0 0; }
.t26-banner p { color: #EAD6B0; margin: 0; font-size: 1.15rem; }
.t26-banner .t26-badge { background: rgba(255, 250, 240, .92); font-size: .95rem; }
.t26-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.t26-stat { padding: .9rem; text-align: center; }
.t26-stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--primary); line-height: 1.1; }
.t26-stat span { font-size: .98rem; color: var(--text-muted); }
.t26-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.4rem 0 .6rem; }
.t26-chip { height: 40px; padding: 0 1.1rem; border-radius: 20px; border: 1px solid var(--border); background: #FBF4E6; color: var(--text); font: inherit; font-size: 1.02rem; cursor: pointer; }
.t26-chip.on, .t26-chip[aria-selected="true"] { background: linear-gradient(var(--primary-light), var(--primary-dark)); color: #fff; border-color: var(--primary-dark); font-weight: 700; }
.t26-mas-row { display: flex; align-items: center; gap: .8rem; padding: .75rem .3rem; border-bottom: 1px solid #E6D5B2; }
.t26-mas-name { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.t26-mas-name small { font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--text-muted); }
.t26-mas-claims { font-size: .98rem; color: var(--text-muted); }
.t26-mas-claims .done { color: #2F6B3B; font-weight: 700; }
.t26-small-btn { min-height: 40px !important; padding: .35rem 1rem !important; font-size: 1rem !important; border-radius: 12px !important; }
.t26-sheet[hidden] { display: none; }
.t26-sheet { position: fixed; inset: 0; z-index: 1000; background: rgba(30, 8, 12, .55); display: flex; align-items: flex-end; justify-content: center; }
.t26-sheet-panel { width: min(560px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 24px 24px 0 0; padding: 1.4rem 1.5rem 1.8rem; box-shadow: 0 -10px 30px rgba(74, 13, 23, .3); }
@media (min-width: 700px) { .t26-sheet { align-items: center; } .t26-sheet-panel { border-radius: 24px; } }
.t26-perakim { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: .5rem; margin: .9rem 0; }
.t26-perakim label { position: relative; }
.t26-perakim input { position: absolute; opacity: 0; inset: 0; }
.t26-perakim span { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; border: 1.5px solid var(--primary); background: #fff; font-family: var(--font-head); font-weight: 700; cursor: pointer; }
.t26-perakim input:checked + span { background: var(--primary); color: #fff; }
.t26-perakim input:disabled + span { border-color: #E0CFA9; background: #F1E7D3; color: #B9A58A; text-decoration: line-through; cursor: not-allowed; }
.t26-perakim input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.t26-field { display: flex; flex-direction: column; gap: .3rem; margin-top: .8rem; font-size: 1rem; color: var(--text-muted); }
.t26-field input, .t26-field select, .t26-field textarea { height: 48px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; padding: 0 .9rem; font: inherit; font-size: 1.05rem; color: var(--text); }
.t26-field textarea { height: 90px; padding: .6rem .9rem; }
.t26-field input:focus, .t26-field select:focus, .t26-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(110, 20, 35, .15); }
.t26-check { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; }
.t26-msg { margin-top: .8rem; padding: .7rem 1rem; border-radius: 12px; }
.t26-msg.err { background: #FBE3E3; color: #8A1C1C; }
.t26-msg.ok { background: #E4F1E3; color: #245C2E; }
.t26-share { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.t26-chart-card { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem 1.4rem; text-decoration: none; color: var(--text); }
.t26-chart-card:hover { color: var(--text); box-shadow: 0 0 0 1px var(--gold-light), 0 0 0 5px #F6EBD6, 0 0 0 6px var(--gold), 0 18px 34px rgba(74, 13, 23, .24); }
.t26-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; margin-top: 1.2rem; }

/* ── ילדים ─────────────────────────────────────────────── */
.t26-kids-hero { position: relative; overflow: hidden; border-radius: 20px; min-height: 240px; background: url('/assets/images/theme/books_he.jpg') center 40% / cover; box-shadow: 0 0 0 1px var(--gold-light), var(--shadow-lg); }
.t26-kids-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(247, 238, 220, 0) 25%, rgba(247, 238, 220, .96) 60%); }
html[dir="ltr"] .t26-kids-hero::before { background: linear-gradient(to right, rgba(247, 238, 220, 0) 25%, rgba(247, 238, 220, .96) 60%); }
.t26-kids-hero > div { position: absolute; inset-inline-end: 2rem; top: 50%; transform: translateY(-50%); max-width: 440px; }
.t26-kids-hero h1 { font-size: 2.6rem; margin: 0; }
.t26-kid-row { display: flex; align-items: center; gap: .8rem; padding: .6rem .2rem; border-bottom: 1px solid #E6D5B2; }
.t26-kid-row audio { width: min(380px, 100%); height: 40px; }

/* ── הדפסה ─────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .t26-no-print, #cookieConsent, .app-banner, .open-nagish { display: none !important; }
  body { background: #fff; }
}

/* ── נייד ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .t26-top { background-size: 360px auto; }
  .t26-top-inner { min-height: 84px; }
  .t26-brand { margin-inline-start: 0; gap: .6rem; }
  .t26-brand img { height: 46px; }
  .t26-brand-title { font-size: 1.9rem; }
  .t26-brand-sub, .t26-tools .t26-hide-m { display: none; }
  .t26-hamburger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; color: var(--gold-light); font-size: 1.5rem; }
  .t26-nav .nav-list { display: none; flex-direction: column; min-height: 0; }
  .t26-nav .nav-list.open { display: flex; }
  .t26-nav .nav-list > li > a { flex-direction: row; justify-content: flex-start; padding: .8rem 1.2rem; border-inline-start: none; border-bottom: 1px solid #E6D5B2; font-size: 1.1rem; }
  .t26-nav .nav-list > li > a.active { margin-top: 0; border-radius: 0; }
  .t26-hero { grid-template-columns: 1fr; min-height: 0; }
  .t26-hero-img.books { display: none; }
  .t26-hero-img.kotel { position: absolute; inset: 0; border-radius: 20px; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .t26-hero-mid { position: relative; padding: 2rem 1rem; }
  .t26-hero-title { font-size: 3.2rem; }
  .t26-actions { grid-template-columns: repeat(3, 1fr); }
  .t26-actions > :first-child { grid-column: 1 / -1; }
  .t26-actions > *:nth-child(5) { display: none; }
  .t26-actions > * { min-height: 64px; font-size: 1.1rem; flex-direction: column; gap: .3rem; }
  .t26-grid2 { grid-template-columns: 1fr; }
  .t26-card { padding: 1.3rem 1.2rem; }
  .t26-mishna { font-size: 1.3rem; }
  .t26-banner h1 { font-size: 2rem; }
  .t26-kids-hero > div { inset-inline-end: 1rem; max-width: 60%; }
  .t26-kids-hero h1 { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) { .seder-card:hover { transform: none; } }

.t26-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html, body { overflow-x: clip; }
@media (max-width: 600px) { .t26-stats { gap: .5rem; } .t26-stat { padding: .6rem .3rem; min-width: 0; } .t26-stat b { font-size: 1.4rem; } .t26-stat span { font-size: .85rem; } .t26-share > * { flex: 1 1 45%; } }
.t26-brand-sub { display: block; }
.t26-brand-title, .t26-badge { white-space: nowrap; }
@media (max-width: 900px) {
  .t26-brand-sub { display: none !important; }
  .t26-brand-title { font-size: 1.7rem; }
  .t26-hero-perek .t26-badge { font-size: 1.35rem; padding: .25rem 1.1rem; }
  .t26-tools-row { gap: .35rem; }
  .t26-pill { padding: 0 .7rem; }
}
@media (max-width: 420px) { .t26-brand img { display: none; } }
/* ── דף פרק ─────────────────────────────────────────────── */
.mishna-block { background: url('/assets/images/theme/parchment.jpg') center / cover; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 0 0 4px #F6EBD6, 0 0 0 5px var(--gold-light), var(--shadow); }
.mishna-block-text { font-family: var(--font-text); font-size: 1.45rem; line-height: 1.85; color: var(--text); }
.mishna-num { font-family: var(--font-head); color: var(--gold); }
.commentary-name { font-family: var(--font-head); color: var(--primary); }
.commentary-text { font-size: 1.12rem; line-height: 1.8; color: var(--text-muted); }
.commentary-text b { font-family: var(--font-text); color: var(--text); }
.page-title { font-size: 2.6rem; }
.media-toggle .toggle-btn.active { background: linear-gradient(var(--primary-light), var(--primary-dark)); color: #fff; }
.no-media { background: url('/assets/images/theme/parchment.jpg') center / cover; border-color: var(--gold-light); }
.breadcrumb-bar { background: transparent; }
.chapter-nav a, .chapter-nav .btn { font-family: var(--font-head); }
.in-memory { background: url('/assets/images/theme/parchment.jpg') center / cover; border: 1px solid var(--gold-light); }
.t26-pill { white-space: nowrap; }
html[lang="en"] .t26-brand, html[lang="fr"] .t26-brand, html[lang="es"] .t26-brand { margin-inline-start: 20%; }
html[lang="en"] .t26-brand-title, html[lang="fr"] .t26-brand-title, html[lang="es"] .t26-brand-title { font-size: 2.8rem; }
html[lang="en"] .t26-hero-title, html[lang="fr"] .t26-hero-title, html[lang="es"] .t26-hero-title { font-size: 3.6rem; }
@media (max-width: 1100px) { .t26-brand { margin-inline-start: 0 !important; } }

/* ── כלי טקסט בדף הפרק: מפרשים + גודל כתב (רוני 24.11) ── */
.t26-text-tools { display: flex; justify-content: space-between; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap; margin: 1.6rem 0 .8rem; padding: .8rem 1.1rem; border-radius: 16px; background: linear-gradient(#FCF6EA, #EFE1C4); border: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.t26-tt-group { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.t26-text-tools .t26-round { width: 44px; height: 44px; }
.t26-text-tools button:disabled { opacity: .4; cursor: default; }
.mishna-text-section { --t26-fs: 1; }
.mishna-text-section .mishna-block-text { font-size: calc(1.45rem * var(--t26-fs)); }
.mishna-text-section .commentary-text { font-size: calc(1.12rem * var(--t26-fs)); }
.t26-comm-row { display: flex; align-items: flex-start; gap: .8rem; flex-wrap: wrap; }
.t26-comm-row details { flex: 1; min-width: 0; }
.t26-add-comm { border: none; background: none; color: var(--primary); font: inherit; font-weight: 700; cursor: pointer; padding: .35rem .2rem; text-decoration: underline; text-underline-offset: 3px; }
.t26-add-comm:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.t26-comm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .2rem .8rem; }
.t26-comm-opt { margin-top: .4rem; font-size: 1.08rem; }
.t26-comm-opt input { width: 20px; height: 20px; }
@media (max-width: 600px) { .t26-text-tools { position: static; } }
