/* ============================================================
   BLOG STYLES — Elite Soccer Training
   Scoped to .page-blog (listing) & .page-article (single post).
   Light, readable content theme with the site's red/navy accents.
   Self-contained: does not rely on the globally-merged --muted
   (which is near-white) so text stays visible on light surfaces.
   ============================================================ */
body.page-blog,
body.page-article {
  --ink:       #0e1118;   /* headings / strong text          */
  --ink-soft:  #3d4452;   /* body copy                       */
  --ink-mute:  #707886;   /* meta / captions                 */
  --line:      #e7e9f0;   /* hairlines                       */
  --surface:   #ffffff;
  --surface-2: #f5f7fb;
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.blog-main { background: var(--surface); }
.blog-container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* dark page-hero eyebrow (sits on the navy gradient header) */
.blog-hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(200,16,46,.16);
  border: 1px solid rgba(200,16,46,.45);
  padding: .42rem 1rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.blog-hero-tag i { color: var(--red2, #ff4d6d); }

/* ===========================================================
   LISTING PAGE
   =========================================================== */
.blog-section { padding: 4.5rem 0 5.5rem; }
.blog-section--alt { background: var(--surface-2); border-top: 1px solid var(--line); }

.sec-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: .76rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--red); margin-bottom: .65rem;
}
.sec-eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--red); display: inline-block;
}
.sec-title {
  font-family: var(--font-display); font-weight: 900; line-height: 1;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-transform: uppercase;
  color: var(--ink); margin-bottom: 2.4rem;
}
.sec-title em { font-style: normal; color: var(--red); }

/* featured / latest article card */
.feature-card {
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 14px 44px rgba(7,8,15,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 22px 60px rgba(7,8,15,.12); }
.feature-card .fc-media { position: relative; min-height: 340px; overflow: hidden; background: #0e1118; }
.feature-card .fc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover .fc-media img { transform: scale(1.05); }
.fc-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-display); font-weight: 800; font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--red); padding: .4rem .85rem; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(200,16,46,.4);
}
.feature-card .fc-body { padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.fc-cat {
  font-family: var(--font-display); font-weight: 800; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.feature-card h3 {
  font-family: var(--font-display); font-weight: 900; line-height: 1.05;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); text-transform: uppercase; color: var(--ink);
}
.feature-card h3 a { color: inherit; }
.feature-card h3 a:hover { color: var(--red); }
.fc-excerpt { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.fc-meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: .2rem;
  font-size: .82rem; color: var(--ink-mute); font-weight: 500;
}
.fc-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.fc-meta i { color: var(--red); }
.fc-read {
  display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start;
  margin-top: .6rem; font-family: var(--font-display); font-weight: 800;
  font-size: .92rem; letter-spacing: .05em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--red), #e8293f);
  padding: .8rem 1.7rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(200,16,46,.34); transition: transform .2s, box-shadow .2s;
}
.fc-read:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,16,46,.5); }

/* "more coming" panel */
.blog-soon {
  text-align: center; max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 3rem 2rem;
}
.blog-soon .bs-icon {
  width: 58px; height: 58px; margin: 0 auto 1.1rem; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.4rem; color: var(--red);
  background: rgba(200,16,46,.1);
}
.blog-soon h3 {
  font-family: var(--font-display); font-weight: 900; font-size: 1.6rem;
  text-transform: uppercase; color: var(--ink); margin-bottom: .6rem;
}
.blog-soon p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.4rem; }
.blog-soon .bs-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--red);
  border: 1.5px solid var(--red); padding: .75rem 1.7rem; border-radius: 999px;
  transition: background .25s, color .25s;
}
.blog-soon .bs-btn:hover { background: var(--red); color: #fff; }

/* ===========================================================
   POST GRID (listing — more articles)
   =========================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(7,8,15,.05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(7,8,15,.12);
  border-color: rgba(200,16,46,.25);
}
.post-card .pc-media {
  position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0e1118;
}
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .pc-media img { transform: scale(1.06); }
.pc-badge {
  position: absolute; top: .8rem; left: .8rem;
  font-family: var(--font-display); font-weight: 800; font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--red); padding: .34rem .7rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(200,16,46,.4);
}
.pc-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pc-cat {
  font-family: var(--font-display); font-weight: 800; font-size: .68rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--red);
}
.post-card h3 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.12;
  font-size: 1.22rem; text-transform: uppercase; color: var(--ink);
}
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--red); }
.pc-excerpt { color: var(--ink-soft); font-size: .92rem; line-height: 1.65; flex: 1; }
.pc-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: .4rem; padding-top: .9rem; border-top: 1px solid var(--line);
}
.pc-meta { font-size: .76rem; color: var(--ink-mute); font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; }
.pc-meta i { color: var(--red); }
.pc-read {
  font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: .4rem; transition: gap .2s ease;
}
.pc-read:hover { gap: .65rem; }

/* coming-soon (placeholder) cards */
.post-card.is-soon { opacity: .92; }
.post-card.is-soon .pc-media { filter: grayscale(.25); }
.post-card.is-soon .pc-badge { background: #6b7280; box-shadow: none; }
.pc-soon-tag {
  font-family: var(--font-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: .4rem;
}
.pc-soon-tag i { color: var(--ink-mute); }

/* ===========================================================
   ARTICLE PAGE
   =========================================================== */
.article-shell { padding: 3.8rem 0 5rem; }
.article-inner { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }

.article-figure {
  margin: 0 auto 2.6rem; max-width: 980px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 14px 44px rgba(7,8,15,.08);
}
.article-figure img { width: 100%; height: auto; display: block; }

.article-lead {
  font-size: 1.2rem; line-height: 1.75; color: var(--ink); font-weight: 500;
  margin-bottom: 1.4rem;
}
.article-body p { font-size: 1.05rem; line-height: 1.85; color: var(--ink-soft); margin-bottom: 1.25rem; }
.article-body p strong { color: var(--ink); }

/* numbered mistake block */
.mistake { padding: 2.2rem 0 1.8rem; border-top: 1px solid var(--line); }
.mistake:first-of-type { border-top: none; padding-top: .5rem; }
.mistake-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: .9rem; }
.mistake-num {
  font-family: var(--font-display); font-weight: 900; font-size: 2.5rem;
  line-height: .8; color: var(--red); flex: none;
}
.mistake-head h2 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.05;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); text-transform: uppercase; color: var(--ink);
}
.mistake p { font-size: 1.05rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 1rem; }

