*, ::after, ::before {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
/*  display: table;*/
} 

body {
  font-size: clamp(0.95rem, 1vw, 1rem); /* ~15.2px–16.8px */
  line-height: 1.6;
  font-weight: 400;
  color: var(--body);
  font-family: var(--font-body);
  background-color: var(--bg-body);
}

p {
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titulos);
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem); /* 32px–40px */
  /*line-height: 1.2;*/
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2rem); /* 28px–32px */
  /*line-height: 1.3;*/
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 1.75rem); /* 24px–28px */
  /*line-height: 1.3;*/
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 3vw, 1.5rem); /* 20px–24px */
  /*line-height: 1.4;*/
  font-weight: 500;
}

h5 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem); /* 18px–20px */
  /*line-height: 1.4;*/
  font-weight: 500;
}

h6 {
  font-size: clamp(1rem, 2vw, 1rem); /* 16px */
  /*line-height: 1.5;*/
  font-weight: 500;
}

a {
  text-decoration: none;
  color: var(--vino);
  transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
  /*transform: translateY(-2px);*/
  color: var(--dorado);
}

:focus-visible {
  outline: 2px dashed var(--dorado);
  outline-offset: 2px;
}

/* Mejor foco para links y botones */
a:focus, button:focus {
  outline: 2px dashed var(--dorado);
  outline-offset: 2px;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/*ul {
  list-style: none;
  padding: 0;
  margin: 0;
}*/

/* ===============================
  Definir colores
================================== */
:root {
  --body:#242424;
  --font-titulos:"Bebas Neue", sans-serif;
  --font-body:"Montserrat", sans-serif;
  --vino: #840224;
  --vino-rgb: 132, 2, 36;
/*  --dorado:#BC955B;
  --gris:#53565A;
  --beige:#FCFBF8;
  --vino-o: #4e0b15;*/
  --bg-body:#FFFDF6;
}

/* ===============================
   Utilidades de Color – Texto
================================== */
.text-body    { color: var(--body) !important; }
.text-vino    { color: var(--vino) !important; }
/*.text-vino-o  { color: var(--vino-o) !important; }
.text-dorado  { color: var(--dorado) !important; }
.text-gris    { color: var(--gris) !important; }
.text-beige   { color: var(--beige) !important; }*/


/* ===============================
   Utilidades de Color – Fondo
================================== */
.bg-body    { background-color: var(--body) !important; }
.bg-vino    { background-color: var(--vino) !important; }
/*.bg-vino-o  { background-color: var(--vino-o) !important; }
.bg-dorado  { background-color: var(--dorado) !important; }
.bg-gris    { background-color: var(--gris) !important; }
.bg-beige   { background-color: var(--beige) !important; }*/


/* ===============================
   Utilidades de Color – Bordes
================================== */
.border-vino    { border-color: var(--vino) !important; }
/*.border-vino-o  { border-color: var(--vino-o) !important; }
.border-dorado  { border-color: var(--dorado) !important; }
.border-gris    { border-color: var(--gris) !important; }*/

/* ===============================
   Boton y Hover
================================== */
.btn-vino {
  background-color: var(--vino) !important;
  color: #fff !important;
  border: none !important;
}

.btn-vino:hover,
.btn-vino:focus {
  background-color: var(--vino-o) !important;
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(171, 23, 56, 0.5);
}

/* ===============================
   Scroll Top / Preloader
================================== */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  cursor: pointer;
  width: 60px;
  height: 60px;
  display: none; 
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.scroll-top:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.progress-circle {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: none;
  stroke-width: 5;
}
.progress-circle .progress {
  stroke: var(--vino);
  fill: #fff;
  stroke-dasharray: 157; /* 2πr */
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 0.2s linear;
}

.scroll-top .arrow {
  position: relative;
  font-size: 20px;
  color: var(--vino);
  pointer-events: none;
  animation: pulse 1.5s infinite;
}

/* Animación pulso */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/*Preloader*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.4s ease;
}

/* Animación spinner */
.spinner {
  width: 70px;
  height: 70px;
  border: 5px solid rgba(171, 23, 56, 0.2); /* var(--vino) con opacidad */
  border-top-color: var(--vino);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/******************************
 * ** Estilos clases propias ** ***********
 * */
.fancybox__container{
  z-index: 9999;
}
/* ===============================
   Header 
   ============================== */
#header {
  z-index: 9999;
  width: 100%;
  background-color: var(--bg-body);
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: relative;
}

#row-menu-header {
  height: 80px;
}

