/* pages.css — הדפים הסטטיים (זמני היום לפי יישוב, חגים). אותם גופן וצבעים כמו באפליקציה
   (css/app.css), אבל דף רגיל שנגלל — בלי סרגל תחתון ובלי JavaScript. */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f2ec;
  --surface: #ffffff;
  --ink: #1f1e1d;
  --ink-2: #6e6c66;
  --muted: #a5a39b;
  --line: #e6e3d9;
  --line-soft: #efece3;
  --accent: #c96442;
  --shabbat: #f6f4ee;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1b19;
    --surface: #232220;
    --ink: #f5f3ee;
    --ink-2: #a8a59d;
    --muted: #6e6b64;
    --line: #34322d;
    --line-soft: #2a2825;
    --accent: #e08a6b;
    --shabbat: #2b2926;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Heebo", -apple-system, BlinkMacSystemFont, "SF Hebrew", "Segoe UI",
    "Noto Sans Hebrew", "Arial Hebrew", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }

/* סרגל עליון */
.top { border-bottom: 1px solid var(--line-soft); padding-top: env(safe-area-inset-top); }
.top .wrap { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 16px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 6px; }
.open { font-size: 13.5px; font-weight: 500; white-space: nowrap; }

.crumbs { font-size: 12.5px; color: var(--muted); margin: 14px 0 6px; }
.crumbs a { color: var(--ink-2); }
.crumbs .sep { margin: 0 6px; }

h1 { font-size: 24px; line-height: 1.3; margin: 4px 0 8px; letter-spacing: -.3px; }
h2 { font-size: 17px; margin: 28px 0 10px; }
h3 { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 14px 16px 4px; }
.lead { color: var(--ink-2); margin: 0 0 8px; }
section > p { margin: 0 0 8px; }
.note { font-size: 12.5px; color: var(--muted); margin: 8px 2px 0; line-height: 1.5; }
small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }

/* טבלאות */
.t { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.t th, .t td { padding: 9px 10px; text-align: start; border-top: 1px solid var(--line-soft); vertical-align: top; }
.t thead th { border-top: 0; font-size: 12px; font-weight: 500; color: var(--muted); }
.t tbody th { font-weight: 500; }
.t td { white-space: nowrap; }
.t.dates td { white-space: normal; }
.t.week th, .t.week td { padding: 8px 6px; }
.t.week th:first-child { padding-inline-start: 12px; }
.t.week tbody th span { color: var(--muted); font-weight: 400; }
.t tr.sh { background: var(--shabbat); }

/* רשימת זמני היום */
.zlist { list-style: none; margin: 0 0 6px; padding: 0; }
.zlist li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 16px; border-top: 1px solid var(--line-soft);
}
.zlist .v { font-weight: 600; font-variant-numeric: tabular-nums; }

/* קישורים */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  padding: 6px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink); font-size: 14px;
}
.chips a:hover { border-color: var(--accent); text-decoration: none; }
.pager { display: flex; justify-content: space-between; margin: 28px 0 0; font-size: 14px; }

.foot { margin-top: 36px; padding-top: 16px; padding-bottom: calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }
.foot nav { margin-bottom: 6px; }
.foot p { margin: 0; }
