@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Roboto+Condensed:wght@400;500;700&display=swap');

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%; /* prevents Chrome from auto-shrinking text */
  text-size-adjust: 100%;
}

* {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  /* REMOVE font-size here */
}

a.top-home-link {
	color: #fff;
	text-decoration: none;
	}
	
img {
	width:100%;
	}

.center-text {
	text-align: center;
	}

.text-to-upper {
	text-transform: uppercase;
	}

.bold {
	font-weight: 800;
	}

.fsize24 {font-size: 24px;}
.fsize50 {font-size: 50px;}

.mb-10 {margin-bottom: 10px;}
.mb-20 {margin-bottom: 20px;}
.mb-30 {margin-bottom: 30px;}
.mb-40 {margin-bottom: 40px;}
.mb-50 {margin-bottom: 50px;}
.mb-60 {margin-bottom: 60px;}
.mt-10 {margin-top: 10px;}
.mt-20 {margin-top: 20px;}
.mt-30 {margin-top: 30px;}
.mt-40 {margin-top: 40px;}
.mt-50 {margin-top: 50px;}
.mt-60 {margin-top: 60px;}
.ma-10 {margin: 10px;}
.ma-20 {margin: 20px;}
.ma-30 {margin: 30px;}
.ma-40 {margin: 40px;}
.ma-50 {margin: 50px;}
.ma-60 {margin: 60px;}
.pb-10 {padding-bottom: 10px;}
.pb-20 {padding-bottom: 20px;}
.pb-30 {padding-bottom: 30px;}
.pb-40 {padding-bottom: 40px;}
.pb-50 {padding-bottom: 50px;}
.pb-60 {padding-bottom: 60px;}
.pt-10 {padding-top: 10px;}
.pt-20 {padding-top: 20px;}
.pt-30 {padding-top: 30px;}
.pt-40 {padding-top: 40px;}
.pt-50 {padding-top: 50px;}
.pt-60 {padding-top: 60px;}
.pl-10 {padding-left: 10px;}
.pl-20 {padding-left: 20px;}
.pl-30 {padding-left: 30px;}
.pl-40 {padding-left: 40px;}
.pl-50 {padding-left: 50px;}
.pl-60 {padding-left: 60px;}
.pr-10 {padding-right: 10px;}
.pr-20 {padding-right: 20px;}
.pr-30 {padding-right: 30px;}
.pr-40 {padding-right: 40px;}
.pr-50 {padding-right: 50px;}
.pr-60 {padding-right: 60px;}
.pa-10 {padding: 10px;}
.pa-20 {padding: 20px;}
.pa-30 {padding: 30px;}
.pa-40 {padding: 40px;}
.pa-50 {padding: 50px;}
.pa-60 {padding: 60px;}

.text-primary {
	color: #000 !important;
	}

.hero-logo {
	width:40%;
	min-width:300px;
	max-width:600px;
}

/* Video header styles */
header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

header .content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