body.is-sticky #contenido-fix {
  position: fixed;
  top: var(--adminbar, 0px);
  left: 0;
  right: 0;
  z-index: 1100;
  background: #fff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  opacity: 0.95;
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
}

body.is-sticky #contenido-fix.is-visible {
  opacity: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* El spacer evita el salto de contenido */
#header-spacer {
  height: 0;
  transition: none;
}

/* Logo */
#header .logo-home {
  z-index: 1;
  transition: all 0.4s ease-in-out;
  height: 80px;
  position: relative;
}

#header .logo-home .img-logo-home {
  max-height: 50px;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  transform-origin: left;
}

body.is-sticky #header .logo-home .img-logo-home {
  max-height: 40px;
  transform: scale(0.9);
  opacity: 0.9;
}

/* Nav */
body.is-sticky #menu-container li a {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  padding: 6px 16px;
}

/* extra espacio a la derecha sólo para los que tienen submenú */
body.is-sticky #menu-container li.padre > a {
  padding-right: 25px;
}

/*Activo para scroll*/
#menu-container li.padre a::before{
  padding-right: 25px;
}

#menu-container li a::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 16px;   
  right: 16px;  
  height: 1px;
  background-color: var(--vino);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}
#menu-container a.active-section {
  color: var(--vino);
  font-weight: 600;
}

#menu-container a.active-section::before {
  transform: scaleX(1);
}
/* =========================
   Nav estilos menu/submenus
   ========================= */
#menu-container{
  display: flex;
  align-items: center;
  height: 100%;
}

#menu-menu-principal {
  display: flex;
  align-items: center;   /* centra los li hijos */
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Los li del primer nivel */
#menu-menu-principal > li {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Los li de submenús vuelven a ser bloques normales */
#menu-menu-principal li ul li {
  display: block;
  height: auto;
  align-items: initial;
}

#menu-container li {
  float: left;
  border: 0;
  transition: all .3s ease;
  position: relative;
  height: 100%;
}

#menu-container li a {
  font-size: clamp(0.85rem, 1vw, 1rem);
  padding: 10px 20px;
  font-family: var(--font-body);
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--body);
  line-height: normal;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.18s ease, padding 0.3s ease;
  position: relative;
}

/* Cambia color según el estado del header:
/*#header:not(.fixed-header) #menu-container li a { color: #fff; }
#header.fixed-header #menu-container li a { color: var(--body); }
#header.fixed-header #menu-container li:hover > a { color: var(--vino); }*/

#menu-container .menu-item-has-children > a { position: relative; padding-right: 30px; }

#menu-container .menu-item-has-children > a::after {
  content: "\f105";
  font-family: "FontAwesome";
  font-size: 0.85rem;
  position: absolute;
  top: 50%;
  transform-origin: center;
  transform: translateY(-50%) rotate(90deg); 
  right: 9px;
  transition: transform .25s ease, color .18s ease;
  pointer-events: none;
  color: inherit;
}

/* subniveles: ajusta posición de la flecha */
#menu-container .sub-menu .menu-item-has-children > a::after { right: 10px; }

/* hover / focus / .open para animar la flecha */
/* nivel top: al abrir, rotamos para indicar "cerrar" (flecha hacia arriba) */
#menu-container > ul > li.menu-item-has-children:hover > a::after,
#menu-container > ul > li.menu-item-has-children:focus-within > a::after,
#menu-container > ul > li.menu-item-has-children.open > a::after {
  transform: translateY(-50%) rotate(270deg);
  color: var(--vino);
}

/* subniveles: cuando se abren, la flecha pasa de right -> down (rotate 0) */
#menu-container .sub-menu li.menu-item-has-children:hover > a::after,
#menu-container .sub-menu li.menu-item-has-children:focus-within > a::after,
#menu-container .sub-menu li.menu-item-has-children.open > a::after {
  transform: translateY(-50%) rotate(0deg);
  color: var(--vino);
}

