h1:first-of-type {
    color: white!important;
}


#home-hero h2 {
   
    color: white;
}


#top .av_inherit_color a {
    text-decoration: none;
    font-weight: 900;
}



#header {
    position: relative;
    z-index: 501;
    width: 100%;
    background: #ffffff;
    margin-bottom: !important;
}

body.page-id-2 span.avia-menu-text {
    color: #113e6c !important;
    text-shadow: none !important;
}


#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    box-shadow: var(--standard-shadow);
    opacity: 1;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1em;
    padding: 0.75rem 1.5rem;
    text-shadow: none;
    text-transform: uppercase;
    transition: var(--standard-transition);
    color: white !important;
}

body.page-id-2 .container.av-section-cont-open {
    margin-top: 0px !important;
}





/* Apply styles to multiple pages */
body.page-id-19 #hero,
body.page-id-200 #hero,
body.page-id-70 #hero,
body.page-id-24 #hero,
body.page-id-32 #hero {
    position: relative;
    overflow: hidden;
}

/* Overlay background color & opacity */
body.page-id-19 #hero::before,
body.page-id-200 #hero::before,
body.page-id-70 #hero::before,
body.page-id-24 #hero::before,
body.page-id-32 #hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(17, 62, 108, 0.7); /* #113E6C with 70% opacity */
    z-index: 2; /* Overlay above video */
    pointer-events: none;
}

/* Ensure content appears above overlay */
body.page-id-19 #hero .av-section-color-overlay-wrap,
body.page-id-200 #hero .av-section-color-overlay-wrap,
body.page-id-70 #hero .av-section-color-overlay-wrap,
body.page-id-24 #hero .av-section-color-overlay-wrap,
body.page-id-32 #hero .av-section-color-overlay-wrap,
body.page-id-19 #hero .container,
body.page-id-200 #hero .container,
body.page-id-70 #hero .container,
body.page-id-24 #hero .container,
body.page-id-32 #hero .container {
    position: relative;
    z-index: 3; /* Content above overlay */
}

/* Video background positioning */
body.page-id-19 #hero video,
body.page-id-200 #hero video,
body.page-id-70 #hero video,
body.page-id-24 #hero video,
body.page-id-32 #hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Video behind overlay */
}


@media screen and (max-width: 989px) {
    .av_header_transparency div .av-hamburger:not(.is-active) .av-hamburger-inner, .av_header_transparency div .av-hamburger:not(.is-active) .av-hamburger-inner::before, .av_header_transparency div .av-hamburger:not(.is-active) .av-hamburger-inner::after {
        background-color: #113E6C !important;
    }
}

header#header {
    background: white !important;
}


@media only screen and (max-width: 767px) {
    .responsive.html_header_transparency #top .avia-builder-el-0 .container {
        margin-top: 0px !important;
    }
}


strong, b {
    color: inherit !important;
}


/* === GTranslate Fix === */
#top .av-menu-button-colored .gtranslate_wrapper select {
    color: #113e6c !important;
    background-color: transparent !important;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
}

.wp-block-search {
  max-width: 600px;
  margin: 0 auto;
}


@media only screen and (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
  }

  .mobile-full-center {
    width: 90% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* Apply layout fixes ONLY to block elements — skip spans/emojis */
  .mobile-full-center div,
  .mobile-full-center p,
  .mobile-full-center h1,
  .mobile-full-center h2,
  .mobile-full-center h3,
  .mobile-full-center h4,
  .mobile-full-center h5,
  .mobile-full-center h6,
  .mobile-full-center ul,
  .mobile-full-center ol,
  .mobile-full-center li,
  .mobile-full-center img,
  .mobile-full-center iframe,
  .mobile-full-center video {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    overflow-x: hidden !important;
  }

  /* Reset for inline elements — this is what fixes the emojis 🎯 */
  .mobile-full-center span,
  .mobile-full-center b,
  .mobile-full-center strong,
  .mobile-full-center em {
    width: auto !important;
    max-width: none !important;
    display: inline !important;
  }

  /* Prevent stretched emoji images (if any) */
  .mobile-full-center img.emoji {
    width: auto !important;
    max-width: none !important;
    display: inline !important;
    vertical-align: middle;
  }
}

@media only screen and (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
  }

  .mobile-center {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: block !important;
  }

  .mobile-center > .wpb_wrapper {
    text-align: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .medicare-line {
    display: block !important;
    text-align: center !important;
    color: #113e6c !important;
    font-size: 16px !important;
    margin: 5px auto !important;
    white-space: normal !important;
    line-height: 1.5 !important;
    max-width: 90% !important;
  }

  .medicare-line span {
    display: inline !important;
  }

  .medicare-line strong {
    font-weight: bold !important;
  }

  .mobile-center img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 70% !important;
    height: auto !important;
  }
}

/* Make CF7 placeholders light grey */
.wpcf7 ::-webkit-input-placeholder {
  color: #aaa;   /* Chrome/Safari */
}
.wpcf7 :-ms-input-placeholder {
  color: #aaa;   /* IE 10+ */
}
.wpcf7 ::-ms-input-placeholder {
  color: #aaa;   /* Edge */
}
.wpcf7 ::placeholder {
  color: #aaa;   /* Modern browsers */
}


/* Style the small text that appears under each missed required field */
.wpcf7-not-valid-tip {
  color: #b71111 !important;
  font-size: 16px !important;
  font-weight: 600;
}

/* Optional: highlight the actual input field that was missed */
.wpcf7-not-valid {
  border: 2px solid #b71111 !important;
  background-color: #fff4f4 !important;
}

/* Optional: make the overall error summary more visible */
.wpcf7-response-output.wpcf7-validation-errors {
  color: #b71111 !important;
  font-size: 16px !important;
  border: 2px solid #b71111 !important;
  background-color: #fff4f4 !important;
  padding: 12px;
  border-radius: 4px;
}


.invisible-column {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  visibility: hidden;
  opacity: 0;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Keep the empty 1/3 column visible in layout but invisible visually */
.ghost-col {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  opacity: 0;            /* make invisible */
  pointer-events: none;  /* ignore mouse */
  visibility: visible;   /* keeps space in grid */
}

/* Force equal widths in a 3-column group */
.wp-block-columns.has-3-columns > .wp-block-column {
  flex-basis: 33.333% !important;
  max-width: 33.333% !important;
}

/* Hide any decorative background / globe image on the placeholder */
.ghost-col,
.ghost-col * {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Kill pseudo-element ornaments the theme may inject */
.ghost-col::before,
.ghost-col::after,
.ghost-col *::before,
.ghost-col *::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Keep the column in the grid but invisible */
.ghost-col {
  opacity: 0;            /* visually gone */
  pointer-events: none;  /* not clickable */
  visibility: visible;   /* keep space */
}
