/* =======================================================
   NEWS PAGE STYLES
   Depende de: variables.css, base.css, layout.css
======================================================= */




/* =======================================================
   TAB BUTTONS — Publicaciones / Podcast
======================================================= */

.news-tabs-section {
  background: var(--surface-alt, #f4f5f7);
  padding-block: var(--space-6, 2.5rem) 0;
}

/* Fila de botones centrada */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

/* Botón base */
.news-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.7rem 2rem;
  border-radius: var(--radius-full, 9999px);
  border: 2px solid var(--border-light);
  background: var(--surface-primary);
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  cursor: pointer;
  letter-spacing: var(--tracking-wide);
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
}

.news-tab .material-symbols-outlined {
  font-size: 1.15rem;
  transition: color var(--transition-fast);
}

.news-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb, 13 45 82), 0.04);
}

/* Estado activo */
.news-tab--active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb, 13 45 82), 0.25);
}

.news-tab--active:hover {
  background: var(--primary-hover, var(--primary));
  border-color: var(--primary-hover, var(--primary));
  color: var(--text-inverse);
}

.news-tab--active .material-symbols-outlined {
  color: var(--accent);
}


/* =======================================================
   FEATURED PANEL — contenedor
======================================================= */

.news-featured-panel {
  background: var(--surface-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--border-light);
  border-bottom: none;
  padding: clamp(var(--space-5), 5vw, var(--space-7, 3.5rem));
  /* Animación al cambiar tab */
  animation: nfFadeIn 0.3s ease;
}

@keyframes nfFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}



/* =======================================================
   FEATURED — Layout CON VIDEO (imagen 2)
   título+resumen izquierda · iframe derecha
   + texto completo en 2 col debajo
======================================================= */

/* Override grid para video */
.nf-grid--video {
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  margin-bottom: var(--space-5);
}

@media (max-width: 56rem) {
  .nf-grid--video {
    grid-template-columns: 1fr;
  }
}

/* Wrapper 16:9 */
.nf-video-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.nf-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Texto en 2 col debajo del grid-video */
.nf-content-cols {
  column-count: 2;
  column-gap: var(--space-6, 3rem);
}

.nf-content-cols p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
}

@media (max-width: 48rem) {
  .nf-content-cols {
    column-count: 1;
  }
}


/* =======================================================
   MAIN CONTENT SECTION
======================================================= */

.news-page {
  padding-top: clamp(calc(var(--header-height) + var(--space-6)), 12vh, 10rem);
  padding-bottom: var(--section-padding-desktop);
  background: var(--surface-primary);
  overflow-x: hidden; /* evita scroll horizontal por cualquier elemento desbordado */
}

/* Search bar row above the grid (Unified) */
.news-page__toolbar-unified {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 48rem) {
  .news-page__toolbar-unified {
    flex-direction: column;
    align-items: flex-start;
  }
}

.news-page__heading {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

/* Filtros: búsqueda + calendario en línea */
.news-page__filters {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.news-page__search {
  padding: 0.65rem 1rem;
  width: clamp(12rem, 20vw, 18rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-family: var(--font-base);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--surface-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.news-page__search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
}

.news-page__search::placeholder {
  color: var(--text-muted);
}


/* =======================================================
   DATEPICKER — TRIGGER
======================================================= */

.news-datepicker {
  position: relative;
}

.news-datepicker__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--surface-primary);
  font-family: var(--font-base);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast),
    background-color var(--transition-fast);
}

.news-datepicker__trigger:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.news-datepicker__trigger--active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--text-inverse);
}

.news-datepicker__trigger--active:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.news-datepicker__trigger .material-symbols-outlined {
  font-size: 1.1rem;
}

.news-datepicker__chevron {
  font-size: 1rem !important;
  transition: transform var(--transition-fast);
}

.news-datepicker__label {
  font-weight: var(--weight-semibold);
}


/* =======================================================
   DATEPICKER — DROPDOWN
======================================================= */

.news-datepicker__dropdown {
  position: absolute;
  top: calc(100% + var(--space-1));
  right: 0;
  z-index: 100;
  background: var(--surface-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  width: 19rem;
  overflow: hidden;
  animation: calFadeIn 0.15s var(--ease-smooth);
}

@keyframes calFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ── Navegación mes/año ── */

.cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--border-light);
}

.cal__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.cal__nav-btn:hover {
  background: var(--surface-alt);
  color: var(--text-primary);
}

.cal__nav-btn .material-symbols-outlined {
  font-size: 1.2rem;
}

.cal__month-btn {
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: default;
  padding: 0.3rem var(--space-2);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.cal__month-btn--has {
  cursor: pointer;
  color: var(--primary);
}

.cal__month-btn--has:hover {
  background: rgba(var(--primary-rgb), 0.07);
}


/* ── Grid de días ── */

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: var(--space-2) var(--space-3);
}