/*******************************/
.nav-outer {
  z-index: 5;
  pointer-events: auto;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* --- TOP ORANGE BAR --- */
.top-bar {
  width: 100%;
  margin: 0;
  height: 40px;
  background-color: #fb8838;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  line-height: 1;
  position: relative;
}

.top-text {
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 1px;
}

.top-text span {
  font-weight: 400;
  font-style: italic;
}

/* --- WHITE NAVBAR --- */
.nav-colored {
  width: 100%;
  margin: 0;
  border-radius: 0;
  padding: 0;
}

.nav-blue {
  background-color: #fff;
  opacity: 0.95;
  height: 60px;
/* 
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
 */
  border: 1px solid #888;
  margin-top: -1px; /* overlaps to remove gap */
  position: relative;
}

/* --- LINK STYLING --- */
.nav-link {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  font-size: 20px;
  line-height: 60px; /* centers links vertically */
  color: #000 !important; /* black text for white background */
  letter-spacing: 0.75px;  
}

.nav-link:hover {
  color: #fb8838 !important; /* orange hover color for contrast */
}

/* --- DROPDOWNS --- */
.dropdown-menu-dark {
  background-color: rgba(0, 0, 0, 0.85);
}

.dropdown-menu-dark a:hover {
  background-color: #fb8838;
  color: #fff !important;
}

/* --- UNIVERSAL RESET --- */
nav {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

* {
  box-sizing: border-box;
}

/* Use Roboto Condensed for top menus */
.top-bar,
.top-text,
.nav-colored,
.nav-link,
.dropdown-menu,
.dropdown-item,
.mega-menu h6 {
  font-family: "Roboto Condensed", sans-serif !important;
}

/* --- MEGA MENU STYLING --- */
.mega-menu {
  width: 90%;
  left: 5%;
  border: 1px solid #eee;
  border-top: none;
  background-color: #eee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mega-menu h6 {
  color: #012169;
  font-size: 0.9rem;
}

.mega-menu a {
  display: block;
  color: #004b7c;
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.mega-menu a:hover {
  color: #fb8838;
  text-decoration: none;
}

.mega-menu img {
	width: 100%;
	border:1px solid #000;
}

.mega-menu {
  z-index: 9999; /* sits above everything, including video and overlays */
  position: absolute; /* keeps placement consistent under each county */
}

/* Align dropdown directly under the white bar */
.nav-item.dropdown.position-static .dropdown-menu {
  top: 100%;
  margin-top: -1px;
  border-top: none;
}

/* Ensure mega menu covers full width below bar */
@media (max-width: 991px) {
  .mega-menu {
    position: static;
    width: 100%;
  }
}

/* --- SMOOTH OPEN + CLOSE ANIMATION FOR MEGA MENU --- */
.nav-item.dropdown {
  position: relative;
}

/* Base state: hidden but still renderable for animation */
.nav-item.dropdown .mega-menu {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover state: fade and slide in */
.nav-item.dropdown:hover .mega-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Optional: small delay to make both open/close feel balanced */
.nav-item.dropdown .mega-menu,
.nav-item.dropdown:hover .mega-menu {
  transition-delay: 0.05s;
}

/* Remove blue focus/outline glow on hover or click */
.nav-link:focus,
.nav-link:active,
.dropdown-toggle:focus,
.dropdown-item:focus,
.dropdown-item:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Desktop-only hover mega menus */
@media (min-width: 992px) {
  .nav-item.dropdown { position: relative; }

  /* Force render for animation; ignore Bootstrap's display:none */
  .nav-item.dropdown .dropdown-menu {
    display: block !important;     /* critical */
    position: absolute;            /* keep it overlayed */
    top: 100%;
    left: 0;
    width: 100%;

    /* Animate both directions */
    opacity: 0;
    transform: translateY(-24px);
    pointer-events: none;

    transition:
      opacity 0.45s ease,
      transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Hover to show (smooth ease-in) */
  .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Add spacing around the first and last nav items */
.navbar-nav .nav-item:first-child {
  margin-left: 10px;
}

.navbar-nav .nav-item:last-child {
  margin-right: 10px;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  z-index: 10;
  animation: fadeIn 1.2s ease 0.5s both;
}

/* Mouse outline */
.scroll-indicator .mouse {
  width: 25px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 15px;
  position: relative;
  margin-bottom: 8px;
}

/* Animated "wheel" inside mouse */
.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite;
}

/* "Scroll" text */
.scroll-indicator .scroll-text {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Keyframes */
@keyframes scrollWheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* --- Scroll panel overlay --- */
.scroll-panel {
  position: absolute;
  top: 0;
  right: 0;                /* anchored to the viewport edge */
  width: 30%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  z-index: 8;
  transform: translateX(100%);  /* start completely off-screen */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* Inner content area */
.scroll-panel-inner {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 90%; /* prevent text from hitting the right edge */
  margin-left: auto;
  margin-right: auto;
}

/* Text styling */
.scroll-panel h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.scroll-panel p {
  line-height: 1.6;
  font-size: 1rem;
  max-width: 90%;
}

.scroll-panel a {
      margin-top: 10px; display: inline-block; padding: 10px 14px;
      background: #004b7c; color: #fff; text-decoration: none; border-radius: 3px;
    }



.sada-map-wrap {
  width: 100%;
  margin: 0 auto;
}

.sada-map {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================
   MAP + IMAGE GRID — 2×2, FULL HEIGHT
   ====================== */

#map {
  background: #fb8838;
  box-sizing: border-box;
}

/* Main layout: two equal-height columns */
#map .row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

/* Both columns stretch full height */
#map .col-6 {
  flex: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Map column */
#map .col-6:first-child #map-container {
  flex: 1;
  padding-right: 20px; /* space between map and photo grid */
  box-sizing: border-box;
}

#map svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ======================
   MAP + PHOTO GRID — FINAL STABLE VERSION
   ====================== */

#map .row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

/* Map column */
#map .col-6:first-child {
  display: flex;
  flex-direction: column;
}

#map #map-container {
  flex: 1;
  padding-right: 20px;
  box-sizing: border-box;
}

#map svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Right column — force 2x2 full cover grid */
#map .col-6:last-child {
  flex: 1;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  height: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
}

/* Disable all Bootstrap column behavior inside */
#map .col-6:last-child [class*="col-"] {
  all: unset;                /* removes Bootstrap flex/max-width/margins */
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Make sure each image covers perfectly */
#map .col-6:last-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ======================
   FINAL FIX — FULL-HEIGHT, 2×2 IMAGE GRID NEXT TO MAP
   ====================== */

/* Make the #map section stretch based on tallest content (the SVG) */
#map .row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

/* Map column takes half */
#map .col-6:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Map container fills its side */
#map #map-container {
  flex: 1;
  padding-right: 20px;
  box-sizing: border-box;
}

/* SVG fills height */
#map svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Right side becomes an independent grid container */
#map .col-6:last-child {
  flex: 1;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: auto;              /* matches map height automatically */
  margin: 0;
  padding: 0;
}

/* Clear Bootstrap behavior for inner "col-" wrappers */
#map .col-6:last-child > .row {
  all: unset;
  display: contents;         /* allow children to become direct grid items */
}

