.home h2.page-title {
  display: none;
}


/* Change social media in footer to black w/no circle BM ZD-3650294 */

.site-social2-menu a, .site-social2-menu a:visited, .site-social2-menu a:hover, .site-social2-menu a:active {
    color: black;
    background-color: #fff;
}


/*remove map close button padding and change color | 3733460-zen */
button.mapboxgl-popup-close-button {
    padding: 0;
    background: #fff !important;
}


/* Change the youtube icon in social menu to ply button SS-3743374-hc */
.site-social-menu a[href*='youtube.com']:before, .site-social2-menu a[href*='youtube.com']:before, .widget_nav_menu div[class^='menu-social-'] a[href*='youtube.com']:before {
  content: '\f16a';
}


/* hide the scroll up button || #4395475-zen VG */
a#scrollUp {
    display: none !important;
}


/* Display two rows and three columns for Instagram block on mobile SS-4881100-zen*/
@media screen and (max-width: 480px){
.entry-content .wp-block-jetpack-instagram-gallery__grid-columns-5 {
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: minmax(80px, 1fr) minmax(80px, 1fr) minmax(0px, 0) minmax(0px, 0);
}
}


/* Change font size of paragraphsin posts | 4944676-zd | kA */
article div p {
  font-size: 18px;
}


.wp-block-image figcaption {
	font-size: 16px;
}


ul.sf-menu li.menu-item a{
font-size:16px;
}
ul.sub-menu li.menu-item a{
font-size:16px;
}


/* Change Instagram Image To Square | 4881100-zd */
.wp-block-jetpack-instagram-gallery__grid-post img {
    object-fit: cover;
    width: 230px;
    max-height: 230px;
}


/* Apply 'Open Sans' font to all unordered and ordered lists */
ul, ol {
    font-family: 'Open Sans', sans-serif;
}


/* Target hyperlinked and highlighted text within paragraphs */
p strong a mark {
    margin-left: -0.25em;
    margin-right: -0.25em;
}

/* Target hyperlinked and highlighted text within list items */
li strong a mark {
    margin-left: -0.25em;
    margin-right: -0.25em;
}



/* Target paragraphs, all headings except H1, and list items within posts, excluding Table of Contents */
.post p:not(.toc),
.post h2:not(.toc), .post h3:not(.toc), .post h4:not(.toc), .post h5:not(.toc), .post h6:not(.toc),
.post ul li:not(.toc), .post ol li:not(.toc) {
    color: black !important;
}


.map-embed figcaption {
  font-size: 16px;
  color: #999;
  text-align: center;
  margin-top: 0.75rem;
}


/* Underline content links on hover, excluding buttons and menus */
a:hover:not(.button):not(.wp-block-button__link):not(header a):not(nav a) {
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* Ensure dropdown items fill the row */
header nav ul ul li a {
  display: block;
  padding: 0.75em 1em;
}

/* Hover state */
header nav ul ul li a:hover {
  background-color: #1F7CAA;
  color: #ffffff;
}


.main-navigation ul ul li a:hover,
.sub-menu li a:hover {
  background-color: #1F7CAA;
  color: #ffffff;
}


/* Underline content links on hover, excluding buttons and menus */
a:hover:not(.button):not(.wp-block-button__link):not(header a):not(nav a) {
  text-decoration: underline;
  text-underline-offset: 2px;
}



/* Common sticky header wrappers across WP themes */
.sticky-header,
.sticky-header-wrap,
.sticky-wrap,
.sticky-wrapper,
.is-sticky,
.is-stuck,
.stuck,
.headroom--pinned,
.headroom--not-top,
.header--sticky,
.site-header--sticky,
.elementor-sticky,
.elementor-sticky--active {
  background-color: rgba(31, 124, 170, 0.85) !important;
}


/* =========================
   REMOVE UNDERLINES FROM MENUS & BUTTONS
   (ALL STATES, INCLUDING MOBILE)
   ========================= */

/* Navigation / menu links */
header a,
nav a,
.menu a,
.nav-menu a,
.sub-menu a {
  text-decoration: none !important;
}

/* Buttons (WordPress + theme buttons) */
.button,
.wp-block-button__link,
.wp-element-button,
a.button {
  text-decoration: none !important;
}

/* Prevent underline on tap/active states (mobile fix) */
header a:hover,
header a:focus,
header a:active,
nav a:hover,
nav a:focus,
nav a:active,
.button:hover,
.button:focus,
.button:active,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:active {
  text-decoration: none !important;
}


.button,
.wp-block-button__link {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.button:hover,
.wp-block-button__link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}


.button:active,
.wp-block-button__link:active {
  transform: translateY(1px);
  opacity: 0.9;
}

.button:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 2px solid #1f7caa;
  outline-offset: 3px;
}


/* Homepage only: square buttons */
.home button,
.home .wp-block-button__link,
.home .kadence-button,
.home a.button {
  border-radius: 0 !important;
}


/* ================================
   FLOATING / STICKY HEADER DROPDOWNS
   Make dropdown text white on hover + active
   ================================ */

