/* ===================================================== */
/* BOTÓN ACCESIBILIDAD - BASE */
/* ===================================================== */
._access-icon._access {
  position: fixed !important;
  bottom: 20px !important;
  /*right: 20px !important;*/
  left: 10px !important;
  z-index: 10000 !important;
  width: 52px !important;
  height: 52px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #005a9e !important;
  border: 2px solid #004080;
  border-radius: 25%;
  cursor: pointer;
  opacity: 1 !important;

  /* Oculta el icono unicode ♿ */
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px;

  /* Icono personalizado */
  background-image: url("/images/iconos/accesibilidad/icono-accesibilidad-530x530.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;

  /* Animaciones suaves */
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;

  /* Evita deformaciones raras */
  transform: none !important;

  /* Accesibilidad */
  outline: none;
}


/* ===================================================== */
/* HOVER / FOCUS (ACCESIBLE) */
/* ===================================================== */
._access-icon._access:hover,
._access-icon._access:focus {
  background-color: #004080 !important;
  background-size: 75%;

  /* Indicador accesible */
  outline: 3px solid #ffd700;
  outline-offset: 3px;

  /* Feedback visual */
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* ===================================================== */
/* ACTIVE (CLICK) */
/* ===================================================== */
._access-icon._access:active {
  transform: scale(0.95);
}


/* ===================================================== */
/* MEJORA: VISIBILIDAD SI EL PLUGIN USA OPACITY */
/* ===================================================== */
._access-icon {
  opacity: 1 !important;
  user-select: none;
}



/* ===================================================== */
/* CAJA DE ACCESIBILIDAD */
/* ===================================================== */
._access-menu._access.bottom {
  position: fixed !important;
  bottom: 80px !important;
  left: 10px !important;
  /*z-index: 9999 !important;*/
  width: 360px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #004080;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: Arial, sans-serif;
  transition: all 0.25s ease;
}


/* ===================================================== */
/* HEADER */
/* ===================================================== */
._access-menu._access.bottom::before {
  content: "Opciones de accesibilidad";
  display: block;
  padding: 5px 30px;
  background-color: #005a9e;
  color: #ffffff;
  font-size: 19px;
  font-weight: bold;
  border-bottom: 2px solid #004080;
}


/* ===================================================== */
/* CONTENEDOR SCROLL */
/* ===================================================== */
._access-menu._access.bottom {
  max-height: 70vh;
  overflow-y: auto;
}


/* ===================================================== */
/* SCROLL PERSONALIZADO */
/* ===================================================== */
._access-menu._access.bottom._access-scrollbar::-webkit-scrollbar {
  width: 8px;
}

._access-menu._access.bottom._access-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

._access-menu._access.bottom._access-scrollbar::-webkit-scrollbar-thumb {
  background: #005a9e;
  border-radius: 10px;
}

._access-menu._access.bottom._access-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #004080;
}

/* Firefox */
._access-menu._access.bottom._access-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #005a9e #f1f1f1;
}


/* ===================================================== */
/* ITEMS CONTENEDOR */
/* ===================================================== */
._access-menu._access.bottom li,
._access-menu ul li {
  list-style: none;
  margin: 4px 0;
}


/* ===================================================== */
/* BOTONES / LINKS MINIMALISTAS */
/* ===================================================== */
._access-menu._access.bottom li button,
._access-menu._access.bottom li a,
._access-menu ul li button,
._access-menu ul li a {

  display: flex;
  align-items: center;
  gap: 8px;

  width: 100%;
  padding: 10px 12px;

  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;

  color: #2b2b2b;
  font-size: 13.5px;
  font-weight: 500;

  cursor: pointer;

  transition: all 0.2s ease;
}


/* ===================================================== */
/* HOVER (SUTIL Y LIMPIO) */
/* ===================================================== */
._access-menu._access.bottom li button:hover,
._access-menu._access.bottom li a:hover,
._access-menu ul li button:hover,
._access-menu ul li a:hover {

  background: #f5f7fa;
  border-color: #e0e6ed;

  transform: translateX(2px);
}


/* ===================================================== */
/* FOCUS (ACCESIBLE) */
/* ===================================================== */
._access-menu._access.bottom li button:focus,
._access-menu._access.bottom li a:focus,
._access-menu ul li button:focus,
._access-menu ul li a:focus {

  outline: 2px solid #005a9e;
  outline-offset: 2px;

  background: #eef5fb;
}


/* ===================================================== */
/* ACTIVE (CLICK FEEDBACK) */
/* ===================================================== */
._access-menu._access.bottom li button:active,
._access-menu ul li button:active {
  transform: scale(0.98);
}


/* ===================================================== */
/* DIVISIÓN VISUAL SUAVE */
/* ===================================================== */
._access-menu._access.bottom li + li,
._access-menu ul li + li {
  border-top: 1px solid #f0f0f0;
}


/* ===================================================== */
/* ICONO SUTIL (OPCIONAL) */
/* ===================================================== */
._access-menu._access.bottom li button::before,
._access-menu._access.bottom li a::before,
._access-menu ul li button::before,
._access-menu ul li a::before {
  content: "•";
  font-size: 16px;
  color: #005a9e;
  opacity: 0.6;
}

._access-menu ul li::before {
  font-size: 18px !important;
  left: 2px !important;
}





/* ================================
CONTENEDOR GENERAL
================================ */

.inf-art{
margin-bottom:2rem;
}

/* ================================
HEADER
================================ */

.inf-art-header{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:1rem;
	margin-bottom:1rem;
}

.inf-art-header-content{
	max-width:80%;
}

.inf-art-kicker{
	margin:0 0 .25rem 0;
	font-size:.95rem;
	color:#6c757d;
}

.inf-art-title{
	margin:0;
	font-size:1.8rem;
	font-weight:600;
	line-height:1.2;
	color:#2e7d32;
}

/* ================================
ICONO DEL ARTÍCULO
================================ */

.inf-art-icon::before{
	font-family:"Font Awesome 6 Free","Font Awesome 5 Free";
	font-weight:900;
	font-size:3rem;
	color:#2e7d32;
}

/* ================================
ICONOS SEGÚN TIPO
================================ */

/* Guías */
.inf-art.guia .inf-art-icon::before{
	content:"\f02d";
}

/* Normativa */
.inf-art.normativa .inf-art-icon::before{
	content:"\f0e3";
}

/* Informes */
.inf-art.informe .inf-art-icon::before{
	content:"\f15c";
}

/* Manuales */
.inf-art.manual .inf-art-icon::before{
	content:"\f518";
}

/* Estudios */
.inf-art.estudio .inf-art-icon::before{
	content:"\f201";
}

/* ================================
DIVISOR
================================ */

.inf-art-divider{
	border:0;
	border-top:1px solid #dee2e6;
	margin:1rem 0;
}

/* ================================
DESCRIPCIÓN
================================ */

.inf-art-description p{
	line-height:1.6;
}

/* ================================
SUBTÍTULO
================================ */

.inf-art-subtitle{
	font-size:1.25rem;
	margin-top:1.5rem;
	margin-bottom:.75rem;
}

/* ================================
LISTA DOCUMENTOS
================================ */

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

.inf-art-list li{
	margin-bottom:.5rem;
}

/* ================================
ENLACES DOCUMENTOS
================================ */

.inf-art-list a{
	position:relative;
	padding-left:1.9rem;
	display:inline-block;
	text-decoration:none;
	color:#0d6efd;
}

.inf-art-list a:hover{
	text-decoration:underline;
}

/* ================================
ICONOS DOCUMENTOS
================================ */

.inf-art-list a::before{
	font-family:"Font Awesome 6 Free","Font Awesome 5 Free";
	font-weight:900;
	position:absolute;
	left:0;
	top:50%;
	transform:translateY(-50%);
	font-size:1rem;
}

/* PDF */
.inf-art-list a[href$=".pdf"]::before{
	content:"\f1c1";
	color:#d93025;
}

