/* ================= HERO ================= */

.blog-hero {
  background: radial-gradient(
    circle at top,
    #0f766e 0%,
    #020617 72%
  );
  padding: 44px 0;
  text-align: center;
  color: #ffffff;
}

.blog-hero h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 6px;
}

.blog-hero p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #cbd5f5;
}


/* ================= BLOG LIST ================= */

.blog-list {
  padding: 60px 0;
}

.blog-card {
  max-width: 820px;
  margin: 0 auto 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e5e7eb;
}

/* Date (listing) */
.blog-card .blog-date {
  font-size: 13px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

/* Blog title (listing) */
.blog-card h2 {
  font-size: 24px;
  margin: 6px 0 10px;
  line-height: 1.35;
}

.blog-card h2 a {
  color: #020617;
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: #475569;
}

/* Excerpt */
.blog-card p {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.65;
}

/* Read more */
.read-more {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* ================= BLOG POST ================= */

.blog-post {
  padding: 60px 0;
}

/* Meta row: back + date */
.blog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

/* Back link */
.back-link {
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: none;
  color: #475569;
}

/* Date (post page) */
.blog-meta-row .blog-date {
  font-size: 13px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Blog post title (IMPROVED) */
.blog-post h1 {
  font-size: 34px;
  line-height: 1.3;
  margin: 12px 0 24px;
  color: #020617;
  font-weight: 700;
}

/* Content typography */
.blog-content p,
.blog-content li {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 14px;
}

.blog-content h3 {
  margin-top: 28px;
  color: #0f766e;
}

/* Disclaimer */
.blog-disclaimer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px dashed #e5e7eb;
  font-size: 13.5px;
  color: #64748b;
}

/* Attachments */
.blog-attachments {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.blog-attachments ul {
  padding-left: 18px;
}

/* ================= RELATED ARTICLES ================= */

.related-posts {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.related-posts h3 {
  font-size: 22px;
  margin-bottom: 22px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.related-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  background: #ffffff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.related-card span {
  font-size: 12px;
  color: #64748b;
}

.related-card h4 {
  margin: 6px 0 8px;
  font-size: 16px;
}

.related-card h4 a {
  color: #020617;
  text-decoration: none;
}

.related-card h4 a:hover {
  color: #0f766e;
}

/* ================= ATTACHMENTS ================= */

.blog-attachments {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.blog-attachments h3 {
  margin-bottom: 10px;
}

.blog-attachments a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

/* ================= BLOG DISCLAIMER ================= */
.blog-disclaimer {
  margin-top: 48px;
  padding: 16px 18px;
  border-left: 4px solid #0f766e;
  border-radius: 15px;
  background: #f8fafc;
  font-size: 13.5px;
  line-height: 1.6;
  color: black;
  font-weight: 700;
  font-style: italic;
}

.blog-disclaimer p {
  margin: 0;
}


/* ================= MOBILE ================= */

@media (max-width: 600px) {
  .blog-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .blog-meta-row .blog-date {
    align-self: flex-end;
  }

  .blog-post h1 {
    font-size: 28px;
  }
}
