/* ─────────────────────────────────────────────────────────────────────────
   Policy pages v2 (2026-12-01): the veltomotors.com policy layout, in Hebrew/RTL.
   Owner: "the policies UI on the English site is much better and more fitting".

   Loaded after policies.css and only overrides it; remove this <link> to go back.
   Adds: sky top (as on product pages), a side menu of every policy with the current
   one in neon, a big forest-green title, the subtitle as a summary box, green h2s.
   The policy text itself is untouched.
   ───────────────────────────────────────────────────────────────────────── */

.policy-page {
  background: #fff url("https://cdn.prod.website-files.com/690b91018a37ef7945ccf1a4/6912d9443097f42ee2f3cce5_Frame%202147238633.webp") top center / 100% auto no-repeat;
}

.policy-page .policy-shell {
  width: min(100% - 4rem, 1200px);
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  grid-template-areas: "nav hero" "nav content" "nav back";
  column-gap: 4rem;
  align-items: start;
}

/* side menu (right side in RTL) */
.policy-sidenav { grid-area: nav; position: sticky; top: 1.5rem; padding-top: 0.4rem; }
.policy-sidenav-title {
  margin: 0 0 0.6rem;
  padding-inline-start: 0.75rem;
  color: #085136;
  font-family: Arial, "Arial Hebrew", "Noto Sans Hebrew", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.policy-sidenav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.policy-sidenav a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: #34433d;
  font-family: Arial, "Arial Hebrew", "Noto Sans Hebrew", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.policy-sidenav a:hover { background: #edf6f1; color: #085136; }
.policy-sidenav a[aria-current="page"] { background: #cdff63; color: #121716; }

/* hero */
.policy-page .policy-hero { grid-area: hero; margin: 0 0 1.6rem; padding-bottom: 0; border-bottom: 0; }
.policy-page .policy-kicker { color: #085136; }
.policy-page .policy-kicker::after { display: none; }
.policy-page .policy-title {
  color: #085136;
  font-size: clamp(2.3rem, 4.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
/* the subtitle is the page in one sentence: a solid forest box (owner: full colours only, no accent stripes) */
.policy-page .policy-subtitle {
  max-width: 62ch;
  margin-top: 1.4rem;
  padding: 1.1rem 1.4rem;
  border-radius: 16px;
  background: #085136;
  border: 0;
  color: #fff;
  font-weight: 600;
}
.policy-page .policy-date { display: block; margin-top: 0.9rem; font-weight: 600; }

/* document */
.policy-page .policy-content { grid-area: content; max-width: 780px; }
.policy-page .policy-content h2 {
  margin: 2.4rem 0 0.7rem;
  padding-top: 0;
  border-top: 0;
  color: #085136;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}
.policy-page .policy-content h2:first-child { margin-top: 0; }
.policy-page .policy-content p,
.policy-page .policy-content li { color: #34433d; font-size: 1.03rem; }
.policy-page .policy-content a { color: #085136; font-weight: 600; }
.policy-page .policy-back-link { grid-area: back; justify-self: start; color: #085136; }

/* the index page (policy.html) keeps its cards, under the new title */
.policy-page .policy-card-grid { grid-area: content; }

/* phone: the menu becomes a row of chips above the title */
@media (max-width: 900px) {
  .policy-page .policy-shell {
    width: min(100% - 2.5rem, 860px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "nav" "hero" "content" "back";
  }
  .policy-sidenav { position: static; margin-bottom: 1.4rem; }
  .policy-sidenav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .policy-sidenav a { padding: 0.4rem 0.75rem; background: #f1f5f3; font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) { .policy-sidenav a { transition: none; } }

/* pages with their own layout (privacy, safety: .pp-page; cancellation form: .cxl-shell): colours only, no side menu */
.pp-page { background: #fff url("https://cdn.prod.website-files.com/690b91018a37ef7945ccf1a4/6912d9443097f42ee2f3cce5_Frame%202147238633.webp") top center / 100% auto no-repeat; }
.pp-page .pp-title { color: #085136; letter-spacing: -0.02em; }
.pp-page .pp-kicker { color: #085136; }
.cxl-shell h1 { color: #085136; }
