/* ==========================================================
   NISSAN MX - NEWS HUB
   FINAL V1
   ========================================================== */

#nmx-news-hero,
#nmx-news-featured,
[id^="nmx-news-row-"] {
  --nmx-black: #1a1a1a;
  --nmx-gray: #555;
  --nmx-border: rgba(0, 0, 0, 0.09);
  --nmx-white: #fff;
  --nmx-max-width: 1200px;
  box-sizing: border-box;
}


/* ==========================================================
   HERO
   ========================================================== */

#nmx-news-hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#nmx-news-hero .c_243.hero .component {
  position: relative;
  height: clamp(440px, 30vw, 520px);
  overflow: hidden;
}

#nmx-news-hero .c_243.hero .image-container,
#nmx-news-hero .c_243.hero .image-container figure,
#nmx-news-hero .c_243.hero .poster-image,
#nmx-news-hero .c_243.hero .picture-element {
  width: 100%;
  height: 100%;
  margin: 0;
}

#nmx-news-hero .c_243.hero .picture-element {
  display: block;
}

#nmx-news-hero .c_243.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

#nmx-news-hero .c_243.hero .component::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.43) 28%,
    rgba(0, 0, 0, 0.16) 52%,
    rgba(0, 0, 0, 0.02) 72%
  );
}

#nmx-news-hero .c_243.hero .wrapper {
  position: absolute;
  z-index: 2;

  top: 0 !important;
  bottom: 0 !important;
  left: clamp(28px, 5.5vw, 92px) !important;
  right: auto !important;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  width: min(620px, calc(100% - 56px));
  height: 100%;

  padding: 0;
  transform: none !important;
  box-sizing: border-box;
}

#nmx-news-hero .c_243.hero .heading-group,
#nmx-news-hero .c_243.hero .heading-group h1 {
  margin: 0;
}

#nmx-news-hero .c_243.hero .heading-group h1,
#nmx-news-hero .c_243.hero .heading-group h1 span {
  color: #fff;
  text-transform: none !important;
}

#nmx-news-hero .c_243.hero .heading-group h1 {
  font-size: clamp(36px, 3.25vw, 50px);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.02em;
}

#nmx-news-hero .c_243.hero .heading-group h1::after {
  display: none;
}

#nmx-news-hero .c_243.hero .content {
  color: #fff !important;
}

#nmx-news-hero .c_243.hero .content p {
  max-width: 460px;
  margin: 14px 0 0;

  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;

  text-transform: none !important;
}

@media (min-width: 60em) {
  #nmx-news-hero .c_243.hero .heading-group h1 {
    white-space: nowrap;
  }
}


/* ==========================================================
   CONTENEDORES
   ========================================================== */

#nmx-news-featured,
[id^="nmx-news-row-"] {
  width: calc(100% - 64px);
  max-width: 1320px;

  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

#nmx-news-featured {
  margin-top: 54px !important;
}

[id^="nmx-news-row-"] {
  margin-top: 32px !important;
}


/* ==========================================================
   ALINEACIÃ“N DE FILAS
   ========================================================== */

#nmx-news-featured .columns12 > .grid-row,
[id^="nmx-news-row-"] .columns12 > .grid-row,
[id^="nmx-news-row-"] .columns66 > .grid-row,
[id^="nmx-news-row-"] .columns444 > .grid-row {
  width: 100%;
  max-width: var(--nmx-max-width);

  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 36.3126em) {
  #nmx-news-featured .grid-row > .col-12,
  [id^="nmx-news-row-"] .grid-row > .col-12,
  [id^="nmx-news-row-"] .grid-row > .col-6,
  [id^="nmx-news-row-"] .grid-row > .col-4 {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
  }
}


/* ==========================================================
   BASE C5
   ========================================================== */

#nmx-news-featured .c_005,
[id^="nmx-news-row-"] .c_005 {
  position: relative;

  background: var(--nmx-white);
  border: 1px solid var(--nmx-border);

  overflow: hidden;

  transition:
    transform 300ms cubic-bezier(.2, .7, .2, 1),
    box-shadow 300ms ease,
    border-color 300ms ease;
}

