/*
Theme Name: Life Charge Blog
Author: Life Charge Chiropractic
Description: Clean blog-only theme designed to match the static Life Charge Chiropractic website.
Version: 1.0.0
*/

:root {
  --red: #ed3237;
  --yellow: #ffcc29;
  --charcoal: #606062;
  --deep: #2d2d2f;
  --cream: #f7f4ef;
  --white: #ffffff;
  --line: #e7e0d8;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--deep);
  background: var(--white);
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 22px;
}
.brand img { width: 214px; max-width: 44vw; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 13px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero {
  background: var(--deep);
  color: #fff;
  padding: 72px 22px;
}
.hero-inner { max-width: 1080px; margin: 0 auto; }
.eyebrow {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}
.hero p {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.7;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
}
.blog-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 22px 76px;
}
.category-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.category-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #fff;
}
.category-row a:hover { border-color: var(--red); color: var(--red); }
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  margin-bottom: 46px;
}
.featured-article {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--deep);
  text-decoration: none;
  color: #fff;
}
.featured-article img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  transform: scale(1.01);
}
.featured-article:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,45,47,.92), rgba(45,45,47,.2));
}
.featured-copy {
  position: relative;
  z-index: 1;
  max-width: 670px;
  padding: 34px;
}
.label {
  display: inline-flex;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.featured-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
}
.featured-copy p { margin: 0 0 16px; color: rgba(255,255,255,.78); line-height: 1.7; }
.side-stack { display: grid; gap: 14px; }
.mini-post {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  background: #fff;
}
.mini-post:hover { border-color: var(--red); }
.mini-post h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin: 0 0 22px;
}
.section-head h2 { margin: 0; font-size: 28px; }
.section-head p { margin: 0; color: var(--charcoal); line-height: 1.6; max-width: 540px; }
.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  background: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.post-card h2, .entry h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
}
.post-card h2 a { text-decoration: none; }
.meta {
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.excerpt, .entry-content {
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.8;
}
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
.read-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.cta-band {
  margin-top: 44px;
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.cta-band h2 { margin: 0 0 8px; font-size: 26px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.6; }
.cta-band a {
  flex: 0 0 auto;
  background: var(--red);
  color: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.entry {
  max-width: 760px;
}
.entry h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.article-cta {
  border-left: 5px solid var(--red);
  background: var(--cream);
  padding: 24px;
  border-radius: 8px;
  margin: 34px 0;
}
.article-cta strong { display: block; margin-bottom: 8px; font-size: 18px; color: var(--deep); }
.article-cta a { color: var(--red); font-weight: 900; text-decoration: none; }
.sidebar {
  background: var(--cream);
  border-radius: 10px;
  padding: 24px;
  align-self: start;
}
.sidebar h3 {
  margin: 0 0 14px;
  font-size: 17px;
}
.sidebar ul { margin: 0; padding-left: 18px; color: var(--charcoal); line-height: 1.8; }
.site-footer {
  background: var(--deep);
  color: #fff;
  padding: 42px 22px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.footer-inner a { color: #fff; text-decoration: none; font-weight: 700; }
.pagination { display: flex; gap: 12px; margin-top: 32px; }
.pagination a, .pagination span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  text-decoration: none;
}
@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 20px; gap: 14px; }
  .nav-links { flex-wrap: wrap; gap: 14px; }
  .wrap { grid-template-columns: 1fr; padding-top: 42px; }
  .hero { padding: 52px 22px; }
  .feature-grid, .post-list { grid-template-columns: 1fr; }
  .featured-article { min-height: 360px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
