/* Blog detail page styles */
.blog-detail {
  width: 100%;
  background: var(--white);
  color: var(--dark-blue);
  padding: 60px 0;
}
.navbar + .blog-detail {
  padding-top: 120px;
}
.navbar + .blog-hero {
  padding-top: 120px;
}
.blog-detail .detail-container {
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}
.blog-detail .detail-hero {
  width: 100%;
  height: 240px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  border-radius: 4px;
  background: #f4f6f8;
}
.blog-detail .detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-detail .detail-content {
  background: var(--white);
  color: var(--dark-blue);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-radius: 4px;
  padding: 24px 24px 24px 20px;
  margin-top: 18px;

}
.blog-detail .detail-content h1 {
  font-family: 'Merriweather', serif;
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.blog-detail .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}
.blog-detail .detail-meta i {
  vertical-align: -2px;
  margin-right: 6px;
  color: #888;
}
.blog-detail .detail-content p {
  line-height: 1.8;
  margin-bottom: 18px;
}
.blog-detail .detail-content {
  max-width: none;
  margin: 18px 0 0;
}
.blog-detail .detail-content h2 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.25;
  margin: 24px 0 14px;
  color: var(--dark-blue);
}
.blog-detail .detail-content h2::before {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: #cbd5e1;
  margin: 26px auto 16px;
}
.blog-detail .detail-content h3 {
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.3;
  margin: 20px 0 10px;
  color: var(--dark-blue);
}
.blog-detail .detail-content ul,
.blog-detail .detail-content ol {
  margin: 0 0 18px 22px;
  padding: 0;
}
.blog-detail .detail-content li {
  margin-bottom: 10px;
}
.blog-detail .detail-content li strong {
  font-weight: 800;
}
/* Comments section below blog details */
.blog-comments {
  width: 100%;
  background: var(--white);
  color: var(--dark-blue);
  padding: 30px 0 50px;
}
.blog-comments .comments-container {
  width: 80%;
  margin: 0 10%;
}
.blog-comments h3 {
  font-family: 'Merriweather', serif;
  font-size: 26px;
  margin-bottom: 8px;
}
.blog-comments .comment-note {
  color: #555;
  font-size: 14px;
  margin-bottom: 16px;
}
.blog-comments .comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-comments .comment-form .form-group {
  display: flex;
  flex-direction: column;
}
.blog-comments .comment-form label {
  font-size: 14px;
  margin-bottom: 6px;
}
.blog-comments .comment-form input {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  padding: 10px;
  font-size: 14px;
  background: var(--white);
  color: var(--dark-blue);
}
.blog-comments .comment-form textarea {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  padding: 12px;
  font-size: 14px;
  min-height: 220px;
  width: 100%;
  resize: vertical;
  margin-bottom: 16px;
  background: #f7f7f7;
  color: var(--dark-blue);
}
.blog-comments .comment-form .row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.blog-comments .comment-form input::placeholder,
.blog-comments .comment-form textarea::placeholder {
  color: #777;
}
.blog-comments .comment-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 16px;
}
.blog-comments .comment-form .btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #000;
  border: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .blog-comments .comments-container {
    width: 90%;
    margin: 0 5%;
  }
  .blog-comments .comment-form .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .blog-detail {
    padding: 40px 0;
  }
  .navbar + .blog-detail {
    padding-top: 88px;
  }
  .navbar + .blog-hero {
    padding-top: 88px;
  }
  .blog-detail .detail-container {
    width: 100%;
    margin: 0;
  }
  .blog-detail .detail-hero {
    height: 180px;
  }
  .blog-detail .detail-content h1 {
    font-size: 26px;
  }
  .blog-detail .detail-content h2 {
    font-size: 26px;
    margin: 20px 0 12px;
  }
  .blog-detail .detail-content h2::before {
    margin: 22px auto 12px;
    width: 56px;
  }
  .blog-detail .detail-content h3 {
    font-size: 20px;
  }
}

/* Small hero for blog detail pages */
.blog-hero {
  position: relative;
  min-height: 30vh;
  display: flex;
  align-items: center;
}
.blog-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.blog-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 40, 0.55);
  z-index: 1;
}
.blog-hero .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
}
.blog-hero .hero-content h1 {
  color: var(--white);
  font-family: 'Merriweather', serif;
  font-size: 36px;
  letter-spacing: 0.4px;
}
@media (max-width: 768px) {
  .blog-hero {
    min-height: 28vh;
  }
  .blog-hero .hero-content {
    padding-top: 88px;
  }
  .blog-hero .hero-content h1 {
    font-size: 28px;
  }
}