/* WORD */
	.inf-art-list a[href$=".doc"]::before,
	.inf-art-list a[href$=".docx"]::before{
	content:"\f1c2";
	color:#2b579a;
}

/* EXCEL */
	.inf-art-list a[href$=".xls"]::before,
	.inf-art-list a[href$=".xlsx"]::before{
	content:"\f1c3";
	color:#217346;
}

/* POWERPOINT */
	.inf-art-list a[href$=".ppt"]::before,
	.inf-art-list a[href$=".pptx"]::before{
	content:"\f1c4";
	color:#d24726;
}

/* ZIP */
	.inf-art-list a[href$=".zip"]::before,
	.inf-art-list a[href$=".rar"]::before{
	content:"\f1c6";
	color:#6c757d;
}

/* VIDEO */
	.inf-art-list a[href*="youtube"]::before,
	.inf-art-list a[href*="vimeo"]::before,
	.inf-art-list a[href$=".mp4"]::before{
	content:"\f03d";
	color:#cc0000;
}

/* ================================
TEXTO TIPO DOCUMENTO
================================ */

.inf-art-list a::after{
	margin-left:.35rem;
	font-size:.85rem;
	color:#6c757d;
}

/* PDF */
.inf-art-list a[href$=".pdf"]::after{
	content:" (Documento PDF)";
}

/* WORD */
.inf-art-list a[href$=".doc"]::after,
.inf-art-list a[href$=".docx"]::after{
	content:" (Documento Word)";
}

/* EXCEL */
.inf-art-list a[href$=".xls"]::after,
.inf-art-list a[href$=".xlsx"]::after{
	content:" (Documento Excel)";
}

/* POWERPOINT */
.inf-art-list a[href$=".ppt"]::after,
.inf-art-list a[href$=".pptx"]::after{
	content:" (Documento PowerPoint)";
}

/* ZIP */
.inf-art-list a[href$=".zip"]::after,
.inf-art-list a[href$=".rar"]::after{
	content:" (Documento comprimido)";
}

/* ================================
RESPONSIVE
================================ */

@media (max-width:768px){

	.inf-art-header{
		flex-direction:column;
		align-items:flex-start;
	}

	.inf-art-header-content{
		
	}

	.inf-art-icon::before{
		font-size:2.2rem;
		margin-top:.5rem;
	}

}






/* ==================================================================================
   SISTEMA REUTILIZABLE DE TÍTULOS - Joomla 6 / Bootstrap 5
================================================================================== */

/* Título Principal */
.titulo-principal {
  font-weight: 700;
  font-size: 2.3rem; /* Desktop y Tablet */
  line-height: 1.2;
  color: #198754; /* Verde base Bootstrap */
}

/* Título Secundario */
.titulo-secundario {
  font-weight: 600;
  font-size: 1.5rem; /* Desktop y Tablet */
  line-height: 1.3;
  color: #198754;
}

/* Responsive SOLO móvil */
@media (max-width: 576px) {

  .titulo-principal {
    font-size: 1.8rem;
  }

  .titulo-secundario {
    font-size: 1.2rem;
  }

}

/* =========================
   TABLET + DESKTOP (≥768px)
========================= */

/*@media (min-width: 768px) {

  .titulo-principal {
    font-size: 2.8rem;
  }

  .titulo-secundario {
    font-size: 1.8rem;
  }

}*/

/* ==================================================================================================
   FIN SISTEMA REUTILIZABLE DE TÍTULOS
================================================================================================== */





/* ==================================================================================================
   MODALES POR ENCIMA DEL HEADER
   =============================================================================================== */

/* Fondo oscuro */
.modal-backdrop {
  z-index: 20000 !important;
}

/* Contenedor del modal */
.modal {
  z-index: 20001 !important;
}

/* Asegura que el contenido esté por encima del backdrop */
.modal-dialog {
  z-index: 20001;
}


/* ===== OFFCANVAS SIEMPRE ENCIMA ===== */

/*.offcanvas {
  z-index: 12000 !important;
}

.offcanvas-backdrop {
  z-index: 11999 !important;
  background-color: rgba(0, 0, 0, 0.65);
}*/

/* Evita que headers o elementos fixed queden por encima */
/*header,
.navbar,
.sticky-top,
.position-fixed {
  z-index: auto;
}*/

/* Opcional: mejora la transición */
.offcanvas-end {
  transition: transform 0.3s ease-in-out;
}



/* =====================================================
   MENÚ PRINCIPAL HEADER – JOOMLA 6
   Diseño institucional, centrado y accesible
   ===================================================== */



/* Header siempre por encima */
/*#sp-header{
    position:sticky;
    top:0;
    z-index:9999999 !important;
}

#sp-header {
  height: 60px;
  width: 100%;
  background-color: #F2F2F2;
  position: relative;
  z-index: 99;
  box-shadow: none;
  border-top: 2px solid #eaeaea;
  border-bottom: 2px solid #96be55;
  animation: spFadeIn 0.5s;
}*/

:root{
    --header-height:60px; /* Cambia este valor una sola vez */
}

#sp-header{
    position: sticky;
    top: 0;
    height: var(--header-height);
    width: 100%;
    background-color:#F2F2F2;
    border-top:2px solid #eaeaea;
    border-bottom:2px solid #96be55;
    box-shadow:none;
    animation:spFadeIn .5s;
    z-index:9999999 !important;
}


#sp-menu {
  width: 100%;
  /*margin: 14px auto 12px auto;*/
  display: grid;
  align-items: center !important;
  justify-content: center !important;
}
.sp-megamenu-parent {
    float: none !important;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  padding: 0 20px;
  font-size: 17px;
}
.sp-megamenu-parent > li:last-child > a {
  padding: 0px 15px 0px 15px;
}

/* Menú activo en Helix */
/* 🔹 BASE (estado normal) */
.sp-megamenu-parent > li > a {
  color: #1a1a1a; /* texto oscuro accesible */
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* 🔹 HOVER (mouse) */
.sp-megamenu-parent > li > a:hover {
  color: #002f87; /* azul accesible */
  text-decoration: underline;
}

/* 🔹 FOCUS (teclado - MUY IMPORTANTE) */
.sp-megamenu-parent > li > a:focus {
  color: #002f87;
  outline: 3px solid #ffbf47; /* amarillo gov visible */
  outline-offset: 2px;
  text-decoration: none;
}

/* 🔹 ACTIVE (cuando haces clic) */
.sp-megamenu-parent > li > a:active {
  color: #001f5c;
}

/* 🔹 CURRENT / ACTIVE PAGE */
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.current > a,
.sp-megamenu-parent > li > a[aria-current="page"] {
  color: #002f87;
  font-weight: 600;
  border-bottom: 3px solid #002f87;
}

/* 🔹 HOVER sobre el activo */
.sp-megamenu-parent > li.active > a:hover {
  color: #001f5c;
}

/*body.ltr.offcanvs-position-right.offcanvas-active .offcanvas-menu {
  right: 0;
  top: 0;
  z-index: 99999;
}*/

body.ltr.offcanvs-position-right.offcanvas-active .offcanvas-menu{
    top:var(--header-height);
    height:calc(100vh - var(--header-height));
    z-index:9999998;
}

#sp-barra-azul {
  background-color: #3366CC;
  padding: 10px 0px 10px 0px;
}

#sp-logo-buscar {
  padding: 20px 0px 20px 0px;
  background-color: rgba(255, 255, 255, 0.8);
}

#sp-search {
  display: flex;
  align-items: center;
  justify-content: end;
}

#sp-titulo-noticias {
  background-color: #fff;
  padding: 60px 0px 0px 0px;
  margin: 0px 0px -25px 0px;
}

#sp-main-body {
  padding: 60px 0;
  background-color: rgb(255, 255, 255);
}

#sp-left .sp-module, #sp-right .sp-module {
  border: 1px solid #f3f3f3;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