#nmx-news-featured .c_005 figure,
[id^="nmx-news-row-"] .c_005 figure {
  margin: 0;
  overflow: hidden;
}

#nmx-news-featured .c_005 picture,
[id^="nmx-news-row-"] .c_005 picture {
  display: block;
  width: 100%;
  height: 100%;
}

#nmx-news-featured .c_005 img,
[id^="nmx-news-row-"] .c_005 img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition:
    transform 600ms cubic-bezier(.2, .7, .2, 1);
}

#nmx-news-featured .c_005 .heading-group,
[id^="nmx-news-row-"] .c_005 .heading-group {
  display: flex;
  flex-direction: column;
}

#nmx-news-featured .c_005 .heading,
#nmx-news-featured .c_005 .heading span,
[id^="nmx-news-row-"] .c_005 .heading,
[id^="nmx-news-row-"] .c_005 .heading span {
  color: var(--nmx-black);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none !important;
}

#nmx-news-featured .c_005 .content-group > p,
[id^="nmx-news-row-"] .c_005 .content-group > p {
  display: block;
  margin: 0;

  color: var(--nmx-gray);
  font-weight: 400;

  overflow: visible;
  text-overflow: initial;
  text-transform: none !important;

  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}


/* ==========================================================
   FECHA / METADATA
   ========================================================== */

#nmx-news-featured .c_005 .tagline,
[id^="nmx-news-row-"] .c_005 .tagline {
  order: -1;

  color: var(--nmx-black);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;

  text-transform: none !important;

  border-left: 2px solid var(--nmx-black);
  padding-left: 9px;
}

#nmx-news-featured .c_005 .tagline {
  margin: 0 0 12px;
  font-size: 11px;
}

[id^="nmx-news-row-"] .c_005 .tagline {
  margin: 0 0 9px;
  font-size: 10.5px;
}


/* ==========================================================
   CTA
   Texto + flecha completamente negros
   ========================================================== */

#nmx-news-featured .c_005 .no-bullet,
[id^="nmx-news-row-"] .c_005 .no-bullet {
  padding: 0;
}

#nmx-news-featured .c_005 .no-bullet {
  margin-top: 18px;
}

[id^="nmx-news-row-"] .c_005 .no-bullet {
  margin-top: 16px;
}

#nmx-news-featured .c_005 .link-list-container,
#nmx-news-featured .c_005 .link-list,
[id^="nmx-news-row-"] .c_005 .link-list-container,
[id^="nmx-news-row-"] .c_005 .link-list {
  margin: 0;
}

#nmx-news-featured .c_005 .link-list a,
[id^="nmx-news-row-"] .c_005 .link-list a {
  display: inline-flex;
  align-items: center;

  color: #000 !important;
  -webkit-text-fill-color: #000 !important;

  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.055em;

  text-decoration: none;
  text-transform: uppercase;

  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

/* Flecha generada mediante pseudo-elemento por Nissan */
#nmx-news-featured .c_005 .link-list a::before,
#nmx-news-featured .c_005 .link-list a::after,
[id^="nmx-news-row-"] .c_005 .link-list a::before,
[id^="nmx-news-row-"] .c_005 .link-list a::after {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: #000 !important;
}

#nmx-news-featured .c_005 .link-list a {
  font-size: 11px;
}

[id^="nmx-news-row-"] .c_005 .link-list a {
  min-height: 22px;
  font-size: 10.5px;
}


/* ==========================================================
   DESTACADA
   ========================================================== */

#nmx-news-featured .c_005 {
  display: flex !important;
  align-items: stretch;

  width: 100%;

  border-radius: 22px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.055);
}

#nmx-news-featured .c_005 > .content-half {
  float: none !important;

  width: 50% !important;
  max-width: none !important;
}

#nmx-news-featured .c_005 > .content-half:first-child {
  overflow: hidden;
}

#nmx-news-featured .c_005 figure {
  width: 100%;
  height: 100%;
  min-height: 380px;
}