/* "how to fix" callout */
.fix-box {
  background: var(--surface-2); border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: 14px;
  padding: 1.2rem 1.4rem 1.3rem; margin: 1.1rem 0 .4rem;
}
.fix-box h4 {
  font-family: var(--font-display); font-weight: 800; font-size: .92rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: .8rem;
  display: flex; align-items: center; gap: .5rem;
}
.fix-box ul { display: grid; gap: .55rem; }
.fix-box li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .98rem; line-height: 1.55; color: var(--ink-soft);
}
.fix-box li i { color: var(--red); margin-top: .28rem; font-size: .8rem; flex: none; }

/* final thoughts heading */
.article-h2 {
  font-family: var(--font-display); font-weight: 900; font-size: 1.9rem;
  text-transform: uppercase; color: var(--ink); margin: 2.6rem 0 1rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.article-h2 em { font-style: normal; color: var(--red); }

/* end CTA */
.article-cta {
  margin-top: 3rem; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--navy, #002147) 0%, #03101f 60%, rgba(200,16,46,.22) 100%);
  border-radius: 22px; padding: 3rem 2rem;
}
.article-cta h3 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem,3vw,2.1rem);
  text-transform: uppercase; line-height: 1.05; margin-bottom: .8rem;
}
.article-cta h3 em { font-style: normal; color: var(--red2, #ff4d6d); }
.article-cta p { color: rgba(255,255,255,.72); line-height: 1.7; max-width: 520px; margin: 0 auto 1.6rem; }
.article-cta-btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.acb {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 800; font-size: .92rem;
  letter-spacing: .05em; text-transform: uppercase; padding: .85rem 1.9rem; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .25s;
}
.acb--solid { background: linear-gradient(135deg, var(--red), #e8293f); color: #fff; box-shadow: 0 8px 24px rgba(200,16,46,.4); }
.acb--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,16,46,.58); }
.acb--ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.acb--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* back to blog */
.back-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute);
  transition: color .2s;
}
.back-link:hover { color: var(--red); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 840px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .fc-media { min-height: 240px; }
  .feature-card .fc-body { padding: 1.8rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-section { padding: 3.2rem 0 4rem; }
  .mistake-num { font-size: 2rem; }
  .article-lead { font-size: 1.08rem; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE-HERO REPAIR (blog pages use a LIGHT body)
   main.css defines .page-hero twice; the later rule is a
   transparent red-glow hero meant to sit on a DARK page body.
   Our blog/article body is light, so we re-assert a solid dark
   hero and sensible heading sizes with higher specificity.
   ============================================================ */
body.page-blog .page-hero,
body.page-article .page-hero {
  min-height: auto;
  align-items: center;
  padding: calc(var(--nav-height) + 3.4rem) 1.5rem 3.6rem;
  background:
    radial-gradient(ellipse 120% 80% at 70% 0%, rgba(200,16,46,.22) 0%, transparent 62%),
    linear-gradient(135deg, #002147 0%, #04101e 58%, #1d0911 100%);
}
body.page-blog .page-hero-inner,
body.page-article .page-hero-inner { width: 100%; max-width: 1180px; margin: 0 auto; }

body.page-blog .page-hero h1,
body.page-article .page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: .005em;
  color: #fff;
}
body.page-blog .page-hero h1 em,
body.page-article .page-hero h1 em { font-style: normal; color: var(--red); }

/* article titles run long — keep them controlled */
body.page-article .page-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  max-width: 920px;
}

body.page-blog .page-hero p,
body.page-article .page-hero p {
  color: rgba(255,255,255,.66);
  max-width: 640px;
}

/* breadcrumb visible on the dark hero */
body.page-blog .breadcrumb,
body.page-article .breadcrumb { color: rgba(255,255,255,.5); }
body.page-blog .breadcrumb a,
body.page-article .breadcrumb a { color: rgba(255,255,255,.5); }
body.page-blog .breadcrumb a:hover,
body.page-article .breadcrumb a:hover { color: #fff; }
body.page-blog .breadcrumb .current,
body.page-article .breadcrumb .current { color: var(--red2, #ff4d6d); }