.cal__day-name {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  height: 2rem;
}

.cal__cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
  background: none;
  border: none;
  font-family: var(--font-base);
}

.cal__cell--empty {
  pointer-events: none;
}

.cal__cell--day {
  cursor: default;
}

/* Días CON artículos */
.cal__cell--has {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.cal__cell--has:hover {
  background: rgba(var(--primary-rgb), 0.08);
}

/* Día activo (seleccionado) */
.cal__cell--active {
  background: var(--primary) !important;
  color: var(--text-inverse) !important;
}

/* Puntos indicadores */
.cal__dots-container {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
}

.cal__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.cal__dot--pub {
  background: var(--accent);
}

.cal__dot--pod {
  background: var(--primary);
}

.cal__cell--active .cal__dot--pub,
.cal__cell--active .cal__dot--pod {
  background: rgba(255, 255, 255, 0.7) !important;
}


/* ── Pie: quitar filtro ── */

.cal__footer {
  border-top: 1px solid var(--border-light);
  padding: var(--space-2) var(--space-3);
}

.cal__clear-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem var(--space-2);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.cal__clear-btn:hover {
  color: var(--text-primary);
  background: var(--surface-alt);
}

.cal__clear-btn .material-symbols-outlined {
  font-size: 0.9rem;
}



/* =======================================================
   TWO-COLUMN LAYOUT
======================================================= */

.news-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: clamp(var(--space-4), 4vw, var(--space-6));
  align-items: start;
}

@media (max-width: 64rem) {
  .news-layout {
    grid-template-columns: 1fr;
  }
}



/* =======================================================
   MAIN CONTENT PANEL (LEFT)
======================================================= */

.news-main-content {
  background: var(--surface-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  padding: clamp(var(--space-4), 4vw, var(--space-6, 3rem));
  min-height: 40rem;
  overflow: hidden; /* contiene el bleed negativo del hero */
}


/* =======================================================
   SIDEBAR
======================================================= */

.news-sidebar {
  background: var(--surface-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Grupos (B: Destacados / C: Recientes) ── */

.news-sidebar__group {
  padding: var(--space-3) var(--space-4);
}

.news-sidebar__group+.news-sidebar__group {
  border-top: 1px solid var(--border-light);
}

.news-sidebar__group-title {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.news-sidebar__group-title .material-symbols-outlined {
  font-size: 0.95rem;
  color: var(--accent);
}

/* ── Lista de ítems ── */

.news-sidebar__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* ── Ítem clickeable ── */

.news-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.news-sidebar__item:hover {
  background: var(--surface-alt);
}

.news-sidebar__item--active {
  background: rgba(var(--primary-rgb), 0.06);
}

.news-sidebar__item-icon {
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.news-sidebar__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.news-sidebar__item-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.news-sidebar__item:hover .news-sidebar__item-title,
.news-sidebar__item--active .news-sidebar__item-title {
  color: var(--primary);
}

.news-sidebar__item-meta {
  font-size: calc(var(--text-xs) * 0.9);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =======================================================
   EDITORIAL ARTICLE LAYOUT — .nf-article
   Nuevo layout premium para publicaciones
======================================================= */

/* Entry animation */
.nf-article {
  animation: nfFadeIn 0.35s var(--ease-smooth);
}

/* ── Hero image ─────────────────────────────────────── */

.nf-hero-media {
  width: calc(100% + clamp(var(--space-4), 4vw, var(--space-6)) * 2);
  margin-left: calc(clamp(var(--space-4), 4vw, var(--space-6)) * -1);
  margin-top: calc(clamp(var(--space-4), 4vw, var(--space-6)) * -1);
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 21 / 7;
}

.nf-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.nf-hero-media:hover .nf-hero-img {
  transform: scale(1.02);
}

/* nf-video-wrap used as hero */
.nf-video-wrap.nf-hero-media {
  aspect-ratio: 16 / 7;
  padding-top: 0;
}

/* ── Article header ─────────────────────────────────── */

.nf-article__header {
  padding: 0 0 var(--space-3);
}

.nf-article__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

/* Section badge */
.nf-badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* Date */
.nf-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
}

.nf-date .material-symbols-outlined {
  font-size: 0.9rem;
  color: var(--accent);
}

/* Title */
.nf-article__title {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-2);
}

/* Summary / lead */
.nf-article__summary {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-light);
  border-left: 3px solid var(--accent);
  padding-left: var(--space-3);
  margin: 0;
}

/* ── Section divider ────────────────────────────────── */

.nf-article__divider {
  height: 1px;
  background: linear-gradient(to right, var(--border-light), transparent);
  margin: var(--space-3) 0 var(--space-4);
}

/* ── Article body typography ────────────────────────── */

.nf-article__body {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.nf-article__body p {
  margin: 0 0 var(--space-3);
  color: var(--text-secondary);
}

.nf-article__body h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  margin: var(--space-4) 0 var(--space-2);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}

.nf-article__body h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
}

.nf-article__body ul,
.nf-article__body ol {
  margin: 0 0 var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nf-article__body ul li {
  list-style: none;
  position: relative;
  padding-left: var(--space-3);
  color: var(--text-secondary);
}

.nf-article__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.nf-article__body ol li {
  list-style: decimal;
  color: var(--text-secondary);
  padding-left: 0.25rem;
}

.nf-article__body strong {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.nf-article__body em {
  color: var(--accent-dark);
  font-style: italic;
}

/* ── Table ──────────────────────────────────────────── */

.nf-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-3) 0 var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border-light);
}

.nf-article__body thead {
  background: var(--primary);
  color: var(--white);
}

.nf-article__body thead th {
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.nf-article__body tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
}

.nf-article__body tbody tr:last-child {
  border-bottom: none;
}

.nf-article__body tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.03);
}

