/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
}

/* BASE STYLES */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.text-bold {
  font-weight: bold;
}

/* HEADER */
header.site-header {
  background: #f0f0f0;
  padding: 1rem;
  position: relative;
  z-index: 2;
}

.logo-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* NAVIGATION */
.menu-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
}

.mobile-menu {
  display: none;
  background: #eee;
  padding: 1rem;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin: 0.5rem 0;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: block;
    background: none;
    padding: 0;
  }

  .mobile-menu ul {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
  }

  .mobile-menu li {
    margin: 0;
  }
}

/* HEADER IMAGE */
.header-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* MAIN CONTENT */
.main-content {
  padding: 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.page-copy {
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

p {
  text-align: justify;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

/* TWO COLUMN LIST SECTION */
.two-column-lists {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.two-column-lists .column-left,
.two-column-lists .column-right {
  flex: 1 1 45%;
  text-align: left;
}

.two-column-lists h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.two-column-lists ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.two-column-lists li {
  margin-bottom: 0.5rem;
}

/* Services list as two columns */
.split-list {
  columns: 2;
  column-gap: 2rem;
  list-style: disc;
  padding-left: 1.5rem;
}

.split-list li {
  break-inside: avoid;
  margin-bottom: 0.5rem;
}

/* FOOTER */
.site-footer {
  color: #333;
  padding: 1rem;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

.footer-nav {
  text-align: left;
  margin-left: 0.5rem;
}

.footer-copy {
  text-align: right;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

/* LINKS */
a {
  position: relative;
  color: #333;
  /* color: #0077cc; */
  text-decoration: none;
  transition: color 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #0077cc;
  transition: width 0.3s ease;
}

a:hover {
  color: #005fa3;
}

a:hover::after {
  width: 100%;
}

/* SIDEBAR */
.sidebar {
  background-color: #efefef;
  padding: 1rem;
  width: 200px;
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .two-column-lists {
    flex-direction: column;
  }

  .two-column-lists .column-left,
  .two-column-lists .column-right {
    flex: 1 1 100%;
  }

  .split-list {
    columns: 1;
  }
}

/* === FLOATED PARAGRAPH IMAGES (refined layout) === */
.float-image {
  max-width: 160px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.float-image.start {
  float: left;
  margin-right: 1.5rem;
  margin-left: 0;
}

.float-image.end {
  float: right;
  margin-left: 1.5rem;
  margin-right: 0;
}

@media (max-width: 600px) {
  .float-image {
    display: block;
    float: none !important;
    margin: 1rem auto;
    max-width: 100%;
  }
}

/* ===================================== */
/* ✅ INFO PAGE HEADING ALIGNMENT OVERRIDE */
/* Only applies to pages using <body class="body-info-page"> */
/* Keeps the first h2 and first p centered, aligns the rest left */
.body-info-page .page-copy h2:not(:first-of-type),
.body-info-page .page-copy h3,
.body-info-page .page-copy p:not(:first-of-type) {
  text-align: left;
}
/* ===================================== */