/* Double Dz Drainage — Blog styles (overlay on /assets/style.css) */

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex; gap: 8px; font-size: 14px;
  color: var(--slate); margin-bottom: 24px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ─── Blog index hero ─── */
.blog-hero { background: var(--offwhite); padding: 80px 0 48px; border-bottom: 1px solid var(--border); }
.blog-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.blog-hero .lead { font-size: 20px; max-width: 720px; color: var(--slate); }

/* ─── Post grid ─── */
.blog-grid { padding: 64px 0 80px; }
.post-card-list { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--cyan);
}
.post-card .category {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--cyan); margin-bottom: 12px;
}
.post-card h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 22px; line-height: 1.25; margin-bottom: 12px;
  color: var(--ink);
}
.post-card p {
  color: var(--slate); font-size: 15px; line-height: 1.6;
  margin-bottom: 20px; flex-grow: 1;
}
.post-card .post-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--slate); margin-top: auto;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.post-card .read-more { color: var(--cyan); font-weight: 600; }

/* ─── Article (single post) ─── */
.post-header {
  background: var(--offwhite); padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.post-header .container { max-width: 820px; }
.post-header .category {
  display: inline-block;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--cyan); margin-bottom: 16px;
}
.post-header h1 {
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -0.01em;
}
.post-header .post-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--slate); margin-top: 16px;
}
.post-header .post-meta strong { color: var(--ink); }

.post-content { padding: 64px 0 80px; }
.post-content .container { max-width: 720px; }
.post-content p {
  font-size: 18px; line-height: 1.75; color: var(--ink);
  margin-bottom: 24px;
}
.post-content p:first-of-type { font-size: 20px; color: var(--ink); font-weight: 500; }
.post-content h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 28px; line-height: 1.2; margin-top: 48px; margin-bottom: 20px;
  color: var(--ink);
}
.post-content h3 {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 22px; margin-top: 36px; margin-bottom: 14px;
  color: var(--ink);
}
.post-content ul, .post-content ol {
  margin: 0 0 24px 24px;
  font-size: 18px; line-height: 1.75; color: var(--ink);
}
.post-content li { margin-bottom: 10px; }
.post-content a {
  color: var(--cyan); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.post-content a:hover { color: var(--cyan-deep); }
.post-content blockquote {
  margin: 32px 0; padding: 20px 28px;
  background: rgba(0, 160, 200, 0.06);
  border-left: 4px solid var(--cyan);
  font-size: 19px; line-height: 1.6; color: var(--ink);
  border-radius: 0 8px 8px 0;
}
.post-content strong { color: var(--ink); font-weight: 700; }

/* Inline CTA box inside posts */
.post-cta-box {
  margin: 40px 0;
  padding: 32px;
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
}
.post-cta-box h3 {
  color: var(--white); margin-top: 0; font-size: 22px; margin-bottom: 12px;
}
.post-cta-box p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 20px; }
.post-cta-box a {
  display: inline-block;
  background: var(--cyan); color: var(--white);
  padding: 12px 24px; border-radius: 6px;
  font-weight: 700; text-decoration: none;
  transition: background 200ms ease;
}
.post-cta-box a:hover { background: var(--cyan-deep); color: var(--white); }

/* Related posts strip */
.post-related {
  background: var(--offwhite); padding: 56px 0;
  border-top: 1px solid var(--border);
}
.post-related h2 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 28px; margin-bottom: 32px; text-align: center;
  color: var(--ink);
}
.post-related .post-card-list { max-width: 1080px; margin: 0 auto; }

/* Mobile tweaks */
@media (max-width: 600px) {
  .blog-hero { padding: 56px 0 36px; }
  .post-header { padding: 48px 0 32px; }
  .post-content { padding: 48px 0 64px; }
  .post-content p, .post-content ul, .post-content ol { font-size: 17px; }
  .post-content p:first-of-type { font-size: 18px; }
  .post-content h2 { font-size: 24px; margin-top: 36px; }
  .post-cta-box { padding: 24px; }
  .post-card { padding: 24px; }
}
