:root {
    --bg: #120f2a;
    --bg-alt: #1b0f45;
    --text: #f6f2ff;
    --muted: #d6c8ff;
    --accent: #ff2e7a;
    --accent-2: #00ffd1;
    --card: #1a1540;
    --shadow: rgba(7, 4, 24, 0.55);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background:
      radial-gradient(circle at 15% 20%, rgba(255, 122, 0, 0.25), transparent 45%),
      radial-gradient(circle at 80% 10%, rgba(0, 255, 209, 0.2), transparent 40%),
      linear-gradient(135deg, var(--bg), var(--bg-alt));
    color: var(--text);
    min-height: 100vh;
  }
  
  .container {
    width: min(1100px, 92vw);
    margin: 0 auto;
  }
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(135deg, #ff7a00, #ff2e7a 55%, #3a86ff);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 16px;
  }
  
  .logo {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #fff8ef;
    text-decoration: none;
  }
  
  .nav-toggle {
    background: #0b0f3b;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 15, 59, 0.4);
  }
  
  .nav-toggle:focus-visible {
    outline: 3px solid #fff3b0;
    outline-offset: 2px;
  }
  
  .site-nav {
    position: relative;
  }
  
  .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
    background: rgba(10, 12, 40, 0.95);
    border-radius: var(--radius-md);
    padding: 16px;
    position: absolute;
    top: 120%;
    inset-inline-end: 0;
    min-width: 220px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }
  
  .site-header.menu-open .nav-menu {
    display: flex;
  }
  
  .nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
  }
  
  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    color: #fff3b0;
  }
  
  .hero {
    padding: 40px 0 24px;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0 0 12px;
    line-height: 1.2;
  }
  
  .hero-tag {
    margin: 0;
    font-size: 1.05rem;
    color: var(--muted);
  }
  
  .post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 48px;
  }
  
  .post-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 18px;
    position: relative;
    box-shadow: 0 18px 40px var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .post-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(255, 255, 255, 0.08);
    pointer-events: none;
  }

  .post-card > * {
    position: relative;
    z-index: 1;
  }
  
  .card-media {
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  
  .card-media img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  
  .card-link {
    position: static;
    z-index: auto;
    color: #fff;
    text-decoration: none;
  }

  .card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
  }
  
  .card-link h2,
  .card-link h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
  }
  
  .post-date {
    margin: 0 0 10px;
    color: #ffe6a3;
    font-weight: 600;
  }
  
  .post-excerpt {
    margin: 0;
    color: var(--muted);
  }
  
  .post-card:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease;
  }
  
  .post {
    padding: 32px 0 48px;
  }

  .post-header h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0 0 12px;
    line-height: 1.1;
  }
  
  .post-tag a {
    color: #ffe6a3;
    text-decoration: none;
  }

  .post-hero {
    margin: 20px 0 24px;
  }
  
  .post-hero img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
  
  .post-content {
    background: rgba(11, 12, 40, 0.7);
    padding: 24px;
    border-radius: var(--radius-lg);
    line-height: 1.8;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  }
  
  .post-content h2,
  .post-content h3 {
    margin-top: 24px;
    color: #fff3b0;
  }
  
  .post-content ul {
    margin: 12px 0 0;
    padding-inline-start: 18px;
  }
  
  .more-posts {
    padding-bottom: 60px;
  }

  .more-posts h2 {
    margin: 0 0 24px;
    font-size: 1.8rem;
    color: #fff3b0;
  }
  
  .post-grid.compact .post-card::after {
    content: "עוד";
    pointer-events: none;
  }
  
  .site-footer {
    background: #0b0f3b;
    padding: 24px 0 40px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  }
  
  .footer-inner .nav-menu {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  
  @media (min-width: 720px) {
    .nav-toggle {
      display: none;
    }

    
  
    .nav-menu {
      display: flex;
      position: static;
      flex-direction: row;
      align-items: center;
      gap: 16px;
      background: transparent;
      box-shadow: none;
      padding: 0;
      min-width: unset;
    }
  
    .site-header.menu-open .nav-menu {
      display: flex;
    }
  
    .post-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .footer-inner .nav-menu {
      flex-direction: row;
      justify-content: center;
      flex-wrap: wrap;
    }
  }
  
  @media (min-width: 1024px) {
    .hero {
      padding: 60px 0 32px;
    }
  
    .post-content {
      padding: 32px;
    }
  }
  
  @media (max-width: 719px) {
    .site-header .site-nav {
      position: absolute;
      top: 90%;
      left: 0;
    }
    
    .site-header .nav-menu {
      width: min(260px, 90vw);
    }
  
    .post-card::after {
      font-size: 0.7rem;
    }
  }
  


