/* blog.css — styling for the 90 Minutes a Week blog, layered on styles.css */

.blog-article { padding: 0 0 4rem; }
.blog-article .container { max-width: 760px; }

.blog-breadcrumb { font-size: 0.85rem; color: var(--text-muted, #777); margin-bottom: 1rem; }
.blog-breadcrumb a { color: var(--accent-gold, #C4965A); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }

.blog-eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-gold, #C4965A); font-weight: 700; margin-bottom: 0.5rem;
}
.blog-meta { font-size: 0.9rem; color: var(--text-muted, #777); margin: 0; }

/* Full-width article hero: background image softly faded into the page */
.blog-article-hero {
  position: relative;
  min-height: clamp(320px, 46vw, 480px);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 2.5rem;
}
/* Fades into the site's warm tan page background (--bg: #D7A86E) for a seamless blend */
.blog-article-hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(215,168,110,0.18) 0%,
    rgba(215,168,110,0.00) 30%,
    rgba(215,168,110,0.45) 62%,
    rgba(215,168,110,0.88) 86%,
    var(--bg, #D7A86E) 100%);
}
.blog-article-hero-inner {
  position: relative; z-index: 1; width: 100%;
  padding-top: 3rem; padding-bottom: 1.75rem;
  text-shadow: 0 1px 3px rgba(215,168,110,0.7);
}
.blog-article-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.7rem); line-height: 1.18; margin: 0.4rem 0 0.6rem;
}

.blog-lead { font-size: 1.18rem; line-height: 1.7; font-weight: 500; margin: 0 0 2rem; }

.blog-article h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; line-height: 1.3; }
.blog-article h3 { font-size: 1.18rem; margin: 1.75rem 0 0.5rem; }
.blog-article p { font-size: 1.05rem; line-height: 1.75; margin: 0 0 1.1rem; }
.blog-article a { color: var(--accent-gold, #C4965A); }

.blog-takeaways {
  background: var(--lp-warm, #F7F3ED); border-radius: 14px; padding: 1.5rem 1.75rem; margin: 2rem 0;
}
.blog-takeaways h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.blog-takeaways ul { margin: 0; padding-left: 1.2rem; }
.blog-takeaways li { font-size: 1rem; line-height: 1.6; margin-bottom: 0.4rem; }

.blog-cta-box {
  background: var(--lp-primary-wash, #F4F7F3); border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px; padding: 1.75rem 2rem; margin: 2.5rem 0;
}
.blog-cta-box h2 { margin-top: 0; }
.blog-cta-link { font-weight: 600; }

.blog-faq h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; }
.blog-related { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.08); }
.blog-related ul { padding-left: 1.2rem; }
.blog-related li { margin-bottom: 0.5rem; }

/* Blog hub / listing */
.blog-hub { padding: 3rem 0 4rem; }
.blog-hub .container { max-width: 960px; }
.blog-hub-header { text-align: center; margin-bottom: 2.5rem; }
.blog-hub-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5rem; }
.blog-hub-header p { color: var(--text-muted, #777); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }

/* Uniform-height cards: image fills the card, text overlaid on a gradient */
.blog-card {
  position: relative; display: block; height: 320px;
  border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(0,0,0,0.18); }
.blog-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(22,15,8,0.88) 0%, rgba(22,15,8,0.60) 32%, rgba(22,15,8,0.18) 62%, rgba(22,15,8,0.00) 100%);
}
.blog-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.2rem 1.4rem 1.35rem; }
.blog-card-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: #F3C98B; font-weight: 700;
}
.blog-card h2 {
  font-size: 1.18rem; line-height: 1.3; margin: 0.4rem 0 0.45rem; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card p {
  font-size: 0.9rem; line-height: 1.5; margin: 0; color: rgba(255,255,255,0.82);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
