﻿/* shaulhatzav.co.il — shared styles (23/11/2026).
   Look: real episode art behind every section, text on opaque "sticker" cards (3px ink outline + hard shadow),
   Fredoka headings, Rubik text. Colours with white text are dark enough for WCAG AA (teal-d 4.9:1, purple 5.6:1). */
:root { --cream: #fff5e1; --teal: #17a3a8; --teal-d: #0e7c86; --teal-dd: #0b6770; --yellow: #ffd23f; --red: #d9432a; --pink: #ff7eb6; --purple: #6a48f0; --ink: #22264a; --sky: #7fd0ea; --mint: #a5dcc0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; overflow-x: hidden; max-width: 100%; }
body { font-family: 'Rubik', 'Heebo', 'Segoe UI', Arial, sans-serif; color: var(--ink); background: var(--ink); font-size: 100%; }
h1, h2, h3 { font-family: 'Fredoka', 'Rubik', sans-serif; font-weight: 700; margin: 0; line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--teal-d); }
h3, h2.h3 { font-size: 1.35rem; color: var(--teal-d); margin-top: 22px; }
a { color: var(--teal-dd); }
img { max-width: 100%; height: auto; }
.in { max-width: 1060px; margin: 0 auto; padding: 0 20px; position: relative; }
.st { border: 3px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); }
.skip { position: absolute; top: -60px; right: 10px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 800; z-index: 50; }
.skip:focus { top: 10px; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px #fff; }

.pill { display: inline-block; background: #fff; color: var(--ink); font-weight: 800; text-decoration: none; padding: 11px 24px; border-radius: 999px; font-size: 1.05rem; border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.pill:hover { transform: translate(2px, 2px); box-shadow: 2px 3px 0 var(--ink); }
.pill.y { background: var(--yellow); }
.pill.big { font-size: 1.35rem; padding: 14px 32px; font-weight: 900; }
.pill.t { background: var(--teal-d); color: #fff; }
.pill.p { background: var(--pink); }

/* top bar */
.bar { position: sticky; top: 10px; z-index: 20; margin: 0 auto; max-width: 1060px; padding: 0 20px; height: 0; }
.bar .b { background: #fff; border-radius: 999px; padding: 8px 10px 8px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.45rem; color: var(--teal-d); white-space: nowrap; padding-right: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo img { height: 34px; width: auto; }
.bar nav { display: flex; gap: 18px; font-weight: 700; }
.bar nav a { color: var(--ink); text-decoration: none; padding: 4px 2px; border-bottom: 3px solid transparent; }
.bar nav a:hover, .bar nav a[aria-current] { border-bottom-color: var(--teal-d); }
.bar .pill { padding: 8px 18px; font-size: .98rem; box-shadow: 3px 4px 0 var(--ink); white-space: nowrap; }
.menu { display: none; }

/* sections on episode art */
section, .hero, .pagehead { position: relative; background: center / cover no-repeat; border-bottom: 3px solid var(--ink); }
section { padding: 60px 0; scroll-margin-top: 80px; }
.panel { background: var(--cream); border-radius: 30px; padding: 26px 28px 30px; }
.panel p, .panel li { font-size: 1.08rem; line-height: 1.65; }
.panel p { margin: 10px 0 16px; }
.panel p.lead { font-weight: 800; font-size: 1.2rem; margin-bottom: 0; }
.side { display: grid; grid-template-columns: minmax(0, 480px) 1fr; }
.side.l { grid-template-columns: 1fr minmax(0, 480px); } .side.l .panel { grid-column: 2; }

.hero { background-position: 70% center; padding: 110px 0 70px; min-height: 600px; display: flex; align-items: center; }
.hero .in { width: 100%; }
.hero .panel { background: var(--teal-d); color: #fff; max-width: 480px; margin-right: auto; margin-left: 0; text-align: center; padding: 26px 24px 30px; position: relative; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4rem); color: #fff; -webkit-text-stroke: 9px var(--ink); paint-order: stroke fill; }
.hero h1 span { color: var(--yellow); white-space: nowrap; }
.hero p { font-size: 1.15rem; font-weight: 500; line-height: 1.5; margin: 12px 0 18px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.new { position: absolute; top: -20px; right: 8px; background: var(--red); color: #fff; font-weight: 900; padding: 7px 16px; border-radius: 16px; transform: rotate(6deg); }
.rib { overflow: hidden; padding: 16px 0; margin: -32px 0 -18px; position: relative; z-index: 3; }
.ribbon { background: var(--yellow); border-block: 3px solid var(--ink); transform: rotate(-1.4deg) scale(1.05); font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.45rem; white-space: nowrap; overflow: hidden; padding: 9px 0; text-align: center; }

.title { display: table; margin: 0 auto 26px; background: var(--cream); border-radius: 999px; padding: 8px 34px 12px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border-radius: 26px; overflow: hidden; background: #fff; text-align: center; display: flex; flex-direction: column; }
.card .pic { aspect-ratio: 16 / 10; background: center / cover; position: relative; border-bottom: 3px solid var(--ink); display: block; }
.card .pic span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.card .ft { padding: 14px 12px 18px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.tag { display: inline-block; font-weight: 800; font-size: .85rem; padding: 3px 12px; border-radius: 999px; border: 2px solid var(--ink); margin-bottom: 8px; }
.card h3 { font-family: 'Rubik', sans-serif; font-weight: 800; font-size: 1.12rem; color: var(--ink); margin: 0 0 12px; line-height: 1.3; flex: 1; }

.player { margin-top: 26px; background: var(--cream); border-radius: 30px; padding: 18px 18px 20px; }
.player h3, .player h2.h3 { margin: 0 6px 12px; }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; border: 3px solid var(--ink); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 14px 6px 0; }
.player .row p { margin: 0; font-weight: 600; }

.panel p.note { font-size: .95rem; margin: 14px 0 0; color: #3d4266; }
.friends { min-height: 560px; display: flex; align-items: flex-start; background-position: center 60%; }
.friends .in { width: 100%; text-align: center; }
.friends .title { margin-bottom: 0; }
.friends p { display: table; margin: 12px auto 0; background: #fff; border-radius: 18px; padding: 8px 18px; font-weight: 600; font-size: 1.05rem; }

.pocket .panel { background: var(--purple); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; max-width: 780px; margin: 0 auto; }
.pocket h2 { color: #fff; -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; }
.pocket ol { margin: 0 0 18px; padding: 0 20px 0 0; font-weight: 700; line-height: 1.9; }
.qr { background: #fff; border-radius: 24px; padding: 12px; width: 190px; text-align: center; color: var(--ink); font-weight: 800; }
.qr img { width: 100%; height: auto; display: block; margin-bottom: 6px; image-rendering: pixelated; }

/* inner pages */
.pagehead { padding: 120px 0 46px; text-align: center; }
.pagehead h1 { display: inline-block; background: var(--cream); border-radius: 999px; padding: 10px 40px 14px; font-size: clamp(2rem, 6vw, 3rem); color: var(--teal-d); }
.page { background: center / cover fixed no-repeat; padding: 40px 0 60px; border-bottom: 3px solid var(--ink); }
.page .panel { max-width: 860px; margin: 0 auto 26px; }
.page .panel > :first-child { margin-top: 0; }
.page ul, .page ol { padding-right: 22px; margin: 8px 0 16px; }
.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 14px 0 6px; padding: 0; list-style: none; }
.letters li { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 8px 10px; text-align: center; font-weight: 700; line-height: 1.3; }
.letters b { display: block; font-family: 'Fredoka', sans-serif; font-size: 2rem; color: var(--teal-d); line-height: 1; }
.world { font-weight: 800; margin: 18px 0 0; }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vgrid .player { margin: 0; }

footer { background: repeating-linear-gradient(90deg, var(--teal-d) 0 34px, var(--teal-dd) 34px 68px); color: #fff; padding: 34px 0 0; position: relative; }
footer .in { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
footer .logo { background: #fff; border-radius: 999px; padding: 5px 18px 7px; margin-bottom: 14px; }
footer nav a { color: #fff; font-weight: 700; display: block; margin: 8px 0; }
footer img.s { height: 190px; width: auto; margin-bottom: -4px; filter: drop-shadow(5px 6px 0 var(--ink)); }
.follow { margin: 2px 0 16px; }
.fh { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.3rem; margin: 0 0 10px; color: #fff; }
.soc { display: flex; flex-wrap: wrap; gap: 14px; }
footer nav .soc a { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px 8px 12px; border-radius: 18px; color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; transition: transform .12s; }
.soc a svg { width: 30px; height: 30px; flex: none; }
.soc a.yt { background: #d81f16; transform: rotate(-3deg); }
.soc a.fb { background: #1463d8; transform: rotate(2deg); }
.soc a.ig { background: linear-gradient(135deg, #d6249f, #7b2cbf); transform: rotate(-2deg); }
.soc a:hover { transform: rotate(0deg) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .soc a { transition: none; } }
.copy { background: var(--ink); color: #fff; text-align: center; padding: 10px; font-size: .92rem; font-weight: 500; }
.a11y { position: fixed; z-index: 30; bottom: 16px; left: 14px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #1d4ed8; text-decoration: none; }
.a11y svg { width: 28px; height: 28px; fill: #fff; }

@media (max-width: 760px) {
  .bar nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 800; padding: 6px 12px; border: 3px solid var(--ink); border-radius: 999px; background: var(--yellow); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu div { position: absolute; top: 48px; left: -10px; background: #fff; border-radius: 20px; padding: 8px 16px; min-width: 200px; }
  .menu div a { display: block; padding: 10px 0; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid #22264a22; }
  .menu div a:last-child { border-bottom: 0; }
  .bar .b { padding: 6px 8px 6px 10px; gap: 6px; } .logo { font-size: 1.2rem; padding-right: 2px; } .logo img { height: 28px; }
  .bar .pill { padding: 7px 12px; font-size: .9rem; }
  .hero { padding: 300px 0 46px; min-height: 0; background-position: 62% top; background-size: auto 330px; background-color: var(--teal-d); align-items: flex-end; }
  .hero .panel { margin: 0 auto; }
  section { padding: 230px 0 34px; background-size: auto 250px; background-position: center top; background-color: var(--cream); }
  section.plain { padding-top: 40px; background-size: cover; }
  .side, .side.l { grid-template-columns: 1fr; } .side.l .panel { grid-column: 1; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .grid .card:first-child { grid-column: 1 / -1; }
  .friends { min-height: 0; padding-top: 30px; padding-bottom: 250px; background-position: center bottom; }
  .pocket .panel { grid-template-columns: 1fr; text-align: center; } .pocket ol { display: inline-block; text-align: right; } .qr { margin: 0 auto; }
  .ribbon { font-size: 1.1rem; }
  .panel { padding: 22px 20px 24px; }
  .pagehead { padding: 96px 0 30px; }
  .page { background-attachment: scroll; padding: 26px 0 40px; }
  .vgrid { grid-template-columns: 1fr; }
  footer img.s { height: 130px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pill { transition: none; } .pill:hover { transform: none; } }