/* Each image cell covers its grid slot */
#map .col-6:last-child [class*="col-"] {
  all: unset;
  width: 100%;
  height: 100%;
  display: block;
}

/* Photos cover perfectly */
#map .col-6:last-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

footer {
	background: #004b7c;
	color: #fff;
	}

footer a {
	color: #fb8838;
	}

footer ul {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  list-style-type: none;
	}

footer a {
	font-size: 18px;
	}

footer a:hover {
	color: #ff3;
	}

.footer-logo {
	max-width:250px;
	margin-bottom: 20px;
	}

/* --- Banner Section with Overlay --- */
#banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#banner-section .banner-overlay {
  position: relative;
  width: 100%;
  height: auto;
}

#banner {
  width: 100%;
  height: clamp(350px, 60vh, 700px); /* responsive height */
  object-fit: cover;
  object-position: center 35%; /* focus more upward, adjust as needed */
}

#banner-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6); /* 60% black overlay */
  z-index: 1;
}

.banner-text {
  position: absolute;
  bottom: 30px; /* adjust spacing from bottom */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  text-align: center;
}

.banner-text h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}


/* ============================
   INTERIOR PAGE DESIGN — SADA
   ============================ */

/* --- Banner Section --- */
#banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#banner {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

#banner-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* 60% black overlay */
  z-index: 1;
}

.banner-text {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.banner-text h1 {
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

/* --- Page Layout --- */
#content {
  background-color: #fff;
  color: #222;
  padding: 20px 0;
  line-height: 1.8;
}

#content .row {
  margin: 0 auto;
  max-width: 1400px;
}

/* --- Main Column --- */
#content h2 {
  color: #004b7c;
  font-size: 1.75rem;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 40px;
  border-left: 5px solid #fb8838;
  padding-left: 12px;
}

