.guides-shell {
  max-width: 58rem;
  margin-block: clamp(1.75rem, 4vw, 3.75rem) clamp(3rem, 7vw, 6rem);
  overflow-wrap: anywhere;
}
.guides-shell h1 {
  margin: 0;
  color: var(--estate-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 690;
  line-height: 1.12;
  text-wrap: balance;
}
.guides-shell a:focus-visible {
  outline: 3px solid var(--estate-primary);
  outline-offset: 3px;
}
.guide-catalog, .guide-gallery {
  list-style: none;
  padding: 0;
}
.guide-catalog {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--estate-line);
}
.guide-catalog li {
  border-bottom: 1px solid var(--estate-line);
}
.guide-summary {
  display: flex;
  position: relative;
  align-items: center;
  gap: clamp(.875rem, 2.5vw, 2rem);
  padding: 1.125rem .5rem;
}
.guide-summary__thumb {
  flex: none;
  width: clamp(5rem, 14vw, 9.75rem);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .625rem;
}
.guide-summary__text { flex: 1; min-width: 0; }
.guide-summary h2, .guide-story__body h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 650;
  line-height: 1.25;
}
.guide-summary h2 a {
  color: var(--estate-ink);
  text-decoration: none;
}
.guide-summary h2 a::after { position: absolute; inset: 0; content: ""; }
.guide-summary:hover h2 a, .guide-summary h2 a:focus-visible, .guide-back:hover {
  text-decoration: underline;
  text-decoration-thickness: .085em;
  text-underline-offset: .18em;
}
.guide-summary__text p, .guide-story__intro {
  color: var(--estate-muted);
  line-height: 1.55;
  margin: .4rem 0 0;
}
.guide-summary__arrow {
  flex: none;
  color: var(--estate-primary);
  margin-inline-end: .5rem;
}
.guide-story__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: #f3f2f8;
  border-radius: 1rem;
}
.guide-story__header > div { min-width: 0; }
.guide-story__intro {
  margin-top: .875rem;
  font-size: clamp(1.05rem, 1.7vw, 1.1875rem);
  max-width: 60ch;
}
.guide-story__cover {
  flex: none;
  position: relative;
  width: clamp(10rem, 21vw, 16.5rem);
  aspect-ratio: 3 / 2;
  border-radius: .75rem;
}
.guide-story__cover img, .guide-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.guide-story__cover span {
  position: absolute;
  inset: auto .5rem .5rem auto;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  color: white;
  background: var(--estate-primary);
  font-size: .8125rem;
}
.guide-story__body {
  max-width: 66ch;
  margin: clamp(1.75rem, 4vw, 3rem) auto 0;
}
.guide-story__body section + section { margin-top: 1.75rem; }
.guide-story__body p {
  margin: .55rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  white-space: pre-line;
}
.guide-gallery { display: flex; flex-wrap: wrap; gap: .75rem; margin: .875rem 0 0; }
.guide-gallery a {
  display: block;
  width: clamp(5rem, 22vw, 7.5rem);
  aspect-ratio: 4 / 3;
  border-radius: .5rem;
}
.guide-back {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 44px;
  margin-top: 1.75rem;
  color: var(--estate-ink);
  font-weight: 600;
  text-decoration: none;
}
.guide-back i { color: var(--estate-accent); }
@media (max-width: 37.5rem) {
  .guide-story__header { display: block; }
  .guide-story__cover {
    display: block;
    width: 100%;
    height: 7rem;
    margin-top: 1rem;
  }
  .guide-story__cover img { object-position: center 32%; }
  .guide-summary { align-items: flex-start; padding-inline: 0; }
  .guide-summary__arrow { display: none; }
}