#sp-bottom {
  background: #fff0;
  color: #fff;
  margin: -6.83rem 0rem;
}

#sp-footer {
  background-color: #8CBE23;
  color: #000000;
  margin: 180px 0px 0px 0px;
}

#contenfooter {
  margin-top: -8em;
}

#sp-footer2do {
  background-color: #8CBE23;
  padding: 0px 0px 15px 0px;
}

#sp-temas1-home {
  margin: 0;
  padding: 0px 0px 50px 0px;
}

#sp-temas2-home {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /*font-family: 'Segoe UI', sans-serif;*/
  overflow: hidden;
}

#sp-temas3-home {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
}

#sp-temas4-home {
  padding: 0px 0px 0px 0px;
}

#sp-temas5-home {
  padding: 0px 0px 0px 0px;
}

#sp-temas6-home {
  padding: 10px 0px 90px 0px;
  margin: 0px 0px -190px 0px;
  background-color: #f0eeee;
}

#sp-temas3-participa {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  margin: -59px 0px 0px 0px;
}

#sp-botones-volver {
  margin: -15px 0px 90px 0px;
  background-color: rgba(25, 135, 84, 0.08);
  padding: 40px 0px 35px 0px;
}

#sp-position5{
    position: relative;
    z-index: auto;
    transition: opacity .15s ease;
}

/* Cuando hay un offcanvas abierto */
/*#sp-position5.offcanvas-open{
    z-index: 1 !important;
}*/

#sp-position5.offcanvas-open,
#sp-position5.offcanvas-open .sp-column,
#sp-position5.offcanvas-open .sp-module,
#sp-position5.offcanvas-open .sp-module-content,
#sp-position5.offcanvas-open section{
    z-index: 1 !important;
}


/* ==== Botones Redes Sociales ==== */
/* ===============================
   CONTENEDOR GENERAL
   =============================== */
.redes-sda {
  max-width: 100%;
  margin: 0 auto;
}

/* Wrapper único */
.redes-sda-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 0px 0px 20px 0px;
}

/* ===============================
   BOTÓN BASE – DESKTOP
   =============================== */
.btn-red-sda {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  /*background-color: #0b6b3a;*/ /* Verde institucional SDA */
  background: #ffffff;
  color: #0b6b3a !important;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.2;
  border: 1px solid transparent;
  min-width: 180px;
  justify-content: flex-start;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}


/* Hover */
.btn-red-sda:hover {
  background-color: #094f2c;
  color: #ffffff !important;
}

.btn-red-sda:hover .icono-rs,
.btn-red-sda:focus-visible .icono-rs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 0.25rem;
  /*filter: brightness(0) saturate(100%) invert(72%) sepia(21%)
          saturate(524%) hue-rotate(88deg) brightness(94%) contrast(90%);*/
  border-radius: 20px;
}

/* Foco visible */
.btn-red-sda:focus-visible {
  outline: 3px solid #9fd7b0;
  outline-offset: 3px;
}

/* Iconos */
.icono-rs {
  width: 35px;
  height: auto;
  flex-shrink: 0;
  filter: none; /* color original */
  background-color: transparent;
  padding: 0;
  border-radius: 0.4rem;
  transition:
    filter 0.2s ease,
    background-color 0.2s ease,
    padding 0.2s ease;
}

/* ===============================
   TABLET
   =============================== */
@media (max-width: 991px) {
  .btn-red-sda {
    justify-content: center;
    font-size: 0.95rem;
    min-width: 200px;
  }

  .icono-rs {
    width: 24px;
  }
}

/* ===============================
   MÓVIL
   =============================== */
@media (max-width: 767px) {
  .redes-sda {
    max-width: 100%;
  }

  .redes-sda-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-red-sda {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    min-width: 100%;
  }

  .icono-rs {
    width: 28px;
  }

  .btn-red-sda:hover .icono-rs,
  .btn-red-sda:focus-visible .icono-rs {
    padding: 0.45rem;
  }
}




/* ===== CARTAS CON IMAGEN DE FONDO ===== */
/* ===== Carta ambiental ===== */
.card-img-ambiente {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

/* Imagen */
.card-img-ambiente .img-ambiente {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

/* OVERLAY CASI NEGRO (forzado) */
.card-img-ambiente .overlay-ambiente {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Texto */
.card-text-ambiente {
  max-width: 90%;
  z-index: 3;
}

.card-text-ambiente p {
  margin-bottom: 0.25rem;
}

.titulo-ambiente h1 {
  font-size: 3.2rem;
  line-height: 1.1;
}

.titulo-ambiente h2 {
  font-size: 2rem;
  line-height: 1.1;
}

/* Responsive */
@media (max-width: 991px) {
  .card-img-ambiente .img-ambiente {
    min-height: 260px;
  }
}

/* ===== Animación suave al cargar ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación de la carta */
.card-img-ambiente {
  animation: fadeUp 0.9s ease-out both;
}

/* Animación del texto (ligero delay) */
.card-text-ambiente {
  animation: fadeUp 0.9s ease-out both;
  animation-delay: 0.2s;
}

/* Accesibilidad: respeta reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .card-img-ambiente,
  .card-text-ambiente {
    animation: none;
    transform: none;
  }
}


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* ================================================= 
   SECCIONES CON FONDOS PARA ARTICULOS 
==================================================== */

/* ========== VIDEO DECORATIVO ========== */
#background-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: .05;
}

/* ===== 2️⃣ CONTENEDOR SECCION ===== */
.full-width-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 2rem 0px 5rem 0px;
}

/* Contenido alineado con el artículo */
.full-width-inner {
  max-width: 1140px; /* mismo ancho del container */
  margin: 0 auto;
  padding: 0 1rem;
}

.bg-overlay {
  position: relative;
}

.bg-overlay::before,
.bg-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
}

.bg-overlay::before {
  background: var(--bg-img) center / cover no-repeat;
  z-index: 0;
}

.bg-overlay::after {
  background-color: var(--bg-color, rgba(248,249,250,.75));
  z-index: 1;
}

.bg-overlay > * {
  position: relative;
  z-index: 2;
}

/* ===== FONDO ===== */

/*.bg-overlay{
    position:relative;
    isolation:isolate;
    overflow:visible;
}

.bg-overlay::before,
.bg-overlay::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
}

.bg-overlay::before{
    background:var(--bg-img) center/cover no-repeat;
    z-index:-2;
}

.bg-overlay::after{
    background:var(--bg-color,rgba(248,249,250,.75));
    z-index:-1;
}

.bg-overlay > *{
    position:relative;
    z-index:0;
}*/



/* ===== CONTENEDOR SECCION ===== */

/*.bg-overlay{
    position:relative;
    isolation:isolate;
}

.bg-overlay::before,
.bg-overlay::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
}

.bg-overlay::before{
    background:var(--bg-img) center/cover no-repeat;
    z-index:-2;
}

.bg-overlay::after{
    background:var(--bg-color,rgba(248,249,250,.75));
    z-index:-1;
}

.bg-overlay>*{
    position:relative;
    z-index:auto;
}

.bg-overlay{
    isolation:auto !important;
}*/

/*.bg-overlay::before{
    z-index:-2 !important;
}

.bg-overlay::after{
    z-index:-1 !important;
}

.bg-overlay > *{
    z-index:auto !important;
}*/


/* Sin Imagen overlay neutro (opcional) */
.bg-seccion0 {
  --bg-img: none !important;
  --bg-color: var(--bs-light) !important;
}

/* Sección clara */
.bg-seccion1 {
  --bg-img: url("/images/secciones/bg/servicios1-bg.jpg");
  --bg-color: rgba(248,249,250,.75); /* light */
}

/* Sección oscura */
.bg-seccion2 {
  --bg-img: url("/images/secciones/bg/servicios2-bg.jpg");
  --bg-color: rgba(3, 70, 3, 0.1);
}

/* Imagen sin overlay (opcional) */
.bg-seccion3 {
  --bg-img: url("/images/secciones/bg/servicios1-bg.jpg");
  --bg-color: rgba(0,0,0,0);
}