/* corrección: selector anterior tenia .menu-container (clase) por error */
#menu-container .sub-menu> li:hover > a,
#menu-container .sub-menu li a:focus-within {
  color: var(--vino);
}

/* Dropdown */
@keyframes fade-in-out { 0% { opacity: 0; } 100% { opacity: 1; } }

#menu-container li ul {
  background-color: #fff;
  min-width: 230px;
  margin-top: -6px;
  border-radius: 4px;
  box-shadow: 0 33px 32px rgb(0 0 0 / 10%);
  padding: 10px;
  display: none;
  position: absolute;
  text-align: left;
  animation: fade-in-out .3s ease;
  z-index: 1200;
  top: calc(100% - 6px);
}

#menu-container li:hover > ul,
#menu-container a:focus-within + ul,
#menu-container li.open > ul {
  display: block;
  animation: fade-in-out .25s ease;
}

#menu-container li ul li { display: block; transition: all .3s ease; margin: 0; width: 100%; }
#menu-container li ul li a { text-transform: initial; transition: all .3s ease; }

/* Sub-submenus */
#menu-container li ul li ul {
  margin-left: -2px;
  left: 100%;
  top: -1px;
  z-index: 1;
}

#menu-container .sub-menu li a {
  font-family: var(--font);
  font-size: 12px;
  line-height: 14px;
  font-weight: 500;
  color: #444;
  padding: 12px 20px;
  display: block;
  transition: .3s ease;
  height: auto !important;
}

#menu-container li a:focus-visible {
  outline: 3px solid rgba(0,0,0,0.12);
  outline-offset: 2px;
}

/*clase directa desde menu aparencia*/
#menu-container .invert ul{
  right: 0;
  left: auto;
}

.menu-responsivo .offcanvas-backdrop {
  display: none !important;
}
/* =========================
   Menu Responsivo
   ========================= */
#header #barras-boton{
  cursor: pointer;
}

#header .nav-bars i{
  font-size: 30px;
  padding: 8px;
  color: var(--dorado);
  border: 1px solid var(--dorado);
  border-radius: 5px;
  cursor: pointer;
}

#header .menu-responsivo .offcanvas-header img{
  max-height: 50px;
}

#header .menu-responsivo .offcanvas-body .footer{
  font-size: 7px;
  line-height: normal;
}

#header .menu-responsivo .offcanvas-body .footer .logo-r img{
  max-height: 80px;
}

#row-menu-movil {
  border-top: 1px solid rgba(var(--vino-rgb), 0.25);
  /*border-bottom: 1px solid rgba(var(--vino-rgb), 0.25);*/
}

/*estilos menu*/
.nav-menu {
  position: relative;
  width: 100%;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  display: block;
  padding: 10px 40px 10px 15px; 
  text-decoration: none;
  transition: color 0.3s;
  color: var(--body);
}

.nav-menu li a.sub-open {
  font-weight: bold;
}

.nav-menu li.padre > a {
  display: block;
  position: relative; 
  padding: 10px 40px 10px 15px;
  text-decoration: none;
}

.nav-menu li.padre > a::after {
  content: "\f078"; 
  font-family: "FontAwesome";
  font-weight: 900;
  position: absolute;
  right: 15px;       
  top: 50%;
  transform: translateY(-50%) rotate(0deg); 
  transition: transform 0.3s;
}

.nav-menu li.padre.open > a::after {
  transform: translateY(-50%) rotate(180deg); 
  color: var(--vino);
}

.nav-menu .sub-menu.hijo {
  display: none; 
  padding-left: 15px;
}

#row-menu-movil::-webkit-scrollbar{
    -webkit-appearance: none;
}

#row-menu-movil::-webkit-scrollbar:vertical{
    width:10px;
}

#row-menu-movil::-webkit-scrollbar-button:increment,
#row-menu-movil::-webkit-scrollbar-button{
    display: none;
} 

#row-menu-movil::-webkit-scrollbar:horizontal{
    height: 10px;
}

