/* ====== CONTENT PAGE CSS ====== */
html { scroll-behavior: smooth; }

/* Page wrapper (lets header and wide media use 960px) */
.article {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
}

/* Breadcrumbs */
.article-breadcrumbs {
  max-width: 960px;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}
.article-breadcrumbs a { text-decoration: none; }
.article-breadcrumbs .sep { margin: 0 .5rem; opacity: .6; }

/* --- Content header: SIMPLE STACK (no grid / no flex ordering) --- */
.article-header {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid #ddd;
  display: block; /* ensure no theme grid/flex leaks in */
}

/* Social media row — always on top, right-aligned */
.article-social {
  display: block;
  text-align: right;
  margin: 0 0 .75rem;
  float: none !important; /* kill any global floats */
  clear: both;
}
.article-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background: #eee; color: #555;
  text-decoration: none; font-weight: 600;
  margin-left: .5rem;
  transition: background .2s, color .2s;
}
.article-social a:hover { background: #005fa3; color: #fff; }

/* Title — always in the middle */
.article-header h1 {
  display: block;
  margin: 0 0 .5rem;
  line-height: 1.15;
  /*font-size: clamp(1.8rem, 3.5vw, 2.8rem);*/
  clear: both; /* never wrap beside icons */
}

/* Meta (content type + date) — always below title */
.article-header .meta {
  display: block;
  font-size: .95rem;
  opacity: .8;
  margin: 0 0 .5rem;
  clear: both;
}

/* Body text column (730px) */
.article-body {
  max-width: 620px;
  margin: 0 auto;
}
.article p { margin: 0 0 1.25rem; line-height: 1.7; }

/* Figures & captions */
.article figure { margin: 1.25rem 0; }
.article figure img {
  width: 100%; height: auto; display: block;
}
.article figcaption {
  margin-top: .5rem;
  font-size: .95rem; line-height: 1.4;
  opacity: .8; font-style: italic;
}

.article figcaption a {
  font-size: .95rem; line-height: 1.4;
}

/* Wide figure breakout to 960px */
.article figure.figure--wide {
  width: 960px; max-width: 100vw;
  margin-left: calc(50% - 480px);
  margin-right: auto;
}
@media (max-width: 980px) {
  .article figure.figure--wide {
    width: min(960px, 100%);
    margin-left: 0; margin-right: 0;
  }
}