/* Sección Oscura Negro */
.bg-seccion4 {
  --bg-img: url("/images/secciones/bg/servicios4-bg.jpg");
  --bg-color: rgba(0, 0, 0, 0.7);
}

/* Sección Oscura Negro */
.bg-seccion5 {
  --bg-img: url("/images/secciones/bg/servicios5-bg.jpg");
  --bg-color: rgba(255, 255, 255, 0.7);
}

/* Sección Oscura Negro */
.bg-seccion6 {
  --bg-img: url("/images/secciones/bg/servicios3-bg.jpg");
  --bg-color: rgba(255, 255, 255, 0.7);
}

/* Sección Oscura Negro */
.bg-seccion7 {
  --bg-img: url("/images/secciones/bg/servicios7-bg.jpg");
  --bg-color: rgba(255, 255, 255, 0.7);
}

/* Sección oscura */
.bg-seccion8 {
  --bg-img: url("/images/secciones/bg/servicios8-bg.jpg");
  --bg-color: rgba(0, 0, 0, 0.5);
}

/* Sección oscura */
.bg-seccion9 {
  --bg-img: url("/images/secciones/bg/servicios9-bg.jpg");
  --bg-color: rgba(0, 0, 0, 0.5);
}

/* Sección oscura */
.bg-seccion10 {
  --bg-img: url("/images/secciones/bg/servicios10-bg.jpg");
  --bg-color: rgba(0, 0, 0, 0.5);
}

/* Sección oscura */
.bg-seccion11 {
  --bg-img: url("/images/secciones/bg/servicios11-bg.jpg");
  --bg-color: rgba(0, 0, 0, 0.5);
}

/* Sección oscura */
.bg-seccion12 {
  --bg-img: url("/images/secciones/bg/servicios12-bg.jpg");
  --bg-color: rgba(0, 0, 0, 0.5);
}

/* Sección oscura */
.bg-seccion13 {
  --bg-img: url("/images/secciones/bg/servicios13-bg.jpg");
  --bg-color: rgba(0, 0, 0, 0.5);
}

/* ================================================= 
   FIN SECCIONES CON FONDOS PARA ARTICULOS 
==================================================== */


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* ================================================= 
   CARTAS-BOTON TEMAS PRINCIPALES 
==================================================== */

/* ========== VARIABLES BASE Y ESTADO HOVER GLOBAL TEMAS PRINCIPALES ========== */

.sectprinc {  
  --tema-color: #2e7d32;        /* animación, foco, iconos */
  --tema-card-bg: #ffffff;     /* fondo tarjeta */
  --tema-text-color: #212529;
  /*--tema-acento: #2e7d32;*/
  
  --tema-shadow: 0 .5rem 1.25rem rgba(0,0,0,.15);
  --tema-shadow-hover: 0 1rem 2.5rem rgba(0,0,0,.25);

  --title-bg1: #297e2e; /*color verde*/
}

/* ========== THEMES REUTILIZABLES ========== */

/* ⚪ BLANCO */
.theme-princ-blanco { 
  --tema-color: #1c4e00; 
  --tema-card-bg: #ffffff;  
}

/* 🟢 VERDE */
.theme-princ-verde { 
  --tema-color: #2e7d32; 
  --tema-card-bg: #ffffff; 
}

/* 🔵 AZUL */
.theme-princ-azul { 
  --tema-color: #084fb7; 
  --tema-card-bg: #f8f9fa; 
}

/* ⚫ GRIS */
.theme-princ-gris { 
  --tema-color: #6c757d; 
  --tema-card-bg: #f8f9fa; 
}

/* 🟣 MORADO */
.theme-princ-morado { 
  --tema-color: #6a1b9a; 
  --tema-card-bg: #f6f2f8; 
}

/* ========== BOTÓN / TARJETA ========== */
.temprinc-btn {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
  outline: none;
}

/* ===== Fondo animado (heredado del principal) ===== */
.bg-btn-temprinc {
  position: absolute;
  inset: -6px 40px;
  background: var(--tema-color);
  border-radius: .75rem;
  transition: transform .8s ease;
  z-index: 0;
}

/* ===== Contenido ===== */
.card-contprinc-btn {
  position: relative;
  z-index: 1;
  background: var(--tema-card-bg);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--tema-text-color);
  box-shadow: var(--tema-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}


/* ========== ICONO / IMAGEN ========== */
.icono-temprinc {
  margin-bottom: .5rem;
}

/* ÍCONOS FONT AWESOME (i y span) */
.icono-temprinc i,
.icono-temprinc span {
  font-size: 2.8rem;
  color: var(--tema-color);
  text-shadow: 0 3px 5px rgba(0,0,0,.15);
  transition: color .25s ease, text-shadow .25s ease, transform .25s ease;
}

/* Shadow SUAVE solo para temas claros */
.theme-princ-blanco .icono-temprinc i,
.theme-princ-blanco .icono-temprinc span,
.theme-princ-gris .icono-temprinc i,
.theme-princ-gris .icono-temprinc span {
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
}

/* IMÁGENES */
.icono-temprinc img {
  display: block;
  width: 90px;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.4));
  transition: filter .3s ease, transform .3s ease;
}



/* ========== ICONO / IMAGEN ========== */
/*.icono-temprinc {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
}

.icono-temprinc span.fas
.icono-temprinc i {
  font-size: 2.8rem;
  color: var(--tema-color);
  text-shadow: 0 3px 1px rgba(0,0,0,.15);
}

.icono-temprinc img {
  display: block;
  width: 90px;
  transition: filter .3s ease, transform .3s ease;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.4));
}*/

/* ========== TEXTO ========== */
.sectprinc h1 {
  font-size: 3.5rem;
  color:  var(--title-bg1);
  padding: 0px 0px 40px 0px;
}

.sectprinc h2 {
  font-size: 3rem;
  color:  var(--title-bg1);
  padding: 0px 0px 40px 0px;
}

.temprinc-btn h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: .5rem 0;
}

.temprinc-btn p {
  font-size: 1rem;
  color: #545555;
  max-width: 90%;
  margin: 0;
}

/* ========== INTERACCIÓN (ANIMACIÓN SECUNDARIA) ========== */
.temprinc-btn:hover .card-contprinc-btn,
.temprinc-btn:focus-visible .card-contprinc-btn {
  transform: translateY(-.4rem);
  box-shadow: var(--tema-shadow-hover);
}

/* Fondo gira suavemente */
.temprinc-btn:hover .bg-btn-temprinc,
.temprinc-btn:focus-visible .bg-btn-temprinc {
  transform: rotate(360deg);
}

/* ===== FOCUS ACCESIBLE ===== */
.temprinc-btn:focus-visible {
  outline: 4px solid var(--tema-color);
  outline-offset: 12px;
  border-radius: 8px;
}

