/* blog.css — premium magazine style matching marsiano.co.il */

:root {
  --b-red: #B01618;
  --b-red-bright: #D31C1D;
  --b-dark: #1E1A16;
  --b-text: #2a241e;
  --b-text-soft: #5A544C;
  --b-text-muted: #7A736A;
  --b-cream: #F0EDE8;
  --b-cream-soft: #F9F6F1;
  --b-border: #e8e3dc;
  --b-white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Rubik', system-ui, -apple-system, sans-serif;
  color: var(--b-text);
  background: var(--b-white);
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: var(--b-red); }

/* ============= HEADER ============= */
.site-header {
  background: var(--b-dark);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.site-header .logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.blog-logo-img { height: 44px; width: auto; display: block; }
.site-header nav {
  display: flex; gap: 24px; font-weight: 500; font-size: .95rem;
}
.site-header nav a {
  color: rgba(255,255,255,.85); text-decoration: none; padding: 6px 4px;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.site-header nav a:hover { color: #fff; }
.site-header nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--b-red-bright); }

/* ============= INDEX HERO ============= */
.blog-hero {
  position: relative;
  background: var(--b-dark) url('../photos/site/hero/IMG_2263.jpg') center/cover no-repeat;
  padding: 100px 24px 120px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,26,22,.85) 0%, rgba(176,22,24,.55) 100%);
}
.blog-hero > * { position: relative; z-index: 2; }
.blog-hero .eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #FF6B6B; margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid rgba(255,107,107,.35);
  border-radius: 24px;
  background: rgba(176,22,24,.12);
}
.blog-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.1; margin: 0 0 18px;
}
.blog-hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 640px; margin: 0 auto 28px; font-weight: 300;
}
.blog-hero-stats {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.blog-hero-stat {
  text-align: center;
}
.blog-hero-stat .num {
  display: block; font-size: 1.8rem; font-weight: 800; color: #fff;
}
.blog-hero-stat .label {
  font-size: .8rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .1em;
}

/* ============= FILTER CHIPS ============= */
.blog-filters {
  background: var(--b-white);
  border-bottom: 1px solid var(--b-border);
  padding: 24px 0;
  position: sticky; top: 76px; z-index: 40;
}
.blog-filters .chip-row {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 24px;
  background: var(--b-cream-soft); border: 1px solid var(--b-border);
  font-size: .9rem; font-weight: 600; color: var(--b-text-soft);
  cursor: pointer; transition: all .2s;
}
.chip:hover { background: var(--b-cream); color: var(--b-text); }
.chip[aria-pressed="true"] {
  background: var(--b-red); color: #fff; border-color: var(--b-red);
}

/* ============= INDEX GRID ============= */
.blog-index {
  padding: 60px 0 100px;
  background: var(--b-cream-soft);
}
.post-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 32px;
}
.post-card {
  background: var(--b-white);
  border: 1px solid var(--b-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(30,26,22,.10);
}
.post-card a {
  display: block; text-decoration: none; color: inherit; height: 100%;
}
.post-card .post-thumb {
  display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden;
  background: var(--b-cream);
}
.post-card .post-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-card .post-body { padding: 22px 24px 26px; }
.post-card .post-cat {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--b-red); padding: 4px 10px;
  background: rgba(176,22,24,.08); border-radius: 4px;
  margin-bottom: 12px;
}
.post-card .post-meta {
  color: var(--b-text-muted); font-size: .82rem; margin-bottom: 8px;
}
.post-card h2 {
  margin: 0 0 12px; font-size: 1.25rem; font-weight: 700;
  line-height: 1.35; color: var(--b-text);
}
.post-card p {
  color: var(--b-text-soft); font-size: .95rem; line-height: 1.6;
  margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .read-more {
  color: var(--b-red); font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.post-card .read-more::after { content: '←'; transition: transform .2s; }
.post-card:hover .read-more::after { transform: translateX(-4px); }

/* ============= POST HERO ============= */
.post-hero {
  position: relative;
  background: var(--b-dark);
  min-height: 420px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding: 80px 0 60px;
}
.post-hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
}
.post-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(30,26,22,.4) 0%, rgba(30,26,22,.92) 100%);
}
.post-hero .container { position: relative; z-index: 3; color: #fff; }
.post-hero .post-cat {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: #FF6B6B;
  padding: 6px 14px; background: rgba(176,22,24,.25);
  border: 1px solid rgba(255,107,107,.4); border-radius: 24px;
  margin-bottom: 18px;
}
.post-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900; line-height: 1.15;
  margin: 0 0 18px; max-width: 900px;
}
.post-hero .post-meta {
  color: rgba(255,255,255,.75); font-size: .95rem;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.post-hero .post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.post-hero .post-meta .dot { width: 4px; height: 4px; background: rgba(255,255,255,.4); border-radius: 50%; }

/* ============= POST BODY ============= */
.blog-post {
  background: var(--b-white);
  padding: 60px 24px 80px;
}
.blog-post article {
  max-width: 760px; margin: 0 auto;
}
.post-excerpt {
  font-size: 1.2rem; line-height: 1.7;
  color: var(--b-text-soft); font-weight: 300;
  padding-bottom: 28px; margin-bottom: 36px;
  border-bottom: 3px solid var(--b-red);
}
.post-body { font-size: 1.05rem; line-height: 1.85; color: var(--b-text); }
.post-body h2 {
  font-size: 1.65rem; font-weight: 800;
  margin: 48px 0 18px;
  color: var(--b-text);
}
.post-body h3 {
  font-size: 1.25rem; font-weight: 700;
  margin: 32px 0 14px;
  color: var(--b-text);
}
.post-body p { margin: 0 0 20px; }
.post-body p strong { color: var(--b-text); font-weight: 700; }
.post-body a { color: var(--b-red); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: #8a1214; }
.post-body ul { padding-inline-start: 22px; margin: 0 0 20px; }
.post-body li { margin-bottom: 8px; }

/* ============= POST FOOTER ============= */
.post-footer {
  margin-top: 60px; padding-top: 36px;
  border-top: 1px solid var(--b-border);
}
.post-footer h2 {
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--b-text-muted); margin: 0 0 14px;
}
.post-sources { list-style: none; padding: 0; margin: 0 0 32px; }
.post-sources li { padding: 10px 0; border-bottom: 1px solid var(--b-border); }
.post-sources li:last-child { border-bottom: none; }
.post-sources a { color: var(--b-text); text-decoration: none; font-weight: 500; }
.post-sources a:hover { color: var(--b-red); }
.source-publisher { color: var(--b-text-muted); font-size: .85rem; margin-inline-start: 6px; }
.post-disclaimer {
  padding: 22px 24px; background: var(--b-cream); border-radius: 10px;
  color: var(--b-text-soft); font-size: .9rem; line-height: 1.65;
  border-inline-start: 4px solid var(--b-red);
}

/* Share buttons */
.post-share {
  margin: 36px 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.post-share-label {
  font-weight: 700; color: var(--b-text-soft); font-size: .9rem; margin-inline-end: 8px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 24px;
  background: var(--b-cream-soft); border: 1px solid var(--b-border);
  color: var(--b-text); text-decoration: none; font-size: .9rem; font-weight: 600;
  transition: all .2s;
}
.share-btn:hover { background: var(--b-red); color: #fff; border-color: var(--b-red); }
.share-btn.wa:hover { background: #25D366; border-color: #25D366; }

/* ============= FOOTER ============= */
.blog-footer {
  background: var(--b-dark); color: rgba(255,255,255,.7);
  padding: 40px 24px; text-align: center; font-size: .9rem;
}
.blog-footer a { color: #FF6B6B; text-decoration: none; }
.blog-footer a:hover { color: #fff; }
.blog-footer .footer-back {
  display: inline-block; margin-bottom: 18px;
  padding: 10px 22px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px; color: #fff; font-weight: 600; font-size: .9rem;
  transition: all .2s;
}
.blog-footer .footer-back:hover {
  background: var(--b-red); border-color: var(--b-red);
}

/* ============= SKIP LINK (a11y) ============= */
.skip-link {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  background: var(--b-red); color: #fff; padding: 12px 24px; border-radius: 0 0 8px 8px;
  z-index: 100; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ============= INDEX SECTION TITLE ============= */
.blog-section-header {
  text-align: center; margin-bottom: 48px;
}
.blog-section-header .eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--b-red);
  margin-bottom: 10px;
}
.blog-section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  color: var(--b-text); margin: 0;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
  .site-header { padding: 12px 0; }
  .blog-logo-img { height: 38px; }
  .site-header nav { gap: 16px; font-size: .9rem; }
  .blog-hero { padding: 60px 20px 70px; }
  .blog-hero-stats { gap: 24px; }
  .blog-hero-stat .num { font-size: 1.4rem; }
  .blog-filters { top: 64px; padding: 16px 0; }
  .blog-index { padding: 40px 0 60px; }
  .post-list { grid-template-columns: 1fr; gap: 22px; }
  .post-card .post-body { padding: 18px 20px 22px; }
  .post-hero { padding: 60px 0 40px; min-height: 320px; }
  .blog-post { padding: 40px 18px 60px; }
  .post-body { font-size: 1rem; }
  .post-body h2 { font-size: 1.4rem; margin-top: 36px; }
}
