/**
 * Prosa editorial (solo módulo de contenido; no toca el menú lateral de Inner.ascx).
 *
 * Inner.ascx: artículo típico en #SidePane (col-9) o, si aplica, en #ContentPane (franja arriba).
 * Estructura: #siteWrapper > #ContentPane | > .container .row > aside (col-3) + #SidePane (col-9).
 *
 * Módulo: <article class="ct-prose ct-prose--panel" lang="es"> (panel = ficha plana, sin caja de blog)
 * clases: .ct-prose, .ct-prose--panel, .ct-figure, .ct-cta, .ct-dnn-flatten
 *
 * Requiere: portal-tokens.css (vía @import; skin.css carga portal-content al inicio).
 */
@import url("portal-tokens.css");

/* Reset local solo dentro del artículo (gana a reglas globales del skin en h1–h6) */
.ct-prose,
.ct-prose * {
  box-sizing: border-box;
}

/* Módulo DNN: caja contenedora transparente (evita doble marco con .ct-prose--panel) */
.DnnModule .DnnModuleContent:has(.ct-prose),
.DnnModule .DNNModuleContent:has(.ct-prose) {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* Inner.ascx: columna de contenido (#SidePane) y franja #ContentPane */
#siteWrapper #SidePane {
  min-width: 0; /* evita desbordes con grid Bootstrap en columnas */
}
#siteWrapper #SidePane,
#siteWrapper #ContentPane {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}
/* Centrado de la columna de ayuda: el módulo ocupa 100% y .ct-prose fija ancho y margin:auto */
#siteWrapper #SidePane .DnnModule:has(.ct-prose),
#siteWrapper #ContentPane .DnnModule:has(.ct-prose) {
  display: block;
  width: 100%;
  max-width: 100%;
}
#siteWrapper #SidePane .DnnModule .DNNModuleContent:has(.ct-prose),
#siteWrapper #ContentPane .DnnModule .DNNModuleContent:has(.ct-prose) {
  max-width: 100%;
  margin-inline: auto;
}
@media (min-width: 768px) {
  #siteWrapper #SidePane {
    padding-left: 0.5rem;
  }
}
/* Aplanar módulos con .ct-prose dentro de los panes de Inner (por si gana otra hoja) */
#siteWrapper #SidePane .DnnModule .DnnModuleContent:has(.ct-prose),
#siteWrapper #SidePane .DnnModule .DNNModuleContent:has(.ct-prose),
#siteWrapper #ContentPane .DnnModule .DnnModuleContent:has(.ct-prose),
#siteWrapper #ContentPane .DnnModule .DNNModuleContent:has(.ct-prose) {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* Envoltorio opcional si hace falta márgenes sin barra: solo hijo directo del módulo */
.ct-prose--embed {
  width: 100%;
  max-width: min(var(--ct-prose-width) + 4rem, 100vw - 1.5rem);
  margin-inline: auto;
}

