@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --ink: #192d24;
  --pine: #194f3b;
  --muted: #4a6054;
  --border: #cdd6c8;
  --leaf: #e7eddf;
  font:
    16px/1.6 Manrope,
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
a {
  color: var(--pine);
  text-underline-offset: 0.18em;
}
a:hover {
  color: #30664b;
}
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #678350;
  outline-offset: 3px;
}
button,
input {
  font: inherit;
}
.mast {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--border);
  padding: 12px max(5vw, calc((100% - 1440px) / 2));
  background: var(--paper);
}
.mast a {
  text-decoration: none;
  font-weight: 650;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--ink);
  font-size: 1.32rem;
  letter-spacing: -0.05em;
}
.mast-title {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.spacer {
  flex: 1;
}
.layout {
  display: grid;
  grid-template-columns: minmax(195px, 250px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 82px);
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 76px);
}
aside {
  border-right: 1px solid var(--border);
  padding: 34px 22px 30px 0;
}
.contents {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.contents > summary {
  font-weight: 780;
  color: var(--ink);
  margin: 0 0 13px;
}
.side-tree ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.side-tree li ul {
  margin-left: 8px;
  padding-left: 9px;
  border-left: 1px solid var(--border);
}
.side-tree a,
.side-tree summary {
  display: block;
  border-radius: 6px;
  text-decoration: none;
  padding: 5px 7px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.side-tree summary {
  cursor: pointer;
  font-weight: 720;
  display: list-item;
  list-style-position: inside;
}
.side-tree a:hover,
.side-tree summary:hover {
  background: #edf0e7;
}
.side-tree [aria-current="page"] {
  background: #e0eadb;
  color: var(--pine);
  font-weight: 750;
}
main {
  min-width: 0;
  padding: 40px 0 28px;
}
.crumbs {
  display: flex;
  gap: 0.6em;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.86rem;
  margin-bottom: 26px;
  color: var(--muted);
}
.crumbs a {
  text-decoration: none;
}
article {
  max-width: 1020px;
}
h1,
h2,
p {
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 640;
  text-wrap: balance;
  max-width: 22ch;
}
.intro {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  max-width: 65ch;
  line-height: 1.55;
}
.hub h1 {
  margin-top: 8px;
}
.hub > .intro {
  margin-bottom: 32px;
}
h2 {
  margin-top: 32px;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}
.location {
  display: inline-block;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 8px 13px;
  background: var(--leaf);
  color: var(--pine);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 640;
}
.steps {
  padding-left: 1.65rem;
  max-width: 75ch;
}
.steps li {
  margin: 0 0 12px;
  padding-left: 6px;
}
.steps li::marker {
  font-weight: 760;
  color: var(--pine);
}
figure {
  margin: 28px 0;
}
.shot {
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot:focus-visible {
  outline-offset: 4px;
}
figcaption,
footer,
small {
  color: var(--muted);
  font-size: 0.85rem;
}
figcaption {
  margin: 8px 0;
}
.directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.directory-list a {
  display: block;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f0f2e9;
}
.directory-list a:nth-child(3n + 2) {
  background: #f2eadf;
}
.directory-list a:nth-child(3n) {
  background: #e6eee8;
}
.directory-list a:hover {
  border-color: #99ad9b;
}
.directory-list strong {
  display: block;
  font-size: 1.13rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.directory-list span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 7px;
}
.search {
  margin: 0 0 18px;
}
.search label {
  display: block;
  font-weight: 680;
  margin: 0 0 6px;
}
.search input {
  width: min(100%, 620px);
  padding: 11px 14px;
  border: 1px solid #9caf9f;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.results ul,
.more ul {
  padding-left: 22px;
}
.results:empty {
  display: none;
}
.results {
  margin-bottom: 24px;
}
.results small {
  display: block;
  margin-bottom: 6px;
}
.paginate {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 28px;
}
.paginate a {
  flex: 1;
  min-width: 140px;
  text-decoration: none;
  font-weight: 680;
}
.paginate small {
  display: block;
  font-weight: 500;
}
.more a:hover {
  text-decoration-thickness: 2px;
}
footer {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 14px;
}
footer a {
  text-decoration: none;
}
.skip {
  position: absolute;
  top: -80px;
  background: white;
  padding: 10px;
  z-index: 5;
}
.skip:focus {
  top: 0;
}
@media (min-width: 901px) {
  .contents > summary {
    display: none;
  }
  .contents:not([open]) > nav {
    display: block;
  }
  .layout:has(.hub) main {
    padding-top: 52px;
  }
}
@media (max-width: 900px) {
  .layout {
    display: block;
    padding: 0 max(5vw, 16px);
  }
  .mast {
    min-height: 58px;
    gap: 12px;
  }
  .mast-title {
    padding-left: 12px;
  }
  aside {
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .contents {
    position: static;
    max-height: none;
  }
  .contents > summary {
    margin: 0;
    cursor: pointer;
  }
  .contents[open] > nav {
    margin: 12px 0;
    max-height: 48vh;
    overflow: auto;
  }
  main {
    padding: 24px 0;
  }
  .crumbs {
    margin-bottom: 17px;
  }
}
@media (max-width: 680px) {
  .directory-list {
    grid-template-columns: 1fr;
  }
  .shot {
    width: min(100%, 390px);
  }
  .shot img {
    aspect-ratio: 390/780;
  }
  .mast {
    font-size: 0.85rem;
  }
  .brand {
    font-size: 1.05rem;
  }
  .brand img {
    width: 24px;
    height: 24px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .directory-list a {
    transition:
      transform 0.18s,
      border-color 0.18s;
  }
  .directory-list a:hover {
    transform: translateY(-2px);
  }
  article {
    animation: appear 0.25s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.5;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.guide-hero {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  align-items: stretch;
  background: #194735;
  color: #faf9f0;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}
.guide-hero > div {
  align-self: center;
  padding: clamp(22px, 3.7vw, 52px);
  min-width: 0;
}
.guide-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.7rem);
  margin: 0 0 0.4em;
  overflow-wrap: anywhere;
}
.guide-hero .intro {
  color: #e7efe4;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}
.guide-hero img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 310px;
}
@media (max-width: 700px) {
  .guide-hero {
    grid-template-columns: 1fr;
  }
  .guide-hero img {
    min-height: 0;
    height: 110px;
    object-position: 50% 55%;
  }
  .mast {
    gap: 9px;
  }
  .mast-title {
    padding-left: 9px;
  }
  .mast .spacer {
    min-width: 0;
  }
  .mast .search-link {
    margin-left: auto;
  }
  .mast:has(.search-link) .spacer {
    display: none;
  }
}
@media (max-width: 375px) {
  .mast .brand {
    font-size: 0;
  }
  .mast .brand img {
    width: 27px;
    height: 27px;
  }
}