/* ========== ALTURA UNIFORME ========== */
.equal-height {
  display: flex;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 575.98px) {
  .icono-temprinc img { width: 60px; }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .icono-temprinc img { width: 72px; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  .bg-btn-temprinc,
  .card-contprinc-btn {
    transition: none;
  }
}

/* ================================================= 
   FIN CARTAS-BOTON TEMAS PRINCIPALES 
==================================================== */


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* ================================================= 
   CARTAS-BOTÓN – TEMAS SECUNDARIOS (FOCO CORREGIDO)
==================================================== */

/* ========== VARIABLES BASE (DEFAULT) ========== */
.sectsecun {
  --tema-bg: #ffffff;
  --tema-text: #212529;
  --tema-acento: #2e7d32;

  --tema-hover-bg: linear-gradient(160deg, #66bb6a, #1b5e20);
  --tema-hover-icon: #ffd600;
  --tema-hover-outline: #ffffff;

  --tema-shadow:
    0 12px 28px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.25);

  --tema-shadow-hover:
    0 26px 60px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(255,255,255,.35);

  --title-bg1: #237c28;
}

/* =====================================================
   THEMES (SOLO VARIABLES)
===================================================== */

.theme-secun-blanco {
  --tema-bg: #ffffff;
  --tema-text: #212529;
  --tema-acento: #2e7d32;
  --tema-hover-bg: linear-gradient(160deg, #e8f5e9, #c8e6c9);
}

.theme-secun-verde {
  --tema-bg: #2e7d32;
  --tema-text: #ffffff;
  --tema-acento: #ffffff;
  --tema-hover-bg: linear-gradient(160deg, #66bb6a, #1b5e20);
}

.theme-secun-azul {
  --tema-bg: #084fb7;
  --tema-text: #ffffff;
  --tema-acento: #ffffff;
  --tema-hover-bg: linear-gradient(160deg, #42a5f5, #0d47a1);
}

.theme-secun-morado {
  --tema-bg: #6a1b9a;
  --tema-text: #ffffff;
  --tema-acento: #ffffff;
  --tema-hover-bg: linear-gradient(160deg, #ab47bc, #4a148c);
}

.theme-secun-gris {
  --tema-bg: #f8f9fa;
  --tema-text: #495057;
  --tema-acento: #2e7d32;
  --tema-hover-bg: linear-gradient(160deg, #babfc4, #6d6d6d);
}

/* =====================================================
   LINK CONTENEDOR
===================================================== */
.temsecun-btn {
  text-decoration: none;
  width: 100%;
  max-width: 340px;
  outline: none;
}

/* =====================================================
   TARJETA
===================================================== */
.card-contsecun-btn {
  height: 100%;
  width: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;

  background: var(--tema-bg);
  color: var(--tema-text);
  text-align: center;

  border: 2px solid rgba(255,255,255,.35);
  box-shadow: var(--tema-shadow);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    color .25s ease;
}

/* =====================================================
   ICONO
===================================================== */
.icono-temsecun i,
.icono-temsecun span {
  font-size: 2.9rem;
  margin-bottom: .75rem;
  color: var(--tema-acento);
  text-shadow: 0 5px 14px rgba(0,0,0,.45);
  transition: color .25s ease;
}

.icono-temsecun img {
  display: block;
  width: 90px;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.4));
  transition: filter .3s ease, transform .3s ease;
}

/* =====================================================
   TEXTO
===================================================== */
.sectsecun h1 {
  font-size: 3.5rem;
  color: var(--title-bg1);
  padding: 0px 0px 40px 0px;
}

.card-contsecun-btn h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .4px;
  margin: 0;
}

/* =====================================================
   HOVER + FOCO (TECLADO Y MOUSE)
===================================================== */
.temsecun-btn:hover .card-contsecun-btn,
.temsecun-btn:focus-visible .card-contsecun-btn {
  transform: translateY(-8px) scale(1.03);
  background: var(--tema-hover-bg);
  color: #ffffff;
  box-shadow: var(--tema-shadow-hover);

  outline: 3px solid var(--tema-hover-outline);
  outline-offset: 4px;
}

/* =====================================================
   ICONO EN HOVER / FOCO
===================================================== */
.temsecun-btn:hover .icono-temsecun i,
.temsecun-btn:focus-visible .icono-temsecun i,
.temsecun-btn:hover .icono-temsecun span,
.temsecun-btn:focus-visible .icono-temsecun span {
  color: var(--tema-hover-icon);
}

/* =====================================================
   REDUCED MOTION
===================================================== */
@media (prefers-reduced-motion: reduce) {
  .card-contsecun-btn {
    transition: none;
  }
}
/* ========== RESPONSIVE ========== */
@media (max-width: 575.98px) {
  .icono-temsecun img {
    width: 60px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .icono-temsecun img {
    width: 72px;
  }
}

/* ================================================= 
   FIN CARTAS-BOTON TEMAS SECUNDARIOS 
==================================================== */


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* ================================================= 
   CONTENEDOR GENERAL MENU PARTICIPA  
==================================================== */

/* =====================================================
   VARIABLES BASE – ACORDEÓN (DEFAULT AZUL)
===================================================== */
:root {
  --acc-bg-hover: rgba(13,110,253,.08);
  --acc-bg-active: rgba(13,110,253,.15);
  --acc-focus-bg: #e7f1ff;
  --acc-color-main: #084298;
  --acc-shadow-focus: rgba(8,66,152,.45);
}

/* =====================================================
   CONTENEDOR GENERAL
===================================================== */
.bg-container-verde {
  background: rgba(248,249,250,.75);
}

/* =====================================================
   ACORDEÓN BASE (GENÉRICO)
===================================================== */
.accordion .accordion-item {
  background: rgba(248,249,250,.9);
  border: 0;
  border-radius: .4rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* =====================================================
   BOTÓN ACORDEÓN
===================================================== */
.accordion .accordion-button {
  font-weight: 600;
  border-radius: .4rem;
  transition: background-color .25s ease, color .25s ease;
}

.accordion .accordion-button:focus {
  box-shadow: none;
}

/* Hover (mouse) */
.accordion .accordion-button:hover {
  background: var(--acc-bg-hover);
  color: var(--acc-color-main);
}

/* Activo */
.accordion .accordion-button:not(.collapsed) {
  background: var(--acc-bg-active);
  color: var(--acc-color-main);
}

/* =====================================================
   FOCO TECLADO – ALTO CONTRASTE
===================================================== */
.accordion .accordion-button:focus-visible {
  outline: none;
  background: var(--acc-focus-bg);
  box-shadow:
    inset 0 0 0 2px var(--acc-color-main),
    0 0 0 4px var(--acc-shadow-focus);
}

.accordion .accordion-button:focus:not(:focus-visible) {
  box-shadow: none;
}

/* =====================================================
   ÍCONOS (i / span)
===================================================== */
.accordion .accordion-button i,
.accordion .accordion-button span {
  transition: transform .3s ease, color .3s ease;
}

.accordion
.accordion-button:hover :is(i,span),
.accordion
.accordion-button:not(.collapsed) :is(i,span),
.accordion
.accordion-button:focus-visible :is(i,span) {
  color: var(--acc-color-main);
  transform: rotate(-6deg) scale(1.05);
}

/* =====================================================
   ITEM ACTIVO (ELEVACIÓN)
===================================================== */
.accordion
.accordion-item:has(.accordion-collapse.show) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

/* =====================================================
   CONTENIDO / TRANSICIÓN
===================================================== */
.accordion-collapse {
  transition: opacity .3s ease;
}

.accordion-collapse:not(.show) {
  opacity: 0;
}

.accordion-body {
  /*max-height: 320px;*/
  overflow-y: auto;
  animation: accordionFade .35s ease;
}

/* Animación contenido */
@keyframes accordionFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   LINKS ACCESIBLES
===================================================== */
.accordion a {
  text-decoration: none;
  outline-offset: 3px;
}

.accordion a:hover {
  text-decoration: underline;
}

.accordion a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--acc-shadow-focus);
  border-radius: .25rem;
}

/* =====================================================
   CORREOS RESPONSIVE Y ACCESIBLES
===================================================== */

/* Contenedores de texto */
.accordion-body p,
.accordion-body li {
  overflow-wrap: break-word;
  word-break: normal;
}

.accordion-body p {
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.accordion-body p a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-all;
}

/* Enlaces de correo */
.accordion-body a[href^="mailto:"] {
  display: inline-block;
  max-width: 100%;
  line-height: 1.5;
  /*vertical-align: middle;*/

  /* Permite partir correos largos */
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* =====================================================
   TEMAS VISUALES (SOLO VARIABLES)
===================================================== */

/* 🔵 AZUL */
.theme-acord-azul {
  --acc-bg-hover: rgba(13,110,253,.08);
  --acc-bg-active: rgba(13,110,253,.15);
  --acc-focus-bg: #e7f1ff;
  --acc-color-main: #084298;
  --acc-shadow-focus: rgba(8,66,152,.45);
}

/* 🟢 VERDE */
.theme-acord-verde {
  --acc-bg-hover: rgba(25,135,84,.08);
  --acc-bg-active: rgba(25,135,84,.15);
  --acc-focus-bg: #e9f7ef;
  --acc-color-main: #0f5132;
  --acc-shadow-focus: rgba(15,81,50,.45);
}

/* 🟣 MORADO */
.theme-acord-morado {
  --acc-bg-hover: rgba(111,66,193,.08);
  --acc-bg-active: rgba(111,66,193,.15);
  --acc-focus-bg: #f2e9fb;
  --acc-color-main: #4b2c82;
  --acc-shadow-focus: rgba(75,44,130,.45);
}

/* =====================================================
   GIRO 360° ÍCONOS – HOVER / ACTIVO
   (SIN MODIFICAR EL CSS BASE)
===================================================== */
.accordion
.accordion-button:hover :is(i,span),
.accordion
.accordion-button:not(.collapsed) :is(i,span),
.accordion
.accordion-button:focus-visible :is(i,span) {
  transform: rotate(360deg) scale(1.05);
  transition: transform .6s ease;
}

/* =====================================================
   REDUCED MOTION
===================================================== */
@media (prefers-reduced-motion: reduce) {
  .accordion * {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */
/* Móviles */
@media (max-width: 576px) {

  .accordion-body a[href^="mailto:"] {
    display: block;
    width: 100%;
    margin-top: .25rem;

    overflow-wrap: anywhere;
    word-break: break-word;
  }

}

@media (max-width: 576px) {

  .accordion-body p a[href^="mailto:"]{
    display:inline;
    overflow-wrap:anywhere;
    word-break:break-all;
   }

}

@media (max-width: 991px) {
  .accordion-body {
    max-height: 220px;
  }
}


/* ================================================= 
   FIN CONTENEDOR GENERAL MENU PARTICIPA  
==================================================== */


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* ================================================= 
   MENÚ OCULTO ACCESIBLE
   - Invisible visualmente
   - Visible SOLO con TAB
   - Funciona con lectores de pantalla
   - Reutilizable en todos los artículos
==================================================== */

/* ========== AJUSTES DE SCROLL (headers fijos) ==========  */

section[id],
div[id] {
  scroll-margin-top: 6rem;
}

/* ========== SECCIONES: SIN ESTADO ACTIVO POR DEFECTO ==========  */

section[id],
div[id] {
  outline: none;
}

/* ========== FOCO SOLO CUANDO HAY NAVEGACIÓN POR TECLADO ==========  */

section[id]:focus-visible,
div[id]:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 6px;
  border-radius: 0.5rem;
}

/* ❌ Nunca activar con mouse */
section[id]:focus:not(:focus-visible),
div[id]:focus:not(:focus-visible) {
  outline: none;
}

/* ========== ALTO CONTRASTE ==========  */

@media (prefers-contrast: more) {
  section[id]:focus-visible,
  div[id]:focus-visible {
    outline: 4px solid #000;
  }
}

/* ========== REDUCCIÓN DE MOVIMIENTO ==========  */

@media (prefers-reduced-motion: reduce) {
  section[id],
  div[id] {
    transition: none;
  }
}

/* ========== MENÚ OCULTO ACCESIBLE (SKIP LINKS) ==========  */

.menu-accesible {
  position: relative;
  z-index: 9999;
  top: -85px
}

/* Links ocultos */
.menu-accesible .skip-link {
  position: absolute;
  top: 0;
  left: -9999px;

  background-color: #0d6efd;
  color: #ffffff;

  padding: 0.6rem 1rem;
  border-radius: 0.25rem;

  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Visible SOLO con TAB */
.menu-accesible .skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

/* Mouse nunca lo muestra */
.menu-accesible .skip-link:focus:not(:focus-visible) {
  left: -9999px;
}

/* Alto contraste */
@media (prefers-contrast: more) {
  .menu-accesible .skip-link {
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
  }
}

/* ========== FOCO GLOBAL (1519 / WCAG) ==========  */

:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}


/* ==========================================================
   MENSAJE DE AYUDA PARA NAVEGACIÓN POR TECLADO MENSAJE HELP
   ========================================================== */

.menu-accesible .skip-link-help {

    position: absolute;
    top: 0;
    left: -9999px;

    background-color: #198754;
    color: #ffffff;

    padding: 0.75rem 1rem;
    border-radius: 0.25rem;

    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;

    white-space: nowrap;

    box-shadow: 0 2px 6px rgba(0,0,0,.25);

    z-index: 10000;
}

/* Mostrar cuando algún skip-link recibe foco */

.menu-accesible:focus-within .skip-link-help {

    left: 1rem;
    top: 1rem;

}

/* Mover los botones debajo del mensaje */

.menu-accesible .skip-link:focus-visible {

    left: 1rem;
    top: 4.5rem;

}

/* Alto contraste */

@media (prefers-contrast: more) {

    .menu-accesible .skip-link-help {

        background-color: #000;
        color: #fff;
        border: 2px solid #fff;

    }

}

/* ================================================= 
   FIN MENÚ OCULTO ACCESIBLE
==================================================== */




/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* CONTENEDOR GENERAL */
  .bubbles-wrapper {
    min-height: 100vh;
    /*background: linear-gradient(180deg, #0a2540, #0e3c5f);*/
  }

  /* CONTENEDOR BURBUJAS */
  .bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
  }

  /* BURBUJA BASE */
  .bubble {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(102, 217, 232, 0.03);
    animation: floatUp linear infinite;
  }

  /* ANIMACIÓN PRINCIPAL */
  @keyframes floatUp {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(-120vh);
    }
  }

  /* VARIACIONES (simulan random) */
  .bubble:nth-child(1)  { left: 5%;  width: 40px; height: 40px; animation-duration: 8s; }
  .bubble:nth-child(2)  { left: 15%; width: 80px; height: 80px; animation-duration: 12s; }
  .bubble:nth-child(3)  { left: 25%; width: 60px; height: 60px; animation-duration: 10s; }
  .bubble:nth-child(4)  { left: 35%; width: 100px; height: 100px; animation-duration: 14s; }
  .bubble:nth-child(5)  { left: 45%; width: 50px; height: 50px; animation-duration: 9s; }
  .bubble:nth-child(6)  { left: 55%; width: 70px; height: 70px; animation-duration: 11s; }
  .bubble:nth-child(7)  { left: 65%; width: 90px; height: 90px; animation-duration: 13s; }
  .bubble:nth-child(8)  { left: 75%; width: 55px; height: 55px; animation-duration: 10s; }
  .bubble:nth-child(9)  { left: 85%; width: 75px; height: 75px; animation-duration: 12s; }
  .bubble:nth-child(10) { left: 95%; width: 45px; height: 45px; animation-duration: 8s; }

  .bubble:nth-child(odd) {
    animation-delay: -4s;
  }

  @keyframes ecoFloat {
    0% {
      transform: translateY(0) rotate(-45deg);
      opacity: 0;
    }
    10% {
      opacity: 0.6;
    }
    100% {
      transform: translateY(-120vh) translateX(40px) rotate(45deg);
      opacity: 0;
    }
  }

  /* Accesibilidad: respeta reducción de movimiento */
  @media (prefers-reduced-motion: reduce) {
    .background-ambient .eco {
      animation: none;
    }
  }

  @keyframes ambientPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.9; }
  }

  .card-immersive {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .card-immersive:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 6px;
  }

  @keyframes fadeInUp {
    to { transform: translateY(0); opacity: 1; }
  }

  .image-zoom-container img {
    width: 100%;
    transition: transform 0.5s ease;
  }

  .image-zoom-container:hover img {
    transform: scale(1.1);
  }

  .card-body-immersive {
    padding: 2rem;
    color: #f1f5f9;
    text-align: center;
  }

  .card-body-immersive h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .card-body-immersive p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
  }

  .icon-top {
    font-size: 2rem;
    color: #60a5fa;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
  }

  /* Cambio de color del ícono al hover y foco accesible */
  .card-immersive:hover .icon-top,
  .card-immersive:focus-visible .icon-top {
    color: #facc15; /* amarillo accesible */
    transition: color 0.3s ease;
  }

  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }

  @media (max-width: 576px) {
    .card-body-immersive {
      padding: 1.5rem;
    }
  }


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* CONTENEDOR FONDOS */

