* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #404248;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: #0366d6;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

figure,
h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.archive-notice {
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 18px;
  background: #242424;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .055em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
}

.announcement-bar {
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 18px;
  background: #f90505;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.logo-area {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #ffe608;
}

.logo-area a {
  display: block;
  line-height: 0;
}

.logo-area img {
  width: 320px;
  max-width: 82vw;
}

.main-navigation {
  min-height: 46px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-bottom: 1px solid #ededed;
  background: #fff;
}

.main-navigation > ul {
  width: min(1170px, 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0 19px;
  margin: 0;
  padding: 0 15px;
  list-style: none;
}

.main-navigation li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.main-navigation a {
  display: flex;
  align-items: center;
  min-height: 46px;
  color: #242424;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: #0366d6;
}

.caret {
  margin-left: 6px;
  font-size: 7px;
}

.main-navigation .submenu {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 20;
  width: 230px;
  display: none;
  margin: 0;
  padding: 8px 0;
  border-top: 2px solid #0366d6;
  background: #fff;
  box-shadow: 0 8px 22px rgb(0 0 0 / 13%);
  list-style: none;
}

.main-navigation .submenu li,
.main-navigation .submenu a {
  display: block;
  width: 100%;
}

.main-navigation .submenu a {
  min-height: 0;
  padding: 9px 16px;
  font-size: 12px;
  white-space: normal;
}

.main-navigation li:hover > .submenu,
.main-navigation li:focus-within > .submenu {
  display: block;
}

.page-shell {
  width: min(1170px, calc(100% - 30px));
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(250px, 30%);
  margin: 0 auto;
  padding: 50px 0 56px;
}

.entry-content {
  min-width: 0;
  padding: 0 30px 0 15px;
}

.entry-content h2 {
  color: #404248;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.centered-title {
  margin-bottom: 28px;
  text-align: center;
}

.centered-title span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.wide-image {
  margin: 0 0 30px;
}

.wide-image img {
  display: block;
  width: 100%;
}

.news-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin: 0 0 34px;
}

.angel-column {
  display: flex;
  justify-content: center;
}

.angel-column img {
  width: 342px;
}

.news-column h2 {
  margin: 0 0 22px;
  text-align: center;
}

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

.latest-posts li {
  margin-bottom: 18px;
}

.latest-posts a {
  display: block;
  color: #0366d6;
  font-size: 14px;
  line-height: 1.45;
}

.latest-posts time {
  display: block;
  margin-top: 3px;
  color: #727272;
  font-size: 12px;
}

.entry-content hr {
  height: 1px;
  margin: 36px 0;
  border: 0;
  background: #e1e1e1;
}

.announcement-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 48px;
}

.announcement-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.announcement-gallery img {
  display: block;
  width: 100%;
  height: 630px;
  object-fit: cover;
}

.announcement-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 11px 12px;
  background: rgb(0 0 0 / 62%);
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.about-photo {
  margin-bottom: 24px;
}

.about-copy {
  margin-bottom: 44px;
}

.about-copy p {
  margin-bottom: 20px;
  color: #404248;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
}

.partners-image {
  margin: 0 auto 22px;
  text-align: center;
}

.partners-image img {
  width: 704px;
}

.partners-list {
  margin-bottom: 28px;
  text-align: center;
}

.partners-list h4 {
  margin: 0 0 10px;
  color: #404248;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-banner {
  margin: 0;
  text-align: center;
}

.contact-banner img {
  width: 571px;
}

.legacy-subpage {
  min-height: 720px;
}

.entry-title {
  margin: 0 0 34px;
  color: #404248;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
}

.statement-section {
  margin-bottom: 36px;
}

.statement-section h2 {
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #ededed;
  color: #404248;
  font-size: 23px;
  font-weight: 500;
}

.statement-section p,
.statement-section li {
  color: #404248;
  font-size: 15px;
  line-height: 1.8;
}

.statement-section p {
  margin-bottom: 14px;
  text-align: justify;
}

.mission-statement ol {
  margin: 0;
  padding-left: 25px;
}

.mission-statement li {
  margin-bottom: 9px;
  padding-left: 5px;
}