#content p {
  margin-top: 15px;
  margin-bottom: 15px;
  color: #333;
}

/* --- Sidebar --- */
#content h3 {
  color: #fb8838;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 40px;
  border-bottom: 2px solid #fb8838;
  padding-bottom: 5px;
}

#content .col-lg-4 {
  background-color: #f8f9fa;
  border-left: 3px solid #004b7c;
  padding: 30px 25px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

#content .col-lg-4 p {
  margin-bottom: 15px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  #banner {
    height: 300px;
  }

  .banner-text h1 {
    font-size: 2rem;
  }

  #content {
    padding: 40px 0;
  }

  #content .col-lg-4 {
    border-left: none;
    border-top: 3px solid #004b7c;
    margin-top: 40px;
  }
}

/* --- Footer Styling for Consistency --- */
footer {
  background-color: #012169;
  color: #fff;
  padding: 30px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

footer a {
  color: #fb8838;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer .disclaimer {
  font-size: 0.8rem;
  color: #ddd;
  margin-top: 15px;
  }


/* --- Base County Fact Box --- */
.fact-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #fb8838; /* default accent (orange) */
  border-radius: 4px;
  padding: 20px 25px;
  margin-top: 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.fact-box strong {
  text-transform: none !important;
}

/* Shared structure */
.fact-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fact-box li {
  display: grid;
/*   grid-template-columns: 1fr 80px; */
  align-items: baseline;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.fact-box li:last-child {
  border-bottom: none;
}

.fact-box strong {
  color: #004b7c;
  font-weight: 700;
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.fact-box .count {
  text-align: right;
  color: #333;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
  padding-right: 10px;
}

/* --- Accent Color Modifiers --- */
.fact-box.orange { border-left-color: #fb8838; }  /* Education, Recreation */
.fact-box.blue   { border-left-color: #004b7c; }  /* Health, Quality of Life, Employers */
.fact-box.gray   { border-left-color: #888; }     /* Optional neutral */

/* --- Demographics Fact Box (unique grid + percent column) --- */
.demographics {
  border-left-color: #004b7c;
}

.demographics li {
  grid-template-columns: 1fr 80px 60px; /* label | count | percent */
}

.demographics strong {
  color: #222;
}

.demographics .count {
  color: #333;
}

.demographics .percent {
  text-align: right;
  color: #004b7c;
  font-weight: 700;
  font-family: "Roboto Condensed", sans-serif;
}

/* --- Major Highways Box --- */
.highway-sign {
  height: 20px;
  width: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

.highways ul { list-style: none; }

/* --- Employers Box (adds hover interaction) --- */
.employers li:hover {
  color: #004b7c;
  cursor: default;
  transition: color 0.2s ease;
}

/* Restore inline layout for the highways list */
.highways li {
  display: flex;               /* side-by-side image + text */
  align-items: center;         /* vertically center the highway sign */
  gap: 8px;                    /* spacing between sign and text */
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.highways li:last-child {
  border-bottom: none;
}

/* Prevent grid column behavior from the general .fact-box li rule */
.highways li strong,
.highways li span,
.highways li img {
  grid-column: unset;
}


/* --- County Links Section --- */
#county-links {
/* 
  border-top: 2px solid #eee;
  padding-top: 60px;
 */
  text-align: center;
}

.county-links .county-card {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.county-links .card-inner {
  background: #fff;
  border: 1px solid #ddd;
  border-top: 5px solid #fb8838;
  border-radius: 6px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.county-links .card-inner h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #004b7c;
  margin: 0;
}

.county-links .county-card:hover .card-inner {
  border-color: #004b7c;
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.county-links .card-inner i {
	color: #012169;
	}

.sidebar {
  align-self: flex-start; /* for flexbox containers */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =============================
   INTERIOR BANNER LOGO OVERLAY
   ============================= */
.banner-overlay {
  position: relative;
  display: inline-block;
}

.banner-logo {
  position: absolute;
  top: 150px;       /* adjust placement as needed */
  left: 25px;
  z-index: 3;
}

.banner-logo img {
  max-width: 250px;   /* adjust size to fit design */
  height: auto;
  opacity: 0.95;      /* subtle transparency for blending */
  transition: opacity 0.3s ease;
}

.banner-logo img:hover {
  opacity: 1;
}

.banner-county {
  position: absolute;
  bottom: 10px;       /* adjust placement as needed */
  right: 10px;
  z-index: 3;
}

.banner-county img {
  max-width: 150px;   /* adjust size to fit design */
  height: auto;
  opacity: .95;      /* subtle transparency for blending */
  transition: opacity 0.3s ease;
}

.banner-county img:hover {
  opacity: 1;
}

/* Smaller screens — adjust position and size */
@media (max-width: 991.98px) {
  .banner-logo {
    top: 15px;
    left: 15px;
  }

  .banner-logo img {
    max-width: 150px;
    opacity: 0.9;
  }
}

.table-section {
  background-color: #f0f4fa;
  font-weight: 700;
  color: #012169;
  text-transform: uppercase;
}

.table thead th {
  background-color: #012169;
  color: #fff;
  font-weight: 600;
}

.table tbody tr td {
  vertical-align: middle;
}

/* =============================
   SITE BASICS CARD BORDER — TOP BAR STYLE
   ============================= */
.site-basics .card-inner {
  position: relative;
  background: #fff;
  border-left: none !important;        /* remove old left line */
  border-top: 4px solid #012169;       /* new top border accent */
  border-radius: 8px;
  padding: 25px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 310px;
}

.site-basics .card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Optional: make the top bar thicker or more prominent on hover */
.site-basics .card-inner:hover {
  border-top-color: #fb8838; /* your orange accent */
}

/* =============================
   REMOVE LEFT BORDER ONLY IN "SITE BASICS" SECTION
   ============================= */
.site-basics .col-lg-4 {
  border-left: none !important;     /* remove inherited line */
  padding-top: 25px;                /* add a little breathing room */
  background: none !important;
}

.sidebar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #012169;
  margin-top: 25px;
  margin-bottom: 10px;
}

.sidebar .fact-box {
  background-color: #f9fafc;
  border-left: 4px solid #004b7c;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 25px;
}

/* =============================
   ACCESSIBLE GALLERY ZOOM ICON OVERLAY
   ============================= */
.photo-block .photo-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 4px;
}

.photo-block img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.photo-block a:hover img {
  transform: scale(1.02);
}

.photo-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(1, 33, 105, 0.85); /* brand blue */
  color: #fff;
  border-radius: 50%;
  padding: 8px;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.photo-block a:hover .photo-zoom {
  background-color: #fb8838; /* accent orange */
  opacity: 1;
  transform: scale(1.1);
}

.back-link {
  display: inline-block;
  background-color: #012169;   /* navy blue from your palette */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  margin-top: 15px;
}

.back-link i {
  margin-right: 6px;
  font-size: 0.9rem;
}

.back-link:hover {
  background-color: #fb8838;   /* your orange accent */
  color: #fff;
  text-decoration: none;
  transform: translateX(-2px);
}


/* Maintain spacing consistency */
.fact-box.orange ul {
margin-bottom: 0;
}

#map .flip-card { position: relative; width: 100%; cursor: pointer; perspective: 1000px; }
#map .flip-inner { position: relative; width: 100%; transform-style: preserve-3d; transition: transform .6s; }
#map .flip-card.flipped .flip-inner { transform: rotateY(180deg); }

/* Front uses the image to define height; back overlays it */
#map .flip-front { position: relative; }
#map .flip-front img { display: block; width: 100%; height: auto; }

#map .flip-back {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 20px; text-align: center;
  background: rgba(0,0,0,.6);
  color: #fff;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  border: 1px solid rgba(255,255,255,.1);
}
#map .flip-front, #map .flip-back { backface-visibility: hidden; }

#map .flip-btn {
  margin-top: 10px; display: inline-block; padding: 10px 14px;
  background: #004b7c; color: #fff; text-decoration: none; border-radius: 3px;
}
#map .flip-btn:hover, #map .flip-btn:focus { opacity: .9; }


#map .row > [class*="col-"] {
  padding: 0;
}

#map .flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9; /* keeps perfect proportion */
  cursor: pointer;
  perspective: 1000px;
  overflow: hidden;
}

#map .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

#map .flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

#map .flip-front,
#map .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

#map .flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#map .flip-back {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  transform: rotateY(180deg);
}

#map .flip-btn {
  margin-top: 10px;
  display: inline-block;
  padding: 10px 14px;
  background: #004b7c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

/* Flip Card Click Animation (preserves size) */
#map .flip-card {
  position: relative;
  perspective: 1000px;
  overflow: hidden;
  cursor: pointer;
}
#map .flip-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
#map .flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}
#map .flip-front,
#map .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}
#map .flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#map .flip-back {
  background: rgba(0,0,0,0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  transform: rotateY(180deg);
}
#map .flip-btn {
  margin-top: 10px;
  display: inline-block;
  padding: 10px 14px;
  background: #004b7c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

/* ---- FIX FLIP-CARD OVERFLOW IN #map GRID ---- */
#map .col-6:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr)); /* allow rows to compress */
}

#map .col-6:last-child > * {           /* each grid cell */
  min-width: 0;
  min-height: 0;
}