.fondo-azul{
  background: #1e293b;
  color: #ffffff;
  border-radius: 20px 0px;
  transition: filter .3s ease, transform .3s ease;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.4));
}

.fondo-verde{
  background: #1b5e20;
  color: #ffffff;
  border-radius: 20px 0px;
  transition: filter .3s ease, transform .3s ease;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.4));
}


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* CARTA CON VIDA – FONDO DECORATIVO */
.card-viva {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

/* Líneas decorativas */
.card-viva::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(25, 135, 84, 0.06),
      rgba(25, 135, 84, 0.06) 1px,
      transparent 1px,
      transparent 10px
    );
  pointer-events: none;
}

/* Acento lateral institucional */
.card-viva::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #198754,
    #20c997
  );
}

/* Asegura que el contenido quede encima */
.card-viva > * {
  position: relative;
  z-index: 1;
}

/* Hover sutil (opcional pero bonito) */
.card-viva:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* =====================================================
   CARD VIVA 2 – CANALES PRESENCIALES
===================================================== */
.card-viva-2 {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Trama tipo mapa / cuadrícula urbana */
.card-viva-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25,135,84,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,135,84,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .6;
  pointer-events: none;
}

/* Esquina destacada */
.card-viva-2::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -42px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #198754, #20c997);
  transform: rotate(45deg);
  opacity: .9;
}

