/* News article (/{slug}/, newsArticle; Views/newsArticle.cshtml). Values from the WordPress single post, measured
   2026-10-29 at 1280, 1024, 768 and 375 px (reference rules in brackets):
   hero 70vh, 400px at ≤639px, image cover on #ddd [.hero, .single .hero];
   section 80px top and bottom, 40px 20px at ≤850px [.entry-main];
   text column 75% of the 1200px container from 1024px (870px text at 1280), full width below, 15px gutters
   (10px at ≤639px) [.grid-container .large-9.cell];
   title Clash Grotesk Regular 40/52, 40px below; 34/38 at ≤639px [.entry-title];
   body Roboto 16/30, 16px between paragraphs, 14/20 at ≤639px; links #1779ba, not underlined; h2 Clash Grotesk
   Extralight 40/56, 8px below; lists disc, 20px in, items 16/25.6 [.entry-content];
   News heading right after the body: line from the section's left edge (mini-line-violet.svg at left 26px, 50px
   high), label 100px in, Clash Grotesk Medium 18/30, 1px letter-spacing, uppercase, violet (15px at ≤700px)
   [.headline-line.violet .subtitle]; grid 15px below it and 65px above the section end, 100px in from the left and
   100px from the right (10px each side and no left inset at ≤639px), 3 columns, 30px gaps, 1 column at ≤639px
   [.wrap, .wrap-fix, .news-grid]; card image 250px high (180px at ≤639px), radius 6px, 18px above the title; title
   Clash Grotesk Regular 18/20, 40px side padding, 20px below (13px at ≤850px; 25/27 without padding at ≤639px)
   [.single .articles-item h3]. The source hides the card date and "Learn more" on article pages.
   Deviation: from 640 to 850px the reference grid overflows the page (768px: 678px of grid from x 120 in a 753px
   page, its 100px right padding kept); here the right padding drops there so the grid fits, with the same left edge. */

.news-article__hero {
  position: relative;
  height: 70vh;
  background-color: #dddddd;
}

.news-article__hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.news-article__main {
  padding: 80px 0;
}

.news-article__container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-article__column {
  box-sizing: border-box;
  padding: 0 15px;
}

.news-article__title {
  margin: 0 0 40px;
  font-family: var(--eve-font-display-regular);
  font-weight: 400;
  font-size: 40px;
  line-height: 52px;
  color: var(--eve-color-text);
}

/* —— Body (RichTextBlockHtml output: p, h2–h4, strong, em, ul, ol, li, br, a) —— */
.news-article__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 30px;
}

.news-article__body a {
  color: #1779ba;
  text-decoration: none;
}

/* WordPress file block (wp-block-file: file name link + Download link): the sanitizer unwraps its container,
   leaving the two links side by side outside a paragraph; keep them apart. */
.news-article__body > a + a {
  margin-left: 16px;
}

.news-article__body strong {
  font-weight: 700;
}

.news-article__body h2 {
  margin: 0 0 8px;
  font-family: var(--eve-font-display-extralight);
  font-weight: 400;
  font-size: 40px;
  line-height: 56px;
}

.news-article__body ul,
.news-article__body ol {
  margin: 0 0 16px 20px;
  padding: 0;
}

.news-article__body ul {
  list-style: disc;
}

.news-article__body ol {
  list-style: decimal;
}

.news-article__body li {
  font-size: 16px;
  line-height: 25.6px;
}

/* —— News heading and grid [.wrap > .wrap-align-fix > .headline-line.violet + .wrap-fix > .news-grid] —— */
/* The heading follows the body directly (the last paragraph keeps its 16px margin); the line starts at the page
   edge and the label sits 100px in, over the grid's left edge (same asset and rules as homeNews). */
.news-article__news {
  padding-right: 100px;
}

.news-article__headline {
  display: inline-block;
  height: 50px;
  padding-left: 100px;
  background: url("/img/mini-line-violet.svg") no-repeat left 26px;
}

.news-article__headline-text {
  display: inline-block;
  margin: 0;
  font-family: var(--eve-font-display-medium);
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  vertical-align: top;
  color: var(--eve-color-violet);
}

.news-article__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 15px 0 65px;
  padding: 0 0 0 100px;
  list-style: none;
}

.news-article__grid-item {
  min-width: 0;
}

.news-article__card {
  display: block;
  color: var(--eve-color-text);
  text-decoration: none;
}

.news-article__thumb {
  display: block;
  height: 250px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 6px;
}

.news-article__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.news-article__card-title {
  margin: 0 0 20px;
  padding: 0 40px;
  font-family: var(--eve-font-display-regular);
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: var(--eve-color-text);
}

/* —— Responsive —— */
@media (min-width: 1024px) {
  .news-article__column {
    width: 75%;
    margin: 0 auto;
  }
}

@media (max-width: 850px) {
  .news-article__main {
    padding: 40px 20px;
  }

  .news-article__news {
    padding-right: 0;
  }

  .news-article__card-title {
    margin-bottom: 13px;
  }
}

@media (max-width: 700px) {
  .news-article__headline-text {
    font-size: 15px;
  }
}

@media (max-width: 639px) {
  .news-article__hero {
    height: 400px;
  }

  .news-article__column {
    padding: 0 10px;
  }

  .news-article__news {
    padding: 0 10px;
  }

  .news-article__grid {
    padding-left: 0;
  }

  .news-article__title {
    font-size: 34px;
    line-height: 38px;
  }

  .news-article__body p {
    font-size: 14px;
    line-height: 20px;
  }

  .news-article__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-article__thumb {
    height: 180px;
  }

  .news-article__card-title {
    padding: 0;
    font-size: 25px;
    line-height: 27px;
  }
}