.core-values-list {
  margin: 4px 0 0;
}

.core-values-list div {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}

.core-values-list dt {
  color: #f90505;
  font-size: 27px;
  font-weight: 700;
}

.core-values-list dd {
  margin: 0;
  color: #404248;
  font-size: 16px;
}

.core-values-list dd span {
  color: #727272;
}

.content-source-note {
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid #ededed;
  color: #777;
  font-size: 11px;
  font-style: italic;
}

.history-intro {
  margin: 0 0 24px;
  color: #404248;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
  text-align: justify;
}

.history-page > p:not(.content-source-note) {
  margin-bottom: 20px;
  color: #404248;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.content-source-note a {
  color: #0366d6;
}

.archived-milestones {
  margin-top: 50px;
  padding-top: 34px;
  border-top: 3px double #b9aa57;
}

.archived-milestones > h2 {
  margin: 0 0 14px;
  color: #7f0c16;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
  font-weight: 600;
  text-align: center;
}

.history-page .milestones-intro {
  margin-bottom: 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
}

.history-page .historical-label {
  margin-bottom: 28px;
  color: #777;
  font-size: 11px;
  font-style: italic;
  text-align: center;
}

.milestone-period {
  margin-bottom: 27px;
}

.milestone-period h3 {
  margin: 0 0 9px;
  color: #7f0c16;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 700;
}

.milestone-period ul {
  margin: 0;
  padding-left: 22px;
}

.milestone-period li {
  margin-bottom: 7px;
  color: #404248;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  line-height: 1.7;
}

.archive-page h2 {
  margin: 0 0 13px;
  color: #7f0c16;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  font-weight: 600;
}

.archive-page h3 {
  margin: 23px 0 9px;
  color: #7f0c16;
  font-size: 16px;
  font-weight: 600;
}

.archive-page h4 {
  margin: 0 0 8px;
  color: #404248;
  font-size: 14px;
}

.archive-page p,
.archive-page li {
  color: #404248;
  font-size: 14px;
  line-height: 1.75;
}

.archive-page ul {
  padding-left: 22px;
}

.archive-page li {
  margin-bottom: 6px;
}

