/* @font-face {
  font-family: "PrumoDeck";
  src: url("font/prumo-deck-bold.eot");
  src:
    url("font/prumo-deck-bold.eot?#iefix") format("embedded-opentype"),
    url("font/prumo-deck-bold.woff2") format("woff2"),
    url("font/prumo-deck-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
} */

@font-face {
	font-family: "PrumoDeck";
	font-style: normal;
	font-weight: bold;
	font-display: auto;
	src: url('font/PrumoDeck-Bold.ttf') format('truetype');
}
@font-face {
	font-family: "PrumoDeck";
	font-style: italic;
	font-weight: bold;
	font-display: auto;
	src: url('font/PrumoDeck-BoldItalic.ttf') format('truetype');
}
@font-face {
	font-family: "PrumoDeck";
	font-style: italic;
	font-weight: 500;
	font-display: auto;
	src: url('font/PrumoDeck-MediumItalic.ttf') format('truetype');
}
@font-face {
	font-family: "PrumoDeck";
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('font/PrumoDeck-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: "PrumoDeck";
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('font/PrumoDeck-Book.ttf') format('truetype');
}
@font-face {
	font-family: "PrumoDeck";
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('font/PrumoDeck-Bold.ttf') format('truetype');
}

:root {
  --e-global-color-primary: #052861;
  --e-global-color-secondary: #009ADB;
  --e-global-color-text: #000000;
}

/* Wrapper general del artículo */
.article-wrapper {
  max-width: 1180px;
  margin: 32px auto 80px;
  padding: 0 16px;
}

/* Encabezado */
.article-header {
  margin-bottom: 24px;
}

/* Categoría principal */
.article-category {
  font-family: "PrumoDeck", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 32px;
  color: var(--e-global-color-primary);
  margin-bottom: 4px;
  font-style: italic;
  font-weight: bold;
}

/* Subcategoría */
.article-subcategory {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.article-category a,
.article-subcategory a {
  display: inline-block;              /* opcional, pero ayuda si quieres padding/hover */
  color: inherit;                     /* mismo color que el contenedor */
  font: inherit;                      /* misma fuente, tamaño, etc. */
  text-transform: inherit;            /* respeta las mayúsculas del contenedor */
  text-decoration: none;              /* sin subrayado */
}

.article-category a:hover,
.article-subcategory a:hover {
  text-decoration: underline;         /* o cambio de color si quieres */
  /* color: var(--e-global-color-secondary); */
}

/* Título principal */
.article-title {
  font-family: "PrumoDeck", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 51px;
  color: var(--e-global-color-primary);
  line-height: 1.1;
  margin: 14px 0 8px;
  -webkit-font-smoothing: antialiased; /* ayuda en macOS */
  text-rendering: optimizeLegibility;
}

/* Bajada (h2) */
.article-subtitle {
  font-family: "Roboto Serif", Sans-serif;
  font-size: 24px;
  color: #000000;
  font-weight: 300;
  line-height: 1.3;
  margin: 8px 0 12px;

  font-family: "Roboto Serif", Sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;

  -webkit-font-smoothing: antialiased; /* ayuda en macOS */
  text-rendering: optimizeLegibility;
}

/* Fecha */
.article-date {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: #555555;
}

/* Layout 2 columnas */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  margin-top: 24px;
}

.article-main {
  min-width: 0;
}

.article-sidebar {
  width: 300px;
}

.sidebar-widget {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 8px;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Foto principal */
.article-hero {
  margin: 16px 0 16px;
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.article-hero figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #333333;
}

.hero-caption {
  font-weight: 500;
}

.hero-credit {
  opacity: 0.8;
}

/* Autor */
.article-author {
  position: relative;        /* clave para posicionar la tarjeta */
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  padding: 8px 0;
}

/* Foto circular con borde azul */
.author-avatar-wrap {
  flex-shrink: 0;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--e-global-color-primary, #052861);
}
.author-avatar-landing {
  width: 150px;
  height: 150px;
	float: left;
	margin-right: 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--e-global-color-primary, #052861);
}
/* Texto + botón */
.author-main {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  gap: 16px;
  flex: 1;
}

.author-text {
  line-height: 1.1;
}

.author-name {
  font-family: "PrumoDeck", "Georgia", "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--e-global-color-primary, #052861);
  margin-bottom: 4px;
}

.author-role {
  font-family: "PrumoDeck", "Georgia", "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
  color: var(--e-global-color-primary, #052861);
}

/* Botón oval con flecha */
.author-toggle {
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid var(--e-global-color-primary, #052861);
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.author-toggle-icon {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--e-global-color-primary, #052861);
  transition: transform 0.2s ease-in-out;
}

/* ---------- TARJETA FLOTANTE ---------- */

.author-card {
  position: absolute;
  top: 100%;           /* debajo del bloque de autor */
  left: 88px;          /* alineada más o menos con el texto */
  margin-top: 12px;
  min-width: 280px;
  max-width: 360px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  padding: 16px 20px;
  display: none;       /* oculta por defecto */
  z-index: 50;
}

/* Cabecera de la tarjeta */
.author-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.author-card-avatar-wrap {
  flex-shrink: 0;
}

.author-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--e-global-color-primary, #052861);
}

.author-card-name {
  font-family: "PrumoDeck", "Georgia", "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: var(--e-global-color-primary, #052861);
}

.author-card-role {
  font-family: "PrumoDeck", "Georgia", "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
  color: var(--e-global-color-primary, #052861);
}

/* Bio dentro de la tarjeta */
.author-card-bio {
  margin: 0 0 10px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333333;
}

.author-card-bio a {
  color: var(--e-global-color-primary, #052861);
  text-decoration: none;
}

.author-card-bio a:hover {
  text-decoration: underline;
}

/* Email */
.author-card-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--e-global-color-primary, #052861);
  text-decoration: none;
}

.author-card-email:hover {
  text-decoration: underline;
}

.author-email-icon {
  font-size: 16px;
}

/* Estado abierto: mostrar tarjeta y girar flecha */
.article-author.is-open .author-card {
  display: block;
}

.article-author.is-open .author-toggle-icon {
  transform: rotate(180deg);
}

/* Responsive: en mobile que la tarjeta se adapte */
@media (max-width: 768px) {
  .author-card {
    /* position: static; */
    margin-top: 12px;
    max-width: 100%;
  }
}

/* Cuerpo del artículo */
.article-body {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.7;
  color: #111111;
}

/* Texto normal del artículo */
.article-body,
.article-body p{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased; /* ayuda en macOS */
  text-rendering: optimizeLegibility;
}

/* Enlaces dentro del artículo (ligeramente más marcados) */
.article-body a {
  font-weight: 600;               /* como el "Presidente de Ecuador" */
}

/* Negritas reales */
.article-body strong,
.article-body b {
  font-weight: 700;
}


.article-body p {
  margin: 0 0 16px;
}

/* Tags tipo pastilla */
.article-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #005bb5;
  background: #ffffff;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  color: #000000;
  /* white-space: nowrap; */
  cursor: pointer;
  transition: background 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.tag-pill:hover {
  background: var(--e-global-color-primary);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 38px;
  }

  .article-subtitle {
    font-size: 20px;
  }

  .article-category {
    font-size: 26px;
  }
}

/* Primera letra gigante del primer párrafo del artículo */
/*.article-body p:first-of-type::first-letter {*/
.article-body > p:first-of-type::first-letter {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 4.5rem;    /* tamaño de la letra */
  line-height: 0.8;     /* ajusta la altura para que no se baje mucho */
  float: left;
  font-weight: 700;
  margin-right: 8px;    /* espacio entre la letra y el texto */
  margin-top: 4px;      /* sube/baja la letra */
  text-transform: uppercase;
}

/*Foto embed*/
.article-body img{
	width: 100%;
	height: auto;
}
/* ===== Base para cualquier foto embed ===== */
figure.align,
figure.alignleft,
figure.alignrigth,
figure.alignright {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  clear: both; /* evita que se monten con otros floats */
  text-align: center; /* por defecto centrado */
}

figure.align a,
figure.alignleft a,
figure.alignrigth a,
figure.alignright a {
  display: block;
}

figure.align img,
figure.aligncenter img,
figure.alignleft img,
figure.alignrigth img,
figure.alignright img {
  display: block;
  width: 100%;        /* ocupa el ancho del figure */
  height: auto;
  max-width: 100%;    /* nunca se pasa del contenedor */
  border-radius: 8px; /* opcional */
}

/* Caption bonito */
figure.align figcaption,
figure.aligncenter figcaption,
figure.alignleft figcaption,
figure.alignrigth figcaption,
figure.alignright figcaption {
  font-size: 0.9rem;
  line-height: 1.35;
  color: #666;
  margin-top: .5rem;
  text-align: center;
}

/* ===== Alineaciones en desktop ===== */
/* Centro (tu clase "align") */
figure.align, figure.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
}

/* Izquierda */
figure.alignleft {
  float: left;
  margin: .5rem 1rem .8rem 0;
  text-align: left;
  max-width: 50%;     /* tope para que no sea gigante */
}

/* Derecha (soporta align-rigth y align-right) */
figure.alignrigth,
figure.alignright {
  float: right;
  margin: .5rem 0 .8rem 1rem;
  text-align: right;
  width: 50%;
  max-width: 420px;
}

/* si quieres que el caption de left/right quede alineado con la foto */
figure.alignleft figcaption { text-align: left; }
figure.alignrigth figcaption,
figure.alignright figcaption { text-align: right; }


/* ===== Mobile: todo a una columna, sin floats ===== */
@media (max-width: 768px) {
  figure.alignleft,
  figure.alignrigth,
  figure.alignright {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1rem auto;
    text-align: center;
  }

  figure.alignleft figcaption,
  figure.alignrigth figcaption,
  figure.alignright figcaption {
    text-align: center;
  }
}

/* Base: móvil / tablet (debajo de la fecha, horizontal) */
.article-share {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.share-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-btn img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  /* si tus svg son negros, esto los tiñe de azul oscuro tipo #052861 */
  filter: brightness(0) saturate(100%) invert(10%) sepia(76%)
          saturate(691%) hue-rotate(192deg) brightness(94%) contrast(94%);
}

/* Para referencia: tu wrapper ya tiene max-width 1180px */
.article-wrapper {
  max-width: 1180px;
  margin: 32px auto 80px;
  padding: 0 16px;
}

/* DESKTOP: fijo a un costado del texto (no de la pantalla) */
@media (min-width: 1025px) {
  .article-share {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    margin-top: 0;
    z-index: 90;

    /*
      100vw = ancho ventana
      1180px = ancho máximo del contenido (article-wrapper)
      /2 para centrar, y luego restamos ~60px para dejarlo a la izquierda del texto.
      Ajusta 1180 si cambias el max-width del contenido.
    */
    left: calc(50vw - 1180px / 2 - 60px);
  }

  /* Cuando la ventana es más estrecha que el contenido,
     usamos un left fijo para que no se descontrole */
  @media (max-width: 1180px) {
    .article-share {
      position: static;
      flex-direction: row;
      transform: none;
      margin-top: 12px;
    }
  }
}
.article-share.share-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.article-body a{
	text-decoration: none;
	color: #0252C9;
}


/*embeds*/
/* Contenedor responsive para embeds 16:9 (YouTube, etc.) */
.embed-responsive.embed-responsive-16by9{
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 16px auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  /* Moderno: mantiene proporción 16:9 */
  aspect-ratio: 16 / 9;
}

/* El iframe siempre al 100% del contenedor */
.embed-responsive.embed-responsive-16by9 iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Fallback si no soporta aspect-ratio */
@supports not (aspect-ratio: 16 / 9){
  .embed-responsive.embed-responsive-16by9{
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
  }
}

/* Opcional: que respete tu clase existente */
.iframe_video{
  max-width: 100%;
}

/* ===== TABLAS DENTRO DEL ARTÍCULO ===== */

.table-wrapper {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;              /* Scroll horizontal si se pasa de ancho */
  -webkit-overflow-scrolling: touch;
}

.table-wrapper table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;              /* fuerza a que exista scroll en pantallas muy pequeñas */
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  background-color: #ffffff;
}

.table-wrapper thead {
  background-color: #f4f4f6;
}

.table-wrapper thead th {
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #ddd;
}

.table-wrapper tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;           /* evita que los números se corten en varias líneas */
}

/* Zebra rows */
.table-wrapper tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

/* Opcional: resaltar fila al pasar el mouse en desktop */
@media (hover: hover) {
  .table-wrapper tbody tr:hover {
    background-color: #f0f4ff;
  }
}

/* Ajuste de tipografía en móvil si quieres que se vea un pelín más grande */
@media (max-width: 600px) {
  .table-wrapper table {
    font-size: 13px;
  }
}

/* ===== PÁRRAFO DESTACADO OSCURO ===== */

.parrafo-dark {
  margin: 24px 0;
  padding: 16px 18px;
  background-color: #052861; /* --e-global-color-primary */
  color: #ffffff;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  border-radius: 4px;
}

/* que los <strong> resalten un poco más dentro del bloque */
.parrafo-dark strong {
  font-weight: 700;
  color: #CCEBF8; /* un celeste suave para resaltar las cifras */
}

/* en móvil, un pelín más compacto */
@media (max-width: 640px) {
  .parrafo-dark {
    font-size: 16px;
    padding: 14px 16px;
  }
}

code {
	font-family: "Georgia", "Times New Roman", serif;
	color:red;
}


/* ===== oEmbed DAST – TARJETA DE ARTÍCULO RELACIONADO ===== */

.oEmbedDAST {
  margin: 24px 0;
}

.oEmbedDAST > a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Contenedor principal de la tarjeta */
.author-box-style-1 {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  background-color: #f7f8fb;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  border-left: 4px solid #009ADB; /* --e-global-color-secondary */
}

/* Hover general en desktop */
@media (hover: hover) {
  .oEmbedDAST > a:hover .author-box-style-1 {
    border-color: #052861;       /* --e-global-color-primary */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
  }
}

/* Imagen */
.author-img {
  flex: 0 0 140px;
  max-width: 140px;
}

.author-img img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #ddd; /* por si la imagen demora en cargar */
}

