/* ============================================================
   SHOUTOUT Blog — styles that extend site.css
   Palette:  ink #564751 · link #8f8189 · red #ff5756 · pink #ff007b · light #f8f7f8
   ============================================================ */

body {
  line-height: 1.5;
  background-color: #fff;
}

/* ---------- Hero band (matches the main site's column + focus image) ---------- */
.blog-hero {
  background: linear-gradient(rgba(86, 71, 81, 0.5), rgba(86, 71, 81, 0.74)), url("../images/focus@2x.png") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 3.5em 2em 4em;
}
.blog-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.blog-hero-title {
  color: #fff;
  font-family: Raleway;
  font-weight: 200;
  font-size: 3.4rem;
  line-height: 1.1;
  margin: 0 0 0.6em;
  letter-spacing: 0.4px;
}
.blog-hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.3rem;
  line-height: 1.6;
  margin: 0 auto 1.8em;
  max-width: 540px;
}

/* ---------- Post grid ---------- */
.blog-grid {
  max-width: 1024px;
  margin: 0 auto;
  padding: 3em 1.5em 4em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
}
.blog-card {
  background: #fff;
  border: 1px solid #eceaea;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(86, 71, 81, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(86, 71, 81, 0.18);
}
.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f8f7f8;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.blog-card:hover .blog-card-media img { transform: scale(1.045); }
.blog-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Raleway;
  letter-spacing: 2px;
  font-weight: 600;
  color: #ff007b;
  background: linear-gradient(135deg, #f8f7f8, #f1eef2);
}
.blog-card-body {
  padding: 1.4em 1.5em 1.6em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.5rem;
  flex: 1;
}
.blog-card-cat {
  font-family: Raleway;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff5756;
}
.blog-card-title {
  font-family: Aileron-UltraLight;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
}
.blog-card-title a {
  color: #564751;
  text-decoration: none;
  transition: color 0.15s ease;
}
.blog-card:hover .blog-card-title a,
.blog-card-title a:hover { color: #ff5756; }
.blog-card-date {
  margin: 0;
  color: #8f8189;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-card-excerpt {
  margin: 0;
  color: #7c6f77;
  font-size: 0.95rem;
  line-height: 1.55;
}
.blog-card-more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: Raleway;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff007b;
  text-decoration: none;
  display: inline-flex;
  gap: 0.35em;
  align-items: center;
}
.blog-card-more .arrow { transition: transform 0.15s ease; }
.blog-card-more:hover { color: #ff5756; }
.blog-card-more:hover .arrow { transform: translateX(4px); }

/* ---------- CTA band ---------- */
.blog-cta {
  background: #564751;
  color: #fff;
  text-align: center;
  padding: 3.5em 2em;
}
.blog-cta-inner { max-width: 640px; margin: 0 auto; }
.blog-cta h2 {
  color: #fff;
  font-family: Aileron-UltraLight;
  font-weight: 400;
  font-size: 2.6rem;
  margin: 0 0 0.4em;
}
.blog-cta p { color: rgba(255, 255, 255, 0.85); margin: 0 auto 1.6em; }
.blog-cta a.pink-outline-button { background: transparent; color: #fff; border: 1px solid #fff; }
.blog-cta a.pink-outline-button:hover { background: #fff; color: #564751; }

/* ---------- Single post ---------- */
.post { padding: 3em 2em 4em; }
.post-inner { max-width: 760px; margin: 0 auto; }
.post-header { text-align: center; margin-bottom: 2em; }
.post-cat {
  display: inline-block;
  font-family: Raleway;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff5756;
  margin-bottom: 0.6em;
}
.post-title {
  color: #564751;
  font-family: Aileron-UltraLight;
  font-weight: 400;
  font-size: 2.9rem;
  line-height: 1.14;
  margin: 0 0 0.7em;
}
.post-meta { color: #8f8189; font-size: 1rem; margin: 0; }
.post-meta span { color: #6b5d66; }
.post-hero { margin: 0 0 2em; }
.post-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(86, 71, 81, 0.18);
}
.post-content {
  color: #564751;
  font-family: Aileron;
  font-size: 1.15rem;
  line-height: 1.75;
  text-align: left;
}
.post-content p { margin: 1.15em 0; }
.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: Aileron-UltraLight;
  font-weight: 400;
  color: #ff5756;
  line-height: 1.25;
  margin: 1.6em 0 0.7em;
}
.post-content h2 { font-size: 2rem; }
.post-content h3 { font-size: 1.6rem; }
.post-content h4 { font-size: 1.35rem; }
.post-content a {
  color: #ff007b;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.post-content a:hover { color: #ff5756; }
.post-content ul,
.post-content ol { margin: 1.1em 0 1.1em 1.5em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin: 0.4em 0; padding-left: 0.25em; }
.post-content li::marker { color: #ff5756; }
.post-content img.post-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 1.8em 0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(86, 71, 81, 0.16);
}
.post-content blockquote {
  border-left: 4px solid #ff5756;
  margin: 1.6em 0;
  padding: 0.3em 0 0.3em 1.1em;
  color: #6b5d66;
  font-family: Aileron-UltraLight;
  font-size: 1.35rem;
  line-height: 1.5;
}
.post-actions {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid #eceaea;
}
.post-actions a { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero-title { font-size: 2.8rem; }
  .post-title { font-size: 2.3rem; }
  .blog-cta h2 { font-size: 2.1rem; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; gap: 1.6em; padding: 2.2em 1.2em 3em; }
  .blog-hero { padding: 2.6em 1.4em 3em; }
  .blog-hero-title { font-size: 2.2rem; }
  .blog-hero-sub { font-size: 1.1rem; }
  .post { padding: 2.2em 1.2em 3em; }
  .post-title { font-size: 2rem; }
  .post-content { font-size: 1.08rem; }
  .post-actions { flex-direction: column; align-items: stretch; }
  .post-actions a { text-align: center; }
}