/* Elevar contenido */
.card-viva-2 > * {
  position: relative;
  z-index: 1;
}

/* Hover */
.card-viva-2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.card-viva-2 hr {
  opacity: .25;
}


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */





/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* ===== CARTAS CON BOTONES HORIZONTALES CON ICONOS Y CARTA VIDEO YOUTUBE ===== */

.content-side {
  padding: 25px;
  background: #ffffffd9;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Header alineado */
.content-header {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-header h1 {
  margin: 0;
  line-height: 1.2;
}

/* HR alineado */
.divider {
 width: 100%;
  height: 3px;
  background: #198754;
  border: none;
  margin: 10px auto 30px auto;
  opacity: 0.1;
  border-radius: 10px;
}

/* Botones internos */
.tema-boton {
  text-decoration: none;
  color: inherit;
  padding: 18px;
  border-radius: 16px;
  transition: all .3s ease;
  margin-bottom: 20px;
}

.tema-boton:last-child {
  margin-bottom: 0;
}

.tema-boton:hover {
  background: rgba(0,0,0,0.03);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* ===== VIDEO CARD ===== */

.video-card {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/secciones/bg/servicios4-bg.jpg') center/cover no-repeat;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.video-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* Play Button */
.play-pulse {
  width: 130px;
  height: 130px;
  background: #ffffff;
  border: none;
  position: relative;
  transition: transform .3s ease;
}

.play-pulse i {
  color: #111;
  font-size: 30px;
}

.play-pulse:hover {
  transform: scale(1.1);
}

.play-pulse::before,
.play-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.7);
  animation: pulse-ring 2s infinite;
}

.play-pulse::after {
  animation-delay: 1s;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(2); opacity: 0; }
  100% { opacity: 0; }
}

/* Iconos */
.icon-circle {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  box-shadow:
    0 6px 14px rgba(0,0,0,0.15),
    inset 0 -3px 6px rgba(0,0,0,0.15),
    inset 0 3px 6px rgba(255,255,255,0.3);
  transition: transform .3s ease, box-shadow .3s ease;
}

.icon-circle::before { content: none; }

.icon-yellow { background: #f4b400; }
.icon-green  { background: #2e7d32; }
.icon-blue   { background: #0288d1; }

/* 🔹 Responsive más milimétrico */
@media (max-width: 1200px){
  .section-title{ font-size: 1.8rem; }
}

@media (max-width: 991px){
  .header-block{ min-height: auto; }
  .section-title{ font-size: 1.6rem; }
}

@media (max-width: 576px){
  .section-title{ font-size: 1.4rem; }
  .icon-circle{
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 26px;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */




/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* ========================= MENUS LATERALES ========================= */

/* =========================
MENÚ FLOTANTE
========================= */

.menu-flotante{
  position: sticky;
  top: 120px; /* distancia desde el header */
}


/* =========================
BOTONES DEL MENÚ
========================= */

.menu-vertical{
  transition: all .25s ease;
}


/* HOVER */

.menu-vertical:hover{
  background: #f8f9fa;
  transform: translateX(3px);
  box-shadow: 0 .35rem .6rem rgba(0,0,0,.1);
}


/* ILUMINAR LÍNEA EN HOVER */

.menu-vertical:hover.border-warning{
  border-left-color: #ffc107 !important;
}

.menu-vertical:hover.border-success{
  border-left-color: #25c26e !important;
}

.menu-vertical:hover.border-info{
  border-left-color: #3dd5f3 !important;
}

.menu-vertical:hover.border-primary{
  border-left-color: #3b82f6 !important;
}


/* BOTÓN ACTIVO */

.menu-vertical.active{
  background: #eef5f1;
  transform: translateX(3px);
  box-shadow: 0 .35rem .6rem rgba(0,0,0,.12);
  font-weight: 600;
}


/* LÍNEA ACTIVA */

.menu-vertical.active.border-warning{
  border-left-color: #ffc107 !important;
}

.menu-vertical.active.border-success{
  border-left-color: #25c26e !important;
}

.menu-vertical.active.border-info{
  border-left-color: #3dd5f3 !important;
}

.menu-vertical.active.border-primary{
  border-left-color: #3b82f6 !important;
}


/* =========================
RESPONSIVE
========================= */

@media (max-width:768px){
  .menu-flotante{
    position: relative;
    top: 0;

  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */







/* =========================================================
   PERSONALIZACIÓN GLOBAL BOOTSTRAP
   Botones + Dropdown accesible + Responsive
========================================================= */

/* =========================================================
   BOTONES BOOTSTRAP
========================================================= */

.btn-success,
.btn-outline-success {

  padding: .5rem 1.4rem;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background-color .25s ease,
    color .25s ease;

  box-shadow: 0 .25rem .75rem rgba(0,0,0,.08);

}

/* ICONOS BOTONES */
.btn-success i,
.btn-outline-success i {

  transition: transform .25s ease;

}

/* HOVER */
.btn-success:hover,
.btn-outline-success:hover {

  transform: translateY(-2px);

  box-shadow:
    0 .6rem 1.2rem rgba(0,0,0,.14);

}

/* EFECTO ICONOS */
.btn-success:hover i,
.btn-outline-success:hover i {

  transform: scale(1.15);

}

/* ACTIVE */
.btn-success:active,
.btn-outline-success:active {

  transform: translateY(0);

}

/* FOCUS ACCESIBLE */
.btn-success:focus,
.btn-success:focus-visible,
.btn-outline-success:focus,
.btn-outline-success:focus-visible,
.dropdown-toggle:focus,
.dropdown-toggle:focus-visible {

  outline: 3px solid rgba(25,135,84,.55);
  outline-offset: 4px;

  box-shadow:
    0 .5rem 1rem rgba(0,0,0,.10);

}

/* =========================================================
   DROPDOWN BOOTSTRAP
========================================================= */

/* CONTENEDOR */
.dropdown {

  position: relative;

}

/* MENÚ */
.dropdown-menu {

  max-width: 100%;
  overflow: hidden;

  margin-top: 0;

  border: 0;

}

/* ITEMS */
.dropdown-menu .dropdown-item {

  display: flex;
  align-items: flex-start;

  gap: .65rem;

  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;

  line-height: 1.4;

  padding: .75rem 1rem;

  transition:
    background-color .2s ease,
    color .2s ease;

}

/* ICONOS */
.dropdown-menu .dropdown-item i {

  flex-shrink: 0;
  margin-top: .2rem;

}

/* TEXTO */
.dropdown-menu .dropdown-item span {

  flex: 1;
  min-width: 0;

}

/* HOVER / FOCUS ITEMS */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {

  background-color: rgba(25,135,84,.08);

}

/* ACTIVE ITEMS */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {

  background-color: rgba(25,135,84,.15);
  color: #146c43;

}

/* FOCUS VISIBLE ITEMS */
.dropdown-menu .dropdown-item:focus-visible {

  outline: 2px solid #198754;
  outline-offset: -2px;

}

/* =========================================================
   DROPDOWN DESKTOP
========================================================= */

@media (min-width: 992px) {

  /* ABRIR EN HOVER + TECLADO */
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu,
  .dropdown-menu:hover {

    display: block;

  }

  /* EFECTO BOTÓN */
  .dropdown:hover .dropdown-toggle,
  .dropdown:focus-within .dropdown-toggle {

    outline: 3px solid rgba(25,135,84,.45);
    outline-offset: 4px;

    box-shadow:
      0 .5rem 1rem rgba(0,0,0,.10);

  }

}

/* =========================================================
   RESPONSIVE TABLET + MOBILE
========================================================= */

@media (max-width: 991.98px) {

  /* BOTONES */
  .btn-success,
  .btn-outline-success {

    width: 100%;
    min-height: 50px;

    padding: .6rem 1.2rem;

    font-size: .95rem;

  }

  /* MENÚ */
  .dropdown-menu {

    font-size: .95rem;

  }

  /* ITEMS */
  .dropdown-menu .dropdown-item {

    padding-top: .85rem;
    padding-bottom: .85rem;

    line-height: 1.5;

  }

}


/* ==========================================================
   OFFCANVAS GLOBAL FIX (Bootstrap 5 + Helix Ultimate)
   Mantiene visible el header y el offcanvas por
   encima de cualquier sección con bg-overlay, con
   JERARQUÍA GLOBAL DE Z-INDEX
   9999999 → Header fijo - 9999998 → Offcanvas - 9999997 → Backdrop
========================================================== */

/* ========== CORRECCIÓN DE STACKING CONTEXT - (Necesario para bg-overlay) ========== */
/*.bg-overlay{
    isolation:auto !important;
}

.bg-overlay::before{
    z-index:-2 !important;
}

.bg-overlay::after{
    z-index:-1 !important;
}

.bg-overlay > *{
    z-index:auto !important;
}*/

/* ==========================================================
   OFFCANVAS - Bootstrap 5 / Helix Ultimate
========================================================== */

/* ========== CONTENEDOR ========== */
.offcanvas{
    position: fixed !important;
    top: var(--header-height) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 460px;
    max-width: 100%;
    height: calc(100vh - var(--header-height)) !important;
    overflow: hidden;
    z-index: 9999998 !important;
}

/* ========== HEADER ========== */
.offcanvas-header{
    position: sticky;
    top: 0;
    z-index: 2;
    flex: 0 0 auto;
    background: #fff;
}

/* ========== CONTENIDO ========== */
.offcanvas-body{
    height: 100%;
    overflow-y: auto;
}

/* ========== BACKDROP ========== */
.offcanvas-backdrop{
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: calc(100vh - var(--header-height)) !important;
    z-index: 9999997 !important;
}

.featured-article-badge {
    display: none !important;
}
span.featured-article-badge {
    display: none !important;
}
.badge.bg-danger.featured-article-badge {
    display: none !important;
}



/* ==========================================================
   BLOG DE NOTICIAS - SDA
   Joomla 4 / 5 / 6
========================================================== */


/*==========================
=            GRID          =
==========================*/

.article-list [class*="col-"]{
   /* display:flex;*/
    margin-bottom:30px;
}


/*==========================
=         TARJETA          =
==========================*/

.article-list .article{
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    background:#fff;
    border:1px solid #dee2e6;
    border-radius:.4rem;
    overflow:hidden;
    transition:all .30s ease;
}

.article-list .article:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}


/*==========================
=         IMAGEN           =
==========================*/

/* Funciona para el Home y para Todas las Noticias */

.article-intro-image{
    width:100% !important;
    max-width:100% !important;
    margin:0 0 1rem 0 !important;
    padding:0 !important;
    float:none !important;
    overflow:hidden;
    line-height:0;
}

.article-intro-image a{
    display:block;
    width:100%;
    height:100%;
}

.article-intro-image img{
    display:block;
    width:100% !important;
    max-width:100% !important;
    height:260px !important;
    object-fit:cover;
    transition:transform .40s ease;
}

.article:hover .article-intro-image img{
    transform:scale(1.05);
}


/*==========================
=       CUERPO CARD        =
==========================*/

.article-list .article-body{
    display:flex;
    flex-direction:column;
    flex:1;
    /*padding:1.5rem;*/
    padding: 0rem 1.5rem; /* ? */
}


/*==========================
=         TITULO           =
==========================*/

.article-list .article-header{
    /*margin-bottom:1rem;*/
    margin-bottom:0rem;
    padding: 0.2rem 1.5rem; /* ? */
}

.article-list .article-header h2{
    margin:0;
    line-height:1.35;
    font-size:2rem;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;

    min-height:4em;
}

.article-list .article-header h2 a{
    color:#212529;
    text-decoration:none;
}

.article-list .article-header h2 a:hover{
    color:#198754;
}


/*==========================
=       INFORMACIÓN        =
==========================*/

.article-list .article-info{
    /*margin-bottom:1rem;*/
    margin-bottom:0rem; /* ? */
    font-size:.95rem;
    color:#6c757d;
    padding: 0rem 1.5rem; /* ? */
}

.article-list .article-info span{
    display:inline-block;
    margin-right:.35rem;
}


/*==========================
=       INTRO TEXTO        =
==========================*/

.article-list .article-introtext{
    display:flex;
    flex-direction:column;
    flex:1;
    padding: 5px 0px 0px 0px;
    /*display: none;*/
}


/*==========================
=       LEER MÁS           =
==========================*/

.article-list .readmore{
    margin-top:auto;
    padding-top:1rem;
}

.article-list .readmore a{
    font-weight:600;
    color:#198754;
    text-decoration:none;
}

.article-list .readmore a:hover{
    text-decoration:underline;
}


/*==========================
=      BADGE FEATURED      =
==========================*/

.article-list .featured-article-badge{
    position:absolute;
    top:15px;
    right:15px;
    z-index:2;
}


/*==========================
=      RESPONSIVE          =
==========================*/

@media (max-width:991.98px){

    .article-list .article-header h2{
        font-size:1.75rem;
    }

    .article-intro-image img{
        height:230px !important;
    }

}

@media (max-width:767.98px){

    .article-list [class*="col-"]{
        margin-bottom:20px;
    }

    .article-list .article-header h2{
        font-size:1.5rem;
        min-height:auto;
        -webkit-line-clamp:unset;
    }

    .article-intro-image img{
        height:220px !important;
    }

}




/* ===========================================
   HOME - NOTICIAS DESTACADAS
=========================================== */

.mod-articlesnews .article{
    overflow:hidden;
    border:1px solid #dee2e6;
    border-radius:.4rem;
    background:#fff;
}

.mod-articlesnews .article-intro-image{
    margin:0 !important;
    padding:0 !important;
    width:100%;
    overflow:hidden;
}

.mod-articlesnews .article-intro-image img{
    width:100% !important;
    height:260px !important;
    object-fit:cover;
    display:block;
}

.mod-articlesnews .article-body,
.mod-articlesnews .item-content,
.mod-articlesnews .content{
    padding:1.5rem;
}