#nmx-news-featured .c_005 > .content-half:last-child {
  display: flex;
}

#nmx-news-featured .c_005 .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;

  width: 100%;

  padding: clamp(32px, 3.8vw, 50px);
}

#nmx-news-featured .c_005 .heading,
#nmx-news-featured .c_005 .heading span {
  margin: 0;

  font-size: clamp(27px, 2.15vw, 34px);
  line-height: 1.1;
}

#nmx-news-featured .c_005 .content-group {
  display: block;
  margin-top: 16px;
}

#nmx-news-featured .c_005 .content-group > p {
  font-size: 15px;
  line-height: 1.55;
}


/* ==========================================================
   CARDS NORMALES
   ========================================================== */

[id^="nmx-news-row-"] .grid-row {
  align-items: stretch;
}

[id^="nmx-news-row-"] .grid-row > .col-4,
[id^="nmx-news-row-"] .grid-row > .col-6,
[id^="nmx-news-row-"] .grid-row > .col-12 {
  display: flex;
}

[id^="nmx-news-row-"] .grid-row > .col-4 > .parsys,
[id^="nmx-news-row-"] .grid-row > .col-6 > .parsys,
[id^="nmx-news-row-"] .grid-row > .col-12 > .parsys,
[id^="nmx-news-row-"] .imageTextLink {
  display: flex;
  width: 100%;
}

[id^="nmx-news-row-"] .c_005 {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  border-radius: 16px;

  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.035);
}

[id^="nmx-news-row-"] .c_005 > .content-half {
  float: none !important;

  width: 100% !important;
  max-width: none !important;
}

[id^="nmx-news-row-"] .c_005 > .content-half:last-child {
  display: flex;
  flex: 1;
}

[id^="nmx-news-row-"] .c_005 .content-wrapper {
  display: flex;
  flex-direction: column;

  width: 100%;

  padding: 21px 21px 23px;
}

[id^="nmx-news-row-"] .c_005 .heading,
[id^="nmx-news-row-"] .c_005 .heading span {
  margin: 0;

  font-size: 19px;
  line-height: 1.14;
}

[id^="nmx-news-row-"] .c_005 .content-group {
  display: block;
  margin-top: 13px;
}

[id^="nmx-news-row-"] .c_005 .content-group > p {
  font-size: 14px;
  line-height: 1.5;
}


/* ==========================================================
   DOS COLUMNAS
   ========================================================== */

[id^="nmx-news-row-"] .columns66 .c_005 .content-wrapper {
  padding: 22px 22px 24px;
}

[id^="nmx-news-row-"] .columns66 .c_005 .heading,
[id^="nmx-news-row-"] .columns66 .c_005 .heading span {
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.13;
}

[id^="nmx-news-row-"] .columns66 .c_005 .content-group > p {
  font-size: 14.5px;
}


/* ==========================================================
   TRES COLUMNAS
   ========================================================== */

[id^="nmx-news-row-"] .columns444 .c_005 .content-wrapper {
  padding: 17px 17px 19px;
}

[id^="nmx-news-row-"] .columns444 .c_005 .heading,
[id^="nmx-news-row-"] .columns444 .c_005 .heading span {
  font-size: 17px;
  line-height: 1.15;
}

[id^="nmx-news-row-"] .columns444 .c_005 .content-group {
  margin-top: 11px;
}

[id^="nmx-news-row-"] .columns444 .c_005 .content-group > p {
  font-size: 13.5px;
  line-height: 1.48;
}

[id^="nmx-news-row-"] .columns444 .c_005 .tagline {
  border-left-width: 1px;
  padding-left: 8px;
}


/* ==========================================================
   IMÃGENES DESKTOP
   Master recomendado: 1440 Ã— 810
   ========================================================== */

@media (min-width: 60em) {
  [id^="nmx-news-row-"] .c_005 figure {
    aspect-ratio: 2 / 1;
  }
}


/* ==========================================================
   HOVER
   ========================================================== */

