/* Shared article section for service and facility pages. */
.related-posts { padding: 88px 0; background: var(--surface, #f8fafc); }
.related-posts [hidden] { display: none; }
.related-posts__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.related-posts__heading { color: var(--ink, #07122e); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.5px; text-wrap: balance; }
.related-posts__intro { color: var(--text-soft, #334155); margin-top: 12px; max-width: 56ch; }
.related-posts__all, .related-posts__browse { color: var(--orange, #e21f2f); font-size: 14px; font-weight: 700; }
.related-posts__all { flex-shrink: 0; padding: 8px 0; }
.related-posts__all:hover, .related-posts__browse:hover { text-decoration: underline; text-underline-offset: 4px; }
.related-posts a:focus-visible { outline: 3px solid var(--orange, #e21f2f); outline-offset: 5px; border-radius: 4px; }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.related-posts__card { min-width: 0; border-bottom: 1px solid var(--border, #e2e8f0); }
.related-posts__card-link { display: flex; height: 100%; flex-direction: column; color: inherit; }
.related-posts__visual { position: relative; overflow: hidden; aspect-ratio: 8 / 5; background: var(--ink, #07122e); border-radius: 10px; }
.related-posts__placeholder { display: grid; height: 100%; place-items: center; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.related-posts__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.related-posts__card-link:hover img { transform: scale(1.035); }
.related-posts__body { display: flex; flex: 1; flex-direction: column; padding: 22px 0 20px; }
.related-posts__category { color: var(--orange, #e21f2f); font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.related-posts__title { color: var(--ink, #07122e); font-size: 20px; line-height: 1.4; font-weight: 800; overflow-wrap: anywhere; transition: color .2s ease; }
.related-posts__card-link:hover .related-posts__title { color: var(--orange, #e21f2f); }
.related-posts__excerpt { color: var(--text-soft, #334155); font-size: 14px; line-height: 1.7; margin: 12px 0 22px; overflow-wrap: anywhere; }
.related-posts__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; font-size: 12px; }
.related-posts__date { color: var(--muted, #64748b); }
.related-posts__read { color: var(--orange, #e21f2f); font-weight: 700; }
.related-posts__arrow { display: inline-block; width: 14px; height: 14px; margin-left: 3px; vertical-align: -2px; }
.related-posts__status { color: var(--muted, #64748b); font-size: 15px; }
.related-posts__status--loaded { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.related-posts__fallback { margin-top: 16px; }
@media (max-width: 900px) {
  .related-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .related-posts { padding: 56px 0; }
  .related-posts__header { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .related-posts__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .related-posts__visual img, .related-posts__title { transition: none; }
  .related-posts__card-link:hover img { transform: none; }
}