#row-menu-movil::-webkit-scrollbar-thumb {
  background-color: #797979;
  border-radius: 20px;
  border: 3px solid #f1f2f3;
}

#row-menu-movil::-webkit-scrollbar-track {
    border-radius: 10px;  
}
/*fin header*/

/* ===============================
   Footer
================================== */
#footer {
  background-color: #242424;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Footer visible */
#footer.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Texto del footer */
#footer p {
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s; /* delay 0.3s */
}

#footer.visible p {
  opacity: 1;
  transform: translateY(0);
}

/*fin*/

 /******************************
 * ** Titulo y margen secciones ** ***************
 * */
.row-titulo{
  margin-bottom: 30px;
}


.row-titulo h2.titulo-row{
  font-size: clamp(1.75rem, 4vw, 2rem);
}

.row-titulo .borde-hr{
  position: relative;
  margin: 10px 0 0;   
}

.row-titulo .borde-hr hr{
  margin: 0;
}

.row-titulo .borde-hr::before{
  content: "";
  position: absolute;
  top: -2px;
  width: 100px;
  height: 5px;
  background: var(--vino);
}

.row-titulo.text-center .borde-hr::before{
  left: 50%;
  transform: translate(-50%, -50%);  
}

.section-margin{
  margin-bottom: 100px;
}

 /******************************
 * ** Separador Icon ** ***************
 * */
/* #separador{
  margin: 0 auto;
} */ 

#separador hr{
  z-index: 2;
}  


#separador img{
  max-height: 25px;
  top: -4px;
  right: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}  

 /******************************
 * ** Splash ** ***************
 * */
/*.splash-home{
  padding-top: 80px;
}*/

/*#splash-home .content-splash {
  min-height: 350px; 
}*/

#splash-home img.image-splash{
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

#splash-home .swiper-button-next, #splash-home .swiper-button-prev{
  color: var(--vino);
}

#splash-home .swiper-horizontal>.swiper-pagination-bullets, 
#splash-home .swiper-pagination-bullets.swiper-pagination-horizontal,
#splash-home .swiper-pagination-custom, #splash-home .swiper-pagination-fraction{
  /*bottom: 0!important;*/
  /*padding-bottom: 10px;*/
}

#splash-home .swiper-pagination-bullet-active{
  background: var(--vino);
}
/*fin splash home*/

 /******************************
 * ** Conocenos ** ***************
 * */
#bienvenida-info .content-info i{
  font-size: 85px;
  opacity: .2;
  right: 0;
  top: 25%;
}

#bienvenida-info .cols-gale img{
  width: 100%;     
  height: auto;      
  object-fit: contain; 
}

 /******************************
 * ** Iniciativas ** ***************
 * */
#iniciativas .cat-iniciativas .btn:hover{
  text-decoration: underline;
}
/*fin iniciativas*/

/* ===============================
 Mapa leaflet
================================== */
#mapa_leaflet{
  width: 100%;
  height: 600px;
}

#informacion-mapa{
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.info-bar {
  position: absolute;
  top: 0;
  right: -200%;
  /*width: 35%;*/
  width: clamp(280px, 30vw, 380px);
  max-width: none;
  height: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: -1px 1px 18px rgba(148,146,148,0.6);
  transform: translate3d(100%,0,0);
  transition: transform .35s ease, right .35s ease, opacity .35s;
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.info-bar.open {
  transform: translate3d(0,0,0);
  right: 0;
  opacity: 1;
}

#info-bar-close {
  position: absolute;
  left: -35px;
  top: 10px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  box-shadow: -15px 0px 15px 0px rgb(0 0 0 / 10%);
}

#imagen {
  height: 260px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#contenido { 
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  max-height: 340px;
}

#titulo_mapa { 
  font-weight:700; 
  text-transform:uppercase; 
  font-size: 1.1rem; 
}

#descripcion { 
  flex:1 1 auto; 
  color:#333; 
  line-height:1.4;
  overflow-x: hidden;
  overflow-y: scroll; 
}

#info-bar #contenido #descripcion::-webkit-scrollbar{
    -webkit-appearance: none;
}

#info-bar #contenido #descripcion::-webkit-scrollbar:vertical{
    width:10px;
}