@media (hover: hover) and (pointer: fine) {

  #nmx-news-featured .c_005:hover,
  [id^="nmx-news-row-"] .c_005:hover {
    border-color: rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
  }

  #nmx-news-featured .c_005:hover {
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.09);
  }

  [id^="nmx-news-row-"] .c_005:hover {
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.09);
  }

  #nmx-news-featured .c_005:hover img,
  [id^="nmx-news-row-"] .c_005:hover img {
    transform: scale(1.035);
  }

  #nmx-news-featured .c_005:hover .link-list a,
  [id^="nmx-news-row-"] .c_005:hover .link-list a {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;

    transform: translateX(3px);
    opacity: 0.68;
  }

  #nmx-news-featured .c_005:hover .link-list a::before,
  #nmx-news-featured .c_005:hover .link-list a::after,
  [id^="nmx-news-row-"] .c_005:hover .link-list a::before,
  [id^="nmx-news-row-"] .c_005:hover .link-list a::after {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    border-color: #000 !important;
  }
}


/* ==========================================================
   FOCUS
   ========================================================== */

#nmx-news-featured .c_005 a:focus-visible,
[id^="nmx-news-row-"] .c_005 a:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 4px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (min-width: 36.3126em) and (max-width: 59.99em) {

  #nmx-news-hero .c_243.hero .component {
    height: 400px;
  }

  #nmx-news-hero .c_243.hero .wrapper {
    left: 32px !important;
    width: min(520px, calc(100% - 64px));
  }

  #nmx-news-hero .c_243.hero .heading-group h1 {
    font-size: 40px;
    white-space: normal;
  }

  #nmx-news-featured,
  [id^="nmx-news-row-"] {
    width: calc(100% - 40px);
  }

  #nmx-news-featured .c_005 {
    display: block !important;
  }

  #nmx-news-featured .c_005 > .content-half {
    width: 100% !important;
  }

  #nmx-news-featured .c_005 figure,
  [id^="nmx-news-row-"] .c_005 figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  #nmx-news-featured .c_005 .content-wrapper {
    padding: 26px;
  }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 36.3125em) {

  /* HERO */

  #nmx-news-hero .c_243.hero .component {
    height: 350px;
  }

  #nmx-news-hero .c_243.hero .component::after {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.48) 48%,
      rgba(0, 0, 0, 0.18) 78%,
      rgba(0, 0, 0, 0.03) 100%
    );
  }

  #nmx-news-hero .c_243.hero .wrapper {
    top: 0 !important;
    bottom: 0 !important;
    left: 20px !important;
    right: auto !important;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: min(82%, 310px);
    height: 100%;

    padding: 0 0 72px;

    transform: none !important;
    box-sizing: border-box;
  }

  #nmx-news-hero .c_243.hero .heading-group h1 {
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.04;
    white-space: normal;
  }

  #nmx-news-hero .c_243.hero .content p {
    max-width: 260px;

    margin-top: 12px;

    font-size: 13px;
    line-height: 1.45;
  }


  /* CONTENEDORES */

  #nmx-news-featured,
  [id^="nmx-news-row-"] {
    width: 100%;
    max-width: none;

    padding-left: 14px;
    padding-right: 14px;

    box-sizing: border-box;
  }

  #nmx-news-featured {
    margin-top: 32px !important;
  }

  [id^="nmx-news-row-"] {
    margin-top: 24px !important;
  }


  /* RESET GRID AEM */

  #nmx-news-featured .columns12 > .grid-row,
  [id^="nmx-news-row-"] .columns12 > .grid-row,
  [id^="nmx-news-row-"] .columns66 > .grid-row,
  [id^="nmx-news-row-"] .columns444 > .grid-row {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: none;

    margin: 0 !important;
  }

  #nmx-news-featured .grid-row > .col-12,
  [id^="nmx-news-row-"] .grid-row > .col-12,
  [id^="nmx-news-row-"] .grid-row > .col-6,
  [id^="nmx-news-row-"] .grid-row > .col-4 {
    width: 100% !important;

    margin: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box;
  }

  [id^="nmx-news-row-"] .grid-row {
    gap: 24px;
  }


  /* DESTACADA */

  #nmx-news-featured .c_005 {
    display: block !important;
    border-radius: 16px;
  }

  #nmx-news-featured .c_005 > .content-half {
    width: 100% !important;
  }

  #nmx-news-featured .c_005 figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  #nmx-news-featured .c_005 .content-wrapper {
    padding: 22px 20px 24px;
  }

  #nmx-news-featured .c_005 .heading,
  #nmx-news-featured .c_005 .heading span {
    font-size: 20px;
    line-height: 1.13;
  }

  #nmx-news-featured .c_005 .content-group {
    margin-top: 13px;
  }

  #nmx-news-featured .c_005 .content-group > p {
    font-size: 14px;
    line-height: 1.5;
  }


  /* CARDS */

  [id^="nmx-news-row-"] .c_005 {
    border-radius: 16px;
  }

  [id^="nmx-news-row-"] .c_005 figure {
    aspect-ratio: 16 / 9;
  }

  [id^="nmx-news-row-"] .c_005 .content-wrapper,
  [id^="nmx-news-row-"] .columns66 .c_005 .content-wrapper,
  [id^="nmx-news-row-"] .columns444 .c_005 .content-wrapper {
    padding: 18px 17px 20px;
  }

  [id^="nmx-news-row-"] .c_005 .heading,
  [id^="nmx-news-row-"] .c_005 .heading span,
  [id^="nmx-news-row-"] .columns66 .c_005 .heading,
  [id^="nmx-news-row-"] .columns66 .c_005 .heading span,
  [id^="nmx-news-row-"] .columns444 .c_005 .heading,
  [id^="nmx-news-row-"] .columns444 .c_005 .heading span {
    font-size: 18px;
    line-height: 1.14;
  }

  [id^="nmx-news-row-"] .c_005 .content-group,
  [id^="nmx-news-row-"] .columns66 .c_005 .content-group,
  [id^="nmx-news-row-"] .columns444 .c_005 .content-group {
    margin-top: 12px;
  }

  [id^="nmx-news-row-"] .c_005 .content-group > p,
  [id^="nmx-news-row-"] .columns66 .c_005 .content-group > p,
  [id^="nmx-news-row-"] .columns444 .c_005 .content-group > p {
    font-size: 14px;
    line-height: 1.5;
  }

  #nmx-news-featured .c_005 .tagline,
  [id^="nmx-news-row-"] .c_005 .tagline {
    font-size: 10px;
    padding-left: 8px;
  }
}


