/* CABECERA */

.branding a img {height: 73px; width:auto !important;}
#phantom .logo-box img {height: 65px; width:auto !important;}

.dt-mobile-header .mini-contacts {margin-bottom:5px !important;}

.sub-nav {box-shadow: 0px 0px 0px rgba(0, 0, 0, .0) !important;}

.menu-item-text {text-align:center !important; text-transform:uppercase !important;}

/* alineación menu izq LBF */
#primary-menu span, #mobile-menu span {
	text-align: left!important;
}

/* ajustes hover submenú LBF */
.proximamente .menu-text::after {
  content: " - Próximamente";
  opacity: 0;
  margin-left: 6px;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.proximamente:hover .menu-text::after {
  opacity: 1;
}




/* MG tamaño logo cabecera tablet */
@media only screen and (min-width: 600px) and (max-width: 1193px){
	a.same-logo>img.preload-me{
		height: 65px;
		width: auto;
	}
	div.mobile-branding>a.sticky-mobile-logo-first-switch>img.preload-me{
		height: 65px;
		width: auto;
	}
}

/* Cookies */

#cmplz-document {max-width: 100% !important;}
#cmplz-manage-consent .cmplz-manage-consent {right: 60px !important;}
#cmplz-document p {font-size:17px !important; line-height:1.5em !important;}

/* Plugin Complianz GDPR */
.cmplz-hidden {
	display: none !important;
}

/* Logos institucionales en navbar */
.esico-header-logos {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0 12px 45px;
}
.esico-header-logos img {
	height: 45px;
	width: auto;
	object-fit: contain;
	object-position: center;
	filter: none;
}
.esico-header-logos__sisd,
.esico-header-logos__urjc {
	background-color: #FFFFFF;
	padding: 5px 15px;
	border-radius: 10px;
	display: flex;
	align-items: center;
}
@media (max-width: 767px) {
	.esico-header-logos { display: none; }
}


/* Navbar siempre por encima de cualquier elemento de la página */
#navbar-root .masthead {
	z-index: 10001 !important;
}

/* Bajar z-index de los overlays EAEL (el JS los pone a 9999 inline, !important lo sobreescribe) */
.--eael-wrapper-link-tag {
	z-index: 100 !important;
}

/* Navbar variante clara: solo director-seguridad (927) y detective-privado (867) */
body.elementor-page-927 .esico-logo-light,
body.elementor-page-867 .esico-logo-light { display: inline-block; }
body.elementor-page-927 .esico-logo-dark,
body.elementor-page-867 .esico-logo-dark { display: none; }
.esico-logo-light { display: none; }

body.elementor-page-927 #navbar-root .masthead,
body.elementor-page-867 #navbar-root .masthead {
	z-index: 10001 !important;
	position: relative;
}
body.elementor-page-927 #navbar-root .masthead,
body.elementor-page-867 #navbar-root .masthead {
	background-color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
body.elementor-page-927 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a,
body.elementor-page-927 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a .menu-text,
body.elementor-page-927 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a .subtitle-text,
body.elementor-page-927 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a:hover span,
body.elementor-page-867 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a,
body.elementor-page-867 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a .menu-text,
body.elementor-page-867 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a .subtitle-text,
body.elementor-page-867 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a:hover span {
	color: #333333 !important;
}
body.elementor-page-927 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li.act > a > span,
body.elementor-page-927 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li.act > a .menu-text,
body.elementor-page-927 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a:hover .menu-text,
body.elementor-page-867 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li.act > a > span,
body.elementor-page-867 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li.act > a .menu-text,
body.elementor-page-867 #navbar-root .light-preset-color.masthead:not(#phantom):not(.sticky-on) .main-nav > li > a:hover .menu-text {
	color: #fdc437 !important;
}
body.elementor-page-927 #navbar-root .masthead .top-bar .mini-contacts,
body.elementor-page-927 #navbar-root .masthead .top-bar .mini-contacts i,
body.elementor-page-927 #navbar-root .masthead .top-bar .text-area p,
body.elementor-page-867 #navbar-root .masthead .top-bar .mini-contacts,
body.elementor-page-867 #navbar-root .masthead .top-bar .mini-contacts i,
body.elementor-page-867 #navbar-root .masthead .top-bar .text-area p {
	color: #333333 !important;
}
body.elementor-page-927 #navbar-root .masthead .top-bar .soc-ico a,
body.elementor-page-867 #navbar-root .masthead .top-bar .soc-ico a {
	color: #333333 !important;
}
body.elementor-page-927 #navbar-root .esico-header-logos,
body.elementor-page-867 #navbar-root .esico-header-logos {
	display: none;
}

/* Director Seguridad - hero image full viewport width */
body.elementor-page-927 {
	overflow-x: hidden;
}
body.elementor-page-927 .elementor-element.elementor-element-d2eccdb {
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

/* ── Hero kicker ─────────────────────────────────────────────────── */
.esico-kicker {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin: 0 0 14px 0;
	line-height: 1;
}

/* ── Card tags inline ────────────────────────────────────────────── */
.esico-tag {
	display: inline-block;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 3px;
	padding: 4px 8px 3px;
	margin-bottom: 10px;
	line-height: 1;
}

/* ── Micro-copy bajo CTA ─────────────────────────────────────────── */
.esico-cta-microtext {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.42);
	margin-top: 10px;
	margin-bottom: 0;
	letter-spacing: 0.01em;
	font-style: italic;
}

/* ── Igual altura en los contenedores azules de las cards ─────────── */

/* Títulos H2 de las cards — reducidos para que la caja sea compacta */
.elementor-element-3ede001 .elementor-heading-title,
.elementor-element-797fd42 .elementor-heading-title,
.elementor-element-5dbbbe2 .elementor-heading-title,
.elementor-element-2228736 .elementor-heading-title,
.elementor-element-6f10481 .elementor-heading-title {
	font-size: 15px !important;
	line-height: 1.25em !important;
}

/* Subtítulos H3 de las cards */
.elementor-element-611eddd .elementor-heading-title,
.elementor-element-51a2757 .elementor-heading-title,
.elementor-element-95756c4 .elementor-heading-title,
.elementor-element-0c37223 .elementor-heading-title,
.elementor-element-746d4a9 .elementor-heading-title {
	font-size: 11px !important;
}

/* Párrafo descriptivo de las cards */
.elementor-element-b5b445b,
.elementor-element-933d68b,
.elementor-element-eaa8167,
.elementor-element-3551beb,
.elementor-element-e896826 {
	font-size: 13px !important;
}

/* Inner content box: altura FIJA igual para todas las de la misma fila */
.elementor-element-000dd29,
.elementor-element-b091cfc,
.elementor-element-8adf026 {
	flex-direction: column !important;
	justify-content: flex-start !important;
	height: 220px !important;
	overflow: hidden !important;
}
.elementor-element-4a492b3,
.elementor-element-b7c90b6 {
	flex-direction: column !important;
	justify-content: flex-start !important;
	height: 170px !important;
	overflow: hidden !important;
}

/* Botón pegado al fondo del contenedor azul */
.elementor-element-29cd38f,
.elementor-element-465e7f0,
.elementor-element-cab40b6,
.elementor-element-d4cb5dd,
.elementor-element-0bbb6fa {
	margin-top: auto !important;
}