#info-bar #contenido #descripcion::-webkit-scrollbar-button:increment,
#info-bar #contenido #descripcion::-webkit-scrollbar-button{
    display: none;
} 

#info-bar #contenido #descripcion::-webkit-scrollbar:horizontal{
    height: 10px;
}

#info-bar #contenido #descripcion::-webkit-scrollbar-thumb {
  background-color: #797979;
  border-radius: 20px;
  border: 3px solid #f1f2f3;
}

#info-bar #contenido #descripcion::-webkit-scrollbar-track {
    border-radius: 10px;  
}

/*leyenda mapa*/
.info.legend.leaflet-control{
  margin-right: 10px;
  background: rgb(255 255 255 / 41%);
  padding: 7px;
  border-radius: 5px;  
}

.info.legend.leaflet-control > div:last-child{
  margin-bottom: 0!important;
}

.leaflet-control-mouseposition.leaflet-control{
  margin-bottom: 10px!important;
}
/*buscador*/
.leaflet-control-search .search-input {
  width: 200px;
  outline: none;
  border: none!important;
  background: rgba(255, 255, 255, 0.08)!important;
  color: #333;
}

.leaflet-touch .leaflet-control-layers, 
.leaflet-touch .leaflet-bar, 
.leaflet-control.leaflet-control-search {
  border: none;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.60);
}

#mapa_leafle .leaflet-control-search .search-tooltip {
  box-shadow: none!important;
  background: none!important;
  min-width: 205px!important;
}
#mapa_leaflet .leaflet-control-search .search-tip {
  margin: 0;
  border-radius: 0;
  border-bottom: .5px solid #ddd;
  padding: 6px 10px;
  background: #fff;
}

#mapa_leafle .leaflet-control-search .search-tip-select, #mapa_leafle .leaflet-control-search .search-tip:hover {
  background-color: #eee;
}

/*regiones*/
.leaflet-pane .leaflet-interactive:not(.mask-polygon) {
  fill-opacity: 0.7;
}
.leaflet-pane .leaflet-interactive {
  fill: #23282e;
}
.leaflet-pane .leaflet-interactive.fronteriza,
.leaflet-pane .leaflet-interactive.valle-san-fernando,
.leaflet-pane .leaflet-interactive.centro,
.leaflet-pane .leaflet-interactive.altiplano,
.leaflet-pane .leaflet-interactive.el-mante,
.leaflet-pane .leaflet-interactive.sur {
  stroke: #DDC9A3;
  fill: #DDC9A3;
}
/*FIN regiones*/

/*filtros categorias*/
#filtro-mapa .item-tax label{
  cursor: pointer;
}

#filtro-mapa .item-tax input[type="checkbox"] {
  accent-color: white;
}

/*fin Mapa leaflet*/

 /******************************
 * ** Eventos ** ***************
 * */
#eventos .item-evento img {
  border-radius: 10px;
}

 /******************************
 * ** Esto es Tamaulipas (Galeria)** ***************
 * */
#galeria-home .row-titulo .borde-hr::before{
  background-color: #fff;
}

/* ===============================
 seccion Reels
================================== */
#reels-home .play-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  padding: 1rem;
}

#reels-home .play-btn:hover {
  transform: scale(1.1);
}

#reels-home .video-card {
  aspect-ratio: 3 / 4;
  /*height: clamp(220px, 34vw, 300px);*/
  background-color: #000;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: 10px;
}
#reels-home .video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

#reels-home .video-card:hover img {
  transform: scale(1.1);
}

#reels-home .video-card video {
  height: auto;
  display: block;
}

#reels-home .video-card i{
  opacity: .5;
}


/* ===============================
 Contacto Ubicaciones
================================== */
#sigue-contacto h2{
  font-family: var(--font-body)!important;
  margin-bottom: 30px;
  font-size: clamp(16px, 3.5vw, 28px);
}

#sigue-contacto .redes-sociales li a i{
  font-size: clamp(22px, 5vw, 40px);
}

#sigue-contacto .redes-sociales a:hover span.nombre-red{
  text-decoration: underline;
}

/* ===============================
 paginas interiores
================================== */
/* Breadcrumbs */ 
#breadcrumbs{
  margin: 35px 0;
}  

