/* ═══════════════════════════════════════════════════════════════
   Vedica Astro — blog.css
   Listing + Single Post. Editorial, manuscript-grade.
   ═══════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────────────────────
   SHARED — Blog page background + safety
   ──────────────────────────────────────────────────────────────── */

.blog-page {
  background: var(--moti);
  color: var(--ink);
}

.blog-page .footer { border-top: 0.5px solid var(--rule); }


/* ────────────────────────────────────────────────────────────────
   LISTING PAGE — Hero
   ──────────────────────────────────────────────────────────────── */

.blog-hero {
  background: var(--akasha);
  color: var(--moti);
  padding: 120px var(--gutter-l) 100px;
  border-bottom: 0.5px solid var(--rule);
  position: relative;
}

.blog-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.blog-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--kanchana);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.blog-hero__eyebrow::before,
.blog-hero__eyebrow::after {
  content: '';
  width: 32px;
  height: 0.5px;
  background: var(--rule);
  display: inline-block;
}

.blog-hero__h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--moti);
  margin: 0 auto 28px;
  max-width: 16ch;
}

.blog-hero__h1 em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--kanchana);
  display: block;
  margin-top: 6px;
}

.blog-hero__lede {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.7;
  color: var(--moti-78);
  max-width: 56ch;
  margin: 0 auto;
}

.blog-hero__mark {
  font-family: var(--f-sans);
  color: var(--kanchana);
  font-size: 18px;
  display: inline-block;
  margin: 0 8px;
  vertical-align: 1px;
}


/* ────────────────────────────────────────────────────────────────
   LISTING — Filter strip (category labels, no JS — visual grouping)
   ──────────────────────────────────────────────────────────────── */

.blog-filter {
  background: var(--moti);
  padding: 56px var(--gutter-l) 32px;
  border-bottom: 0.5px solid var(--rule);
}

.blog-filter__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.blog-filter__count {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.blog-filter__categories {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.blog-filter__cat {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.blog-filter__cat::before {
  content: '✦';
  color: var(--kanchana);
  margin-right: 8px;
  font-weight: 400;
}


/* ────────────────────────────────────────────────────────────────
   LISTING — Cards grid
   ──────────────────────────────────────────────────────────────── */

.blog-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--gutter-l) 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-top: 0.5px solid var(--rule);
  padding-top: 24px;
  transition: opacity 0.4s var(--ease);
}

.blog-card:hover { opacity: 0.85; }

.blog-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  background: var(--akasha);
  overflow: hidden;
  margin-bottom: 22px;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.blog-card__cat {
  color: var(--kanchana-deep);
}

.blog-card__cat::before {
  content: '✦';
  margin-right: 6px;
}

.blog-card__dot {
  width: 3px;
  height: 3px;
  background: var(--mist);
  border-radius: 50%;
  display: inline-block;
}

.blog-card__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 14px;
}

.blog-card__title em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
}

.blog-card__excerpt {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.blog-card__read {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--kanchana-deep);
}

.blog-card__read svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.blog-card:hover .blog-card__read svg {
  transform: translate(2px, -2px);
}


/* ────────────────────────────────────────────────────────────────
   SINGLE POST — Breadcrumb
   ──────────────────────────────────────────────────────────────── */

.post-breadcrumb {
  background: var(--moti);
  padding: 32px var(--gutter-l) 0;
}

.post-breadcrumb__inner {
  max-width: 920px;
  margin: 0 auto;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.post-breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.post-breadcrumb a:hover { color: var(--kanchana-deep); }

.post-breadcrumb__sep {
  display: inline-block;
  margin: 0 12px;
  color: var(--mist);
}

.post-breadcrumb__current { color: var(--ink); }


/* ────────────────────────────────────────────────────────────────
   SINGLE POST — Header (title + meta + hero image)
   ──────────────────────────────────────────────────────────────── */

.post-header {
  padding: 48px var(--gutter-l) 64px;
}

.post-header__inner {
  max-width: 920px;
  margin: 0 auto;
}

.post-header__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.post-header__cat {
  color: var(--kanchana-deep);
}

.post-header__cat::before {
  content: '✦';
  margin-right: 8px;
}

.post-header__h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 22ch;
}

.post-header__h1 em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
}

.post-header__lede {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 56px;
  max-width: 60ch;
}

.post-hero-img {
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--akasha);
  overflow: hidden;
}

.post-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ────────────────────────────────────────────────────────────────
   SINGLE POST — Body content (the prose itself)
   ──────────────────────────────────────────────────────────────── */

.post-body {
  padding: 64px var(--gutter-l) 96px;
}

