:root{
  --page-max: 980px;
  --green: #008000;
  --blue: #0000a0;
  --red: #ff0000;
  --text: #111;
  --muted: #555;
  --border: #e5e5e5;
  --card: #ffffff;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* Base */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff url("../images/back_green.gif") repeat; /* CSS is in /CSS/ */
  line-height: 1.35;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: #0645ad; }
a:hover{ text-decoration: underline; }

/* Wrapper/page */
.wrap{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 12px;
}
.page{
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Header */
.masthead{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}
.masthead .logo{
  flex: 0 0 auto;
  width: 180px;
  max-width: 40%;
}
.masthead .wordmark{
  flex: 1 1 auto;
  min-width: 0;
}

/* Top Nav (centered) */
.nav{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #000;
  justify-content: center;
}
.nav a{
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  display: inline-block;
  background: rgba(255,255,255,.06);
}
.nav a:hover{ background: rgba(255,255,255,.12); }
.nav a:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.nav a.active{ background: var(--red); }

/* Accent bar */
.accent{ height: 8px; background: var(--green); }

/* Title */
.titlebar{
  padding: 14px 14px 6px;
  text-align: center;
}
.titlebar h1{
  margin: 8px 0 0;
  font-size: 28px;
}

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


.asl {
  text-align: center;
}

.grid-3{
  display: grid;
  grid-template-columns: 0.9fr 1.8fr 0.9fr;
  gap: 14px;
  align-items: start;
}

/* Panels */

.panel img{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.panel{
  border: 1px solid var(--border);
  background: #fff;
  padding: 12px;
}
.panel h2{
  margin: 0 0 10px;
  font-size: 20px;
  text-align: center;
}
.panel hr{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}
.panel p{ margin: 10px 0; }

.panel-green{
  background: #ccffcc; /* matches original middle column */
  text-align: center;
}

.center{ text-align: center; }
.center-img{ margin-left: auto; margin-right: auto; }

.label{ color: var(--red); font-weight: 700; }

.biglink{ font-size: 18px; }

.dropcap{
  color: var(--green);
  font-weight: 700;
  font-size: 22px;
}

.float-left{
  float: left;
  margin: 6px 10px 6px 0;
}

/* Google Map Styling */

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

.map-link{
  display: inline-block;
  margin-bottom: 8px;
}

.map-embed{
  width: 100%;
  max-width: 320px;     /* keeps it from becoming huge on desktop */
  margin: 0 auto;
  aspect-ratio: 1 / 1;  /* roughly matches your old 162x167 box */
  border: 1px solid #999;
  background: #fff;
}

.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer links */
.footer-links{
  padding: 10px 14px 0;
  text-align: center;
  font-weight: 700;
  color: var(--green);
  font-size: 13px;
  line-height: 1.2;
}
.footer-links a{
  color: var(--green);
  text-decoration: none;
}
.footer-links a:hover{ text-decoration: underline; }

.footer-nav-item{
  white-space: nowrap;         /* keeps [ and ] with the link */
  display: inline-block;
  margin: 0 6px;
}

/* Footer */
.footer{
  padding: 6px 14px 14px;
  text-align: center;
  font-size: 13px;
  color: #000;
  line-height: 1.35;
}
.last-update{
  margin-top: 6px;
  font-size: 12px;
}
.footer-address{ margin-top: 10px; }
.footer-url{ margin-top: 10px; }
.footer-url a{
  color: #0645ad;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px){
  .grid-3{
    grid-template-columns: 1fr;
  }
  .float-left{
    float: none;
    margin: 10px auto;
    display: block;
  }
}

@media (max-width: 640px){
  .wrap{ padding: 8px; }

  .masthead{
    flex-direction: column;
    align-items: flex-start;
  }
  .masthead .logo{
    width: 160px;
    max-width: 75%;
  }

  .nav{ gap: 6px; }
  .nav a{
    font-size: 13px;
    padding: 10px 10px;
    flex: 1 1 auto;
    text-align: center;
  }

  /* more space between wrapped footer nav rows */
  .footer-links{ line-height: 1.8; }
  .footer-nav-item{ margin: 6px 8px; }
}