/* ============================================================
   NM Related Posts — End-of-article module (single blog posts)
   v1.0.0 — palette stricte cyan #00A5CB · rouge #E63254 · blanc.
   ============================================================ */

html body .nm-related {
  width: 100%;
  background: #f9f6f0;
  padding: 72px 24px 80px;
  margin-top: 56px;
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
}
html body .nm-related-inner {
  max-width: 1320px;
  margin: 0 auto;
}
html body .nm-related-head {
  text-align: center;
  margin-bottom: 40px;
}
html body .nm-related-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #E63254;
  margin-bottom: 14px;
}
html body .nm-related-title {
  font-family: 'Boldonse', serif !important;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #00A5CB;
  margin: 0;
  text-transform: none;
}
html body .nm-related-title em {
  font-style: italic;
  color: #E63254;
}

html body .nm-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

html body .nm-related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
html body .nm-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,165,203,.16);
}
html body .nm-related-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}
html body .nm-related-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4efe6;
}
html body .nm-related-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
html body .nm-related-card:hover .nm-related-card-img {
  transform: scale(1.04);
}
html body .nm-related-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
html body .nm-related-card-meta {
  font-size: 12px;
  font-weight: 500;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
html body .nm-related-card-dot {
  margin: 0 6px;
  color: #c6c6c6;
}
html body .nm-related-card-author {
  color: #E63254;
  font-weight: 600;
}
html body .nm-related-card-title {
  font-family: 'Boldonse', serif !important;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: #00A5CB;
  margin: 0 0 12px;
  text-transform: none;
  letter-spacing: -0.2px;
}
html body .nm-related-card-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 400;
  color: #4a4a4a;
  margin: 0 0 16px;
  flex: 1;
}
html body .nm-related-card-cta {
  font-size: 13.5px;
  font-weight: 700;
  color: #E63254;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}

html body .nm-related-allcat {
  text-align: center;
}
html body .nm-related-allcat-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #E63254;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all .18s ease;
  border: 2px solid #E63254;
}
html body .nm-related-allcat-btn:hover {
  background: transparent;
  color: #E63254 !important;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  html body .nm-related-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  html body .nm-related-title { font-size: 30px; }
}

@media (max-width: 768px) {
  html body .nm-related { padding: 48px 20px 56px; margin-top: 36px; }
  html body .nm-related-head { margin-bottom: 28px; }
  html body .nm-related-title { font-size: 24px; }
  html body .nm-related-eyebrow { font-size: 11.5px; letter-spacing: 2px; }
  html body .nm-related-grid { grid-template-columns: 1fr; gap: 20px; }
  html body .nm-related-card-body { padding: 18px 20px 22px; }
  html body .nm-related-card-title { font-size: 17px; }
  html body .nm-related-allcat-btn { padding: 12px 22px; font-size: 13px; }
}