.nf-article__body tbody td {
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  vertical-align: middle;
  text-align: center;
}

.nf-article__body tbody td:first-child {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

/* ── Step-cards inside body ─────────────────────────── */
/* Targets the inline-styled card wrapper already in data */

.nf-article__body > div[style*="display:flex"] {
  border-radius: var(--radius-lg);
  overflow: hidden;
}


/* =======================================================
   RESPONSIVE — TABLET  ≤ 768px
======================================================= */

@media (max-width: 48rem) {

  /* Toolbar: stack tabs + filters vertically */
  .news-page__toolbar-unified {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .news-tabs {
    justify-content: flex-start;
  }

  .news-page__filters {
    flex-direction: column;
    align-items: stretch;
  }

  .news-page__search {
    width: 100%;
  }

  .news-datepicker {
    width: 100%;
  }

  .news-datepicker__trigger {
    width: 100%;
    justify-content: space-between;
  }

  /* Layout: sidebar below article */
  .news-layout {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }

  /* Hero: cancelar bleed negativo — imagen simple ancho 100% */
  .nf-hero-media {
    width: 100%;
    margin-left: 0;
    margin-top: calc(clamp(var(--space-4), 4vw, var(--space-6)) * -1);
    margin-bottom: var(--space-3);
    aspect-ratio: 16 / 6;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  /* Article title smaller */
  .nf-article__title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  /* Table: horizontal scroll on small screens */
  .nf-article__body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  /* Step cards: stack vertically, arrows point down */
  .nf-article__body > div[style*="display:flex"] {
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Hide horizontal arrows, show vertical ones */
  .nf-article__body > div[style*="display:flex"] > div[style*="font-size:1.5rem"] {
    padding: 0.25rem 0 !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    transform: rotate(90deg);
  }

  /* Cards full width */
  .nf-article__body > div[style*="display:flex"] > div[style*="flex:1"] {
    min-width: 100% !important;
    border-radius: 0 !important;
  }

  /* Round top of first card, bottom of last */
  .nf-article__body > div[style*="display:flex"] > div[style*="flex:1"]:first-of-type {
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
  }

  .nf-article__body > div[style*="display:flex"] > div[style*="flex:1"]:last-of-type {
    border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  }

  /* Datepicker dropdown: full width */
  .news-datepicker__dropdown {
    width: 100%;
    right: auto;
    left: 0;
  }

}


/* =======================================================
   RESPONSIVE — MOBILE  ≤ 480px
======================================================= */

@media (max-width: 30rem) {

  /* Panel: padding ajustado, sin scroll horizontal */
  .news-main-content {
    padding: var(--space-2) var(--space-2) var(--space-3);
    min-height: auto;
    overflow: hidden;
  }

  /* Hero: completamente plano en pequeño */
  .nf-hero-media {
    width: 100%;
    margin-left: 0;
    margin-top: calc(var(--space-2) * -1);
    margin-bottom: var(--space-2);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }



  /* Title  */
  .nf-article__title {
    font-size: 1.15rem;
  }

  /* Summary: reduce border + padding */
  .nf-article__summary {
    font-size: var(--text-sm);
    padding-left: var(--space-2);
  }

  /* Body: tighter spacing */
  .nf-article__body h3 {
    font-size: var(--text-base);
    margin-top: var(--space-3);
  }

  .nf-article__body p,
  .nf-article__body li {
    font-size: var(--text-sm);
  }

  /* Badge + date on same line, wrap allowed */
  .nf-article__meta {
    gap: var(--space-1);
  }

  /* Tabs: even smaller text */
  .news-tab {
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
  }

  /* Table text smaller */
  .nf-article__body table {
    font-size: 0.78rem;
  }

  .nf-article__body thead th,
  .nf-article__body tbody td {
    padding: 0.6rem 0.75rem;
  }

  /* Step card text smaller */
  .nf-article__body > div[style*="display:flex"] > div[style*="flex:1"] p {
    font-size: 0.8rem !important;
  }

}
