.size11px {
	FONT-SIZE: 11px; FONT-FAMILY: Georgia
}
.size12px {
	FONT-SIZE: 12px; FONT-FAMILY: Georgia
}
.sizev11px {
	FONT-SIZE: 11px; FONT-FAMILY: Verdana
}
.sizev12px {
	FONT-SIZE: 12px; FONT-FAMILY: Verdana
}
.sizea11px {
	FONT-SIZE: 11px; FONT-FAMILY: Arial
}
.sizea12px {
	FONT-SIZE: 12px; FONT-FAMILY: Arial
}
a.link1:link {
	COLOR: #FFFFFF; text-decoration:none
}
a.link1:visited {
	COLOR: #FFFFFF; text-decoration:none
}
a.link1:hover {
	COLOR: #f7941d; text-decoration:none
}
a.link2:link {
	COLOR: #680000;
}
a.link2:visited {
	COLOR: #680000;
}
a.link2:hover {
	COLOR: #f7941d;
}
a.link3:link {
	COLOR: #FFFFFF;
}
a.link3:visited {
	COLOR: #FFFFFF;
}
a.link3:hover {
	COLOR: #f7941d;
}
a.link4:link {
	COLOR: #0066cc;
}
a.link4:visited {
	COLOR: #0066cc;
}
a.link4:hover {
	COLOR: #0099ff;
}
.forminput {
	BORDER-RIGHT: #000000 1px solid;
	BORDER-TOP: #000000 1px solid;
	FONT-SIZE: 11px;
	BORDER-LEFT: #000000 1px solid;
	COLOR: #000000;
	BORDER-BOTTOM: #000000 1px solid;
	FONT-FAMILY: Arial;
	BACKGROUND: #ffffff;
	SELECT COLOR: #ffffff;
}
.button {
	BORDER-RIGHT: #000000 1px solid;
	BORDER-TOP: #000000 1px solid;
	FONT-SIZE: 11px;
	BORDER-LEFT: #000000 1px solid;
	COLOR: #000000;
	BACKGROUND: #ffffff;
	BORDER-BOTTOM: #000000 1px solid;
	FONT-FAMILY: Arial;
}
/* ======== Modernizaci贸n Impacta 2025 ======== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: #2a2a2a !important;
  background-color: #f6f6f6 !important;
}

table {
  max-width: 1000px !important;
  margin: 0 auto !important;
}

blockquote {
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 12px !important;
  padding: 30px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
  margin-top: 30px !important;
}

.size11px, .size12px, p, span {
  font-family: 'Poppins', sans-serif !important;
  font-size: 17px !important;
  color: #333 !important;
}

h1, h2, h3, h4, strong {
  font-family: 'Poppins', sans-serif !important;
  color: #800000 !important;
  font-weight: 600 !important;
}

a.link2 {
  color: #b90000 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
a.link2:hover {
  text-decoration: underline !important;
}

/* Imagen de evento (derecha) */
img[align="right"] {
  border-radius: 12px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2) !important;
  max-width: 280px !important;
  height: auto !important;
  margin-left: 25px !important;
}

/* ===== Fecha (pestaña roja, texto blanco) ===== */
.fila-fecha,
.fila-fecha td {
  background: transparent !important; /* elimina franja vino */
  border: none !important;
  padding: 0 !important;
}

.fila-fecha .size11px {
  background-color: #b90000 !important; /* rojo Impacta */
  color: #ffffff !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-block !important;  /* solo del tamaño del texto */
  width: auto !important;            /* evita expandirse */
}

/* === Fix Visual Impacta 2025 (NO TOCAR PHP) === */

/* Tipografías aprobadas */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@600;700&display=swap');

/* Base: no cambiamos tamaños, solo fuente */
body, p, td, span, li, .size11px, .size12px {
  font-family: 'Lato', Arial, sans-serif !important;
}

/* Títulos en Montserrat (mismo tamaño que ya tenías) */
h1, h2, h3, h4, h5, h6,
.titulo, .titular, .titulo-seccion, .titulo_evento, .boldtitle {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 700 !important;
}

/* Imagen del banner: ocupa todo el ancho disponible del contenedor sin dejar márgenes.
   Si el contenedor ya está a 986x128, la imagen se ajusta a eso. */
#banner-principal img, .banner-principal img, .topbanner img {
  display: block !important;
  margin: 0 auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: 986px !important;   /* el ancho que ya usabas */
}

/* Botonera superior: mantenemos tamaño, solo afinamos la legibilidad */
a, .link2, .menu a, .nav a, .topmenu a, .botonera a {
  font-family: 'Lato', Arial, sans-serif !important;
  text-decoration: none;
}

/* Copyright (pie) SIEMPRE en blanco sobre fondo vino */
#footer, .pie, .piepagina, .copyright, .copy, .footcopy {
  color: #fff !important;
}
#footer a, .pie a, .piepagina a, .copyright a, .copy a, .footcopy a {
  color: #fff !important;
  text-decoration: underline;
}

/* Por si el copyright está dentro de un TD con fondo vino */
td[bgcolor="#b90000"], table[bgcolor="#b90000"] td {
  color: #fff !important;
}
td[bgcolor="#b90000"] a, table[bgcolor="#b90000"] td a {
  color: #fff !important;
  text-decoration: underline;
}

/* Suavizamos el texto dentro de tarjetas blancas (no cambia tamaño) */
blockquote, .card, .caja, .contenedor-blanco {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* === Fix solo para la franja de la fecha sobre el banner === */

/* Elimina cualquier fondo/banda del contenedor de la fecha */
tr.fila-fecha,
tr.fila-fecha td {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Por si algún pseudo-elemento pinta la franja */
tr.fila-fecha::before,
tr.fila-fecha::after,
tr.fila-fecha td::before,
tr.fila-fecha td::after {
  content: none !important;
  background: transparent !important;
  display: none !important;
}

/* Desactiva pestañas decorativas que algunos templates agregan al banner */
#banner-principal::before,
#banner-principal::after,
.banner-principal::before,
.banner-principal::after,
.topbanner::before,
.topbanner::after {
  content: none !important;
  background: transparent !important;
  display: none !important;
}

/* La fecha en formato “pestaña” SOLO del ancho del texto */
tr.fila-fecha .size11px {
  background: #b90000 !important;
  color: #fff !important;
  display: inline-block !important;
  width: auto !important;
  padding: 4px 12px !important;
  border-radius: 12px 12px 0 0 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}
/* Quitar banda vino del separador si existe */
.sep, .sep td { 
  background: transparent !important; 
  background-image: none !important;
  box-shadow: none !important;
}

/* Quitar fondo del TR/TD que contiene el banner (fila inmediatamente después de la fecha) */
.fila-fecha + tr,
.fila-fecha + tr td {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Si el banner está en otra tabla anidada dentro de ese TD */
.fila-fecha + tr td table,
.fila-fecha + tr td table tr,
.fila-fecha + tr td table td {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
}

/* Pastilla de fecha, solo ancho del texto */
.fila-fecha .size11px{
  background:#b90000 !important; color:#fff !important;
  display:inline-block !important; width:auto !important;
  padding:4px 12px !important; border-radius:12px 12px 0 0 !important;
  font-weight:600 !important; font-size:14px !important; line-height:1.2 !important;
  position:relative; z-index:2;
}