/* Blog / Insights styles — additive layer on top of styles.css */

/* Hero refinements for blog index + posts */
.hero--blog .hero-copy {
  max-width: 760px;
}

.hero .hero__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 18px;
}

/* Post meta line under post hero title */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin: 18px 0 24px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
}

.post-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-meta__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

/* Breadcrumbs strip below post hero */
.breadcrumbs {
  background: var(--surface);
  border-bottom: 1px solid var(--stroke);
}

.breadcrumbs__inner {
  padding: 14px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: var(--font-body);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.breadcrumbs__sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.breadcrumbs__current {
  color: rgba(255, 255, 255, 0.55);
}

/* Article body — reading column */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2A2335;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 48px 0 16px;
  line-height: 1.2;
  color: #151224;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin: 36px 0 12px;
  line-height: 1.25;
  color: #151224;
}

.article-body h2:first-child,
.article-body h3:first-child {
  margin-top: 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  color: #151224;
}

.article-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(219, 18, 65, 0.35);
  transition: border-color 0.2s ease;
}

.article-body a:hover {
  border-bottom-color: var(--accent);
}

.article-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(219, 18, 65, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.08rem;
  color: #151224;
  font-style: italic;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body figure {
  margin: 32px 0;
}

.article-body figure img,
.article-body figure picture img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft-light);
}

.article-body figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: rgba(21, 18, 36, 0.6);
  text-align: center;
}

/* Key takeaways callout */
.article-takeaways {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 24px 28px;
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft-light);
}

.article-takeaways__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--accent);
}

.article-takeaways__list {
  margin: 0;
  padding-left: 20px;
  color: #2A2335;
  font-size: 0.98rem;
  line-height: 1.6;
}

.article-takeaways__list li {
  margin-bottom: 8px;
}

.article-takeaways__list li:last-child {
  margin-bottom: 0;
}

/* Featured post block on index */
.insights-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.insights-featured__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.insights-featured__media picture,
.insights-featured__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.insights-featured__body {
  padding: 36px 36px 36px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.insights-featured .insights-featured__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
}

.insights-featured__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  margin: 0;
  color: var(--white);
}

.insights-featured__title a {
  color: var(--white);
}

.insights-featured__title a:hover {
  color: var(--accent);
}

.insights-featured__excerpt {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.6;
}

.insights-featured__meta {
  margin-top: 6px;
}

@media (max-width: 800px) {
  .insights-featured {
    grid-template-columns: 1fr;
  }
  .insights-featured__media {
    min-height: 220px;
  }
  .insights-featured__body {
    padding: 24px 24px 28px;
  }
}

/* Post grid cards */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.insights-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.insights-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(219, 18, 65, 0.45);
}

.insights-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.insights-card__media picture,
.insights-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insights-card:hover .insights-card__media img {
  transform: scale(1.04);
}

.insights-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.insights-card__category {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
}

.insights-card__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0;
  color: var(--white);
}

.insights-card__title a {
  color: var(--white);
  display: inline-block;
}

.insights-card__title a:hover {
  color: var(--accent);
}

.insights-card__excerpt {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.55;
}

.insights-card__meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--stroke);
}

.insights-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

/* Related posts heading row */
.related-posts__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.related-posts__heading h2 {
  margin: 0;
}

.related-posts__heading a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Inline CTA strip inside posts */
.post-cta {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(219, 18, 65, 0.95), rgba(180, 12, 52, 0.95));
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card-light);
}

.post-cta__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
  color: var(--white);
  line-height: 1.25;
}

.post-cta__body {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.post-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.post-cta .btn {
  background: var(--white);
  color: var(--accent);
  border: 1px solid var(--white);
}

.post-cta .btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
}

.post-cta .btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.post-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Author block at end of article */
.author-card {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 22px 24px;
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow-soft-light);
}

.author-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.author-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 4px;
  color: #151224;
}

.author-card__bio {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(21, 18, 36, 0.7);
  line-height: 1.5;
}
