/* Shared site design, loaded after the starter theme stylesheet. */
body.pfs-theme {
  --pfs-forest: #253524;
  --pfs-ink: #222b21;
  --pfs-paper: #faf8f1;
  --pfs-panel: #efede1;
  --pfs-line: #d8d5c7;
  --pfs-link: #35522d;
  --pfs-accent: #ead89b;
  --pfs-admin-offset: 0px;
  --pfs-anchor-offset: calc(5rem + var(--pfs-admin-offset));
  background: var(--pfs-paper);
  color: var(--pfs-ink);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

body.pfs-theme #masthead,
body.pfs-theme #colophon {
  color: var(--pfs-paper);
  background-color: var(--pfs-forest) !important;
}

body.pfs-theme #masthead {
  position: sticky;
  top: var(--pfs-admin-offset);
  z-index: 1030;
  padding-block: 0.35rem;
  border-bottom: 1px solid #4b5941;
  box-shadow: 0 0.3rem 1rem rgba(22, 33, 20, 0.13);
}

.pfs-theme #masthead .navbar {
  padding-block: 0;
  gap: 0.5rem;
}

.pfs-theme #masthead .navbar-brand img {
  display: block;
  width: auto;
  height: 3rem;
}

.pfs-theme #masthead .navbar-nav > li > a {
  padding: 0.65rem 0.85rem;
  border-radius: 0.35rem;
}

.pfs-theme #masthead .navbar-nav > li > a:hover,
.pfs-theme #masthead .navbar-nav > li > a[aria-current="page"],
.pfs-theme #masthead .navbar-nav > li.current_page_item > a {
  color: var(--pfs-accent);
  background: rgba(255, 255, 255, 0.08);
}

.pfs-theme #masthead .dropdown-menu {
  border-color: var(--pfs-line);
  background: var(--pfs-paper);
}

@media (min-width: 601px) {
  body.pfs-theme.admin-bar { --pfs-admin-offset: 46px; }
}

@media (min-width: 783px) {
  body.pfs-theme.admin-bar { --pfs-admin-offset: 32px; }
}

@media (max-width: 1199.98px) {
  .pfs-theme #main-nav.show {
    max-height: calc(100dvh - var(--pfs-anchor-offset) - 0.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.pfs-theme .skip-link:focus {
  position: fixed !important;
  top: calc(var(--pfs-admin-offset) + 0.35rem);
}

.pfs-hero {
  color: var(--pfs-paper);
  background: radial-gradient(ellipse at 85% 0%, #455b39, transparent 65%), #2a3b28;
  border-bottom: 1px solid #617053;
}

.pfs-hero-inner {
  display: grid;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.15rem, 3vw, 2.25rem);
}

.pfs-hero-title {
  max-width: 19ch;
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 5vw, 3.85rem);
  line-height: 1.06;
  font-weight: 700;
  text-wrap: balance;
}

.pfs-hero-description {
  margin-bottom: 0.95rem;
  color: #e4e8db;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.pfs-hero-link,
.pfs-hero-map-label {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-weight: 700;
}

.pfs-hero-link {
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border-radius: 0.4rem;
  color: var(--pfs-forest);
  background: var(--pfs-accent);
  text-decoration: none;
}

.pfs-action-arrow {
  display: inline-block;
}

.pfs-hero-link:hover {
  color: var(--pfs-ink);
  background: var(--pfs-paper);
}

.pfs-hero-map {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.75rem 0.4rem 0.4rem;
  border: 1px solid #e1d8b3;
  border-radius: 0.55rem;
  color: var(--pfs-forest);
  background: var(--pfs-paper);
  text-decoration: none;
}

.pfs-hero-map:hover {
  color: var(--pfs-forest);
  background: #f1ead5;
}

.pfs-hero-map img {
  display: block;
  width: 100%;
  height: 48px;
  border-radius: 0.22rem;
  object-fit: cover;
  object-position: center 25%;
}

@media (min-width: 700px) {
  .pfs-hero-inner {
    grid-template-columns: minmax(0, 1fr) clamp(14rem, 29vw, 22rem);
  }

  .pfs-hero-map {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.4rem;
  }

  .pfs-hero-map img {
    height: clamp(5rem, 10vw, 8rem);
  }

  .pfs-hero-map-label {
    padding: 0.3rem 0.6rem;
  }
}

.pfs-theme #content {
  padding-block: clamp(1.75rem, 4vw, 4rem);
  scroll-margin-top: var(--pfs-anchor-offset);
}

.pfs-theme #content :where([id]) {
  scroll-margin-top: var(--pfs-anchor-offset);
}

.pfs-theme #content a {
  color: var(--pfs-link);
  text-underline-offset: 0.15em;
}

.pfs-theme .search-field {
  border-color: #797f71;
  border-radius: 0.25rem;
  color: var(--pfs-ink);
  background: white;
}

.pfs-theme .search-field::placeholder {
  color: #596254;
}

.pfs-theme .search-submit {
  border-radius: 0.25rem;
}

.pfs-theme #content a.button {
  color: white;
  background-color: var(--pfs-link);
}

