/** Custom Styles **/

/** Custom Styles for Donate Submenu **/

/* Position the parent container relative to anchor the absolute dropdown */
.header_btn.has-donate-submenu {
    position: relative;
}

/* Match the native theme .sub-menu container */
.donate-sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%); /* Perfectly centers the dropdown under the button */
    min-width: 220px; 
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    padding: 10px 0;
    margin: 0;
    list-style: none;
    z-index: 99999; 
}

/* Show the submenu on hover */
.header_btn.has-donate-submenu:hover .donate-sub-menu {
    display: flex;
    flex-direction: column;
}

/* Strip global button styles and match the native .sub-menu li a */
.header_btn.has-donate-submenu .donate-sub-menu li a {
    background-color: transparent;
    border-radius: 0;
    padding: 8px 20px;
    font-size: 15px !important;
    line-height: 22px;
    text-transform: none;
    color: #003963;
    display: block;
    text-align: left;
    height: auto;
    width: 100%;
    font-weight: 600;
}

/* Match the native .sub-menu hover state */
.header_btn.has-donate-submenu .donate-sub-menu li a:hover {
    background-color: #f0f7f7;
    color: #277050;
}


/***** Inner Banner Other *****/
.default_other_banner {
  position: relative;
  height: 400px;
}

.inner_banner_other:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/banner-bg.png) no-repeat;
  z-index: 9;
  background-size: cover;
}

.inner_banner_other:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 62px;
  background: url(../images/banner-btm.png) no-repeat;
  z-index: 9;
  background-size: cover;
  background-position: center;
}

.inner_banner_other img {
  width: 100%;
  height: 550px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.inner_banner_other .down-arrow img {
  width: 100%;
  height: 54px;
  z-index: 9;
}

.inner_banner_other .down-arrow:before {
  content: "";
  position: absolute;
  left: -54px;
  right: 0;
  margin: 0 auto;
  bottom: -49px;
  width: 124px;
  height: 124px;
  background: #ffffff;
  border-radius: 50%;
}

.inner_banner_other:before,
.banner_sec:before {
  background: url(../images/banner-bg.svg) no-repeat 50% 50% / cover;
}


.vc-intro-sec .vc-hero-badge img {
  max-width: 200px;
  height: auto;
}

/* Hide Global Donate Button only on this page template */
.page-id-6972 .donate_btn {
  display: none !important;
} 

/* Hide the cloned links on desktop */
.mobile-donate-clone {
    display: none !important;
}

@media (max-width: 991px) {
    /* Hide the dropdown under the top-right Donate button on mobile */
    .header_btn.has-donate-submenu:hover .donate-sub-menu,
    .header_btn.has-donate-submenu .donate-sub-menu {
        display: none !important;
    }

    /* Show the cloned links at the bottom of the open mobile menu */
    .mobile-donate-clone {
        display: block !important;
        margin-top: 0 !important; /* Removes the extra gap between cloned items */
        margin-bottom: 2px !important;
    }

    /* Override the native mobile menu styling to tighten spacing */
    .header .header_main .header_menu ul li.mobile-donate-clone a {
        text-transform: none !important; 
        font-size: 17px !important; 
        padding: 4px 7px !important; /* Reduces top and bottom padding */
        line-height: 1.2 !important;
        color: #003963;
    }
}

@media (max-width: 767px) {
    .vc-hero-section .vc-hero-badge img {
        max-width: 175px; 
        margin-bottom: 15px; 
    }
}

@media (max-width: 575px) {

}