/* News article page — layout per noticia.png design */

.news-article-page {
  --news-coral: #f37c51;
}

/* ── Hero: 1512×905 image + full-height coral gradient + crumbs on image ── */
.news-article__hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.news-article__hero:has(.news-article__hero-media)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(243, 124, 81, 0) 0%,
    var(--news-coral) 100%
  );
}

.news-article__hero-crumbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.news-article-page .news-article__hero-crumbs .detail-breadcrumb,
.news-article-page .news-article__hero-crumbs .detail-breadcrumb a {
  color: #fff;
}

.news-article-page .news-article__hero-crumbs .detail-breadcrumb a {
  text-decoration: none;
}

.news-article-page .news-article__hero-crumbs .detail-breadcrumb a:hover {
  text-decoration: underline;
}

.news-article-page .news-article__hero-crumbs .detail-breadcrumb .breadcrumb-placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.news-article__hero-media {
  aspect-ratio: 1512 / 905;
  width: 100%;
  overflow: hidden;
}

.news-article__hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-article__hero-expand {
  z-index: 4;
  color: #fff;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.75));
  font-size: 1.35rem;
  line-height: 1;
}

.news-article__hero-expand:hover,
.news-article__hero-expand:focus,
.news-article__hero-expand:active {
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  opacity: 0.88;
}

/* Fullscreen hero (same behaviour as cartelera evento hero) */
.news-article-hero-fullscreen.modal {
  --bs-modal-zindex: 1400;
}

body:has(#newsArticleHeroFullscreen.show) .modal-backdrop {
  z-index: 1390;
}

#newsArticleHeroFullscreen.show {
  z-index: 1400;
}

.news-article-hero-fullscreen .modal-dialog,
.news-article-hero-fullscreen .modal-content,
.news-article-hero-fullscreen__body {
  min-height: 100vh;
  min-height: 100dvh;
}

.news-article-hero-fullscreen__close {
  position: fixed;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  margin: 0;
  padding: 0.75rem;
  opacity: 1;
}

.news-article-hero-fullscreen__body {
  overflow: hidden;
}

.news-article-hero-fullscreen__stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2.25rem 0.25rem 0;
  box-sizing: border-box;
}

.news-article-hero-fullscreen__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.news-article-hero-fullscreen__caption-wrap {
  flex-shrink: 0;
  padding-bottom: 0.5rem;
}

.news-article-hero-fullscreen__caption {
  font-family: "Satoshi", sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0.25rem;
}

.news-article__hero-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0 1.75rem;
  color: #fff;
  background: transparent;
}

.news-article__hero-band .container {
  width: 100%;
}

