/* ============================================================
   TLS Coaching — Blog Styles
   Shared by blog index and all blog post pages.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #192A47;
  --steel: #3E6090;
  --white: #FFFFFF;
  --ice: #F0F4F8;
  --sky: #5A8BBF;
  --charcoal: #2C3E50;
  --silver: #C8D6E5;
  --green: #1B813E;
}

body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
nav {
  background: var(--navy);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav img { height: 40px; }
nav a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}
nav a:hover { color: var(--sky); }

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
}
footer img { height: 32px; margin-bottom: 0.75rem; }


/* ============================================================
   Blog Index — page header + post cards
   ============================================================ */

.page-header {
  background: var(--navy);
  padding: 4rem 2rem 3rem;
  text-align: center;
}
.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-header p {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 520px;
  margin: 0 auto;
}

.posts {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.post-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--silver);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.post-card:first-child { padding-top: 0; }
.post-card:last-child { border-bottom: none; }
.post-card:hover { opacity: 0.85; }

.post-card-image {
  width: 200px;
  min-width: 200px;
  height: 130px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ice);
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.post-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.read-more {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--steel);
  margin-top: 0.5rem;
}


/* ============================================================
   Blog Post — hero image, article, highlight box, CTA
   ============================================================ */

.hero-image {
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--navy);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

article {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.post-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

article h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--steel);
  line-height: 1.6;
  margin-bottom: 2rem;
  border-left: 3px solid var(--green);
  padding-left: 1.25rem;
}

article h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

article p {
  margin-bottom: 1.25rem;
  max-width: 75ch;
}

blockquote {
  background: var(--ice);
  border-left: 4px solid var(--steel);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--navy);
}

.highlight-box {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: 6px;
  margin: 2.5rem 0;
}
.highlight-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--white);
}
.highlight-box ul {
  list-style: none;
  padding: 0;
}
.highlight-box li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.highlight-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

/* CTA */
.cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--silver);
}
.cta p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  max-width: 100%;
}
.cta a {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.cta a:hover { background: #156b32; }


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 640px) {
  /* Blog index */
  .post-card { flex-direction: column; gap: 1rem; }
  .post-card-image { width: 100%; min-width: 100%; height: 180px; }
  .page-header h1 { font-size: 1.75rem; }

  /* Blog post */
  article h1 { font-size: 1.75rem; }
  article { padding: 2rem 1.25rem 3rem; }
  .highlight-box { padding: 1.5rem; }
}