.ct-prose {
  --ct-cp: var(--ct-prose-pad);
  font-family: var(--ct-font);
  color: var(--ct-ink-muted);
  font-size: var(--ct-text);
  line-height: var(--ct-leading);
  max-width: var(--ct-prose-width);
  width: 100%;
  margin-inline: auto;
  text-align: start;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Ficha informativa (no “post” de blog): plana, sin marco redondeado ni sombra; funde con #fff de la columna */
.ct-prose--panel {
  color: var(--ct-ink-muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: var(--ct-cp) 0;
  padding-top: 0.25rem;
  padding-bottom: 2.5rem;
  max-width: var(--ct-prose-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Títulos: `article` eleva la especificidad (gana a reglas globales del skin más abajo) */
article.ct-prose h1,
.ct-prose h1 {
  font-family: var(--ct-font);
  color: var(--ct-ink);
  font-size: clamp(1.5rem, 0.5rem + 2.2vw, 1.9rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  margin: 0 0 1.25rem;
  max-width: 100%;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ct-ink) 10%, #fff 90%);
}
/* Inner #SidePane: títulos menos “negro puro”, acorde con el azul de marca (integración con menú) */
#siteWrapper .ct-inner-main article.ct-prose h1,
#siteWrapper .ct-inner-main .ct-prose h1,
#siteWrapper #SidePane article.ct-prose h1 {
  color: color-mix(in srgb, var(--ct-ink) 78%, var(--ct-brand) 22%);
  border-bottom-color: color-mix(in srgb, var(--ct-brand) 14%, #fff 86%);
}
article.ct-prose h2,
.ct-prose h2 {
  font-family: var(--ct-font);
  color: var(--ct-brand);
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.05rem);
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: var(--ct-section-y) 0 0.6rem 0;
  padding-top: 0;
  border: 0;
}
/* 2.º, 3.º… h2: un solo trazo liso (sin estética de widget) */
article.ct-prose h2 ~ h2,
.ct-prose h2 ~ h2 {
  padding-top: 1.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid color-mix(in srgb, var(--ct-ink) 7%, #fff 93%);
}
/* Primer h2 de la ficha, pegado al lead (sobrescribe el margin general del h2) */
article.ct-prose h1 + p + h2,
article.ct-prose h1 + h2,
.ct-prose h1 + p + h2,
.ct-prose h1 + h2 {
  margin: 0.4rem 0 0.65rem 0;
  padding-top: 0;
  border-top: 0;
}
article.ct-prose h3,
article.ct-prose h3 b,
article.ct-prose h3 strong,
.ct-prose h3,
.ct-prose h3 b,
.ct-prose h3 strong {
  font-family: var(--ct-font);
  color: var(--ct-ink);
  font-size: var(--ct-text-lg);
  line-height: 1.35;
  font-weight: 700;
  margin: 1.35rem 0 0.65rem;
}
/* Aviso informativo: bloque pleno, bordes rectos */
article.ct-prose h4,
.ct-prose h4 {
  font-family: var(--ct-font);
  color: var(--ct-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 1.5rem 0 0.5rem;
  padding: 0.65rem 0.85rem 0.7rem 0.65rem;
  background: #f0f4f8;
  border: 0;
  border-left: 3px solid var(--ct-brand);
  border-radius: 0;
  text-transform: none;
}
article.ct-prose p,
.ct-prose p {
  margin: 0 0 1.1rem;
  color: var(--ct-ink-muted);
  line-height: var(--ct-leading);
  max-width: 65ch;
  font-size: var(--ct-text);
}
/* Lead opcional: primer párrafo puede destacar con .ct-prose p.lead o solo mayor contraste vía p:first-of-type */
article.ct-prose > p:first-of-type,
.ct-prose > p:first-of-type {
  color: var(--ct-ink);
  font-size: var(--ct-text-lg);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 1.35rem;
  max-width: 65ch;
}
article.ct-prose a,
.ct-prose a {
  color: var(--ct-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  font-weight: 600;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
article.ct-prose a:hover,
.ct-prose a:hover {
  color: var(--ct-brand-hover);
  text-decoration-color: var(--ct-brand-hover);
}
/* Listas: listado claro, sin reglas horizontales entre renglones (no estilo tabla/blog) */
article.ct-prose ul,
.ct-prose ul {
  margin: 0.35rem 0 1.35rem 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
}
article.ct-prose ol,
.ct-prose ol {
  margin: 0.35rem 0 1.35rem 0;
  list-style: decimal;
  list-style-position: outside;
  padding: 0 0 0 1.2rem;
  max-width: 100%;
}
article.ct-prose ul li,
article.ct-prose ol li,
.ct-prose ul li,
.ct-prose ol li {
  color: var(--ct-ink-muted);
  line-height: 1.55;
  font-size: var(--ct-text);
}
article.ct-prose ul li,
.ct-prose ul li {
  position: relative;
  margin: 0 0 0.2rem;
  padding: 0.2rem 0 0.25rem 1.1rem;
  list-style: none;
  border: 0;
}
article.ct-prose ol li,
.ct-prose ol li {
  position: static;
  margin: 0 0 0.2rem 0.15rem;
  padding: 0.2rem 0 0.25rem 0;
  display: list-item;
  list-style: inherit;
  border: 0;
}
article.ct-prose ul li::before,
.ct-prose ul li::before {
  content: "·";
  position: absolute;
  left: 0.05rem;
  top: 0.1em;
  font-size: 1.4em;
  line-height: 1;
  font-weight: 700;
  color: var(--ct-brand);
}
article.ct-prose ol li::before,
.ct-prose ol li::before {
  content: none;
  display: none;
}
/* Imágenes */
.ct-figure,
.ct-prose figure {
  margin: 1.1rem 0 0.25rem;
  padding: 0;
  max-width: 18rem;
}
.ct-figure a,
article.ct-prose figure a,
.ct-prose figure a {
  display: inline-block;
  line-height: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  transition: opacity 0.15s ease;
}
.ct-figure a:hover,
article.ct-prose figure a:hover,
.ct-prose figure a:hover {
  transform: none;
  opacity: 0.9;
  box-shadow: none;
}
.ct-figure img,
article.ct-prose figure img,
.ct-prose figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 8.5rem;
  object-fit: cover;
  vertical-align: top;
}
/* Línea CTA bajo cinta informativa */
.ct-cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--ct-ink-faint);
  font-weight: 500;
  margin: 0.1rem 0 0.75rem;
  padding: 0;
  font-family: var(--ct-font);
}
.ct-cta::before {
  content: "→";
  color: var(--ct-brand);
  font-weight: 700;
  flex-shrink: 0;
}

.DnnModule .DNNModuleContent .ct-prose--panel,
.DnnModule .DnnModuleContent .ct-prose--panel {
  min-height: 0;
}

/* Sin :has: en el módulo, clase manual al contenedor */
.DnnModule .DnnModuleContent.ct-dnn-flatten,
.DnnModule .DNNModuleContent.ct-dnn-flatten {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#siteWrapper #SidePane .DnnModule .DnnModuleContent.ct-dnn-flatten,
#siteWrapper #SidePane .DnnModule .DNNModuleContent.ct-dnn-flatten,
#siteWrapper #ContentPane .DnnModule .DnnModuleContent.ct-dnn-flatten,
#siteWrapper #ContentPane .DnnModule .DNNModuleContent.ct-dnn-flatten {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* —— Móvil y tableta: texto legible, nada de desborde —— */
@media (max-width: 575.98px) {
  .ct-prose--panel,
  article.ct-prose--panel,
  .ct-prose.ct-prose--panel {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    border-radius: 0;
  }
  article.ct-prose h1,
  .ct-prose h1 {
    font-size: 1.45rem;
    max-width: 100%;
  }
  .ct-figure,
  .ct-prose figure {
    max-width: min(12rem, 100%);
  }
  .ct-figure img,
  .ct-prose figure img {
    max-width: 100%;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .ct-prose--panel,
  article.ct-prose--panel {
    max-width: 100%;
  }
  #siteWrapper .ct-inner-main {
    margin-bottom: 0.5rem;
  }
}
/* Evitar desborde en columnas; salto de palabras en prosa */
#siteWrapper .ct-inner-main,
#siteWrapper #SidePane {
  min-width: 0;
}
#siteWrapper .DnnModule .DNNModuleContent,
#siteWrapper .DnnModule .DnnModuleContent {
  max-width: 100%;
}
#siteWrapper .ct-prose {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
#siteWrapper .ct-prose img,
#siteWrapper .ct-prose table {
  max-width: 100%;
  height: auto;
}

/* —— FAQ (embajadas, listas dl-like): sin viñeta genérica de .ct-prose ul —— */
article.ct-prose ul.faq,
.ct-prose ul.faq {
  list-style: none;
  margin: 0.75rem 0 1.75rem;
  padding: 0;
  max-width: 100%;
}
article.ct-prose ul.faq > li,
.ct-prose ul.faq > li {
  position: static;
  list-style: none;
  border: 0;
}
article.ct-prose ul.faq > li::before,
.ct-prose ul.faq > li::before {
  content: none;
  display: none;
}
article.ct-prose ul.faq li.cQuestion,
.ct-prose ul.faq li.cQuestion {
  margin: 1.5rem 0 0.35rem;
  padding: 0.5rem 0 0.35rem;
  border-top: 1px solid color-mix(in srgb, var(--ct-ink) 7%, #fff 93%);
  font-size: var(--ct-text-lg);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ct-brand);
  letter-spacing: 0.02em;
}
article.ct-prose ul.faq li.cQuestion:first-child,
.ct-prose ul.faq li.cQuestion:first-child {
  margin-top: 0.35rem;
  border-top: 0;
  padding-top: 0.15rem;
}
article.ct-prose ul.faq li.cQuestion a,
.ct-prose ul.faq li.cQuestion a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ct-brand) 35%, transparent 65%);
}
article.ct-prose ul.faq li.cQuestion a:hover,
.ct-prose ul.faq li.cQuestion a:hover {
  color: var(--ct-brand-hover);
  border-bottom-color: var(--ct-brand-hover);
}
article.ct-prose ul.faq li.cAnswer,
.ct-prose ul.faq li.cAnswer {
  margin: 0 0 0.5rem;
  padding: 0.15rem 0 1.15rem 0.15rem;
  max-width: 100%;
  border-left: 3px solid color-mix(in srgb, var(--ct-ink) 8%, #fff 92%);
  padding-left: 0.9rem;
}
article.ct-prose ul.faq li.cAnswer::after,
.ct-prose ul.faq li.cAnswer::after {
  content: "";
  display: table;
  clear: both;
}
article.ct-prose ul.faq li.cAnswer p,
.ct-prose ul.faq li.cAnswer p {
  max-width: 100%;
  text-align: start !important; /* coherente con prosa; vence estilos en línea del CMS */
}
/* Bandera / icono a la izquierda del texto */
article.ct-prose ul.faq li.cAnswer img,
article.ct-prose .img-left.img-content,
article.ct-prose img.img-left,
.ct-prose ul.faq li.cAnswer img,
.ct-prose .img-left.img-content,
.ct-prose img.img-left {
  float: left;
  display: block;
  width: 6.25rem;
  max-width: 28%;
  height: auto;
  margin: 0.15rem 1rem 0.5rem 0;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
  border: 0;
}
@media (max-width: 575.98px) {
  article.ct-prose ul.faq li.cAnswer img,
  article.ct-prose .img-left.img-content,
  .ct-prose ul.faq li.cAnswer img,
  .ct-prose .img-left.img-content {
    float: none;
    max-width: 5.5rem;
    margin: 0 0 0.6rem 0;
  }
}

/* —— Tablas (comunicaciones .Table, moneda) —— */
article.ct-prose .ct-table-scroll,
.ct-prose .ct-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: 0;
}
article.ct-prose table.Table,
article.ct-prose table[border],
.ct-prose table.Table,
.ct-prose table[border] {
  width: 100% !important;
  min-width: min(100%, 20rem);
  border-collapse: collapse;
  background: #fff;
  color: var(--ct-ink-muted);
  font-size: var(--ct-text);
  line-height: 1.45;
  border: 1px solid color-mix(in srgb, var(--ct-ink) 12%, #fff 88%);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ct-ink) 6%, #fff 94%);
}
article.ct-prose table.Table th,
article.ct-prose table.Table td,
article.ct-prose table[border] th,
article.ct-prose table[border] td,
.ct-prose table.Table th,
.ct-prose table.Table td,
.ct-prose table[border] th,
.ct-prose table[border] td {
  border: 1px solid color-mix(in srgb, var(--ct-ink) 10%, #fff 90%);
  padding: 0.55rem 0.65rem;
  vertical-align: top;
  text-align: start;
  word-break: break-word;
}
article.ct-prose table.Table th,
article.ct-prose table[border] th,
.ct-prose table.Table th,
.ct-prose table[border] th {
  font-weight: 700;
  color: var(--ct-ink);
  background: color-mix(in srgb, var(--ct-brand) 6%, #fff 94%);
}
article.ct-prose table.Table caption,
.ct-prose table.Table caption {
  caption-side: top;
  text-align: start;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ct-ink);
  margin-bottom: 0.4rem;
}

/* —— Acordeón nativo <details> (moneda y otras fichas) —— */
article.ct-prose details,
.ct-prose details {
  margin: 0.65rem 0 0.5rem;
  border: 1px solid color-mix(in srgb, var(--ct-ink) 10%, #fff 90%);
  background: #fff;
  max-width: 100%;
}
article.ct-prose details[open],
.ct-prose details[open] {
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ct-ink) 5%, #fff 95%);
}
article.ct-prose details summary,
.ct-prose details summary {
  cursor: pointer;
  list-style: none;
  padding: 0.65rem 0.9rem;
  user-select: none;
}
article.ct-prose details summary::-webkit-details-marker,
.ct-prose details summary::-webkit-details-marker {
  display: none;
}
article.ct-prose details summary::marker,
.ct-prose details summary::marker {
  content: "";
  display: none;
}
article.ct-prose details > summary h2,
.ct-prose details > summary h2 {
  margin: 0;
  padding: 0;
  border: 0;
  display: inline;
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.05rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ct-ink);
}
article.ct-prose details > div,
article.ct-prose details > p,
.ct-prose details > div,
.ct-prose details > p {
  padding: 0 0.9rem 0.85rem 0.9rem;
  border-top: 1px solid color-mix(in srgb, var(--ct-ink) 6%, #fff 94%);
  margin: 0;
  max-width: 100%;
}
article.ct-prose details > div > *:first-child,
.ct-prose details > div > *:first-child {
  margin-top: 0.6rem;
}

/* Listas heredadas de Word: respetan list-style y no duplican viñeta .ct-prose */
article.ct-prose ul[style*="list-style"] li::before,
.ct-prose ul[style*="list-style"] li::before {
  content: none;
  display: none;
}
article.ct-prose ul[style*="list-style"] li,
.ct-prose ul[style*="list-style"] li {
  list-style: inherit;
  list-style-position: outside;
  margin: 0 0 0.4rem 1.2rem;
  padding: 0.1rem 0 0.1rem 0.2rem;
  position: static;
  display: list-item;
}

/* —— Iframes (Passporter, mapas) —— */
#siteWrapper article.ct-prose iframe,
#siteWrapper .ct-prose iframe {
  max-width: 100%;
  width: 100% !important;
  min-height: 16rem;
  max-height: min(28rem, 80vh);
  display: block;
  margin: 1rem 0 1.35rem;
  border: 0;
  background: color-mix(in srgb, var(--ct-ink) 4%, #fff 96%);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ct-ink) 5%, #fff 95%);
  vertical-align: top;
}
#siteWrapper .ct-prose p:has(> iframe:only-child) {
  max-width: 100%;
  margin: 0 0 1.1rem;
  line-height: 0;
}

/* —— Rejilla de medios: logos, galería de imágenes —— */
article.ct-prose .ct-media-grid,
.ct-prose .ct-media-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  margin: 0.9rem 0 1.35rem;
  padding: 0;
}
article.ct-prose .ct-media-grid--cards,
.ct-prose .ct-media-grid--cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1rem;
  align-items: start;
  justify-content: start;
  margin: 0.6rem 0 1.5rem;
}
article.ct-prose .ct-media-tile,
.ct-prose .ct-media-tile {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  max-width: 100%;
  transition: opacity 0.15s ease;
}
article.ct-prose a.ct-media-tile:hover,
.ct-prose a.ct-media-tile:hover {
  opacity: 0.92;
}
article.ct-prose .ct-media-tile img,
.ct-prose .ct-media-tile img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  max-height: 6.5rem;
  vertical-align: top;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