/* ==========================================================
   NAVEGACIÓN FLOTANTE C255
   DARK GLASS + DESKTOP EXPANDIBLE + MOBILE DOCK
   ========================================================== */

/* ----------------------------------------------------------
   BASE
   ---------------------------------------------------------- */

body:has(#nmx-news-hero) .c_255 {
  position: fixed !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  z-index: 9999 !important;
}

body:has(#nmx-news-hero) .c_255 .nav-list {
  margin: 0 !important;
  padding: 5px !important;

  background:
    rgba(18, 18, 18, 0.82) !important;

  border:
    1px solid rgba(255, 255, 255, 0.14) !important;

  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.22);

  -webkit-backdrop-filter:
    blur(18px) saturate(135%);

  backdrop-filter:
    blur(18px) saturate(135%);

  overflow: hidden;
}

body:has(#nmx-news-hero) .c_255 .nav-item {
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;

  border: 0 !important;

  list-style: none !important;
}

body:has(#nmx-news-hero) .c_255 .nav-link {
  margin: 0 !important;

  color: #fff !important;

  background: transparent !important;

  border: 0 !important;

  box-shadow: none !important;

  text-decoration: none !important;

  transition:
    background-color 180ms ease;
}

body:has(#nmx-news-hero) .c_255 .nav-link span {
  color: #fff !important;

  font-weight: 600;

  text-transform: uppercase;
}


/* ----------------------------------------------------------
   DESKTOP / TABLET
   Dock compacto + etiquetas al hover
   ---------------------------------------------------------- */