#breadcrumbs a{
  color: var(--vino);
  font-weight: 400;
  line-height: 25px;
}  

#breadcrumbs span span:first-child a{
  content: "";
  position: relative;
  width: 24px;
  float: left;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#breadcrumbs span span:first-child a:before{
  content: "\e3af";
  font: normal normal normal 14px / 1 FontAwesome;
  background: white;
  position: absolute;
  color: var(--vino);
  font-size: 16px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: start;
}

#breadcrumbs span:nth-child(2) a{
  font-weight: 500;
}

/* ===============================
Archive/taxonomy 
================================== */
#boletines-prensa .item-boletin img{
  border-radius: 10px;
}

#boletines-prensa .item-boletin h6{
  font-family:var(--font-open);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; 
  margin: 5px 0 10px;
}

#boletines-prensa .item-boletin h4{
  font-family: var(--font-titulos);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}

#boletines-prensa .item-boletin{
  font-family: var(--font-body);
  margin-bottom: 30px;
}

#boletines-prensa .item-boletin ul{
  padding-left: 20px!important;
  margin: 0;
}
#boletines-prensa .item-boletin ul li{
  list-style: disc;
  padding: 0.5rem 0.2rem;
}

#boletines-prensa .item-boletin ul li::marker {
  color: var(--vino);
}

#boletines-prensa .item-boletin ul li a{
  color: var(--gris-2);
  font-family: var(--font-open);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; 
}

/* ===============================
Single 
================================== */
.categories-date li{
  display: inline-block;
} 

.categories-date li{
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  font-style: var(--font-open);
}

#contenido-principal.single .article-content .row-titulo{
  margin-top: 30px;
}

#contenido-principal.page .article-content .row-titulo{
  margin-top: 0;
}

#compartir-nota{
  margin-bottom: 50px;
  font-size: 14px;
  font-weight: 600;
}

#compartir-convocatoria{
  margin-bottom: 50px;
  font-size: 14px;
  font-weight: 600;
}

#compartir-nota .addtoany_list{
  margin-left: 10px;
}

#compartir-nota .addtoany_list a{
  margin-right: 10px;
}

#contenido-principal .article-content{
  font-family: var(--font-open);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 26px;
}

article .row-titulo h1.titulo-row{
  font-size: 2rem;
}

article.article-content .entry blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  border-left: 5px solid #eee;
}

article.article-content .entry h1,
article.article-content .entry h2:not(.accordion-header),
article.article-content .entry h3,
article.article-content .entry h4,
article.article-content .entry h5,
article.article-content .entry h6{
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

article.article-content .entry h1{
  font-size: 1.75rem;  
}

article.article-content .entry h2:not(.accordion-header){
  font-size: 1.5rem;
}

article.article-content .entry h3{
  font-size: 1.25rem;
}

article.article-content .entry h4{
  font-size: 1rem;
}

article.article-content .entry h5{
  font-size: .75rem;
}

article.article-content .entry h6{
  font-size: .5rem;
}

article.article-content .entry strong,
article.article-content .entry b{
  font-weight: 600;
}

article.article-content .entry a:not(.btn,.alert-link){
  color: var(--vino);
  font-weight: 600;
}

article.article-content .entry img{
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

article.article-content .entry table.table{
  font-size: 14px;
}

article.article-content .entry table.table thead tr {
  border-top: 4px solid var(--vino);
}

article.article-content .entry table.table thead tr td {
  font-weight: 600;
  text-transform: uppercase;
  background: #f5f5f5;
}

article.article-content img.principal{
  border-radius: 10px;
}

article.article-content .img-galeria{
  border-radius: 5px;
}

article.article-content .swiper-gallery {
  padding-bottom: 40px;
}

.row-titulo h3.titulo-row {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin: 0;
}

/* Bootstrap */
.accordion-button{
  line-height: 1.4rem;
}

.accordion-button:not(.collapsed) {
  color: var(--vino);
  background-color: transparent;
  box-shadow: none;
}

.accordion-button:focus{
  box-shadow: none;
}
/* ===============================
Sidebar Ultimos Eventos 
================================== */
#sidebar-boletin-prensa .item-boletin{
  margin-bottom: 20px;
}

#sidebar-boletin-prensa .item-boletin .img-boletin{
  height: 80px;
  width: 80px;
  background-size: cover;
  background-position: center center;
  border-radius: 10px;
}

