/* Wayback-match v2 */
:root {
  --page-bg: #f5f6f7;
  --content-bg: #f6f1e4;
  /* lighter tan for content panel (approx) */
  --sidebar-bg: #f2e6b5;
  /* parchment yellow */
  --sidebar-link: #0e5a33;
  /* dark green */
  --sidebar-link-hover: #0a6b3b;
  --border: #c6c6c6;
  --banner-teal: #00776d;
  /* top teal strip */
  --heading: #117a3a;
  /* section h1 green */
  --text: #203040;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--text);
  font: 16px/1.6 Georgia, 'Times New Roman', serif
}

a {
  color: var(--sidebar-link);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.wrapper {
  width: 900px;
  margin: 0 auto;
  border: none;
  box-shadow: none
}

/* Header image grid */
.header-images {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 3fr;
  line-height: 0;
}

/* Default header images */
.header-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;

}

/* Logo — always fully visible on desktop */
.header-images img.logo {
  width: auto;
  max-width: 100%;
  height: 140px;
  /* same row height as other images */
  object-fit: contain;
  /* do NOT crop the logo */
  justify-self: center;
  align-self: center;
  background: #ffffff;
  padding: 2px 2px;
  /* breathing room */
  box-sizing: border-box;
}

.teal-band {
  /* Fallback solid color then a vendor-prefixed and standard gradient */
  background-color: var(--banner-teal);
  background-image: -webkit-linear-gradient(left, #182D7A 0%, #24868B 100%);
  background-image: linear-gradient(90deg, #182D7A 0%, #24868B 100%);
  color: #000000;
  position: relative;
  /* ensure z-index applies */
  z-index: 2;
}

/* Ensure the banner stays above content and the header images do not overlap */
.header-images {
  position: relative;
  z-index: 0
}

.teal-band .band-inner {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  font: 400 14px/1.4 'Chalkboard SE', 'Comic Neue', "Trebuchet MS"
}

.band-text {
  opacity: .95;
  color: #ffffff;
  text-align: center;
  flex: 1
}

.main {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px
}

.sidebar {
  background: var(--sidebar-bg);
  padding: 14px;
  border-right: none;
  
    height: 100%;

}

.nav {
  list-style: none;
  margin: 0;
  padding: 0
}

.nav li {
  margin: 10px 0;
  padding: 6px 0;
  border-bottom: none
}

.nav a:hover {
  color: var(--sidebar-link-hover)
}

.nav a::before {
  content: "✻";
  color: #182D7A;
  margin-right: 8px;
  font-weight: bold
}

.content {
  background: #ffffff;
  padding: 18px 22px
}

.content-inner {
  background: #ffffff;
  padding: 18px 20px;
  border: none;
}

/* Make sure the first element in the content doesn't push everything down */
.content-inner>*:first-child {
  margin-top: 0;
}

h1 {
  color: var(--heading);
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 800;
  font-family: Verdana, Arial, sans-serif
}

p {
  margin: 0 0 12px;
  color: #3E4E8F;
  font-family: Georgia, 'Times New Roman', serif
}

.content ul,
.content ol {
  margin: 0 0 12px 18px;
  color: #3E4E8F;
    list-style: none;     /* remove default bullets */
  padding-left: 0;
  margin-left: 0;
}

  .content li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.55rem;
    text-align: left;
    line-height: 1.55;
  }

  .content li::before {
    content: ">";
    color: #3E4E8F;
    font-size: 1.2rem;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 0.2rem;
  }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0
}

h2 {
  color: var(--heading);
  /* same green to stay on-brand */
  font-family: Verdana, Arial, sans-serif;
  font-size: 20px;
  /* a step down from h1 */
  font-weight: 800;
  margin: 24px 0 10px;
  /* space above + below section titles */
}

.footer {
  padding: 10px 12px;
  border-top: 1px solid #000;
  background: #fff;
  font: 14px/1.4 Arial, Helvetica, sans-serif;
  color: #333;
  text-align: center;
}

.phone {
  font-weight: bold;
  color: #0e5a33
}


