:root {
  --black: #000;
  --white: #fff;
  --red: #d32f2f;
  --gray: #cfcfcf;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
}

/* CONTAINER */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BLOG POST */
.blog-post {
  padding: 120px;
}

.blog-post h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
}

.blog-post h2 {
  margin-top: 36px;
  font-size: 22px;
}

.blog-post p {
  margin-top: 16px;
  color: var(--gray);
}

.blog-post ul {
  margin-top: 16px;
  padding-left: 20px;
}

.blog-post li {
  margin-bottom: 10px;
  color: var(--gray);
}

.intro {
  font-size: 18px;
}

.closing {
  margin-top: 40px;
  font-style: italic;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  text-align: center;
}

.footer p {
  font-size: 14px;
  color: #bdbdbd;
}
/* =====================
   RELATED BLOGS
===================== */
.related-blogs {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.related-blogs h2 {
  font-size: 22px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.related-card {
  display: block;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 24px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.3s ease;
}

.related-card:hover {
  border-color: var(--white);
}

.related-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.related-card p {
  font-size: 14px;
  color: var(--gray);
}

/* MOBILE */
@media (max-width: 600px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}
.img-container {
  width: 90%;
  overflow: hidden;
  border-radius: 6px;
  margin: 24px auto 32px; /* auto centers horizontally */
}
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* HERO IMAGE — toned down */
.hero-img {
  max-height: 460px;
}

/* CONTEXT IMAGE — smaller */
.context-img {
  max-height: 360px;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-img {
    max-height: 220px;
  }

  .context-img {
    max-height: 180px;
  }
}