.pfs-theme #content :is(a, button, input, select, textarea):focus-visible,
.pfs-theme #colophon a:focus-visible,
.pfs-hero-link:focus-visible,
.pfs-hero-map:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.pfs-theme #colophon a:focus-visible,
.pfs-hero-link:focus-visible,
.pfs-hero-map:focus-visible {
  outline-color: white;
}

.pfs-theme #content :is(h1, h2, h3) {
  line-height: 1.16;
  text-wrap: balance;
}

.pfs-theme #content h1 {
  font-size: clamp(2rem, 4.75vw, 3.5rem);
}

.pfs-theme #content h1::before,
.pfs-theme #content h1::after {
  content: none;
}

.pfs-theme #primary.col-lg-8:only-child {
  margin-inline: auto;
}

.pfs-theme :where(.entry-content, .entry-summary, .page-content) > p {
  max-width: 68ch;
}

.pfs-theme :where(.entry-content, .entry-summary, .page-content) > :is(h2, h3):not(:first-child) {
  margin-top: 1.2em;
}

.pfs-theme .entry-content :where(figure img, .wp-caption img) {
  border-radius: 0.45rem;
}

.pfs-theme .entry-content :where(figcaption, .wp-caption-text) {
  color: #505b4d;
  font-size: 0.9em;
}

.pfs-theme .post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.45rem;
}

.pfs-theme .entry-meta :is(.posted-on, .byline, .comments-link) {
  color: #535d4f;
}

.pfs-theme #secondary {
  padding-top: 0;
}

.pfs-theme #secondary .widget {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--pfs-line);
  border-radius: 0.55rem;
  background: #fffdf7;
}

.pfs-theme #secondary :is(.widget-title, .widget h2) {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.pfs-tour-panel {
  margin-block: 1.25rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--pfs-line);
  border-radius: 0.5rem;
  background: var(--pfs-panel);
}

.pfs-tour-panel h2 {
  font-size: 1.45rem;
}

.pfs-tour-panel h3 {
  font-size: 1.1rem;
}

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

.pfs-tour-list li + li {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--pfs-line);
}

.pfs-tour-list a {
  display: table;
  padding-block: 0.45rem;
}

.pfs-theme #footer-widget {
  padding-block: 2rem;
  background: var(--pfs-panel);
}

.pfs-theme #colophon .site-info {
  padding: clamp(1.5rem, 4vw, 3.25rem) calc(var(--bs-gutter-x) * 0.5);
  font-size: 0.95rem;
}

.pfs-footer-main,
.pfs-footer-support {
  display: grid;
  gap: 0.85rem 2.5rem;
}

.pfs-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pfs-footer-brand img {
  width: 4.5rem;
  height: auto;
}

.pfs-theme #colophon .site-info p {
  margin: 0;
}

.pfs-theme #colophon .site-footer-links {
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}

.pfs-footer-support {
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #68755c;
  color: #e0e5d8;
}

.pfs-footer-logos {
  width: min(100%, 24rem);
  padding: 0.65rem;
  border-radius: 0.35rem;
  background: var(--pfs-paper);
}

@media (min-width: 768px) {
  .pfs-footer-main,
  .pfs-footer-support {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .pfs-theme #colophon .site-footer-links {
    justify-content: flex-end;
  }

  .pfs-footer-logos {
    justify-self: end;
  }
}

/* Navigation and route controls. */
.pfs-theme #masthead .navbar-toggler {
  --bs-navbar-toggler-border-color: rgba(250, 248, 241, 0.55);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23faf8f1' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  color: var(--pfs-paper);
}

.pfs-theme #masthead .dropdown-menu {
  --bs-dropdown-link-color: var(--pfs-ink);
  --bs-dropdown-link-hover-color: var(--pfs-forest);
  margin-inline: 0;
  padding: 0.35rem;
  border: 1px solid var(--pfs-line);
  border-radius: 0.4rem;
}

.pfs-theme #masthead .dropdown-item {
  padding: 0.55rem 0.8rem;
  border-radius: 0.25rem;
}

.pfs-theme #masthead .dropdown-item:is(:hover, :focus, [aria-current="page"]) {
  color: var(--pfs-forest);
  background-color: var(--pfs-panel);
}

.pfs-theme #masthead .dropdown-submenu > .dropdown-menu {
  position: static;
  margin-inline-start: 0.65rem;
  min-width: 0;
  border: 0;
  border-inline-start: 2px solid var(--pfs-line);
  border-radius: 0;
}

.pfs-theme #masthead .dropdown-submenu.open > .dropdown-menu {
  display: block;
}

.pfs-disclosure {
  min-height: 44px;
  border-radius: 0.4rem;
}

.pfs-disclosure {
  margin-block: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--pfs-link);
  color: var(--pfs-link);
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.pfs-disclosure[aria-expanded="true"],
.pfs-disclosure:hover {
  color: var(--pfs-paper);
  background: var(--pfs-link);
}

.pfs-tour-panel {
  border-inline-start: 4px solid var(--pfs-link);
}

.pfs-tour-list a {
  width: fit-content;
  min-height: 44px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .pfs-theme .button {
    transition: none;
  }

  .pfs-theme .button:hover {
    transform: none;
  }
}
