/* news-detail.css — Single news post detail page */

/* ── Hero — contained banner image ───────────────────── */
.ha-nd-hero-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  margin-bottom: var(--space-5);
}
.ha-nd-hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media (max-width: 575px) { .ha-nd-hero-img { aspect-ratio: 4 / 3; } }

.ha-nd-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.ha-nd-cat-pill {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-3);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.ha-nd-hero-date {
  font-size: 14px;
  color: var(--text-muted);
}
.ha-nd-title {
  font-family: 'Fields Display', 'DM Serif Display', Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 var(--space-5);
  line-height: 1.15;
  color: var(--text);
}
@media (max-width: 767px) {
  .ha-nd-title { font-size: 32px; }
}
@media (max-width: 575px) {
  .ha-nd-title { font-size: 28px; }
}

/* ── Body wrapper ─────────────────────────────────────── */
.ha-nd-outer {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-7);
}
@media (max-width: 991px) { .ha-nd-outer { padding: var(--space-6) var(--space-5); } }
@media (max-width: 575px)  { .ha-nd-outer { padding: var(--space-5) var(--space-4); } }

/* ── Breadcrumb ───────────────────────────────────────── */
.ha-nd-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: var(--space-6);
  transition: opacity var(--transition-base);
}
.ha-nd-breadcrumb:hover { opacity: 0.75; }
.ha-nd-breadcrumb svg  { flex-shrink: 0; }

/* ── Article content ──────────────────────────────────── */
.ha-nd-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  max-width: 800px;
}
.ha-nd-content h2 {
  font-family: 'Fields Display', 'DM Serif Display', Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  margin: var(--space-7) 0 var(--space-4);
  color: var(--text);
  line-height: 1.2;
}
.ha-nd-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--text);
}
.ha-nd-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin: var(--space-5) 0 var(--space-3);
  color: var(--text);
}
.ha-nd-content p   { margin: 0 0 var(--space-5); }
.ha-nd-content ul,
.ha-nd-content ol  { margin: 0 0 var(--space-5); padding-left: var(--space-6); }
.ha-nd-content li  { margin-bottom: var(--space-2); }
.ha-nd-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin: var(--space-6) 0;
}
.ha-nd-content figure { margin: var(--space-6) 0; }
.ha-nd-content figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--space-2);
  text-align: center;
}
.ha-nd-content a {
  color: var(--green);
  text-decoration: underline;
}
.ha-nd-content strong { font-weight: 700; }
.ha-nd-content blockquote {
  border-left: 4px solid var(--green);
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-6);
  background: var(--green-faint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-muted);
}
@media (max-width: 991px) {
  .ha-nd-content { font-size: 17px; }
  .ha-nd-content h2 { font-size: 32px; }
  .ha-nd-content h3 { font-size: 24px; }
}
@media (max-width: 767px) {
  .ha-nd-content { font-size: 16px; }
  .ha-nd-content h2 { font-size: 26px; }
  .ha-nd-content h3 { font-size: 22px; }
  .ha-nd-content h4 { font-size: 18px; }
}

/* ── Share row ────────────────────────────────────────── */
.ha-nd-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-7) 0 var(--space-6);
  max-width: 800px;
}
.ha-nd-share-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  max-width: 800px;
  margin-bottom: var(--space-4);
}
.ha-nd-share-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.ha-nd-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.ha-nd-share-btn {
  display: inline-grid;
  width: var(--space-6);
  height: var(--space-6);
  align-items: center;
  justify-items: center;
  padding: 0;
  color: var(--green-dark);
  background: var(--green-light);
  border: 0;
  border-radius: 50%;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.ha-nd-share-btn:hover {
  color: var(--white);
  background: var(--green);
  transform: translateY(-2px);
}
.ha-nd-share-btn svg {
  width: var(--space-4);
  height: var(--space-4);
  flex-shrink: 0;
}
.ha-nd-back-link {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-5);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
  margin-left: auto;
}
.ha-nd-back-link:hover {
  background: var(--green);
  color: var(--white);
  transform: scale(1.05);
}
@media (max-width: 767px) {
  .ha-nd-share-row { gap: var(--space-3); }
  .ha-nd-back-link { margin-left: 0; }
}
@media (max-width: 575px) {
  .ha-nd-share-row   { flex-direction: column; align-items: flex-start; }
  .ha-nd-back-link   { width: 100%; text-align: center; }
}

/* ── Related articles ─────────────────────────────────── */
.ha-nd-related {
  padding: var(--space-8) 0;
  background: var(--bg);
}
.ha-nd-related-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-7);
}
@media (max-width: 767px) {
  .ha-nd-related-inner { padding: 0 var(--space-5); }
}
.ha-nd-related-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-6);
}
@media (max-width: 767px) {
  .ha-nd-related-title { font-size: 26px; }
}