.news-article__hero-date {
  margin: 0 0 0.35rem;
  font-family: "Inconsolata", monospace;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-article__hero-title {
  margin: 0;
  max-width: 920px;
  font-family: "Museo", sans-serif;
  font-size: 62px;
  font-weight: 400;
  line-height: 64px;
  letter-spacing: 0;
}

.news-article__hero--no-image::before {
  display: none;
}

.news-article__hero--no-image .news-article__hero-crumbs {
  position: relative;
}

.news-article__hero--no-image .news-article__hero-band {
  position: static;
  background: var(--news-coral);
  padding: 2rem 0;
}

/* ── Two-column layout ── */
.news-article__layout {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.news-article__sidebar {
  font-family: "Satoshi", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.news-article__sidebar-block + .news-article__sidebar-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

.news-article__sidebar-line {
  margin: 0;
  font-family: "Satoshi Variable", "Satoshi", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 19px;
  letter-spacing: 0;
  color: inherit;
  text-transform: none;
}

.news-article__sidebar-line + .news-article__sidebar-line {
  margin-top: 0.35rem;
}

/* Tags row — label left, underlined mono tags right, terracotta rules */
.news-article__sidebar-block--tags {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #b56a4a;
  border-bottom: 1px solid #b56a4a;
}

.news-article__sidebar-block--tags + .news-article__sidebar-block {
  border-top: 0;
  padding-top: 0;
}

.news-article__tags-row {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.news-article__tags-heading {
  flex: 0 0 auto;
  margin: 0;
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1a1a1a;
}

.news-article__tags-list {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #1a1a1a;
}

.news-article__tag {
  font-family: "Inconsolata", monospace;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Relacionado — heading, intro, vertical mono links */
.news-article__sidebar-block--related {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #b56a4a;
}

.news-article__sidebar-block--tags + .news-article__sidebar-block--related {
  margin-top: 0;
  padding-top: 1.5rem;
  border-top: 0;
}

.news-article__related-heading {
  margin: 0 0 0.35rem;
  font-family: "Satoshi", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1a;
}

.news-article__related-intro {
  margin: 0 0 0.85rem;
  font-family: "Satoshi", sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  color: #888;
}

.news-article__related-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-article__related-tags li + li {
  margin-top: 0.35rem;
}

.news-article__related-tag {
  display: inline;
  font-family: "Inconsolata", monospace;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  color: #888;
}

.news-article__related-tag:hover {
  color: #666;
}

/* ── Main body: Gambetta Variable 17px / 23px (Figma noticia body) ── */
.news-article__main {
  font-family: "Gambetta Variable", "Gambetta", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 23px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  color: #333;
}

.news-article-page .news-article__main .expo-richtext-flow {
  font-family: "Gambetta Variable", "Gambetta", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 23px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}

.news-article-page .news-article__main .expo-richtext-flow p:not(.news-article__section-subhead),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container p:not(.news-article__section-subhead) {
  font-family: "Gambetta Variable", "Gambetta", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 23px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}

.news-article__body-text + .news-article__body-text {
  margin-top: 1.75rem;
}

.news-article__body-text + .news-article__body-media,
.news-article__body-media + .news-article__body-text,
.news-article__body-text + .news-article__body-text:has(.expo-page__body-image, .expo-page__video),
.news-article__body-text:has(.expo-page__body-image, .expo-page__video) + .news-article__body-text,
.news-article__body-media + .news-article__body-media {
  margin-top: var(--mchap-text-media-spacing);
}

/* Two-image rows: full width of main col (break out of text inset) */
.news-article__body-media .mchap-landing__two-col-image-text {
  margin-bottom: 0;
}

.news-article__body-media .expo-page__presentation .container,
.news-article__body-media .expo-page__shell {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.news-article__main p {
  font-family: inherit;
  font-weight: 400;
}

/* Section subheads: class on <p>/<h2> after import/postprocess (no <strong> wrapper). */
.news-article-page .news-article__main .news-article__section-subhead {
  display: block;
  font-family: "Satoshi", sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: inherit !important;
  margin: 1.75rem 0 0.5rem !important;
}

/* Legacy WP / Draftail markup before backfill: :has() + unwrap JS still targets these. */
.news-article-page .news-article__main .expo-richtext-flow p:has(> strong:only-child),
.news-article-page .news-article__main .expo-richtext-flow p:has(> b:only-child),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container p:has(> strong:only-child),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container p:has(> b:only-child),
.news-article-page .news-article__main .expo-richtext-flow h2:has(> strong:only-child),
.news-article-page .news-article__main .expo-richtext-flow h2:has(> b:only-child) {
  display: block;
  font-family: "Satoshi", sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: inherit !important;
  margin: 1.75rem 0 0.5rem !important;
}

.news-article-page .news-article__main .expo-richtext-flow p:has(> b:only-child) > b,
.news-article-page .news-article__main .expo-richtext-flow p:has(> strong:only-child) > strong,
.news-article-page .news-article__main .expo-richtext-flow h2:has(> b:only-child) > b,
.news-article-page .news-article__main .expo-richtext-flow h2:has(> strong:only-child) > strong {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* base-style.css sets all h2 to Museo; section labels in article body use Satoshi. */
.news-article-page .news-article__main h2.news-article__section-subhead,
.news-article-page .news-article__main h2.wp-block-heading.news-article__section-subhead {
  font-family: "Satoshi", sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.news-article-page .news-article__main h2:not(.wp-block-heading):not(.news-article__section-subhead),
.news-article-page .news-article__main h3 {
  display: block;
  font-family: "Satoshi", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
  color: inherit;
  margin: 1.75rem 0 0.5rem;
}

.news-article-page .news-article__main .expo-richtext-flow > * + * {
  margin-top: 0.65em;
}

/* Imported Elementor wrappers + empty leading <strong><br></strong> */
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container {
  margin: 0;
  padding: 0;
}

/* Text ↔ image/video spacing (WP blocks + Elementor as direct flow children). */
.news-article-page .news-article__main {
  --mchap-text-media-spacing: clamp(3.5rem, 10vw, 6.25rem);
}

.news-article-page .news-article__main .expo-richtext-flow > * + :is(
    div.wp-block-image:has(img),
    figure.wp-block-image:has(img),
    figure:has(> img):not(.wp-block-embed),
    figure.wp-block-embed,
    .wp-block-embed,
    iframe,
    video,
    .elementor-element:has(
      img,
      figure,
      iframe,
      video,
      .wp-block-embed,
      .elementor-widget-video
    )
  ),
.news-article-page .news-article__main .expo-richtext-flow > :is(
    div.wp-block-image:has(img),
    figure.wp-block-image:has(img),
    figure:has(> img):not(.wp-block-embed),
    figure.wp-block-embed,
    .wp-block-embed,
    iframe,
    video,
    .elementor-element:has(
      img,
      figure,
      iframe,
      video,
      .wp-block-embed,
      .elementor-widget-video
    )
  ) + :not(.news-article__section-subhead),
.news-article-page .news-article__main .expo-richtext-flow > p + :is(
    div.wp-block-image:has(img),
    figure.wp-block-image:has(img),
    figure.wp-block-embed,
    .wp-block-embed,
    iframe,
    video,
    .elementor-element:has(
      img,
      figure,
      iframe,
      video,
      .wp-block-embed,
      .elementor-widget-video
    )
  ),
.news-article-page .news-article__main .expo-richtext-flow > :is(
    div.wp-block-image:has(img),
    figure.wp-block-image:has(img),
    figure.wp-block-embed,
    .wp-block-embed,
    iframe,
    video,
    .elementor-element:has(
      img,
      figure,
      iframe,
      video,
      .wp-block-embed,
      .elementor-widget-video
    )
  ) + p:not(.news-article__section-subhead) {
  margin-top: var(--mchap-text-media-spacing) !important;
}

.news-article-page .news-article__main .expo-richtext-flow > :is(
    div.wp-block-image:has(img),
    figure.wp-block-image:has(img),
    figure:has(> img):not(.wp-block-embed),
    figure.wp-block-embed,
    .wp-block-embed,
    iframe,
    video,
    .elementor-element:has(
      img,
      figure,
      iframe,
      video,
      .wp-block-embed,
      .elementor-widget-video
    )
  ) + :is(p.news-article__section-subhead, h2.news-article__section-subhead, h2.wp-block-heading) {
  margin-top: 1.75rem !important;
}

/* Video embeds inside elementor-widget-container (single container wraps all content):
   symmetrical margin-top / margin-bottom matches the spacing above video embeds.
   Overrides margin: 0 from the generic figure.wp-block-embed rule below. */
.news-article-page .news-article__main .expo-richtext-flow > figure.wp-block-embed,
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container figure.wp-block-embed {
  margin-top: var(--mchap-text-media-spacing);
  margin-bottom: var(--mchap-text-media-spacing);
}

.news-article-page .news-article__main .expo-richtext-flow p > strong:has(> br:only-child) {
  display: none;
}

/* Imported / in-body video embeds: full width of text column (WP, Elementor, stream blocks) */
.news-article-page .news-article__main figure.wp-block-embed,
.news-article-page .news-article__main .wp-block-embed,
.news-article-page .news-article__main .expo-richtext-flow figure.wp-block-embed,
.news-article-page .news-article__main .noticias-elementor-body figure.wp-block-embed {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.news-article-page .news-article__main .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.news-article-page .news-article__main .wp-block-embed__wrapper::before {
  content: none;
  display: none;
  padding: 0;
}

.news-article-page .news-article__main .wp-embed-aspect-4-3 .wp-block-embed__wrapper {
  aspect-ratio: 4 / 3;
}

.news-article-page .news-article__main .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: 100%;
  height: 100% !important;
  border: 0;
}

.news-article-page .news-article__main .expo-richtext-flow > iframe,
.news-article-page .news-article__main .noticias-elementor-body iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border: 0;
}

.news-article-page .news-article__main .elementor-widget-container:has(.wp-block-embed),
.news-article-page .news-article__main .expo-richtext-flow > .elementor-element:has(.wp-block-embed, .elementor-widget-video) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.news-article-page .news-article__main .elementor-widget-video .elementor-wrapper,
.news-article-page .news-article__main .elementor-fit-aspect-ratio {
  width: 100%;
  max-width: 100%;
}

.news-article-page .news-article__main .elementor-widget-video iframe {
  width: 100% !important;
  max-width: 100%;
}

.news-article-page .news-article__main .expo-page__video {
  margin: 0;
  padding-bottom: 0;
}

.news-article-page .news-article__body-text > .expo-page__video.mb-5 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.news-article-page .news-article__main .expo-page__body-image {
  margin-block: 0;
}

.news-article-page .news-article__main .expo-page__video-full {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.news-article-page .news-article__main .expo-page__video-full .ratio {
  width: 100%;
  --bs-aspect-ratio: 56.25%;
}

.news-article-page .news-article__main .expo-page__video .container.expo-page__shell {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.news-article-page .news-article__main .expo-page__video-frame {
  width: 100%;
  height: 100%;
}

.news-article-page .news-article__body-text > .container,
.news-article-page .news-article__main .expo-richtext-flow > .container {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.news-article-page .news-article__body-text .ratio,
.news-article-page .news-article__main .expo-richtext-flow .ratio {
  width: 100%;
}

.news-article__main .expo-page__presentation .container,
.news-article__main .expo-page__body-image .container,
.news-article__main .expo-page__quote .container {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.news-article__main .expo-page__presentation,
.news-article__main .expo-page__body-image,
.news-article__main .expo-page__quote {
  margin-bottom: 0;
}

/* Quote block: plain pull text, no orange rule (not in noticia design) */
.news-article__main .expo-page__quote blockquote {
  margin: 1.25rem 0 0.5rem;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-style: italic;
  font-weight: 400;
  color: inherit;
}

.news-article__main .expo-page__quote blockquote::before {
  content: "«";
}

.news-article__main .expo-page__quote blockquote::after {
  content: "»";
}

.news-article__main .expo-page__quote p {
  margin: 0.35rem 0 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.news-article__main img {
  max-width: 100%;
  height: auto;
}

/* Imported WP images: natural width, centered; caption width = image (table layout) */
.news-article-page .news-article__main .expo-richtext-flow > :is(
    div.wp-block-image,
    figure.wp-block-image
  ):has(img),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container > :is(
    div.wp-block-image,
    figure.wp-block-image
  ):has(img) {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.news-article-page .news-article__main .expo-richtext-flow > :is(
    div.wp-block-image,
    figure.wp-block-image
  ):has(img) > figure:has(> img):not(.wp-block-embed),
.news-article-page .news-article__main .expo-richtext-flow > figure:has(> img):not(.wp-block-embed),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container :is(
    div.wp-block-image,
    figure.wp-block-image
  ):has(img) > figure:has(> img):not(.wp-block-embed),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container > figure:has(> img):not(.wp-block-embed) {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.news-article-page .news-article__main .expo-richtext-flow > :is(
    div.wp-block-image,
    figure.wp-block-image
  ):has(img) figure:has(> img):not(.wp-block-embed) img,
.news-article-page .news-article__main .expo-richtext-flow > figure:has(> img):not(.wp-block-embed) img,
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container figure:has(> img):not(.wp-block-embed) img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  margin-inline: auto;
}

.news-article-page .news-article__main .expo-richtext-flow > :is(
    div.wp-block-image,
    figure.wp-block-image
  ):has(img) :is(figcaption, .wp-element-caption),
.news-article-page .news-article__main .expo-richtext-flow > figure:has(> img):not(.wp-block-embed) :is(
    figcaption,
    .wp-element-caption
  ),
.news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container figure:has(> img):not(.wp-block-embed) :is(
    figcaption,
    .wp-element-caption
  ) {
  display: table-caption;
  caption-side: bottom;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  overflow-wrap: anywhere;
  margin-top: 0.5rem;
}

/* Imported Elementor speakers — 3-col grid, small square portraits */
.news-article__speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.75rem;
  width: 120%;
  margin: 1rem 0 1.75rem calc(-100% / 10);
}

.news-article__speakers-grid .elementor-widget-container {
  margin: 0;
  padding: 0;
}

.news-article__speakers-grid .eael-team-item-inner {
  display: block;
}

.news-article__speakers-grid .eael-team-image {
  margin: 0;
}

.news-article__speakers-grid .eael-team-image:not(:has(img)) {
  display: none;
}

.news-article__speakers-grid .eael-team-image figure:has(img) {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
}

.news-article__speakers-grid .eael-team-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.news-article-page .news-article__main .news-article__speakers-grid h2.eael-team-member-name {
  display: block;
  font-family: "Satoshi", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0.85rem 0 0.4rem;
  color: #1a1a1a;
}

.news-article__speakers-grid .eael-team-member-position:empty {
  display: none;
}

.news-article__speakers-grid .eael-team-text {
  font-family: "Satoshi", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  color: #333;
}

/* Legacy imports without grid wrapper */
.news-article__main .noticias-elementor-body:not(:has(.news-article__speakers-grid)) {
  display: flex;
  flex-wrap: wrap;
}

.news-article__main
  .noticias-elementor-body:not(:has(.news-article__speakers-grid))
  > *:not(.elementor-widget-container:has(.eael-team-item)) {
  width: 100%;
}

.news-article__main
  .noticias-elementor-body:not(:has(.news-article__speakers-grid))
  > .elementor-widget-container:has(.eael-team-item) {
  width: 33.333%;
  padding-right: 1.75rem;
  box-sizing: border-box;
}

.news-article__main
  .noticias-elementor-body:not(:has(.news-article__speakers-grid))
  > .elementor-widget-container:has(.eael-team-item)
  .eael-team-image:not(:has(img)) {
  display: none;
}

.news-article__main
  .noticias-elementor-body:not(:has(.news-article__speakers-grid))
  > .elementor-widget-container:has(.eael-team-item)
  .eael-team-image
  figure:has(img) {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
}

.news-article__main
  .noticias-elementor-body:not(:has(.news-article__speakers-grid))
  > .elementor-widget-container:has(.eael-team-item)
  .eael-team-image
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .news-article__speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-left: 0;
  }

  .news-article__main
    .noticias-elementor-body:not(:has(.news-article__speakers-grid))
    > .elementor-widget-container:has(.eael-team-item) {
    width: 50%;
  }
}

@media (max-width: 575.98px) {
  .news-article__speakers-grid {
    grid-template-columns: 1fr;
  }

  .news-article__main
    .noticias-elementor-body:not(:has(.news-article__speakers-grid))
    > .elementor-widget-container:has(.eael-team-item) {
    width: 100%;
    padding-right: 0;
  }
}

.news-article__main figcaption,
.news-article__main .wp-element-caption {
  font-family: "Satoshi Variable", "Satoshi", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 19px;
  letter-spacing: 0;
  color: #666;
}

.news-article__main figure:not(:has(> img)) figcaption,
.news-article__main figure:not(:has(> img)) .wp-element-caption {
  margin-top: 0.5rem;
}

.news-article__main .mchap-landing__two-col-image-text .expo-page__text-block p {
  font-family: "Satoshi", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #666;
}

/* ── Full-width gallery ── */
.news-article__galleries {
  margin-top: 2rem;
}

.news-article__galleries .expo-page__gallery-head h2 {
  font-family: "Satoshi", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 1rem;
  color: inherit;
}

.news-article__galleries .expo-page__gallery-grid figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 0;
}

.news-article__galleries .expo-page__gallery-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* ── Prev / next ── */
.news-article__pager {
  margin: 2.5rem 0 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
  font-family: "Satoshi", sans-serif;
  font-size: 0.9375rem;
}

.news-article__pager-link {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  color: inherit;
  max-width: 45%;
}

.news-article__pager-link:hover {
  color: inherit;
}

@media (max-width: 991.98px) {
  .news-article__sidebar {
    margin-top: 2.5rem;
  }

  .news-article__sidebar-block + .news-article__sidebar-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

/* Mobile: breadcrumb in flow above hero image (not overlaid on image/title) */
@media (max-width: 767.98px) {
  .news-article__hero:has(.news-article__hero-media) .news-article__hero-crumbs {
    position: static;
    z-index: auto;
  }

  .news-article__hero:has(.news-article__hero-media)::before {
    display: none;
  }

  .news-article__hero:has(.news-article__hero-media) .news-article__hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(243, 124, 81, 0) 0%,
      var(--news-coral) 100%
    );
  }

  .news-article-page
    .news-article__hero:has(.news-article__hero-media)
    .news-article__hero-crumbs
    .detail-breadcrumb,
  .news-article-page
    .news-article__hero:has(.news-article__hero-media)
    .news-article__hero-crumbs
    .detail-breadcrumb
    a {
    color: #111;
  }

  .news-article-page
    .news-article__hero:has(.news-article__hero-media)
    .news-article__hero-crumbs
    .detail-breadcrumb
    .breadcrumb-placeholder {
    color: rgba(17, 17, 17, 0.55);
  }
}

/* ── Responsive typography (mobile-first hierarchy: hero h1 > body > h2/h3 > subheads) ── */
@media (max-width: 767.98px) {
  .news-article__hero-band {
    padding: 1.5rem 0 1.25rem;
  }

  .news-article__hero-date {
    font-size: 14px;
    line-height: 18px;
  }

  .news-article__hero-title {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
    line-height: 1.1;
  }

  .news-article__main {
    font-size: 17px;
    line-height: 23px;
  }

  .news-article-page .news-article__main .expo-richtext-flow,
  .news-article-page .news-article__main .expo-richtext-flow p:not(.news-article__section-subhead),
  .news-article-page .news-article__main .expo-richtext-flow .elementor-widget-container p:not(.news-article__section-subhead) {
    font-size: 17px;
    line-height: 23px;
  }

  .news-article-page .news-article__main .news-article__section-subhead {
    font-size: 1.0625rem !important;
    line-height: 1.35 !important;
  }

  .news-article-page .news-article__main h2:not(.wp-block-heading):not(.news-article__section-subhead),
  .news-article-page .news-article__main h3 {
    font-size: 1.0625rem;
    line-height: 1.35;
  }

  .news-article__sidebar {
    font-size: 0.875rem;
  }

  .news-article__sidebar-line {
    font-size: 14px;
    line-height: 17px;
  }

  .news-article__tags-heading {
    font-size: 0.9375rem;
  }

  .news-article__related-tag {
    font-size: 0.875rem;
  }

  .news-article__related-heading {
    font-size: 1rem;
  }

  .news-article__related-intro {
    font-size: 0.875rem;
  }

  .news-article__main figcaption,
  .news-article__main .wp-element-caption {
    font-size: 14px;
    line-height: 17px;
  }

  .news-article__galleries .expo-page__gallery-head h2 {
    font-size: 1rem;
  }

  .news-article__pager {
    font-size: 0.875rem;
  }

  .news-article__pager-link {
    max-width: 100%;
  }
}

/* expo-page h2 defaults must not outrank news article hero on small screens */
@media (max-width: 767.98px) {
  .news-article-page .expo-page__text-block h2,
  .news-article-page .news-article__main .expo-page__text-block h2 {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.35;
  }
}