.archive-lead {
  margin-bottom: 28px;
  color: #4b4b4b;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

.archive-section {
  margin-top: 35px;
  padding-top: 26px;
  border-top: 1px solid #e2e2e2;
}

.archive-caution {
  margin: 0 0 32px;
  padding: 16px 18px;
  border-left: 4px solid #d5b300;
  background: #fff8cf;
  color: #4c4522;
  font-size: 13px;
  line-height: 1.65;
}

.seal-feature,
.patron-layout {
  display: grid;
  grid-template-columns: minmax(220px, 42%) 1fr;
  gap: 34px;
  align-items: start;
}

.seal-feature figure,
.patron-layout figure,
.historical-seal {
  margin: 0;
}

.seal-feature figure img {
  display: block;
  width: 100%;
  border: 1px solid #ececec;
}

.historical-seal {
  float: left;
  margin: 0 24px 12px 0;
}

.archive-section::after {
  display: table;
  clear: both;
  content: '';
}

.patron-layout figure {
  padding: 15px 15px 0;
  background: #f6f6f6;
  text-align: center;
}

.patron-layout figure img {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.current-contact-block {
  padding: 24px;
  border: 1px solid #e1e1e1;
  background: #f8f8f8;
}

.service-directory {
  margin-top: 32px;
  border-top: 1px solid #dedede;
}

.about-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-directory > h2 {
  grid-column: 1 / -1;
}

.directory-card {
  padding: 18px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
}

.directory-card h3 {
  margin-top: 0;
}

.directory-card p {
  margin-bottom: 0;
}

.service-entry {
  scroll-margin-top: 20px;
  padding: 26px 0 20px;
  border-bottom: 1px solid #dedede;
}

.service-entry h2 {
  margin-bottom: 7px;
}

.news-archive-list {
  margin: 30px 0 36px;
  border-top: 1px solid #dedede;
}

.news-archive-list article {
  padding: 23px 0;
  border-bottom: 1px solid #dedede;
}

.news-archive-list h2 {
  margin: 0 0 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.news-archive-list h2 a {
  color: #0366d6;
}

.news-archive-list time {
  display: block;
  margin-bottom: 9px;
  color: #777;
  font-size: 12px;
}

.news-archive-list p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.sidebar {
  min-width: 0;
  padding: 0 15px 0 30px;
  border-left: 1px solid #ededed;
}

.widget {
  margin-bottom: 30px;
}

.widget h3 {
  margin: 0 0 14px;
  color: #404248;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.time-box {
  width: 176px;
  margin: 0 auto;
  padding: 8px;
  border: 2px solid #111;
  background: #fff;
  color: #ff0000;
  text-align: center;
}

.time-box strong,
.time-box span {
  display: block;
}

.time-box strong {
  color: #222;
  font-size: 16px;
}

.time-box span {
  font-size: 11px;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 42px;
  height: 42px;
  border: 1px solid #dedede;
}

.search-form input {
  min-width: 0;
  padding: 8px 11px;
  border: 0;
  outline: 0;
  font: inherit;
}

.search-form button {
  border: 0;
  background: #0366d6;
  color: #fff;
  font-size: 22px;
  cursor: default;
}

.media-widget img {
  display: block;
  max-width: 100%;
}

.media-widget > a {
  display: block;
}

.calendar-widget {
  padding: 12px;
  border: 1px solid #dedede;
}

.calendar-heading {
  margin-bottom: 10px;
  color: #404248;
  font-weight: 600;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  color: #666;
  font-size: 10px;
  text-align: center;
}

.calendar-grid span {
  padding: 5px 1px;
  border-top: 1px solid #eee;
}

.calendar-grid span:nth-child(-n + 7) {
  color: #222;
  font-weight: 700;
}

.seal-widget {
  display: flex;
  justify-content: center;
}

.site-footer {
  font-family: Arial, Helvetica, sans-serif;
}

.footer-top {
  min-height: 255px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
  padding: 32px max(20px, calc((100vw - 1140px) / 2));
  background: #ffd905;
  color: #111;
  text-align: center;
}

.footer-top section {
  min-width: 0;
}

.footer-top h3 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}

.footer-top p {
  margin-bottom: 8px;
  color: #111;
  font-size: 12px;
  line-height: 1.5;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}

.anniversary-art img {
  width: min(250px, 100%);
}

.footer-bottom {
  padding: 18px 20px;
  background: #f90505;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .main-navigation > ul {
    flex-wrap: wrap;
    gap: 0 14px;
  }

  .main-navigation a {
    min-height: 40px;
    font-size: 12px;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .entry-content {
    padding-right: 15px;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 45px;
    padding: 35px 15px 0;
    border-top: 1px solid #ededed;
    border-left: 0;
  }

  .widget {
    margin: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 13px;
  }

  .archive-notice {
    font-size: 8px;
  }

  .announcement-bar {
    min-height: 38px;
    font-size: 10px;
  }

  .logo-area {
    min-height: 92px;
  }

  .main-navigation > ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }

  .main-navigation li {
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
  }

  .main-navigation a {
    width: 100%;
    justify-content: center;
    padding: 7px 5px;
    font-size: 10px;
    text-align: center;
    white-space: normal;
  }

  .main-navigation .submenu {
    left: 0;
    width: min(230px, 92vw);
  }

  .page-shell {
    width: 100%;
    padding-top: 32px;
  }

  .entry-content {
    padding: 0 14px;
  }

  .news-columns {
    grid-template-columns: 1fr;
  }

  .announcement-gallery {
    gap: 8px;
  }

  .announcement-gallery img {
    height: 410px;
  }

  .about-copy p {
    text-align: left;
  }

  .statement-section p {
    text-align: left;
  }

  .history-intro,
  .history-page > p:not(.content-source-note) {
    text-align: left;
  }

  .seal-feature,
  .patron-layout,
  .requirements-grid,
  .about-directory {
    grid-template-columns: 1fr;
  }

  .about-directory > h2 {
    grid-column: auto;
  }

  .seal-feature figure,
  .patron-layout figure {
    width: min(420px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .media-widget img {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
