:root {
  color-scheme: light;
  --paper: #f4f6f3;
  --surface: #ffffff;
  --ink: #233b39;
  --muted: #566964;
  --green: #2f5552;
  --line: #dce3dd;
  --focus: #aa631d;
  font: 18px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
a { color: inherit; }
button, summary, a { outline-offset: 5px; }
:focus-visible { outline: 3px solid var(--focus); }
[hidden] { display: none !important; }
.page-shell { max-width: 1180px; margin-inline: auto; padding: 0 22px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 105px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.55rem; font-weight: 600; letter-spacing: -.06em; min-height: 56px; }
.brand-tv { font-weight: 400; }
.brand-mark { width: 39px; height: 39px; flex-shrink: 0; fill: var(--green); }
.brand-mark path { fill: var(--paper); }
main { min-height: 55vh; padding-block: 34px 40px; }
main:focus { outline: none; }
.intro { margin-bottom: 28px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.18; margin: 0 0 12px; overflow-wrap: anywhere; }
html[lang="he"] h1 { font-family: Arial, sans-serif; font-weight: 400; letter-spacing: normal; }
.intro p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 42em; }
.category-grid, .video-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0; padding: 0; list-style: none; }
.category-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); height: 100%; min-height: 154px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; text-decoration: none; }
.category-photo { width: 100%; height: 100%; min-height: 154px; object-fit: cover; background: #dce7df; }
.category-copy { padding: 19px 17px; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.category-card--text { grid-template-columns: 1fr; background: #e7ece5; }
.category-card--text .category-copy { justify-content: center; }
.category-copy h2 { font-size: 1.2rem; font-weight: 600; line-height: 1.28; margin: 0 0 6px; overflow-wrap: anywhere; }
.category-copy p { color: var(--muted); font-size: .94rem; line-height: 1.5; margin: 0; }
.category-end { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 14px; gap: 12px; color: var(--muted); font-size: .8rem; }
.arrow { width: 20px; height: 20px; flex-shrink: 0; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.back-link { display: inline-flex; gap: 9px; align-items: center; min-height: 56px; text-decoration: none; color: var(--green); margin: -14px 0 17px; font-size: 1rem; }
.back-link .arrow { transform: rotate(180deg); }
[dir="rtl"] .back-link .arrow { transform: none; }
.video-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.video-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #dce7df; }
.video-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.duration { position: absolute; bottom: 12px; inset-inline-end: 12px; padding: 4px 10px; border-radius: 6px; font-size: .83rem; background: #20312fed; color: white; }
.video-copy { display: flex; flex-direction: column; flex-grow: 1; padding: 23px; }
.video-meta { display: flex; flex-wrap: wrap; gap: 5px 10px; align-items: center; color: var(--muted); font-size: .85rem; margin-bottom: 11px; }
.source { font-size: .82rem; font-weight: 600; background: #edf1ed; border-radius: 5px; padding: 2px 7px; }
.source-netflix { background: #f5eceb; color: #862f2f; }
.video-copy h2 { font-size: 1.35rem; font-weight: 600; line-height: 1.3; margin: 0 0 12px; overflow-wrap: anywhere; }
.video-description { margin: 0 0 24px; font-size: 1rem; color: var(--muted); }
.watch-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; min-height: 56px; padding: 11px 16px; background: var(--green); color: #fff; font-size: 1rem; font-weight: 500; border-radius: 10px; }
.site-footer { border-top: 1px solid var(--line); padding: 16px 0 28px; }
.watch-help { max-width: 660px; margin-inline: auto; }
.watch-help summary { display: flex; align-items: center; gap: 12px; min-height: 60px; cursor: pointer; list-style: none; font-size: .95rem; }
.watch-help summary::-webkit-details-marker { display: none; }
.watch-help summary svg { width: 25px; height: 25px; flex-shrink: 0; }
.details-sign { margin-inline-start: auto; font-size: 1.4rem; font-weight: 300; }
.watch-help[open] .details-sign { transform: rotate(45deg); }
.help-content { color: var(--muted); font-size: 1rem; padding-bottom: 12px; }
.help-content p { margin: 10px 0; }
.footer-note { text-align: center; font-size: .8rem; color: var(--muted); margin: 18px 0 0; }
.empty { padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.retry { border: 0; border-radius: 10px; background: var(--green); color: white; padding: 14px 22px; min-height: 56px; cursor: pointer; }
.skip-link { position: absolute; inset-block-start: -200px; inset-inline-start: 15px; padding: 12px; z-index: 2; background: white; }
.skip-link:focus { inset-block-start: 12px; }
.image-missing { background: #dae6dd; }
.image-missing img { visibility: hidden; }
@media (hover: hover) {
  .category-card:hover, .video-card:hover { border-color: #72908b; box-shadow: 0 4px 16px #29473a0a; }
  .back-link:hover { text-decoration: underline; }
}
@media (min-width: 620px) {
  .page-shell { padding-inline: 38px; }
  main { padding-top: 44px; padding-bottom: 50px; }
  .intro { margin-bottom: 34px; }
  .category-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .category-card { display: flex; flex-direction: column; }
  .category-photo { aspect-ratio: 16/8; height: auto; min-height: 0; }
  .category-copy { padding: 23px; flex: 1; justify-content: start; }
  .category-copy h2 { font-size: 1.3rem; }
  .category-end { margin-top: auto; padding-top: 20px; }
  .category-copy p { margin-bottom: 4px; }
}
@media (min-width: 1000px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-grid { max-width: 920px; }
}
@media (max-width: 360px) {
  .page-shell { padding-inline: 16px; }
  .site-header { gap: 6px; flex-wrap: wrap; padding-block: 15px; }
  .brand { font-size: 1.4rem; gap: 7px; }
  .brand-mark { width: 33px; height: 33px; }
  .category-card { grid-template-columns: 80px minmax(0, 1fr); }
  .category-card--text { grid-template-columns: 1fr; }
  .category-copy { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
