	@media only screen and (max-width: 1100px) {

	.alignfull{
		border-radius: 0px !important;
	}
	.wp-block-columns.tres-columnas-home {
    	grid-template-columns: 1fr;
  	}
	/*Header*/

	#mobile-menu {
    	display: flex;
	}
	#header div[class|="menu-main"] ul {
	  display: none;
	}
	#header {
	    width: 100%;
	    height: 65px;
	    border-radius: 0;
	    padding: 0 25px;
	}
	#header #logo {
	  width: 120px;
	}
	.menuOpen {
		cursor: pointer;
		position: relative;
	}
	
	.menuOpen > div {
		width: 40px;
		height: 4px;
		background-color: #fff;
		border-radius: 3px;
		margin: 6px 0;
		transition: 0.4s;
	}
	.menuOpen.active > div:nth-child(1) {
		transform: rotate(-45deg) translate(-7px, 6px);
	}
	.menuOpen.active > div:nth-child(2) {
		opacity: 0;
	}
	.menuOpen.active > div:nth-child(3) {
		transform: rotate(45deg) translate(-8px, -8px);
	}
	#mobile-menu {
		width: 100%;
		height: 100%;
		background-color: rgba(255,255,255,0.9);
		opacity: 0;
		transform: translateY(-50px);
		transition: all 500ms ease;
		pointer-events: none;
		position: fixed;
		top: 65px;
		left: 0;
		right: 0;
		bottom: 15px;
		z-index: 9;
	}
	#mobile-menu.active {
		opacity: 1;
		transform: translateY(0);
		pointer-events: all;
	}
	#mobile-menu > div {
		border-radius: 20px;
		background-color: #00537A;
		justify-content: center;
		align-items: center;
		position: absolute;
		right: 20px;
		top: 20px;
		left: 20px;
	}

	#mobile-menu ul {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-direction: column;
		padding: 20px 0;
    	gap: 30px;
	}
	#mobile-menu ul li {
		width: 100%;
		padding: 15	px;
		text-align: center;
		font-size: 18px;
		float: left;
		list-style: none;
		margin: 5px;
	}
	#mobile-menu ul li a {
		text-transform: uppercase;
		color: #fff;
	}
	.ninjahidden{
    display: flex;
	}
	.ninjashow{
	    display: none;
	}

}

@media only screen and (max-width: 768px) {

	:root{
		--wp--preset--font-size--small: 14px;
		--wp--preset--font-size--medium: 16px;
	}

	:root :where(.is-layout-flow) > h1, :root :where(.is-layout-flow) > h2, :root :where(.is-layout-flow) > h3, :root :where(.is-layout-flow) > h4, :root :where(.is-layout-flow) > h5, :root :where(.is-layout-flow) > h6 {
		margin-block-end: 2rem;
	}

	.nomovil{
		display: none;
	}

	img{
	    max-width: 100%;
	}
	
	.has-large-font-size{
		font-size: 25px !important;
	}

	h1{
		margin-top: 100px !important;
		font-size: 50px !important;
	}

	h2{
		font-size: 35px !important;
	}

	.wpcf7{
  		max-width: 100% !important;
  		position: relative;
	}
	   
	.imgmobile{
		min-height: 300px !important;
		background-size: cover !important;
	}

	.wp-block-button__link {
		padding: 1rem 2.25rem !important;
	}

	.wp-site-blocks img,
	#footer div.wp-block-columns{
		border-radius: 0px !important;
	}
	/*FOOTER*/

	#footer div.wp-block-columns{
		gap: 2vh !important;
	}

	/* Forzar alineación a la izquierda en móviles */
  .footer,
  .footer .wp-block-column,
  .footer .wp-block-heading,
  .footer p,
  .footer .wp-block-group,
  .footer .wp-block-navigation,
  .footer .wp-block-navigation__container,
  .footer .wp-block-navigation-item,
  .footer .wp-block-navigation-link,
  .footer .wp-block-navigation-item__content {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  /* Anula clases auto-generadas que meten alineación a la derecha */
  .has-text-align-right {
    text-align: left !important;
  }

  .is-content-justification-right {
    justify-content: flex-start !important;
  }

  .items-justified-right {
    justify-content: flex-start !important;
  }

}

@media only screen and (max-width: 480px) {
	h1{
		margin-top: 30% !important;
		font-size: 25px !important;
	}

	h2{
		font-size: 20px !important;
	}
	h3{
		font-size: 20px !important;

	}

}