:root {
  --navy: #104e79;
  --navy-hover: #0c3d5e;
  --gold: #c8b18b;
  --ink: #111;
  --muted: #575754;
  --bg: #fff;
  --line: #ededed;
  --radius: 8px;
  --wrap: 1180px;
  --font: "Open Sans Hebrew", "Assistant", "Open Sans", "Noto Sans Hebrew", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: normal;
  word-spacing: 0.04em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
button, input { font-family: inherit; }
button { cursor: pointer; }

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.ico { width: 18px; height: 18px; display: block; }

/* header */
.site-header { background: #fff; }

.topbar { padding: 18px 0 8px; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-navy {
  background: var(--navy);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 10px;
  line-height: 1.2;
  transition: background .2s ease, transform .15s ease;
}
.btn-navy:hover { background: var(--navy-hover); color: #fff !important; }

.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; direction: ltr; }
.social a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff !important;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .15s ease;
}
.social a:hover { transform: scale(1.06); background: var(--navy-hover); }
.social .ico-youtube { width: 20px; height: 20px; }
.social li:last-child a { background: #ff0033; }
.social li:last-child a:hover { background: #d4002b; }

.brandbar { padding: 8px 0 18px; }
.brandbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo img { width: min(220px, 52vw); height: auto; margin-inline: auto; }

.search-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: var(--navy);
}
.search-box input {
  border: 0;
  border-bottom: 1px solid transparent;
  width: 88px;
  font-size: 16px;
  color: var(--navy);
  background: transparent;
  padding: 6px 0;
}
.search-box input:focus {
  outline: none;
  border-bottom-color: var(--navy);
  width: 140px;
}
.search-box button {
  background: none;
  border: 0;
  color: var(--navy);
  padding: 8px;
}
.search-box .ico { width: 26px; height: 26px; }

.menu-btn {
  justify-self: end;
  background: none;
  border: 0;
  color: var(--navy);
  padding: 8px;
}
.menu-btn .ico { width: 32px; height: 32px; }

/* drawer */
.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(320px, 86vw);
  background: #fff;
  z-index: 40;
  box-shadow: 0 0 24px rgb(0 0 0 / .12);
  padding: 18px 22px;
  overflow: auto;
}
.drawer ul { list-style: none; margin: 18px 0 0; padding: 0; }
.drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--navy);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--navy);
}
.drawer-close { background: none; border: 0; color: var(--navy); padding: 6px; }
.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgb(16 78 121 / .35);
  z-index: 30;
}
body.menu-open { overflow: hidden; }

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  padding: 12px 0 28px;
  align-items: stretch;
}
.hero-feature {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.hero-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
  max-height: 420px;
}
.hero-overlay {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  background: linear-gradient(transparent, rgb(0 0 0 / .72));
  color: #fff;
  padding: 28px 22px 18px;
}
.hero-overlay h1 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}
.hero-feature a:hover .hero-overlay h1 { text-decoration: underline; }

.hero-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.stack-item {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 16px;
  align-items: center;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  direction: ltr;
}
.stack-item:last-child { border-bottom: 0; }
.stack-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.45;
  text-align: right;
  direction: rtl;
}
.stack-media {
  width: 160px;
  height: 92px;
  overflow: hidden;
}
.stack-media img { width: 100%; height: 100%; object-fit: cover; }

.gold-bar {
  height: 14px;
  background: var(--gold);
  width: min(var(--wrap), calc(100% - 40px));
  margin: 8px auto 36px;
}

.cat-block { padding-block: 12px 40px; }
.cat-head {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.cat-head::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: var(--gold);
  margin-top: 6px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card { display: flex; flex-direction: column; gap: 10px; }
.card-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #f2f2f2;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-title { font-weight: 700; font-size: 16px; line-height: 1.45; }
.card-meta { color: var(--muted); font-size: 13px; }
.card:hover .card-title { color: var(--navy); }

.tv-block { padding-bottom: 48px; }
.tv-note { color: var(--muted); margin-top: -8px; }

.archive { padding: 28px 0 56px; }
.lede { color: var(--muted); max-width: 70ch; }

.pager {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  font-weight: 700;
}
.pager a { color: var(--navy); }

.article { padding: 28px 0 64px; max-width: 860px; }
.article-head h1 {
  margin: 8px 0 6px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
}
.kicker { margin: 0; font-weight: 700; color: var(--navy); }
.kicker a + a::before { content: " · "; color: var(--gold); }
.article-head time { color: var(--muted); font-size: 14px; }
.article-hero { margin: 22px 0; }
.article-hero img { width: 100%; }
.article-body { font-size: 18px; }
.article-body p { margin: 0 0 1em; }
.article-body img { margin: 16px 0; }
.article-body iframe { max-width: 100%; }

.site-footer {
  background: #fff;
  border-top: 8px solid var(--gold);
  margin-top: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0 28px;
}
.footer-col h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--navy);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 6px 0; }
.footer-col a:hover { color: var(--navy); }
.btn-gold {
  display: inline-block;
  margin-top: 10px;
  background: var(--gold);
  color: #111 !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
}
.footer-bottom {
  background: var(--navy);
  color: #fff;
}
.footer-bottom a { color: #fff !important; }
.footer-bottom-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 0;
  font-size: 14px;
}
.copy { margin-inline-start: auto; opacity: .85; }

@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-feature img { min-height: 260px; max-height: 320px; }
  .stack-item { grid-template-columns: 1fr 120px; }
}

@media (max-width: 640px) {
  .topbar-inner { flex-direction: column-reverse; align-items: stretch; }
  .top-ctas { justify-content: center; }
  .social { justify-content: center; }
  .brandbar-inner { grid-template-columns: auto 1fr auto; }
  .logo img { width: 150px; }
  .search-box input { width: 0; padding: 0; border: 0; }
  .search-box input:focus { width: 90px; }
  .card-grid { grid-template-columns: 1fr; }
  .stack-item { grid-template-columns: 1fr 100px; }
  .wrap { width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
