/* Personalizaciones recuperadas de Twenty Twenty 1.1 de Sonido Montañez.
   Base del tema padre: Twenty Twenty 3.3. */
button.close-nav-toggle svg{
	position: relative;
    top: 10px;
}
/* Main Menu
-------------------------------------------------------------------------- */
#site-header{
	position: fixed;
	width: 100%;
	top: 0;
	background-color: transparent;
}
#site-header ul.primary-menu > li > a{
	color: #fff;
}
#site-header ul.primary-menu > li > a:before{
	content: "";
	width: 0%;
	height: 1px;
	background-color: transparent;
	position: absolute;
	bottom: -10px;
	transition: all 0.3s;
}
#site-header ul.primary-menu > li > a:hover:before{
	background-color: red;
	width: 100%;
}
#site-header ul.primary-menu > li > a:hover{
	text-decoration: none;
	color: #e70005;
}
.gallery-ct.gallery-spacing-custom .elementor-image-gallery .gallery-icon{
	height: 100%;
}
.gallery-ct.elementor-element.elementor-element-5e76472 .gallery-item img{
	height: 100%;
    object-fit: cover;
}
section section{
	padding: 3rem 0;
}
.argpd-footer{
	background-color: #0d1323;
}
.admin-bar #site-header{
	margin-top: 32px;
    z-index: 1000;
}
.admin-bar #gtranslate_wrapper{
	z-index: 99999999 !important;
	top: 50px !important;
}
.nav-toggle.active .toggle-inner{
	    opacity: 0;
}
button.close-nav-toggle .toggle-text{
	      display: none;
}
body{
	 overflow-x: hidden;
}
/* -------------------------------------------------------------------------- */


/* Ajustes originales para pantallas menores de 1000px */
@media ( max-width: 999px ) {
	#site-header .header-inner{
		padding-top: 15px;
    	padding-bottom: 15px;
		    width: calc(100% - 30px);
	}
	#site-header .header-titles-wrapper{
		    padding-right: 0;
    box-sizing: border-box;
	}
	#gtranslate_wrapper{
		top: 50px !important;
    	right: 15% !important;
	}
	.toggle-inner .toggle-text{
		color:transparent !important;
	}
	.admin-bar #gtranslate_wrapper{
		z-index: 99999999 !important;
		top: 80px !important;
	}
}

/* Menú escritorio: conservar blanco y desplegable legible */
@media (min-width: 1000px) {
  #site-header .primary-menu > li > a { color: #fff; }
  #site-header .primary-menu ul { background: #504d52; color: #fff; }
  #site-header .primary-menu ul a { color: #fff; }
  #site-header .primary-menu ul a:hover,
  #site-header .primary-menu ul a:focus { color: #e70005; }
  #site-header .primary-menu ul::after { border-bottom-color: #504d52; }
}
/* Menú móvil y submenús: conservar el funcionamiento nativo del tema 3.3 */
@media (max-width: 999px) {
  #site-header { z-index: 1000; }
  .menu-modal { z-index: 10001; }
  .menu-modal-inner { background: #504d52; color: #fff; }
  .menu-modal .modal-menu a,
  .menu-modal .modal-menu ul a { color: #fff; }
  .menu-modal .modal-menu a:hover,
  .menu-modal .modal-menu a:focus { color: #ff0000; }
  .menu-modal button.close-nav-toggle,
  .menu-modal button.sub-menu-toggle { color: #fff; }
  .menu-modal button.sub-menu-toggle svg { fill: currentColor; }
  .menu-modal .modal-menu ul.active { display: block; }
  .header-inner .nav-toggle { color: #fff; }
}
/* Separar título de cabecera fija únicamente en páginas interiores.
   Mantener intactos los colores de fondo del contenido. */
body.page:not(.home) .singular .entry-header { padding-top: 140px; }
@media (max-width: 999px) {
  body.page:not(.home) .singular .entry-header { padding-top: 120px; }
}