article.ct-prose .ct-media-grid--cards .ct-media-tile img,
.ct-prose .ct-media-grid--cards .ct-media-tile img {
  max-height: none;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Figura pase ancho (banners) */
article.ct-prose .ct-figure--wide,
.ct-prose .ct-figure--wide {
  max-width: min(100%, 40rem);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
article.ct-prose .ct-figure--wide img,
.ct-prose .ct-figure--wide img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: top;
}

/* h2 con sello a la izquierda (Transporte) */
article.ct-prose h2.ct-h2-ribbon,
article.ct-prose h2.ct-h2-ribbon b,
.ct-prose h2.ct-h2-ribbon,
.ct-prose h2.ct-h2-ribbon b {
  overflow: hidden; /* BFC, limpia float */
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.05rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: start;
  text-transform: none;
  color: var(--ct-ink);
}
article.ct-prose h2.ct-h2-ribbon .ct-h2-ribbon__img,
.ct-prose h2.ct-h2-ribbon .ct-h2-ribbon__img {
  float: left;
  max-width: 5.5rem;
  width: auto;
  height: auto;
  margin: 0.1rem 0.85rem 0.35rem 0;
  display: block;
  border: 0;
  object-fit: contain;
}

/* Contenedor general del formulario */
.newsletter-form-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

/* Inputs */
.newsletter-form-wrapper input,
.newsletter-form-wrapper select,
.newsletter-form-wrapper textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Evita que el label se parta en dos líneas */
.newsletter-form-wrapper .form-label-col {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

/* Mensajes de error debajo de cada input */
.newsletter-form-wrapper .field-validation-error,
.newsletter-form-wrapper .text-danger,
.newsletter-form-wrapper .dnnFormError,
.newsletter-form-wrapper .dnnFormMessage.dnnFormError {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 6px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    background: #fff5f5 !important;
    border: 1px solid #dc3545 !important;
    color: #842029 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Resumen de errores superior */
.validation-summary-errors,
.dnnFormValidationSummary,
.dnnFormMessage.dnnFormError,
div.dnnFormMessage.dnnFormError,
ul.dnnFormMessage.dnnFormError {
    max-width: 760px !important;
    margin: 0 auto 24px auto !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    background: #fff5f5 !important;
    border: 1px solid #dc3545 !important;
    color: #842029 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Textos dentro del resumen */
.validation-summary-errors *,
.dnnFormValidationSummary *,
.dnnFormMessage.dnnFormError * {
    color: #842029 !important;
}

/* Lista del resumen */
.validation-summary-errors ul,
.dnnFormValidationSummary ul,
.dnnFormMessage.dnnFormError ul {
    margin: 0 !important;
    padding-left: 20px !important;
}

.validation-summary-errors,
.dnnFormValidationSummary {
    display: none !important;
}

/* Responsive */
@media (max-width: 767px) {
    .newsletter-form-wrapper .form-label-col {
        text-align: left;
        white-space: normal;
        margin-bottom: 6px;
    }
}


.sectionBs5 .info-card a,
.sectionBs5 .info-card a:visited,
.sectionBs5 .info-card a:hover,
.sectionBs5 .info-card a:active,
.sectionBs5 .info-card a:focus {
    color: inherit !important;
    text-decoration: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}


.sectionBs5 .heading_wrapper h2 a,
.sectionBs5 .heading_wrapper h2 a:visited,
.sectionBs5 .heading_wrapper h2 a:hover,
.sectionBs5 .heading_wrapper h2 a:active,
.sectionBs5 .heading_wrapper h2 a:focus,
.sectionBs5 .heading_wrapper > a,
.sectionBs5 .heading_wrapper > a:visited,
.sectionBs5 .heading_wrapper > a:hover,
.sectionBs5 .heading_wrapper > a:active,
.sectionBs5 .heading_wrapper > a:focus {
    color: inherit !important;
    text-decoration: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}