/**
 * Blog article layout — fluid type, media blocks, hero banner.
 * Complements Tailwind; no framework conflict.
 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}
.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0.5rem 1rem;
  background: #1e40af;
  color: #fff;
  border-radius: 0.5rem;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1e40af;
}

.blog-post-main {
  --blog-px: clamp(1rem, 4vw, 2rem);
  --blog-stack: clamp(2.75rem, 6vw, 3.75rem);
}

.blog-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #e2e8f0;
}

/* Full-bleed banner: absolute-fill image avoids half-width bugs from
   Tailwind preflight (img { max-width: 100%; height: auto }) + aspect-ratio. */
.blog-hero__media {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 21 / 9;
  min-height: min(42vh, 480px);
  max-height: 480px;
  overflow: hidden;
}

@media (max-width: 639px) {
  .blog-hero__media {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }
}

.blog-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-article {
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--blog-px);
  padding-right: var(--blog-px);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.blog-title {
  font-size: clamp(1.65rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.blog-lede {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  line-height: 1.65;
}

.blog-section-title {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.3;
}

.blog-subsection-title {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  line-height: 1.35;
}

.blog-prose {
  font-size: 1.0625rem;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .blog-prose {
    font-size: 1.0625rem;
  }
}

.blog-prose strong {
  font-weight: 600;
}

.blog-media-card {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
}

.blog-media-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
  padding-left: 0.125rem;
  padding-right: 0.125rem;
}

.blog-verse-card {
  border-radius: 1rem;
  border: 1px solid rgba(253, 230, 138, 0.6);
  background: linear-gradient(to bottom right, #fffbeb, #ffffff);
  box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.08), 0 4px 6px -4px rgba(217, 119, 6, 0.06);
}

.blog-verse-text {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  line-height: 1.35;
}

/* Touch-friendly article footer social row */
.blog-article-footer-social a {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