@media (min-width: 36.3126em) {

  body:has(#nmx-news-hero) .c_255 {
    top: 50% !important;

    right: 16px !important;
    bottom: auto !important;
    left: auto !important;

    width: 54px !important;

    transform:
      translateY(-50%) !important;

    transition:
      width 240ms
      cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  body:has(#nmx-news-hero) .c_255 .nav-list {
    display: flex !important;
    flex-direction: column;

    width: 100% !important;

    border-radius: 18px;

    transition:
      background-color 220ms ease,
      box-shadow 220ms ease;
  }

  body:has(#nmx-news-hero) .c_255 .nav-item {
    width: 100%;

    margin: 0 !important;
    padding: 0 !important;
  }

  body:has(#nmx-news-hero) .c_255 .nav-item + .nav-item {
    margin-top: 3px !important;
  }

  body:has(#nmx-news-hero) .c_255 .nav-link {
    position: relative;

    display: block !important;

    width: 100% !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 13px;

    overflow: hidden;
  }

  /* Icono siempre fijo a la derecha */
  body:has(#nmx-news-hero) .c_255 .nav-link::before {
    position: absolute !important;

    top: 50% !important;
    right: 10px !important;

    bottom: auto !important;
    left: auto !important;

    display: block !important;

    width: 24px !important;
    height: 24px !important;

    min-width: 24px !important;
    min-height: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    color:
      rgba(255, 255, 255, 0.88) !important;

    background: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    font-size: 23px !important;
    line-height: 24px !important;

    text-align: center;

    opacity: 1 !important;

    transform:
      translateY(-50%) !important;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    transition:
      color 160ms ease,
      opacity 160ms ease;
  }

  /* Etiqueta oculta en estado compacto */
  body:has(#nmx-news-hero) .c_255 .nav-link span {
    position: absolute;

    top: 50%;
    left: 14px;

    display: block !important;

    width: 118px;

    margin: 0;
    padding: 0;

    color:
      rgba(255, 255, 255, 0.72) !important;

    font-size: 10px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: 0.11em;

    white-space: nowrap;

    text-align: left;

    opacity: 0;

    pointer-events: none;

    transform:
      translate(10px, -50%);

    transition:
      color 160ms ease,
      opacity 160ms ease,
      transform 230ms ease;
  }

  /* Expansión */
  body:has(#nmx-news-hero) .c_255:hover,
  body:has(#nmx-news-hero) .c_255:focus-within {
    width: 190px !important;
  }

  body:has(#nmx-news-hero) .c_255:hover .nav-list,
  body:has(#nmx-news-hero) .c_255:focus-within .nav-list {
    background:
      rgba(18, 18, 18, 0.88) !important;

    box-shadow:
      0 14px 38px rgba(0, 0, 0, 0.25);
  }

  body:has(#nmx-news-hero) .c_255:hover .nav-link span,
  body:has(#nmx-news-hero) .c_255:focus-within .nav-link span {
    opacity: 1;

    transform:
      translate(0, -50%);
  }
}


/* ----------------------------------------------------------
   DESKTOP HOVER INDIVIDUAL
   Solo cambia contraste. Nada se desplaza.
   ---------------------------------------------------------- */

@media (min-width: 36.3126em)
       and (hover: hover)
       and (pointer: fine) {

  body:has(#nmx-news-hero) .c_255:hover .nav-link span {
    color:
      rgba(255, 255, 255, 0.68) !important;
  }

  body:has(#nmx-news-hero) .c_255:hover .nav-link::before {
    color:
      rgba(255, 255, 255, 0.72) !important;

    transform:
      translateY(-50%) !important;
  }

  body:has(#nmx-news-hero) .c_255 .nav-link:hover {
    background:
      rgba(255, 255, 255, 0.10) !important;

    transform: none !important;
  }

  body:has(#nmx-news-hero) .c_255 .nav-link:hover span {
    color: #fff !important;
  }

  body:has(#nmx-news-hero) .c_255 .nav-link:hover::before {
    color: #fff !important;

    opacity: 1 !important;

    transform:
      translateY(-50%) !important;
  }
}


/* ----------------------------------------------------------
   MOBILE
   Dark glass dock inferior
   ---------------------------------------------------------- */

@media (max-width: 36.3125em) {

  body:has(#nmx-news-hero) .c_255 {
    top: auto !important;

    left: 12px !important;
    right: 12px !important;

    bottom:
      max(
        10px,
        env(safe-area-inset-bottom)
      ) !important;

    width: auto !important;

    transform: none !important;
  }

  body:has(#nmx-news-hero) .c_255 .nav-list {
    display: flex !important;

    width: 100%;
    max-width: 520px;

    margin: 0 auto !important;

    padding: 5px !important;

    background:
      rgba(18, 18, 18, 0.78) !important;

    border:
      1px solid rgba(255, 255, 255, 0.16) !important;

    border-radius: 19px;

    box-shadow:
      0 12px 34px rgba(0, 0, 0, 0.22);

    -webkit-backdrop-filter:
      blur(20px) saturate(140%);

    backdrop-filter:
      blur(20px) saturate(140%);
  }

  body:has(#nmx-news-hero) .c_255 .nav-item {
    flex:
      1 1 33.333%;

    min-width: 0;
  }

  body:has(#nmx-news-hero) .c_255 .nav-link {
    display: flex !important;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 52px !important;

    gap: 4px;

    padding:
      5px 3px
      4px !important;

    border-radius: 14px;
  }

  /* En mobile el icono vuelve al flujo normal */
  body:has(#nmx-news-hero) .c_255 .nav-link::before {
    position: static !important;

    display: block !important;

    width: auto !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;

    background: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    font-size: 19px !important;
    line-height: 1 !important;

    opacity: 1 !important;

    transform: none !important;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body:has(#nmx-news-hero) .c_255 .nav-link span {
    position: static;

    display: block !important;

    width: auto;
    max-width: none;

    margin: 0;

    color: #fff !important;

    font-size: 8.5px;
    font-weight: 600;
    line-height: 1.1;

    letter-spacing: 0.10em;

    white-space: nowrap;

    text-align: center;

    opacity: 0.92;

    transform: none;

    overflow: visible;

    pointer-events: auto;

    text-transform: uppercase;
  }
}


/* ----------------------------------------------------------
   ACTIVE / FOCUS
   ---------------------------------------------------------- */

body:has(#nmx-news-hero) .c_255 .nav-link:active {
  background:
    rgba(255, 255, 255, 0.14) !important;
}

body:has(#nmx-news-hero) .c_255 .nav-link:focus-visible {
  outline:
    2px solid rgba(255, 255, 255, 0.95);

  outline-offset: -3px;
}




/* ==========================================================
   REVEAL PARA JS
   ========================================================== */

.nmx-news-reveal {
  opacity: 0;
  transform: translateY(20px);
}

.nmx-news-reveal.nmx-news-visible {
  opacity: 1;
  transform: translateY(0);
}

#nmx-news-featured .c_005.nmx-news-reveal,
[id^="nmx-news-row-"] .c_005.nmx-news-reveal {
  transition:
    opacity 600ms cubic-bezier(.2, .7, .2, 1),
    transform 600ms cubic-bezier(.2, .7, .2, 1),
    box-shadow 300ms ease,
    border-color 300ms ease;

  transition-delay:
    var(--nmx-news-delay, 0ms);
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  .nmx-news-reveal {
    opacity: 1;
    transform: none;
  }

  #nmx-news-featured .c_005,
  #nmx-news-featured .c_005 img,
  #nmx-news-featured .c_005 .link-list a,
  [id^="nmx-news-row-"] .c_005,
  [id^="nmx-news-row-"] .c_005 img,
  [id^="nmx-news-row-"] .c_005 .link-list a {
    transition: none;
  }
}


/* ==========================================================
   ZONA DE JAVASCRIPT
   ========================================================== */

#nmx-news-scripts {
  width: 0;
  height: 0;
  max-width: 0;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;
}