/* Contenido textual */
.author-content {
  flex: 1 1 auto;
  min-width: 0;
}

/* Título del embed (headline de la nota relacionada) */
.author-content .author-name {
  margin: 0 0 6px;
  font-family: "PrumoDeck", "Georgia", "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #052861; /* primario */
}

/* Descripción / bajada */
.author-content .user-desc {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

/* Versión móvil: imagen arriba, texto abajo */
@media (max-width: 640px) {
  .author-box-style-1 {
    flex-direction: column;
    padding: 14px 14px;
  }

  .author-img {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .author-img img {
    width: 100%;
    height: auto;
  }

  .author-content .author-name {
    font-size: 17px;
  }

  .author-content .user-desc {
    font-size: 14px;
  }
}

/* ===== CARD DE ALERTA DENTRO DEL ARTÍCULO ===== */

.article-body blockquote.warning {
  position: relative;
  margin: 48px 0;
  padding: 18px 18px 16px;
  background-color: #fff5f5;           /* fondo suave tipo alerta */
  border-left: 4px solid #d7263d;      /* rojo alerta */
  border-radius: 4px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.6;
  color: #282828;
}

/* “Título” del card: URGENTE */
.article-body blockquote.warning .author {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);        /* sube el cintillo por encima del card */
  background-color: #d7263d;
  color: #ffffff;
  padding: 4px 12px;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px 3px 0 0;
  pointer-events: none;                /* que no interfiera con el clic del bloque */
}

/*CITAS*/
/* CITA DESTACADA DENTRO DEL ARTÍCULO */
.article-body blockquote.cita {
  position: relative;
  margin: 40px 0;
  padding: 32px 40px 26px 40px;
  background: #D8ECFA;                 /* azul claro */
  border-left: 6px solid #052861;      /* azul principal */
  border-radius: 6px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 22px;                     /* más grande que antes */
  line-height: 1.6;
  color: #000;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* Comilla decorativa dentro del cuadro */
.article-body blockquote.cita::before {
  content: "“";
  position: absolute;
  top: 6px;                            /* ahora dentro del bloque */
  left: 24px;
  font-family: "PrumoDeck", "Georgia", "Times New Roman", serif;
  font-size: 60px;
  line-height: 1;
  color: #052861;
  pointer-events: none;
}

/* Asegurar buen espacio respecto a la comilla */
.article-body blockquote.cita > p {
  margin: 8px 0 10px;
}

/* Autor de la cita */
.article-body blockquote.cita .blockquoteAutor {
  margin: 10px 0 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: right;
  color: #052861;
}

/* Guion delante del autor */
.article-body blockquote.cita .blockquoteAutor::before {
  content: "— ";
  font-weight: 400;
}

/* Ajuste en móviles */
@media (max-width: 640px) {
  .article-body blockquote.cita {
    padding: 22px 18px 18px 18px;
    font-size: 18px;
  }

  .article-body blockquote.cita::before {
    top: 2px;
    left: 14px;
    font-size: 46px;
  }
}

/* Ajuste en móvil: un pelín más compacto */
@media (max-width: 640px) {
  .article-body blockquote.warning {
    font-size: 16px;
    padding: 16px 14px 14px;
  }

  .article-body blockquote.warning .author {
    font-size: 11px;
    padding: 3px 10px;
  }
}

/* Contenedor centrado para botones dentro del artículo */
.contenedor-centrado {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

/* Estilo del botón */
.contenedor-centrado button {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid #052861;          /* --e-global-color-primary */
  background-color: #052861;
  color: #ffffff;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .1s ease, box-shadow .2s ease;
}

/* Hover / focus */
.contenedor-centrado button:hover,
.contenedor-centrado button:focus-visible {
  background-color: #ffffff;
  color: #052861;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  outline: none;
}

/* Efecto “click” */
.contenedor-centrado button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ===== ACORDEÓN DENTRO DEL ARTÍCULO ===== */

.accordion-three {
  margin: 16px 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
}

/* Cada tarjeta del acordeón */
.accordion-three .card {
  border: 0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
}

/* Última sin borde inferior extra */
.accordion-three .card:last-child {
  border-bottom: 0;
}

/* Header / botón del acordeón */
.accordion-three .card-header {
  margin: 0;
  padding: 0;
  background-color: #f7f8fb;
  border: 0;
}

/* El enlace que actúa como botón */
.accordion-three .card-header a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #052861; /* --e-global-color-primary */
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

/* Icono + / - al lado derecho */
.accordion-three .card-header a::after {
  content: "+";
  font-size: 18px;
  font-weight: 700;
  margin-left: 8px;
  color: #052861;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Estado abierto (Bootstrap quita .collapsed cuando se expande) */
.accordion-three .card-header a:not(.collapsed) {
  background-color: #052861;
  color: #ffffff;
}

.accordion-three .card-header a:not(.collapsed)::after {
  content: "−";
  color: #ffffff;
}

/* Hover en desktop */
@media (hover: hover) {
  .accordion-three .card-header a:hover {
    background-color: #e9edf8;
  }

  .accordion-three .card-header a:not(.collapsed):hover {
    background-color: #031a3c;
  }
}

/* Cuerpo del acordeón */
.accordion-three .card-body {
  padding: 12px 14px 14px;
  background-color: #ffffff;
}

.accordion-three .card-body p {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
}

.collapse {
  display: none;
}

.collapse.show {
  display: block;
}


/* Un pelín más compacto en móvil */
@media (max-width: 640px) {
  .accordion-three .card-header a {
    font-size: 14px;
    padding: 10px 12px;
  }

  .accordion-three .card-body {
    padding: 10px 12px 12px;
  }

  .accordion-three .card-body p {
    font-size: 15px;
  }
}


/* ===== HR DENTRO DEL CUERPO DEL ARTÍCULO ===== */

.article-body hr {
  border: 0;
  height: 1px;
  width: 80px; /* largo de la línea */
  margin: 32px auto; /* centrado con buen espacio arriba/abajo */
  background-color: #009ADB; /* --e-global-color-secondary */
  opacity: 0.9;
}

/* Variante sutil más ancha en pantallas chicas */
@media (max-width: 640px) {
  .article-body hr {
    width: 60px;
    margin: 24px auto;
  }
}

audio{width: 100%;}
.tituloAudio{
  font-weight: bold!important;
  color: #173160;
  margin-bottom: 3px!important;
}
.tituloAudio i{
  background: none;
}
.article-tags{
	width: 100%;
}
