/* Blog listing + post page styles */

/* --- LISTING --- */
.blog-hero {
  padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 5vw, 64px);
  background: var(--paper);
}
.blog-hero__crumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.blog-hero__crumb a { color: var(--muted); text-decoration: none; }
.blog-hero__crumb a:hover { color: var(--ink); }
.blog-hero__crumb span { color: var(--line); }
.blog-hero__eye {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lalu-red);
  margin-bottom: 16px;
}
.blog-hero__headline {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px 0;
  max-width: 18ch;
}
.blog-hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0;
}

/* --- LISTING GRID --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.blog-card__cat {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lalu-red);
  margin-bottom: 8px;
}
.blog-card__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 12px 0;
}
.blog-card__meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}
.blog-card__meta span.sep { opacity: 0.5; }

/* Featured card */
.blog-feat {
  grid-column: span 2;
}
.blog-feat .blog-card__img { aspect-ratio: 16 / 10; }
.blog-feat .blog-card__title { font-size: clamp(24px, 2.4vw, 34px); }
@media (max-width: 900px) {
  .blog-feat { grid-column: span 2; }
}
@media (max-width: 560px) {
  .blog-feat { grid-column: span 1; }
}

/* Filter chips */
.blog-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
}
.blog-tab {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.2s;
}
.blog-tab:hover { border-color: var(--ink); color: var(--ink); }
.blog-tab.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.blog-tab__count { opacity: 0.6; margin-left: 4px; }

/* --- POST HERO --- */
.post-hero {
  padding: clamp(32px, 5vw, 72px) 0 clamp(32px, 5vw, 72px);
  background: var(--paper);
}
.post-hero__crumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.post-hero__crumb a { color: var(--muted); text-decoration: none; }
.post-hero__crumb a:hover { color: var(--ink); }
.post-hero__crumb span { color: var(--line); }

.post-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .post-hero__grid { grid-template-columns: 1fr; } }
.post-hero__eye {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lalu-red);
  margin-bottom: 16px;
}
.post-hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 24px 0;
}
.post-hero__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px 0;
}
.post-hero__meta {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.post-hero__sep { opacity: 0.5; }
.post-hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.post-hero__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.post-hero__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}

/* --- POST BODY --- */
.post-body__container {
  max-width: 720px;
  margin: 0 auto;
}
.post-body__p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 20px 0;
}
.post-body__p:first-child { font-size: clamp(17px, 1.4vw, 20px); }
.post-body__h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  color: var(--ink);
  margin: clamp(32px, 4vw, 56px) 0 16px 0;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.post-body__h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 24px);
  color: var(--ink);
  margin: clamp(24px, 3vw, 40px) 0 12px 0;
}
.post-body__ul {
  padding-left: 20px;
  margin: 0 0 24px 0;
}
.post-body__ul li {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.post-body__fig {
  margin: clamp(32px, 4vw, 56px) 0;
}
.post-body__fig-img {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
}
.post-body__fig figcaption {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}
.post-body__quote {
  border-left: 3px solid var(--lalu-red);
  padding: 12px 0 12px 24px;
  margin: clamp(32px, 4vw, 48px) 0;
  font-family: var(--f-sans);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}
.post-body__quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* --- POST CTA --- */
.post-cta {
  background: var(--paper-2);
}
.post-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}
.post-cta__eye {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lalu-red);
  margin-bottom: 12px;
}
.post-cta__headline {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 12px 0;
}
.post-cta__sub {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 24px 0;
}
.post-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- RELATED --- */
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(32px, 4vw, 48px);
}
@media (max-width: 720px) { .post-related__grid { grid-template-columns: 1fr; } }

.post-related__card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}
.post-related__card:hover { transform: translateY(-3px); }
.post-related__img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
.post-related__cat {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lalu-red);
  margin-bottom: 8px;
}
.post-related__title {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}
.post-related__arrow { color: var(--ink-2); }
.post-related__card:hover .post-related__arrow { color: var(--lalu-red); }

/* --- BACK --- */
.post-back {
  padding: clamp(24px, 3vw, 48px) 0 clamp(32px, 4vw, 64px);
  text-align: center;
  border-top: 1px solid var(--line);
}
