body {
  font-family: "Bell MT", Georgia, serif;
  font-size: 20px;
  line-height: 1.6;
}
body {
  background-color: #dddddd;
}
body {
  color: #000000;
}

/* Override header colors if needed */
h1, h2, h3, h4, h5, h6 {
  color: inherit; /* Optional: lets headers inherit the body color */
}
/* Base menu */
.nav-menu,
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
  display: inline-block;
  margin-right: 20px;
}

/* Hide dropdowns by default */
.nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%; /* position below parent */
  left: 0;
  background: #384f68; /* match your theme */
  padding: 10px 0;
  min-width: 200px;
  z-index: 1000;
}

/* Show dropdown on hover */
.nav-menu li:hover > ul {
  display: block;
}

/* Style dropdown items */
.nav-menu li ul li {
  display: block;
  margin: 0;
}

.nav-menu li ul li a {
  display: block;
  padding: 8px 15px;
  color: #000000; /* black text */
  text-decoration: none;
}

.nav-menu li ul li a:hover {
  background: #cacacc; /* white hover */
}
/*Hide Sub-Menus*/
nav.sub-menu {
  display: none;
}
/*Give Linked Text Color*/
a {
  color: #000000;
}
a {
  color: #000000;
  text-decoration: none; /* optional: removes underline */
}

a:hover,
a:focus {
  color: #000000; /* slightly darker on hover */
  text-decoration: underline; /* optional: adds underline on hover */
}

a:visited {
  color: #000000; /* optional: different color for visited links */
}

a:active {
  color: #000000; /* optional: color when link is clicked */
}
.main-footer__top {
    background-color: #cacacc;
}
.main-footer {
color: #000000;
}
footer a {
  color: #000000;
  text-decoration: none; /* optional: removes underline */
}

footer a:hover,
footer a:focus {
  color: #000000; /* darker green on hover/focus */
  text-decoration: underline; /* optional: adds underline on hover */
}

footer a:visited {
  color: #000000; /* keep visited links consistent */
}

footer a:active {
  color: #000000; /* optional: color when clicked */
}
.main-footer__bottom {
    background-color: #cacacc;
}
.main-footer__heading {
    /* display: flex
; */
    /* align-items: center; */
    color: #000000;
}
.main-footer__col2 .navigation a:visited {
    color: #000000;
}
.main-footer__col2 .navigation a:visited {
    color: #000000;
}
/* Force the site title text to black */
.main-header_site-title {
  color: #000000 !important;
}

/* Override theme color variables */
:root {
  --primary-color: #000000;
  --primary-color-dark: #000000;
  --secondary-color: #000000;
  --secondary-color-dark: #000000;
}
.slick-slide .slide-text .title {
    font-size: 23px;
}
.caption {
    font-size: 18px;
}
.main-header__top-bar .container .top-bar__advanced-search { display: none
}
.mapping-block,
.mapping-map.leaflet-container {
    height: 700px !important;
}
/*================ MAPS =================*/
.leaflet-container, .mapping-block, .mapping-map {
  width: 100% !important;
  max-width: 100% !important;
  margin: 20px auto !important;
  border-radius: 8px;
}
/* ==== REMOVE EXTRA SPACE BELOW NAV ==== */

/* Reduce padding under the header bar */
.main-header__main-bar.container {
  padding-bottom: 10px !important;  /* was 60px+ */
  margin-bottom: 0 !important;
}

/* Reduce margin/padding around nav */
.main-navigation {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Pull main content closer */
#main-content {
  margin-top: 0 !important;
  padding-top: 20px !important; /* just a little breathing room */
}
/* ==== MAKE NAV & CONTENT FLUSH ==== */

/* Header bar and nav: no extra space */
.main-header__main-bar.container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.main-navigation {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Main content starts immediately after nav */
#main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* ==== ELIMINATE ALL SPACE BELOW NAV ==== */

/* Header/nav */
.main-header__main-bar.container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.main-navigation {
  margin: 0 !important;
  padding: 0 !important;
}

/* Content flush with nav */
#main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove any top margin on the first element in content */
#main-content > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* ==== HEADER ENDS AT NAV — ZERO GAP ==== */

/* 1) Header contains the nav and ends at the nav baseline */
body.site-Italian-Foundation-American-Memorials .main-header__main-bar.container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

/* Centered nav with no bottom gap */
body.site-Italian-Foundation-American-Memorials .main-navigation {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 800px !important;
}
body.site-Italian-Foundation-American-Memorials .main-navigation .navigation {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-page-pagination a:visited {
    color: #000000;
}
.preview-block .browse-all {
color: #000000;
}
.main-search-button {
       CORNER-SHAPE: SUPERELLIPSE(0.5);
} 
button, .button, input[type=button], input[type=reset], input[type=submit] {
    background-color: #000000;
}
.main-navigation__toggle {
    --primary: #000000;
} 
.menu-drawer .menu-container li.active>a {
    color: #000000;
    font-weight: bold;
}
.main-navigation .navigation>li.active>a {
    color: #000000;
    font-weight: bold;
    border: 1px solid #000000;
}
.menu-drawer .menu-container a {
    color: #000000;
}
.break.opaque {
    border-color: #000000;
}
/* Style the primary media image inside Mapping popups */
.leaflet-popup-content img {
  display: block;
  width: 100%;
  max-width: 260px;    /* optional: control size */
  height: auto;
  margin: 0 auto 10px; /* center image + add space below */
  border-radius: 6px;  /* soft corners */
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
/*================ LEAFLET POPUPS – CLEAN =================*/

/* Wrapper and tip styling */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #fff !important;
  color: #000 !important;
  border-radius: 6px !important;
  padding: 4px !important;
  max-width: 300px !important;
}

/* Inner content */
.leaflet-popup-content {
  margin: 4px !important;
  padding: 6px !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

/* Thumbnail image inside popup */
.leaflet-popup-content img {
  display: block;
  max-width: 100% !important;
  max-height: 180px !important;
  height: auto;
  margin: 4px auto 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Title/link text */
.leaflet-popup-content strong,
.leaflet-popup-content h1,
.leaflet-popup-content h2,
.leaflet-popup-content h3 {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 4px 0;
  text-align: center !important;
}

/* Link styling */
.leaflet-popup-content a,
.leaflet-popup-content a strong {
  color: #000000 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.leaflet-popup-content a:hover,
.leaflet-popup-content a:hover strong {
  color: #003366 !important;
  text-decoration: underline !important;
}

/* Hide ONLY the mapping “address” / property junk */
.leaflet-popup-content .mapping-address,
.leaflet-popup-content .mapping-properties,
.leaflet-popup-content .values,
.leaflet-popup-content .property,
.leaflet-popup-content address,
.leaflet-popup-content .group-type {
  display: none !important;
}
.leaflet-popup-content img.mm-map-thumb {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}
/* Add a solid left border to the whole page */
body {
  border-left: 12px solid #000000;  /* thickness, style, and color */
  margin: 0;                       /* remove default margins */
  padding-left: 12px;              /* optional: add space so content doesn’t touch the border */
}
/* Add a solid right border to the whole page */
body {
  border-right: 12px solid #000000;  /* thickness, style, and color */
  margin: 0;                       /* remove default margins */
  padding-right: 12px;              /* optional: add space so content doesn’t touch the border */
}
.site-page-pagination a {
border: 1px solid #000000;
    color: #000000;
}