.post-body__inner {
  max-width: 680px;
  margin: 0 auto;
}

/* Headings */
.post-body__inner h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin: 64px 0 24px;
  padding-top: 28px;
  border-top: 0.5px solid var(--rule);
}

.post-body__inner h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.post-body__inner h2 em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
}

.post-body__inner h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin: 40px 0 18px;
}

.post-body__inner h3 em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
}

/* Paragraphs */
.post-body__inner p {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 24px;
}

.post-body__inner p em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

.post-body__inner p strong {
  font-family: var(--f-sans);
  font-weight: 500;
  color: var(--ink);
}

/* Links inside body */
.post-body__inner a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0.5px solid var(--kanchana);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.post-body__inner a:hover {
  color: var(--kanchana-deep);
  border-bottom-color: var(--kanchana-deep);
}

/* Lists */
.post-body__inner ul,
.post-body__inner ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.post-body__inner li {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 10px;
}

.post-body__inner li em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 500;
}

.post-body__inner li strong {
  font-weight: 500;
}

/* Tables (article #3 sign table) */
.post-body__inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0 40px;
  font-family: var(--f-sans);
  font-size: 14.5px;
  background: var(--moti-soft);
  border: 0.5px solid var(--rule);
}

.post-body__inner thead th {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 20px;
  background: var(--moti);
  color: var(--ink-soft);
  border-bottom: 0.5px solid var(--rule);
}

.post-body__inner tbody td {
  padding: 14px 20px;
  border-top: 0.5px solid var(--rule);
  font-weight: 300;
  color: var(--ink);
}

.post-body__inner tbody td:first-child {
  font-weight: 500;
  white-space: nowrap;
}

.post-body__inner tbody td em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 500;
}

/* Pull quote / callout (optional, used sparingly) */
.post-body__inner blockquote {
  margin: 40px 0;
  padding: 0 0 0 32px;
  border-left: 0.5px solid var(--kanchana);
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
}


/* ────────────────────────────────────────────────────────────────
   SINGLE POST — Closing CTA bar (soft bridge to Mapa)
   ──────────────────────────────────────────────────────────────── */

.post-cta {
  background: var(--akasha);
  color: var(--moti);
  padding: 88px var(--gutter-l);
  border-top: 0.5px solid var(--rule);
}

.post-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.post-cta__mark {
  color: var(--kanchana);
  font-size: 16px;
  display: block;
  margin-bottom: 22px;
}

.post-cta__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.008em;
  color: var(--moti);
  margin: 0 0 18px;
}

.post-cta__title em {
  font-family: var(--f-italic);
  font-style: italic;
}

.post-cta__sub {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--moti-78);
  margin: 0 auto 36px;
  max-width: 52ch;
}

.post-cta__action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  border: 0.5px solid var(--kanchana);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--kanchana);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.post-cta__action:hover {
  background: var(--kanchana);
  color: var(--akasha);
}

.post-cta__action svg {
  width: 14px;
  height: 14px;
}


/* ────────────────────────────────────────────────────────────────
   SINGLE POST — Related articles
   ──────────────────────────────────────────────────────────────── */

.post-related {
  padding: 80px var(--gutter-l);
  background: var(--moti);
}

.post-related__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.post-related__head {
  text-align: center;
  margin-bottom: 48px;
}

.post-related__eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--kanchana-deep);
  margin-bottom: 12px;
}

.post-related__eyebrow::before {
  content: '✦';
  margin-right: 10px;
  color: var(--kanchana);
}

.post-related__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink);
  margin: 0;
}

.post-related__title em {
  font-family: var(--f-italic);
  font-style: italic;
}

.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}


/* ────────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .post-related__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .blog-hero { padding: 80px 22px 64px; }
  .blog-hero__h1 { max-width: none; }

  .blog-filter { padding: 40px 22px 24px; }
  .blog-filter__inner { gap: 16px; flex-direction: column; align-items: flex-start; }
  .blog-filter__categories { gap: 18px; }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 48px 22px 72px;
  }

  .post-breadcrumb { padding: 24px 22px 0; }
  .post-breadcrumb__inner { font-size: 10px; letter-spacing: 0.18em; }
  .post-breadcrumb__sep { margin: 0 8px; }

  .post-header { padding: 32px 22px 40px; }

  .post-body { padding: 48px 22px 72px; }
  .post-body__inner h2 { font-size: 22px; margin: 48px 0 18px; }
  .post-body__inner p,
  .post-body__inner li { font-size: 16px; }

  .post-cta { padding: 64px 22px; }

  .post-related { padding: 64px 22px; }
  .post-related__grid { grid-template-columns: 1fr; gap: 48px; }
}
