
/* ===== Root & Typography ===== */
:root {
  --primary: #800020;
  --primary‑light: #b33549;
  --bg: #f5f5f5;
  --text: #222;
  --card‑bg: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

body {
  font-family: "Heebo", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.65;
  direction: rtl;
}

/* ===== Skip‑link ===== */
.skip-link {
  position: absolute;
  top: -40px;
  right: 1rem;
  background: #fff;
  border: 2px solid var(--primary);
  padding: .5rem 1rem;
  z-index: 1000;
  transition: top .25s;
}
.skip-link:focus-visible { top: .5rem; }

/* ===== Global Layout ===== */
.wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* ===== Hero ===== */
.hero { text-align: center; margin-bottom: 3rem; }
.logo { max-width: 300px; margin-bottom: 1rem; }

h1 { font-size: 2.25rem; margin: .25rem 0; }
h1 .accent { color: var(--primary); }
.subtitle { font-weight: 500; margin: .5rem 0 1rem; }
.tagline { color: var(--primary-light); font-style: italic; margin: 0; }

/* ===== Headings & Sections ===== */
section { margin-bottom: 3rem; }
h2 { font-size: 1.6rem; margin-bottom: 1.25rem; color: var(--primary); }
h3 { font-size: 1.25rem; margin-top: 0; color: var(--primary); }

/* ===== Cards ===== */
.card {
  background: var(--card‑bg);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

/* ===== Judges list ===== */
.judges { list-style: none; padding: 0; }
.judges li { margin-bottom: .25rem; }
.judges .role { color: var(--primary-light); font-weight: 500; }

/* ===== FAQ ===== */
.faq‑section details {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  background: #fafafa;
  margin-bottom: 1rem;
  transition: border-color .2s;
}
.faq‑section details[open] { border-color: var(--primary); }

.faq‑section summary {
  cursor: pointer;
  font-weight: 600;
  outline: none;
}

/* אינדיקציית פוקוס נגישה */
.faq‑section summary:focus-visible {
  outline: 3px solid var(--primary);
  border-radius: 4px;
}

.faq‑section p { margin: .5rem 0 0; }

/* ===== Downloads grid ===== */
.downloads‑section { text-align: center; }
.downloads‑grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.download‑card {
  flex: 1 1 260px;
  max-width: 320px;
  background: var(--card‑bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s;
}
.download‑card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.download‑card h3 { margin-top: 0; }
.download‑card p { margin-bottom: 0; font-size: .95rem; line-height: 1.55; }

/* ===== Contact ===== */
.contact a { color: var(--primary); text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* ===== Footer ===== */
footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: .9rem;
  color: #666;
}

/* ===== Simple fade‑in animation ===== */
.fade‑in { animation: fade .8s ease-out both; }
@keyframes fade { from {opacity:0;transform:translateY(10px);} to {opacity:1;transform:none;} }

/* ===== Responsive ===== */
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .wrapper { padding: 2.5rem 1rem; }
  .download‑card { flex: 1 1 100%; }
}

/* ===== Accessibility statement spacing ===== */
.statement-section { margin-bottom: 2rem; }