#map .flip-card {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;                  /* override 16/9 */
  perspective: 1000px;
  overflow: hidden;
  cursor: pointer;
}

#map .flip-inner,
#map .flip-front,
#map .flip-back {
  width: 100%;
  height: 100%;
}

#map .flip-inner {                     /* same flip behavior */
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
#map .flip-card.flipped .flip-inner { transform: rotateY(180deg); }

#map .flip-front,
#map .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

#map .flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#map .flip-back {
  background: rgba(0,0,0,0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transform: rotateY(180deg);
}

/* --- REMOVE 1PX GRID GAP BETWEEN FLIP CARDS --- */
#map .col-6:last-child {
  gap: 0;
  border-collapse: collapse;
}

#map .flip-card {
  margin: -0.25px; /* overlaps edges just enough to close subpixel gaps */
  box-sizing: border-box;
}

#map .flip-front img,
#map .flip-back {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#map .flip-front,
#map .flip-back {
  border: none;
}

/* ===== Flip card background fade effect ===== */
#map {
  position: relative;
}

#map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 1; /* sits above orange background but below cards */
}

/* When any card is flipped, darken background */
#map.flipped::before {
  background: rgba(0, 0, 0, 0.85);
}

.region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}

.region-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 45%;
}

.region-links li {
  margin-bottom: 8px;
  font-weight: 500;
}

