:root {
  --void: #000000;
  --carbon: #1c1c1c;
  --graphite: #4d4d4d;
  --steel: #808080;
  --ash: #ababab;
  --paper: #ffffff;
  --periwinkle: #7089ba;
  --gold: #d9ab5c;

  --radius-nav: 6px;
  --radius-pill: 100px;
  --radius-tile: 20px;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  color: var(--paper);
  background: var(--void);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--periwinkle);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--graphite);
  padding: 18px 0;
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand:focus-visible {
  outline: 2px solid var(--periwinkle);
  outline-offset: 4px;
  border-radius: 6px;
}

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
}

.back-link {
  font-size: 0.85rem;
  color: var(--ash);
  text-decoration: none;
}

.back-link:hover {
  color: var(--paper);
}

/* Blog index */

.blog-hero {
  padding: 56px 0 32px;
  text-align: center;
}

.blog-hero h1 {
  font-size: 2.1rem;
  font-weight: 900;
  margin: 0 0 14px;
}

.blog-hero p {
  color: var(--ash);
  max-width: 560px;
  margin: 0 auto;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0 80px;
}

.post-card {
  display: block;
  text-decoration: none;
  border: 1px dashed var(--graphite);
  border-radius: var(--radius-tile);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--periwinkle);
}

.post-card time {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--periwinkle);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.post-card h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--paper);
}

.post-card p {
  margin: 0;
  color: var(--ash);
  font-size: 0.95rem;
}

/* Post page */

.post-header {
  padding: 48px 0 24px;
}

.post-header time {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--periwinkle);
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.post-header h1 {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 16px;
}

.post-header .lede {
  color: var(--ash);
  font-size: 1.05rem;
  max-width: 640px;
}

.post-image {
  width: 100%;
  border-radius: var(--radius-tile);
  border: 1px dashed var(--graphite);
  overflow: hidden;
  margin: 24px 0 40px;
}

.post-image img {
  width: 100%;
  height: auto;
  display: block;
}

article.post-body {
  padding-bottom: 80px;
  font-size: 1.05rem;
}

.post-body p {
  margin: 0 0 20px;
  color: var(--ash);
}

.post-body h2 {
  color: var(--paper);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 36px 0 14px;
}

.post-body strong {
  color: var(--paper);
}

.post-cta {
  border: 1px dashed var(--graphite);
  border-radius: var(--radius-tile);
  padding: 28px;
  text-align: center;
  margin-top: 40px;
}

.post-cta p {
  margin: 0 0 18px;
  color: var(--ash);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--paper);
  color: var(--paper);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--paper);
  color: var(--void);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
}

/* Legal pages (privacy, accessibility) */

.post-body ul {
  margin: 0 0 20px;
  padding-inline-start: 22px;
  color: var(--ash);
}

.post-body li {
  margin-bottom: 8px;
}

.post-body a {
  color: var(--periwinkle);
}

.draft-note {
  border: 1px dashed var(--gold, #d9ab5c);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

/* Phone numbers and emails read left-to-right inside Hebrew text. */
.post-body a[href^="tel:"],
.post-body a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
