/* Full-bleed image: spans the viewport width */
.news-article__media {
  margin: 1.5rem 0 2rem;
}

.news-article__media img {
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.news-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.news-article__back {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
}

.news-article__title {
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
}

.news-article__meta {
  margin-bottom: 1.5rem;
  opacity: 0.75;
  font-size: 0.95rem;
}

.news-article__media {
  margin: 0 0 1.5rem 0;
}

.news-article__body {
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-article__body h2,
.news-article__body h3 {
  margin-top: 2rem;
}

.news-article__body p {
  margin: 0 0 1.25rem 0;
}

.news-article__body ul,
.news-article__body ol {
  margin: 0 0 1.25rem 1.25rem;
}

.news-article {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.news-article__title {
  font-weight: 300;     /* WP titles often use a light weight */
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 1rem;
}

.news-article__meta {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 1.25rem;
}

.news-article__body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-article__body h2 {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  margin: 2.2rem 0 0.75rem;
}

/* HERO background area */

.news-hero {
  position: relative;

  /* full-bleed */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* background image behavior */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 420px; /* adjust */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.news-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);   /* darken like WP */
}

.news-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.news-hero__back {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  display: inline-block;
  margin-bottom: 1rem;
}

.news-hero__title {
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.news-hero__meta {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* PAPER card that overlaps hero */
.news-paper-wrap {
  display: flex;
  justify-content: center;
  padding: 0 1rem 4rem;
  background: #f5f5f5; /* subtle page bg like WP */
}

.news-paper {
  width: min(900px, 100%);
  margin-top: -110px; /* <-- the overlap */
  background: #fff;
  padding: 2.5rem 3rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border-radius: 2px; /* tiny rounding (or 0 if you want sharp) */
}

.news-paper__body {
  line-height: 1.8;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .news-hero { min-height: 320px; }
  .news-paper { padding: 1.5rem; margin-top: -70px; }
}

.news-hero {
  z-index: 0; /* sits behind */
}

.news-paper-wrap {
  position: relative;
  z-index: 2; /* sits above hero */
}

.news-paper {
  position: relative;
  z-index: 3;     /* definitely above overlay */
  margin-top: -110px;  /* overlap amount */
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.news-hero,
.news-hero a,
.news-hero__title,
.news-hero__meta {
  color: #ffffff;
}

.news-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;

  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.9;
}

.news-hero__back:hover {
  opacity: 1;
  text-decoration: underline;
}