.region-links i {
  color: #004b7c;
  margin-right: 6px;
}

.region-links a {
  color: #000;
  text-decoration: none;
}

.region-links a:hover {
  color: #004b7c;
  text-decoration: underline;
}

    #map .flip-card { position: relative; width: 100%; cursor: pointer; perspective: 1000px; }
    #map .flip-inner { position: relative; width: 100%; transform-style: preserve-3d; transition: transform .6s; }
    #map .flip-card.flipped .flip-inner { transform: rotateY(180deg); }

    /* Front uses the image to define height; back overlays it */
    #map .flip-front { position: relative; }
    #map .flip-front img { display: block; width: 100%; height: auto; }

    #map .flip-back {
      position: absolute; inset: 0;
      display: flex; flex-direction: column; justify-content: center; align-items: center;
      padding: 20px; text-align: center;
      background: rgba(0,0,0,.6);
      color: #fff;
      transform: rotateY(180deg);
      backface-visibility: hidden;
      border: 1px solid rgba(255,255,255,.1);
    }
    #map .flip-front, #map .flip-back { backface-visibility: hidden; }

    #map .flip-btn {
      margin-top: 10px; display: inline-block; padding: 10px 14px;
      background: #004b7c; color: #fff; text-decoration: none; border-radius: 3px;
    }
    #map .flip-btn:hover, #map .flip-btn:focus { opacity: .9; }


