/* mhv-single-style.css
   Loaded alongside mhv-stories-style.css on single.php only.
   Reuses .mhv-story-category, .mhv-story-edit-link, .mhv-widget,
   .mhv-stories-header/footer/wrap/sidebar classes from that file —
   this file covers only what's new: the article itself. */

/* OceanWP has a separate "Single Post" layout setting (Customize ->
   Blog -> Single Post) independent of the general site width setting.
   If that's set to Boxed, its CSS targets the auto-added .single-post
   body class and constrains width even on this fully custom template.
   This override forces full width regardless of that Customizer
   setting — belt-and-suspenders alongside fixing the setting itself. */
body.single-post.mhv-single-page,
html body.single-post.mhv-single-page {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.mhv-single-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: #1f4d36;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.mhv-single-back:hover { text-decoration: underline; }

.mhv-single-post {
  background: #ffffff;
  border: 1px solid #ece7d8;
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .mhv-single-post { padding: 1.25rem; }
}

.mhv-single-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.mhv-single-title {
  margin: 0.25rem 0 0.6rem;
  font-size: 2.1rem;
  line-height: 1.25;
  color: #1a1a1a;
}
@media (max-width: 640px) {
  .mhv-single-title { font-size: 1.6rem; }
}

.mhv-single-meta-line {
  font-size: 0.85rem;
  color: #8a8a8a;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #ece7d8;
  margin-bottom: 1.5rem;
}

.mhv-single-hero {
  margin: 0 0 1.75rem;
}
.mhv-single-hero img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.mhv-single-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}
.mhv-single-content p { margin: 0 0 1.25rem; }
.mhv-single-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: #1f4d36;
}
.mhv-single-content h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.85rem;
  color: #1f4d36;
}
.mhv-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.25rem 0;
}
.mhv-single-content a { color: #1f4d36; }
.mhv-single-content blockquote {
  border-left: 3px solid #1f4d36;
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  color: #555;
  font-style: italic;
}

.mhv-single-comments {
  background: #ffffff;
  border: 1px solid #ece7d8;
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* ---------- More Stories strip ---------- */
.mhv-more-stories { margin-bottom: 2rem; }
.mhv-more-stories h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1f4d36;
  border-left: 3px solid #1f4d36;
  padding-left: 0.6rem;
  margin-bottom: 1rem;
}
.mhv-more-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .mhv-more-stories-grid { grid-template-columns: 1fr; }
}
.mhv-more-story-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #ece7d8;
  border-radius: 6px;
  overflow: hidden;
}
.mhv-more-story-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.mhv-more-story-card span {
  display: block;
  padding: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}
.mhv-more-story-card:hover span { color: #1f4d36; }
