/* Desktop-only sticky header */
@media (min-width: 1024px) {
  header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
  }
}



.wp-block-image img.wp-image-45 {
  max-width: 90px;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .wp-block-image img.wp-image-45 {
    width: 100%;
		min-width: 90px;
    max-width: 280px; /* adjust if needed */
    height: auto;
  }
}


footer .wp-block-image img.wp-image-63 {
  max-width: 180px;
  height: auto;
}

@media (max-width: 768px) {
  footer img.wp-image-63 {
    display: block;
    margin: 0 auto;
  }
}

.banner-main:after{
	background: white !important;
}

.wp-block-image.is-style-bk-box-shadow-large img, .wp-block-column.is-style-bk-box-shadow-large, .wp-block-columns.is-style-bk-box-shadow-large, .wp-block-group.is-style-bk-box-shadow-large {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
}

#marqueex-582_0d00c3-1 {
	display: none;
}

#marqueex-442_160df6-1 {
	display: none;
}

#marqueex-639_c1fc91-1 {
	display: none;
}

/* Center social icons on Tablets and Mobile */
@media only screen and (max-width: 1024px) {
    .wp-block-social-links.is-layout-flex {
        justify-content: center !important;
    }
}


/* Responsive Headings for Mobile & Tablets */
@media screen and (max-width: 768px) {
    h1, .has-h-1-font-size {
        font-size: 46px !important; /* Adjust this number to your liking */
        line-height: 1.1 !important;
        margin-bottom: 15px !important;
    }

    h2, .has-h-2-font-size {
        font-size: 46px !important; /* Slightly smaller than the H1 */
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }
}

/* Even smaller for very narrow phones */
@media screen and (max-width: 480px) {
    h1, .has-h-1-font-size {
        font-size: 38px !important;
    }
    h2, .has-h-2-font-size {
        font-size: 32px !important;
    }
}







/* ===== HEADER LAYOUT FIX ===== */
/* ===== HEADER LAYOUT CLEAN FIX ===== */

/* Main header row */
header.wp-block-template-part 
.wp-block-group.is-layout-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo left */
.wp-block-site-logo {
    flex: 0 0 auto;
}

/* Navigation pushed right */
.wp-block-navigation {
    margin-left: auto;
    flex: 0 0 auto;
}

/* Hide burger above Gutenberg mobile breakpoint */
@media (min-width: 783px) {
    .wp-block-navigation__responsive-container-open {
        display: none !important;
    }
}

/* Show burger at Gutenberg mobile breakpoint */
@media (max-width: 782px) {
    .wp-block-navigation__responsive-container-open {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }
}


/* ===== MOBILE MENU STYLING (BURGER EXPANDED ONLY) ===== */
@media (max-width: 782px) {

    /* Center the nav list inside the overlay */
    .wp-block-navigation__responsive-container-content 
    .wp-block-navigation__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    /* Increase font size of nav links */
    .wp-block-navigation__responsive-container-content 
    .wp-block-navigation-item__content {
        font-size: 22px;
        font-weight: 600;
    }

    /* Center the CTA button */
    .wp-block-navigation__responsive-container-content 
    .wp-block-buttons {
        justify-content: center;
        margin-top: 25px;
    }

}


/* ===== FIX GALLERY TABLET BREAKPOINT ===== */
@media (max-width: 1024px) {

    .wp-block-gallery.is-layout-flex {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: center;
    }

    .wp-block-gallery.is-layout-flex .wp-block-image {
        width: 100% !important;
        margin: 0 !important;
    }

    .wp-block-gallery.is-layout-flex img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* ===== LARGER BURGER ICON (MOBILE ONLY) ===== */
@media (max-width: 1024px) {

    .wp-block-navigation__responsive-container-open svg {
        width: 34px !important;
        height: 34px !important;
    }

    .wp-block-navigation__responsive-container-open {
        padding: 10px;
    }

}

/* ===== FIX JETPACK FORM HALF-WIDTH FIELDS ON TABLET & MOBILE ===== */
@media (max-width: 1024px) {

    .wp-block-jetpack-contact-form 
    .grunion-field-width-50-wrap {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .wp-block-jetpack-contact-form 
    .grunion-field-width-50 {
        width: 100% !important;
        max-width: 100% !important;
    }

}


/* ===== ADD SPACE ABOVE SUBMIT BUTTON ON TABLET & MOBILE ===== */
@media (max-width: 1024px) {

    .wp-block-jetpack-contact-form 
    .wp-block-button,
    .wp-block-jetpack-contact-form 
    .contact-submit {
        margin-top: 20px !important;
    }

}