/* Compatibility and accessibility refinements for the original Solstice layout. */
html, body { margin: 0; padding: 0; }
body { background: #fff; color: #000; }
body .wp-site-blocks { padding: 0 !important; }
body .wp-block-post-content { margin: 0; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.solstice-inner-header { position: relative; z-index: 5; }
.solstice-inner-header .grid { align-items: end; }
.solstice-inner-header h1 { grid-column: 1/6; }
.solstice-inner-header .nav { grid-column: 7/13; }
.solstice-inner-header .menu { list-style: none; }
.home-menu .menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu { margin: 0; padding: 0; }
.mobile-menu .menu { list-style: none; }
.title-wrap.section-toggle { display: block; width: 100%; border: 0; padding: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.single-menu .title-wrap h2, .single-menu .title-wrap .menu-title { display: inline-block; }
.section-toggle:focus-visible, .mobile-menu-toggle:focus-visible, a:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.mobile-menu-toggle { border: 0; background: transparent; cursor: pointer; }
.ext-links { display: flex; gap: 1.25rem; }
.ext-links a { text-decoration: underline; text-underline-offset: .15em; }
/* Remove default block-theme widths and typography from the legacy layout wrappers. */
#container, #main, .home-nav, .mobile-nav, footer { max-width: none; }
@media (max-width: 767px) {
  .solstice-inner-header .grid { display: block; }
  .solstice-inner-header h1 { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}


/* v1.1.0: restore legacy menu heading appearance and make the full control clickable. */
.single-menu .title-wrap.section-toggle {
  pointer-events: auto;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  font-family: "Community Gothic", Arial Black, Arial Bold, sans-serif;
  line-height: 1.25;
  user-select: none;
}
.single-menu .title-wrap .menu-title {
  display: inline-block;
  position: relative;
  margin: 0;
  border-bottom: 5px solid currentColor;
  font-family: "Community Gothic", Arial Black, Arial Bold, sans-serif;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: normal;
  text-transform: uppercase;
}
.single-menu .title-wrap .menu-title::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  right: -2rem;
  bottom: .5rem;
  border-top: .5rem solid #000;
  border-left: .5rem solid transparent;
  border-right: .5rem solid transparent;
}
.single-menu.toggled .title-wrap.section-toggle { text-align: left; }
.single-menu.toggled .title-wrap .menu-title::after { display: none; }
.single-menu .section-close { pointer-events: auto; }
.single-menu .title-wrap.section-toggle:focus-visible {
  outline: 3px solid #ff0;
  outline-offset: 5px;
}
.ext-links li.instagram a { width: 32px; height: 32px; }
.ext-links li.instagram svg {
  display: block;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.ext-links li.instagram svg circle:last-child { fill: currentColor; stroke: none; }
/* Keep WordPress block-theme defaults from changing the legacy page typography. */
#main h1, #main h2, #main h3, .solstice-inner-header h1, .masthead h1 {
  font-family: "Community Gothic", Arial Black, Arial Bold, sans-serif;
}
#main p { margin-block-start: 0; }
#main img { max-width: 100%; height: auto; }
@media (max-width: 767px) {
  .single-menu .title-wrap .menu-title {
    font-size: 1.4rem;
    border-bottom-width: 4px;
  }
  .single-menu .title-wrap .menu-title::after {
    border-top-width: .4rem;
    border-left-width: .4rem;
    border-right-width: .4rem;
  }
  .single-menu .title-wrap.section-toggle { margin: 0 0 2em; }
  .solstice-inner-header { height: 60px; }
  .solstice-inner-header .grid { display: block; }
  .solstice-inner-header h1 { font-size: 1.25rem; line-height: 60px; }
  .solstice-inner-header .nav { display: none; }
  .page-intro { margin-top: 1.5rem; margin-bottom: 2.5rem; }
  h1.page-title { font-size: 2.25rem; }
  .intro-txt { padding-inline: .5rem; }
  .single-menu { margin-bottom: 3rem; }
  .single-menu .toggled-contents .col:nth-child(even) { padding-left: .75rem; }
  .home-text { max-width: calc(100vw - 1.25rem); font-size: clamp(.8rem, 4vw, 1.15rem); }
  .home-nav { display: none; }
}
