/* Mismo color que la cabecera del tablero geoespacial. */
body.biodiversidades-modulo { --bio-color-modulo: #a97c50; }
body.biodiversidades-tablero-geoespacial { --bio-color-modulo: #13363f; }
body.biodiversidades-sumario { --bio-color-modulo: #4db271; }

/* Retirar la franja de marca y conservar el pie institucional compacto. */
body.biodiversidades-modulo #colophon [data-id="31b8d6bd"] { display: none !important; }
body.biodiversidades-modulo #colophon [data-id="28d357e"] {
 padding: 8px 20px !important;
 min-height: 0 !important;
}
body.biodiversidades-modulo #colophon [data-id="62d2f83"],
body.biodiversidades-modulo #colophon [data-id="28d357e"] .elementor-widget-wrap {
 padding-top: 0 !important;
 padding-bottom: 0 !important;
 min-height: 0 !important;
}
body.biodiversidades-modulo #colophon [data-id="a139006"] img {
 width: 100%;
 max-height: 42px;
 object-fit: contain;
}
body.biodiversidades-modulo #colophon [data-id="020beb8"] {
 --icon-size: 18px;
 --grid-column-gap: 8px;
}
body.biodiversidades-modulo #colophon [data-id="785e908"],
body.biodiversidades-modulo #colophon [data-id="785e908"] .elementor-widget-wrap {
 padding: 0 !important;
 margin: 0 !important;
 min-height: 0 !important;
}
body.biodiversidades-tablero-geoespacial #colophon .elementor-social-icon {
 background-color: #fff !important;
 transition: filter .15s ease, box-shadow .15s ease;
}
body.biodiversidades-tablero-geoespacial #colophon .elementor-social-icon i {
 color: #12363f !important;
}
body.biodiversidades-tablero-geoespacial #colophon .elementor-social-icon svg {
 fill: #12363f !important;
}
body.biodiversidades-tablero-geoespacial #colophon .elementor-social-icon:hover,
body.biodiversidades-tablero-geoespacial #colophon .elementor-social-icon:focus-visible {
 filter: brightness(1.25);
 box-shadow: 0 0 0 2px #ffffff40;
}
body.biodiversidades-modulo .wpr-stt-btn,
body.biodiversidades-modulo .wpr-stt-btn:hover {
 background-color: var(--bio-color-modulo) !important;
 border-color: var(--bio-color-modulo) !important;
}
body.biodiversidades-modulo .wpr-stt-btn:hover { filter: brightness(1.15); }

/* TG y ST comparten la misma pleca institucional del encabezado de TD. */
.bio-logos-institucionales {
 position: relative;
 z-index: 2;
 flex: 1 1 45%;
 min-width: 180px;
 max-width: 640px;
 margin-left: auto;
 padding: 0 16px;
}
.bio-logos-institucionales img {
 display: block;
 width: 100%;
 height: 65px;
 object-fit: contain;
}
body.biodiversidades-tablero-geoespacial #colophon [data-id="31b8d6bd"],
body.biodiversidades-tablero-geoespacial #colophon [data-id="31b8d6bd"] > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #13363f !important;
}

/* El tablero ocupa el espacio entre la cabecera y el pie, sin scroll exterior. */
body.biodiversidades-tablero {
 --bio-header-height: 85px;
 --bio-admin-height: 0px;
 --bio-footer-height: 0px;
 height: 100dvh;
 overflow: hidden;
 margin: 0;
}
body.biodiversidades-tablero #masthead {
 position: fixed;
 inset: var(--bio-admin-height) 0 auto;
 width: 100%;
 z-index: 1000;
}
body.biodiversidades-tablero #colophon {
 display: block !important;
 position: fixed;
 inset: auto 0 0;
 width: 100%;
 z-index: 1000;
}
body.biodiversidades-tablero.biodiversidades-ficha-abierta #colophon { display: none !important; }
body.biodiversidades-tablero #colophon img { object-fit: contain; }
body.biodiversidades-tablero iframe.biodiversidades-dashboard-frame,
body.biodiversidades-tablero iframe[data-src*="/tablero-de-datos/"],
body.biodiversidades-tablero iframe[data-src*="/tablero-geoespacial/"] {
 position: fixed !important;
 top: calc(var(--bio-header-height) + var(--bio-admin-height)) !important;
 left: 0 !important;
 width: 100% !important;
 max-width: none !important;
 height: calc(100dvh - var(--bio-header-height) - var(--bio-admin-height) - var(--bio-footer-height)) !important;
 min-height: 0 !important;
 margin: 0 !important;
 border: 0;
 display: block;
}
body.biodiversidades-tablero .biodiversidades-dashboard-contenedor {
 transform: none !important;
 contain: none !important;
}
