.news-article__views {
  width: 16px; }

.news-article__pic-cont {
  padding-bottom: 66%; }
  .news-article__pic-cont img {
    object-fit: cover;
    background: url("../../img/no-picture.svg") center center no-repeat var(--alt-box-bg-color, #f1f1f1); }

.news-article__content {
  line-height: 1.625em; }
  .news-article__content img {
    max-width: 100% !important;
    height: auto !important; }
  .news-article__content p {
    padding-bottom: 24px; }
  .news-article__content ul,
  .news-article__content ol {
    padding: 24px 18px; }
    .news-article__content ul li,
    .news-article__content ol li {
      list-style: disc; }
  .news-article__content p + ul,
  .news-article__content p + ol {
    padding-top: 0; }
  .news-article__content p + h2,
  .news-article__content p + h3,
  .news-article__content p + h4 {
    padding-bottom: 4px; }

/* ===== EMA Engineering news article styles (appended 2026-08-07) ===== */
/* =====================================================================
   EMA Engineering — news article styles
   Scope: everything is namespaced under .ema-news so it cannot collide
          with theme styles. Add once to the site stylesheet; the article
          HTML files then need no inline styling.
   ===================================================================== */

.ema-news {
  --ema-ink: #14242e;
  --ema-ink-soft: #4a5c66;
  --ema-accent: #0a7ea4;
  --ema-rule: #dde5e9;
  --ema-tint: #f4f8fa;
  color: var(--ema-ink);
  line-height: 1.65;
  font-size: 1.0625rem;
}

.ema-news p { margin: 0 0 1.15em; }

.ema-news h2,
.ema-news h3 {
  margin: 2.2em 0 0.7em;
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-bottom: 0.35em;
  border-bottom: 2px solid var(--ema-rule);
}

.ema-news__lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ema-ink);
  border-left: 3px solid var(--ema-accent);
  padding-left: 1rem;
  margin-bottom: 1.6em;
}

/* ---------- figures ---------- */

.ema-news__figure { margin: 1.9em 0; }

.ema-news__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #fff;
}

.ema-news__figure--hero { margin-top: 0; }

/* Portrait / tall images: cap the height and centre, so a vertical shot
   does not dominate the article column. Add --portrait alongside the
   base figure class on any image taller than it is wide. */
.ema-news__figure--portrait img {
  width: auto;
  max-width: 100%;
  max-height: 640px;
  margin: 0 auto;
}

.ema-news__figure--portrait figcaption {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.ema-news__figure figcaption {
  margin-top: 0.6em;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ema-ink-soft);
  border-left: 2px solid var(--ema-rule);
  padding-left: 0.75rem;
}

/* ---------- specification tables ---------- */

.ema-news__specs {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0 2em;
  font-size: 0.9375rem;
}

.ema-news__specs caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: var(--ema-ink-soft);
  padding-bottom: 0.6em;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ema-news__specs th,
.ema-news__specs td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--ema-rule);
}

.ema-news__specs thead th {
  background: var(--ema-tint);
  font-weight: 600;
  border-bottom: 2px solid var(--ema-rule);
}

.ema-news__specs tbody th[scope="row"] {
  width: 34%;
  font-weight: 600;
  background: var(--ema-tint);
}

.ema-news__specs tbody tr:last-child th,
.ema-news__specs tbody tr:last-child td { border-bottom: none; }

/* ---------- embedded video ---------- */

.ema-news__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d1a21;
  border-radius: 4px;
  overflow: hidden;
}

.ema-news__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .ema-news__video-frame { height: 0; padding-bottom: 56.25%; }
}

/* ---------- headline figures strip ---------- */

.ema-news__highlights {
  list-style: none;
  margin: 1.8em 0;
  padding: 1.1rem 1.25rem;
  background: var(--ema-tint);
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem 1.5rem;
}

.ema-news__highlights li { margin: 0; padding: 0; }

.ema-news__highlights b {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ema-accent);
  margin-bottom: 0.2em;
}

.ema-news__highlights span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ema-ink);
}

/* ---------- call to action & notes ---------- */

.ema-news__cta {
  margin-top: 2em;
  padding: 1rem 1.15rem;
  background: var(--ema-tint);
  border-left: 3px solid var(--ema-accent);
  border-radius: 3px;
  font-weight: 500;
}

.ema-news__cta a { color: var(--ema-accent); }

.ema-news__note {
  margin-top: 1.6em;
  padding-top: 1rem;
  border-top: 1px solid var(--ema-rule);
  color: var(--ema-ink-soft);
}

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  .ema-news { font-size: 1rem; }
  .ema-news__lead { font-size: 1.0625rem; }
  .ema-news h2,
  .ema-news h3 { font-size: 1.1875rem; }
  .ema-news__specs { font-size: 0.875rem; }
  .ema-news__specs th,
  .ema-news__specs td { padding: 0.5rem 0.6rem; }
  .ema-news__specs tbody th[scope="row"] { width: 42%; }
}


.ema-news-heading {
  margin: 2.2em 0 0.7em;
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-bottom: 0.35em;
  border-bottom: 2px solid #dde5e9;
  color: #14242e;
}
@media (max-width: 640px) {
  .ema-news-heading { font-size: 1.1875rem; }
}
