:root {
  --blue: #131f7a;
  --brown: #4c2908;
  --nav: #72301a;
  --wine: #800000;
  --muted-blue: #062a99;
  --cream: #f7efd9;
  --line: rgba(76, 41, 8, 0.24);
  --serif: Lustria, Baskerville, Georgia, 'Times New Roman', serif;
  --display: 'Libre Baskerville', Baskerville, Georgia, 'Times New Roman', serif;
  --container: 1170px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--brown);
  background: #eee5d2 url('/assets/images/site/bg-main.jpg') repeat fixed left bottom;
  font: 20px/1.45 var(--serif);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #270a72;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #dd8b0f;
}

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

.site-wrapper {
  width: min(var(--container), 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: url('/assets/images/site/bg-main.jpg') repeat-y right bottom;
  box-shadow: 0 0 14px rgba(49, 34, 17, 0.16);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 20px;
}

.topbar {
  height: 48px;
  color: #fff;
  background: #a49b87 url('/assets/images/site/bg-top.jpg') repeat-y right bottom;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding-inline: 20px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(310px, 100%);
}

.search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-input {
  width: 100%;
  height: 32px;
  padding: 5px 12px 5px 38px;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.search-button {
  width: 40px;
  height: 32px;
  margin-left: -100%;
  padding: 0;
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.topbar-title {
  margin-left: 18px;
  color: #fff;
  font-size: 24px;
}

.site-header-main {
  min-height: 318px;
  padding: 24px 30px 38px;
  text-align: center;
  background: url('/assets/images/site/bg-main.jpg') repeat-y right bottom;
}

.brand {
  display: inline-block;
  color: var(--blue);
  font: 400 32px/1.25 Georgia, 'Times New Roman', serif;
}

.tagline {
  max-width: 1080px;
  margin: 8px auto 34px;
  color: #111;
  font: 20px/1.22 'Times New Roman', serif;
}

.desktop-nav ul,
.mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 42px;
  row-gap: 14px;
}

.desktop-nav li {
  position: relative;
}

.desktop-nav > ul > li > a {
  display: block;
  color: var(--nav);
  font: 700 22px/1.35 var(--display);
}

.desktop-nav > ul > li > a[aria-current='page'],
.desktop-nav > ul > li > a:hover,
.desktop-nav > ul > li > a:focus-visible {
  color: #9a4b20;
}

.submenu {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 50%;
  display: none;
  min-width: 260px;
  padding: 9px !important;
  text-align: left;
  transform: translateX(-50%);
  border: 1px solid rgba(114, 48, 26, 0.34);
  background: #f7edce;
  box-shadow: 0 7px 18px rgba(56, 34, 14, 0.2);
}

.desktop-nav li:hover > .submenu,
.desktop-nav li:focus-within > .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 8px 10px;
  color: var(--nav);
  font: 700 15px/1.3 var(--display);
}

.submenu a:hover,
.submenu a:focus-visible {
  background: rgba(226, 191, 134, 0.35);
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

.content-surface {
  min-height: 420px;
  background: rgba(255, 255, 255, 0.16);
}

.carousel-section {
  padding: 16px 20px 0;
}

.carousel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  background: #1b130d;
}

.carousel-main {
  position: relative;
  aspect-ratio: 4 / 3;
}

.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: middle;
}

.carousel-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 17px 70px;
  color: #fff;
  text-align: center;
  background: rgba(46, 27, 13, 0.76);
  opacity: 0;
  transform: translateY(100%);
  transition: 180ms ease;
}

.carousel:hover .carousel-caption,
.carousel:focus-within .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 62px;
  padding: 0;
  color: #fff;
  border: 0;
  transform: translateY(-50%);
  background: rgba(52, 31, 17, 0.55);
  cursor: pointer;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(72, 39, 15, 0.88);
}

.carousel-control.prev {
  left: 0;
}

.carousel-control.next {
  right: 0;
}

.carousel-control svg {
  width: 25px;
  height: 25px;
}

.thumbnail-rail {
  display: flex;
  gap: 7px;
  max-width: 880px;
  margin: 10px auto 0;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-color: #9d6f3e transparent;
}

