@media (max-width: 600px) {
  :root {
    --wp--preset--font-size--small: 1.1rem;
    --wp--preset--font-size--medium: 1.1rem;
    --wp--preset--font-size--large: 1.5rem;
    --wp--preset--font-size--x-large: 1.8rem;
    --wp--preset--font-size--xx-large: 2.3rem;
     p {
    font-size: 1.1rem !important;
  }
}
}

.wp-block-cover p {
  font-size: clamp(1.4rem, 0.6vw + 0.9rem, 2rem) !important;
}

.mobile-43-cover {
  aspect-ratio: 1 / 1;
}

@media (max-width: 781px) {
  .mobile-43-cover {
    aspect-ratio: 4 / 3 !important;
  }
}


/* HEADER CODE: hide all headers by default */
.header-full,
.header-narrow,
.header-mobile {
  display: none !important;
}

/* full desktop */
@media (min-width: 1200px) {
  .header-full {
    display: block !important;
  }
}

/* narrow / tablet */
@media (min-width: 501px) and (max-width: 1199px) {
  .header-narrow {
    display: block !important;
  }
}

/* mobile */
@media (max-width: 500px) {
  .header-mobile {
    display: flex !important;
  }
}

@media(min-width: 500px) {
	.scroll-wrapper {
		overflow-y: visible;
	}
	.responsive-nav-track .wp-block-navigation__container {
		display: flex;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
		mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
		padding: 0px 30px;
		overflow-x: auto;
	}
	
	.responsive-nav-track .wp-block-navigation-item.has-child {
    position: relative;
}
	

	.responsive-nav-track::-webkit-scrollbar {
		display: none;
	}
	

.responsive-nav-track .wp-block-navigation-item__content {
	white-space: nowrap;
	pointer-events: auto;
}
	
	.responsive-nav-track .wp-block-navigation__container {
    overflow-x: auto;
    overflow-y: hidden; /* We clip Y, but make the "box" huge */
		pointer-events: none;
    
    /* 1. Add enough bottom padding to fit your dropdown height (e.g., 300px) */
    padding-bottom: 400px !important; 
    
    /* 2. Use a negative margin to "pull" the rest of the site back up */
    margin-bottom: -400px !important; 
    
    display: flex;
    align-items: flex-start; /* Keeps nav items at the top */
  }

  /* Ensure the sub-menu stays relative to its parent item */
  .responsive-nav-track .wp-block-navigation-item.has-child {
    position: relative !important;
  }
}

@media (min-width: 1200px) {
	.responsive-nav-track .wp-block-navigation__container {
		justify-content: center;
	}
}