#county-tabs {
  border-bottom: 2px solid #e5e5e5;
  padding: 0 0 20px 0;
}

.county-tabs {
  gap: 10px;
}

.tab-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.tab-link i {
  color: #fb8838; /* SADA orange accent */
}

.tab-link:hover {
  border-color: #fb8838;
  color: #fb8838;
  background-color: #fff;
}

.tab-link.active {
  background-color: #fb8838;
  color: #fff;
}

.tab-link.active i {
  color: #fff;
}

@media (max-width: 768px) {
  .county-tabs {
    flex-direction: column;
    gap: 15px;
  }
  .tab-link {
    width: 100%;
  }
}

.inset_graphic {
	width: 50%;
	min-width: 300px;
	float: right;
	margin: 0 0 30px 30px;
	}

.inset_graphic_wide {
	width: 65%;
	float: right;
	margin: 0 0 30px 30px;
	}
	
.inset_graphic_wide_clear {
  display: block;
  width: 60%; /* or 50% if preferred */
  margin: 30px auto; /* centers horizontally and adds spacing */
  float: none; /* remove the float to allow centering */
  clear: both; /* force it to appear below any floated elements */
  text-align: center;
}

.inset_graphic_wide_clear img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.flip-link {
	max-width:200px;
	}
	
#banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;         /* hides any fractional overflow */
  line-height: 0;           /* prevents image baseline gap */
}

#banner {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;           /* kills baseline spacing under images */
  margin: 0;
  padding: 0;
}

#banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;         /* hides any fractional overflow */
  line-height: 0;           /* prevents image baseline gap */
}

#banner {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;           /* kills baseline spacing under images */
  margin: 0;
  padding: 0;
}

/* --- COUNTY SUBMENU BAR UNDER BANNER --- */
#county-tabs {
  background-color: #fb8838;  /* SADA orange */
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

.county-tabs {
  display: flex;
  justify-content: center;   /* centers links horizontally */
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 12px 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;          /* optional: keeps spacing consistent */
}

/* Links inside the tab bar */
.tab-link {
  color: #fff !important;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  padding: 6px 12px;
  background: transparent;
  transition: all 0.3s ease;
}

.tab-link i {
  color: #fff;
  margin-bottom: 4px;
}

/* Hover + active states */
.tab-link:hover,
.tab-link.active {
  background-color: #fff;
  color: #fb8838 !important;
  border-radius: 4px;
}

.tab-link:hover i,
.tab-link.active i {
  color: #fb8838;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .county-tabs {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }
}

/* === SADA Newsletter Signup Styling === */
#sada-newsletter {
  text-align: center;
  margin: 0 auto 40px auto;      /* bottom spacing before next footer row */
  max-width: 700px;              /* keeps form from stretching too wide */
}

#sada-newsletter h3 {
  font-family: "Roboto Condensed", sans-serif;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

#sada-newsletter .newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

#sada-newsletter input {
  flex: 1 1 200px;
  padding: 10px 14px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
}

#sada-newsletter input::placeholder {
  color: #666;
}

#sada-newsletter button {
  background: #fb8838;           /* SADA orange */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

#sada-newsletter button:hover {
  background: #e07125;
  transform: translateY(-2px);
}

#formMessage {
  margin-top: 15px;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
}

/* Mobile layout */
@media (max-width: 768px) {
  #sada-newsletter .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  #sada-newsletter button {
    width: 100%;
  }
}

.regional-site-photo {
	width: 350px;
	height: 200px;
	overflow: hidden;
	}
	
.regional-site-name {
	color: #012169;
	font-weight: bold;
	}
	
.regional-site-listing {
	border-left: 0px  !important;
	background: none !important;
	}

.main-layout {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.scroll-panel {
  will-change: transform;
}