/* Sticky header block combining images + teal banner */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
  font-family: 'Chalkboard SE', 'Comic Neue', "Trebuchet MS";
  font-weight: 700
}

.header-images {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 3fr;
  z-index: 1
}

.nav a {
  display: block;
  width: 100%;
  padding: 14px 12px;
  background: #f2e6b5;
  /* sidebar pill background */
  color: var(--sidebar-link);
  /* green text */
  text-decoration: none;

  font: 18px/1.2 'Chalkboard SE', 'Comic Neue', "Trebuchet MS";
  letter-spacing: .3px;
  text-transform: uppercase;
}

.nav a:hover {
  background: #e8d99a;
  /* DARKER yellow hoverstate */
  text-decoration: none !important;
  /* remove underline */
}

.nav a::before {
  margin-right: 8px;
  
  /* keep your spacing */
}

.nav a:hover::before {
  color: red;
  /* red icon on hover */
}

.nav li {
  margin: 0;
  padding: 0;
}


/* === Responsive tweaks === */
@media (max-width: 980px) {
  .wrapper {
    width: 100%;
    margin: 0 auto;
    border-left: none;
    border-right: none
  }
}

@media (max-width: 760px) {

  /* Header images on mobile */
  .header-images {
    align-items: end;
  }
.sidebar {
height: auto;
}

  /* Default: keep the other photos at fixed height */
  .header-images img {
    height: 110px;
    width: 100%;
    object-fit: cover;
  }

  /* Logo: always fully visible, no cropping */
  .header-images img.logo {
    width: auto;
    max-width: 100%;
    height: auto;
    /* let browser scale naturally */
    max-height: 110px;
    /* cap height so the header isn’t huge */
    object-fit: contain;
    /* never crop the logo */
    padding: 2px 2px;
    /* breathing room around logo */
    box-sizing: border-box;
    justify-self: center;
    align-self: center;
    background: #ffffff;
  }

  /* Teal band */
  .teal-band .band-inner {
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    font-size: 13px;
  }

  /* Typography */
  h1 {
    font-size: 22px;
  }

  html,
  body {
    font-size: 16px;
  }

  /* Layout */
  .main {
    grid-template-columns: 1fr;
  }

  /* Nav: horizontal pill layout */
  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
  }

  .nav li {
    margin: 0;
    border-bottom: none;
  }

  /* Content padding */
  .content {
    padding: 14px;
  }

  .content-inner {
    padding: 10px 14px;
    /* top/bottom = 10, left/right = 14 */
  }

  /* Polished mobile typography */
  .content h1,
  .content h2 {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }

  /* Base font size for body copy & list items */
  .content p,
  .content li {
    font-size: 18px;
    margin-bottom: 0.85rem;
  }
.no-bullet {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.no-bullet::before {
  content: ""; /* Removes custom bullet if you have one */
}
  .content p {
    text-align: left;
    line-height: 1.6;
    padding: 0 4px;
  }

  .content ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0.85rem;
  }



    /* Mobile pill buttons — improved look and alignment */
  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    /* ↓ shorter pill */
    padding:12px 12px;
    /* was 8px 14px */
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.15);

    background: #f2e6b5;
    color: var(--sidebar-link);
    font-size: 14px;
    /* was 15px */
    font-weight: 700;
    line-height: 1;
    /* keep this */
    text-transform: uppercase;
    text-decoration: none;
  }
 .nav a::before {
    content: none !important;  /* hides the snowflake on mobile */
    margin: 0;                 /* optional: prevents ghost spacing */
  }

  /* Hover / active state on mobile */
  .nav a[aria-current="page"],
  .nav a:hover {
    background: #e8d99a;
    border-color: rgba(0, 0, 0, 0.25);
  }

  
  }


@media (min-width: 761px) {
  .main {
    grid-template-columns: 230px 1fr;
    /* was 220px or similar */
  }
}

@media print {

  .sticky-header,
  #site-nav,
  .teal-band {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .content {
    box-shadow: none;
    border: none;
  }
}