.thumbnail {
  flex: 0 0 118px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  background: #ddd;
  cursor: pointer;
}

.thumbnail[aria-current='true'] {
  border-color: var(--nav);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-title {
  margin: 30px 0 0;
  padding: 24px 20px;
  color: #052b38;
  font: italic 700 38px/1.15 Palatino, Georgia, serif;
  border-top: 1px solid rgba(76, 41, 8, 0.08);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 34px;
  padding: 24px 20px 50px;
}

.post-list {
  min-width: 0;
}

.post-card {
  position: relative;
  min-height: 150px;
  margin-bottom: 32px;
  padding-left: 92px;
}

.post-date {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  padding: 10px 5px;
  color: var(--muted-blue);
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  font-size: 15px;
}

.post-date strong {
  display: block;
  font: 700 28px/1 Palatino, Georgia, serif;
}

.post-card h2 {
  margin: 0 0 8px;
  color: #77133b;
  font: 700 28px/1.15 Georgia, serif;
}

.post-meta {
  margin-bottom: 12px;
  color: var(--muted-blue);
  font-size: 14px;
}

.post-card p {
  margin: 0;
  color: #333300;
  font-size: 17px;
  line-height: 1.55;
}

.post-feature {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 22px;
  padding-left: 0;
}

.post-feature .post-body {
  position: relative;
  padding-left: 92px;
}

.post-feature img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sidebar h3 {
  margin: 0 0 10px;
  color: #001b4f;
  font: 400 27px/1.2 Georgia, serif;
}

.sidebar-widget {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.sidebar select {
  width: 100%;
  padding: 9px;
  color: var(--brown);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.category-list,
.site-map-list {
  margin: 0;
  padding-left: 20px;
}

.category-list li,
.site-map-list li {
  margin-bottom: 7px;
}

.page-heading {
  padding: 24px 20px 18px;
}

.page-heading h1 {
  margin: 0;
  color: #052b38;
  font: italic 700 38px/1.15 Palatino, Georgia, serif;
}

.page-subtitle {
  margin: 8px 0 0;
  color: var(--muted-blue);
  font-size: 17px;
}

.page-content {
  min-width: 0;
  color: #333300;
  font-size: 17px;
  line-height: 1.6;
}

.page-content h2 {
  color: #77133b;
  font: 700 30px/1.2 Georgia, serif;
}

.page-content h3 {
  color: #001b4f;
  font: 400 28px/1.25 Georgia, serif;
}

.page-content h4,
.page-content h5,
.page-content h6 {
  margin: 16px 0;
  color: #333300;
  font: inherit;
  line-height: 1.6;
}

.page-content h4 {
  font-size: 22px;
}

.page-content h5 {
  font-size: 17px;
}

.page-content h6 {
  font-size: 16px;
}

.page-content figure,
.page-content dl {
  max-width: 100% !important;
  margin: 0 auto 22px;
  text-align: center;
}

.page-content figure img,
.page-content dl img {
  display: block;
  width: 100%;
  max-width: 615px;
  margin: 0 auto;
}

.page-content figcaption,
.page-content dd {
  margin: 6px 0 0;
  font-size: 14px;
}

.page-content iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 18px auto 30px;
  border: 0;
}

.page-content ul {
  padding-left: 24px;
}

.video-stack iframe {
  margin-bottom: 32px;
}

.archive-gallery {
  margin-top: 34px;
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.gallery-heading h2 {
  margin-bottom: 4px;
}

.gallery-heading p {
  margin: 0;
  color: var(--muted-blue);
  font-size: 15px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.gallery-filters button {
  padding: 6px 10px;
  color: var(--nav);
  border: 1px solid rgba(114, 48, 26, 0.32);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  cursor: pointer;
}

.gallery-filters button[aria-pressed='true'] {
  color: #fff;
  background: var(--nav);
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.gallery-button {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #2b2119;
  cursor: zoom-in;
}

.gallery-button[hidden] {
  display: none;
}

.gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  transform: scale(1.035);
}

.gallery-button span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px 8px 7px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: linear-gradient(transparent, rgba(28, 17, 9, 0.88));
  font-size: 13px;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px 80px;
  background: rgba(18, 12, 8, 0.93);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  display: grid;
  gap: 10px;
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 100px);
  margin: 0;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 170px);
  margin: auto;
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  color: #fff;
  font-size: 14px;
}

.lightbox figcaption span {
  color: #d7c5a6;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lightbox-close {
  top: 16px;
  right: 24px;
  font-size: 44px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin-top: 24px;
}

.contact-cards,
.classifieds-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.contact-card,
.classified-category {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.contact-card h2,
.classified-category h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.contact-card p,
.classified-category p {
  margin: 0;
}

.historical-contact {
  background: rgba(240, 222, 183, 0.35);
}

.archive-notice {
  padding: 14px 16px;
  border-left: 4px solid #9a6b2f;
  background: rgba(240, 222, 183, 0.5);
}

.classified-category h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.classified-category h2 span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 32px;
  min-height: 32px;
  padding: 3px 8px;
  color: #fff;
  border-radius: 50%;
  background: var(--nav);
  font: 700 15px/1 var(--serif);
}

.legacy-media-list code {
  color: var(--brown);
  overflow-wrap: anywhere;
}

.archive-post-list .post-card:last-child {
  margin-bottom: 0;
}

.contact-form label {
  display: grid;
  gap: 5px;
  color: var(--brown);
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  color: #2a1b10;
  border: 1px solid rgba(76, 41, 8, 0.35);
  background: rgba(255, 255, 255, 0.62);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  justify-self: start;
  padding: 10px 22px;
  color: #fff;
  border: 0;
  background: #4d2916;
  cursor: pointer;
}

.form-message {
  grid-column: 1 / -1;
  margin: 0;
  color: #2f601d;
  font-weight: 700;
}

.search-results-list {
  display: grid;
  gap: 20px;
}

.search-result {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.search-result h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.site-footer {
  min-height: 100px;
  padding: 30px 20px;
  color: #000;
  text-align: center;
  background: url('/assets/images/site/bg-top.jpg') repeat-y right bottom;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 980px) {
  .site-wrapper {
    width: 100%;
  }

  .site-header-main {
    min-height: 0;
    padding: 24px 18px 18px;
  }

  .tagline {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 11px;
    color: var(--nav);
    border: 1px solid rgba(114, 48, 26, 0.3);
    background: rgba(248, 234, 197, 0.7);
    cursor: pointer;
  }

  .mobile-nav.open {
    display: block;
    padding: 10px 0;
  }

  .mobile-nav a {
    display: block;
    padding: 9px 12px;
    color: var(--nav);
    border-bottom: 1px solid rgba(114, 48, 26, 0.12);
    font-size: 17px;
  }

  .mobile-nav .submenu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 16px !important;
    transform: none;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .post-feature {
    grid-template-columns: minmax(150px, 220px) 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .topbar {
    height: 44px;
  }

  .topbar-title {
    display: none;
  }

  .search-form {
    width: 100%;
  }

  .brand {
    font-size: 27px;
  }

  .tagline {
    font-size: 15px;
    line-height: 1.35;
  }

  .carousel-section {
    padding-inline: 0;
  }

  .thumbnail-rail {
    padding-inline: 10px;
  }

  .thumbnail {
    flex-basis: 88px;
    height: 55px;
  }

  .carousel-control {
    width: 38px;
    height: 54px;
  }

  .carousel-caption {
    padding: 12px 48px;
    font-size: 15px;
  }

  .welcome-title,
  .page-heading h1 {
    font-size: 31px;
  }

  .content-grid {
    padding-inline: 16px;
  }

  .post-card {
    padding-left: 0;
    padding-top: 58px;
  }

  .post-date {
    width: 58px;
    padding: 6px 4px;
  }

  .post-card h2 {
    font-size: 24px;
  }

  .post-feature {
    grid-template-columns: 1fr;
  }

  .post-feature .post-body {
    padding-left: 0;
    padding-top: 58px;
  }

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

  .work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-filters {
    justify-content: flex-start;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-cards,
  .classifieds-categories {
    grid-template-columns: 1fr;
  }

  .contact-form .wide {
    grid-column: auto;
  }

  .lightbox {
    padding: 55px 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