/* 1) Floating/sticky header: dropdown link hover */
#kadence-sticky-header .sub-menu a:hover,
#kadence-sticky-header .sub-menu li:hover > a,
#masthead .kadence-sticky-header .sub-menu a:hover,
#masthead .kadence-sticky-header .sub-menu li:hover > a,
.kadence-sticky-header .sub-menu a:hover,
.kadence-sticky-header .sub-menu li:hover > a,
.site-header-item--sticky .sub-menu a:hover,
.site-header-item--sticky .sub-menu li:hover > a {
  color: #ffffff !important;
}

/* 2) Floating/sticky header: dropdown current/active item */
#kadence-sticky-header .sub-menu .current-menu-item > a,
#kadence-sticky-header .sub-menu .current-menu-ancestor > a,
#masthead .kadence-sticky-header .sub-menu .current-menu-item > a,
#masthead .kadence-sticky-header .sub-menu .current-menu-ancestor > a,
.kadence-sticky-header .sub-menu .current-menu-item > a,
.kadence-sticky-header .sub-menu .current-menu-ancestor > a,
.site-header-item--sticky .sub-menu .current-menu-item > a,
.site-header-item--sticky .sub-menu .current-menu-ancestor > a {
  color: #ffffff !important;
}

/* 3) If the theme colors a span inside the link, force that too */
#kadence-sticky-header .sub-menu a:hover *,
.kadence-sticky-header .sub-menu a:hover *,
.site-header-item--sticky .sub-menu a:hover * {
  color: #ffffff !important;
}

/* Universal button hover: darken slightly */
button:hover,
a.button:hover,
.wp-block-button__link:hover,
.kadence-button:hover {
  filter: brightness(0.88);
}


/* Remove the diagonal "perspective" strip above the footer */
.site-footer-top-perspective-wrapper,
.site-footer-top-perspective {
  display: none !important;
}

/* Remove the diagonal "perspective" strip below the footer */
.site-footer-bottom-perspective-wrapper,
.site-footer-bottom-perspective {
  display: none !important;
}


/* =========================================
   FOOTER ONLY — FORCE #163A4A
   ========================================= */

#colophon {
  background-color: #163A4A !important;
  background-image: none !important;
}

/* Inner footer sections (but NOT outside the footer) */
#colophon .site-footer-widgets,
#colophon #supplementary,
#colophon .site-footer-inner,
#colophon .site-footer-wrap,
#colophon .site-footer-content,
#colophon .footer-widgets,
#colophon .footer-widgets-wrapper,
#colophon .footer-bottom,
#colophon .site-info {
  background-color: transparent !important;
}

/* Kill any dark overlay inside footer only */
#colophon::before,
#colophon::after {
  content: none !important;
  display: none !important;
}


/* Footer menus: center within each column */
#colophon .site-footer-widgets .widget_nav_menu,
#colophon .site-footer-widgets .menu {
  text-align: center !important;
}

/* Center the UL itself */
#colophon .site-footer-widgets .widget_nav_menu ul,
#colophon .site-footer-widgets ul.menu {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  list-style: none !important;
}

/* Make menu items stack neatly and center */
#colophon .site-footer-widgets .widget_nav_menu li,
#colophon .site-footer-widgets ul.menu > li {
  display: block !important;
  text-align: center !important;
}

/* Center the links (and any underline/divider styling tied to them) */
#colophon .site-footer-widgets .widget_nav_menu a,
#colophon .site-footer-widgets ul.menu a {
  display: inline-block !important;
  text-align: center !important;
}


/* Footer menu divider line color */
#colophon .site-footer-widgets .widget li {
  border-top-color: #E6E3DE !important;
}


ul {
  padding-left: 0;
  margin-left: 0;
}

ul li {
  list-style-position: inside;
  margin-left: 0;
}


/* Start Here page – bullet colour */
.page-id-32494 ul li::marker {
  color: #E6E3DE;
}