#sidebar-boletin-prensa .item-boletin .card{
  flex-direction: row;
  border:0;
}

#sidebar-boletin-prensa .item-boletin .card .card-body h4{
  font-family: var(--font);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; 
}

#sidebar-boletin-prensa .item-boletin .card .card-body a{
  color: var(--negro);
}

#sidebar-boletin-prensa .item-boletin .card .card-body h5{
  font-family: var(--font-open);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
}

#sidebar-boletin-prensa .item-boletin .card .card-body{
  width: calc(100% + -80px);
  padding-left: 15px!important;  
}

#sidebar-boletin-prensa .btn{
  margin-top: 30px;
}

/*.error404{
  width: 400px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 40px auto 0 auto;
}*/
/* ===============================
Sidebar Ultimos reels 
================================== */
#sidebar-reels .video-card {
  aspect-ratio: 4 / 5;
  background-color: #000;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 230px;
  margin: 0 auto;
}

#sidebar-reels .video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  object-position: center;
  transition: transform 0.5s ease;
}

#sidebar-reels .video-card:hover img {
  transform: scale(1.1);
}

#sidebar-reels .play-btn {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 1rem;
}

#sidebar-reels .play-btn:hover {
  transform: scale(1.1);
}

#sidebar-reels .video-card i {
  opacity: 0.5;
}

#sidebar-reels .swiper-horizontal>.swiper-pagination-bullets, 
#sidebar-reels .swiper-pagination-bullets.swiper-pagination-horizontal,
#sidebar-reels .swiper-pagination-custom, #sidebar-reels .swiper-pagination-fraction{
  bottom: 0!important;
  /*padding-bottom: 10px;*/
}

#sidebar-reels .swiper-pagination-bullet-active{
  background: var(--vino);
}

/* ===============================
Paginacion 
================================== */
#navegation{
  padding-top: 35px;
}

#navegation .page-link{
  color: var(--vino);
}

#navegation .active .page-link{
  color: #FFF;
  background-color: var(--vino);
  border-color: var(--vino);
}

/* ===============================
Galeria interior 
================================== */
article.article-content .swiper-gallery {
    padding-bottom: 40px;
}

.swiper-gallery .swiper-pagination-bullet-active{
  background-color: var(--vino);
}

/* ============================
   Media Queries – Bootstrap 5
   Desktop First (con herencia)
============================ */
/*  Ultra grandes (≥1600px) – Monitores 4K */
@media (max-width: 1599.98px) {
  /* Ajustes opcionales para pantallas muy grandes */
}


/* Extra grandes (≥1400px y <1600px) – Bootstrap xxl */
@media (max-width: 1399.98px) {
  /*.container { background-color: #d0f0c082; }*/
  /* verde limon */

}

/* Grandes (≥1200px y <1400px) – Bootstrap xl */
@media (max-width: 1199.98px) {
  /*.container {background-color: #add8e687;}*/
  /* celeste */

}


/* Medianas (≥992px y <1200px) – Bootstrap lg */
@media (max-width: 991.98px) {
  /*.container {  background-color: #ffc0cb96; }*/
  /*rosa*/
  .section-margin{
    margin-bottom: 50px;
  }

}

/* Tablets (≥768px y <992px) – Bootstrap md */
@media (max-width: 767.98px) {
  /*.container {background-color: #80008033;}*/
  /*lila*/


}

/* Móviles grandes (≥576px y <768px) – Bootstrap sm */
@media (max-width: 575.98px) {
  /*.container {background-color: #00790094;}*/
  /*verde*/

}


/* Móviles medianos (≥480px y <576px) – Personalizado */
@media (max-width: 479.98px) {
  /*.container {background-color: #0000ffa8;}*/
  /*morado*/


}


/* Móviles pequeños (<480px) – Personalizado */
@media (max-width: 379.98px) {
  /*.container {background-color: #ff7f506e;}*/
  /*naranja*/

}