/* Start Here page – left-align content bullet lists only */
.page-id-32494 .entry-content ul {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.page-id-32494 .entry-content ul li {
  text-align: left !important;
}


/* Sidebar widget headings color */
.sidebar .widget-title,
#secondary .widget-title,
.widget-area .widget-title {
  color: #163A4A !important;
}


/* =========================================================
   FORCE CUSTOM BULLETS (COLORED) — POST/PAGE ID 32502
   ========================================================= */

/* Cover both posts + pages */
body.postid-32502 .entry-content ul,
body.page-id-32502 .entry-content ul,
body.postid-32502 .elementor-widget-container ul,
body.page-id-32502 .elementor-widget-container ul,
body.postid-32502 .wp-block-post-content ul,
body.page-id-32502 .wp-block-post-content ul {
  list-style: none !important;          /* remove theme bullets */
  padding-left: 1.4em !important;       /* keep indentation */
  margin-left: 0 !important;
}

/* Ensure list items can host a custom bullet */
body.postid-32502 .entry-content ul li,
body.page-id-32502 .entry-content ul li,
body.postid-32502 .elementor-widget-container ul li,
body.page-id-32502 .elementor-widget-container ul li,
body.postid-32502 .wp-block-post-content ul li,
body.page-id-32502 .wp-block-post-content ul li {
  position: relative !important;
}

/* Add our own bullet + set the color */
body.postid-32502 .entry-content ul li::before,
body.page-id-32502 .entry-content ul li::before,
body.postid-32502 .elementor-widget-container ul li::before,
body.page-id-32502 .elementor-widget-container ul li::before,
body.postid-32502 .wp-block-post-content ul li::before,
body.page-id-32502 .wp-block-post-content ul li::before {
  content: "•" !important;
  position: absolute !important;
  left: -1.2em !important;
  top: 0.05em !important;
  color: #E6E3DE !important;
  font-size: 1.1em !important;
  line-height: 1 !important;
}

/* If your theme ALSO adds a pseudo-bullet, kill it */
body.postid-32502 .entry-content ul li::marker,
body.page-id-32502 .entry-content ul li::marker {
  color: transparent !important;
}


/* Page 28334 — PERFECT bullet alignment + consistent left indent */
body.page-id-28334 .entry-content ul.wp-block-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.page-id-28334 .entry-content ul.wp-block-list > li {
  position: relative !important;
  padding-left: 1.6em !important;  /* overall indent */
  text-align: left !important;
}

body.page-id-28334 .entry-content ul.wp-block-list > li::before {
  content: "\2022" !important;     /* bullet */
  position: absolute !important;
  left: 0 !important;
  top: 0.15em !important;
  line-height: 1 !important;
}

body.page-id-28334 .entry-content ul.wp-block-list > li > p {
  margin: 0 !important;
}

body.page-id-28334 .entry-content ul.wp-block-list > li > p + p {
  margin-top: 0.35em !important;
}



/* Force EVB background content to be full width */
.backgroundContent.is-layout-constrained {
  max-width: 100% !important;
  width: 100% !important;
}

/* Ensure inner wrapper also spans full width */
.backgroundContentWrapper,
.backgroundContent {
  max-width: 100% !important;
  width: 100% !important;
}


/* SEARCH RESULTS: force underline on hover */
body.search .entry-title a:hover,
body.search-results .entry-title a:hover {
  text-decoration: underline !important;
}


/* EASY TOC — force underline on the actual link */
#ez-toc-container nav ul li a:hover,
#ez-toc-container nav ul li a:focus {
  text-decoration: underline !important;
}


.map-caption {
  font-size: 16px;
  font-style: normal;
}


/* BOXED CHECKMARK LIST — ONLY post 40206 */
body.postid-40206 ul.wp-block-list{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.postid-40206 ul.wp-block-list li{
  list-style: none !important;
  position: relative !important;
  padding-left: 2.1em !important;
  margin: 0 0 .6em 0 !important;
}

/* kill native markers everywhere */
body.postid-40206 ul.wp-block-list li::marker{
  content: "" !important;
}

/* checkbox + check */
body.postid-40206 ul.wp-block-list li::before{
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: .15em !important;
  width: 1.15em !important;
  height: 1.15em !important;
  border: 2px solid currentColor !important;
  border-radius: 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: .85em !important;
  line-height: 1 !important;
}



@media (max-width: 768px){
  .oa-stay-connected a[href*="pinterest"],
  .oa-stay-connected a[href*="pin.it"]{
    display: none !important;
  }
}



/* Jetpack Instagram Gallery — FORCE 1 row of 5 on desktop only */
@media (min-width: 1025px) {

  .oa-instagram-grid
  .wp-block-jetpack-instagram-gallery__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    display: grid !important;
    gap: 8px !important;
  }

  /* Ensure items fit cleanly */
  .oa-instagram-grid
  a.wp-block-jetpack-instagram-gallery__grid-post {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Hide anything beyond the first 5 */
  .oa-instagram-grid
  a.wp-block-jetpack-instagram-gallery__grid-post:nth-of-type(n+6) {
    display: none !important;
  }
}



@media (max-width: 768px) {

  /* Make ONLY the footer columns stack */
  footer .col-lg-4.col-md-4.col-sm-4.col-xs-12 {
    float: none !important;
    width: 100% !important;
  }

  /* Turn the footer columns' parent into flex */
  footer .col-lg-4.col-md-4.col-sm-4.col-xs-12 {
    /* keep as blocks; parent flex applied below */
  }

  /* Parent: the row that contains these columns (scoped to footer only) */
  footer .col-lg-4.col-md-4.col-sm-4.col-xs-12 {
    /* noop */
  }

  /* Use the closest row/container in the footer and make it flex */
  footer .container .row,
  footer .row {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Reorder the actual column DIVs by the sidebar IDs inside them */
  footer .col-lg-4.col-md-4.col-sm-4.col-xs-12:has(#footer-sidebar-third) { order: 1 !important; }
  footer .col-lg-4.col-md-4.col-sm-4.col-xs-12:has(#footer-sidebar-second) { order: 2 !important; }
}