.hero[data-astro-cid-lcdefpme] {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.hero-grid[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-text[data-astro-cid-lcdefpme] {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
}

.hero-text[data-astro-cid-lcdefpme] h1[data-astro-cid-lcdefpme] {
  margin-bottom: .5rem;
}

.hero-text[data-astro-cid-lcdefpme] .lede[data-astro-cid-lcdefpme] {
  max-width: 28em;
}

.hero-plate[data-astro-cid-lcdefpme] .backdrop {
  border: var(--line) solid var(--line-on-petrol);
}

h1[data-astro-cid-lcdefpme] {
  font-size: clamp(3.25rem, 8.4vw, 6rem);
  font-weight: 200;
  line-height: .98;
  letter-spacing: -.03em;
}

.amp[data-astro-cid-lcdefpme] {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.hero[data-astro-cid-lcdefpme] .lede[data-astro-cid-lcdefpme] {
  color: var(--on-petrol-soft);
}

.actions[data-astro-cid-lcdefpme] {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.areas-head[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.areas-head[data-astro-cid-lcdefpme] .lede[data-astro-cid-lcdefpme] {
  color: var(--ink-soft);
}

.rows[data-astro-cid-lcdefpme] {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line) solid var(--line-on-mineral);
}

.row[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1.25fr) minmax(0, 1fr) auto 3rem;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-bottom: var(--line) solid var(--line-on-mineral);
  text-decoration: none;
  transition: background-color .3s var(--ease-out);
}

.row-plate[data-astro-cid-lcdefpme] {
  color: var(--gold-ink);
}

.row-name[data-astro-cid-lcdefpme] {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  transition: font-weight .38s var(--ease-out);
}

.row-short[data-astro-cid-lcdefpme] {
  color: var(--ink-soft);
  max-width: 28em;
}

.row-thumbs[data-astro-cid-lcdefpme] {
  display: flex;
  gap: .4rem;
}

.row-thumbs[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] {
  width: 4.5rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(.7);
  transition: filter .38s var(--ease-out),
      transform .38s var(--ease-out);
}

.row-words[data-astro-cid-lcdefpme] {
  width: 14.3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--gold-ink);
}

.row-go[data-astro-cid-lcdefpme] {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: var(--line) solid var(--line-on-mineral);
  transition: background-color .3s var(--ease-out),
      color .3s var(--ease-out),
      border-color .3s var(--ease-out);
}

.row-go[data-astro-cid-lcdefpme] svg {
  width: 1.25rem;
  height: 1.25rem;
}

.row[data-astro-cid-lcdefpme]:hover .row-name[data-astro-cid-lcdefpme], .row[data-astro-cid-lcdefpme]:focus-visible .row-name[data-astro-cid-lcdefpme] {
  font-weight: 500;
}

.row[data-astro-cid-lcdefpme]:hover .row-thumbs[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] {
  filter: none;
}

.row[data-astro-cid-lcdefpme]:hover .row-thumbs[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme]:nth-child(2) {
  transform: translateY(-.35rem);
}

.row[data-astro-cid-lcdefpme]:hover .row-go[data-astro-cid-lcdefpme] {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--gold);
}

.visit-grid[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.visit-text[data-astro-cid-lcdefpme] {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.home-visit[data-astro-cid-lcdefpme] .lede[data-astro-cid-lcdefpme] {
  color: var(--on-petrol-soft);
}

.towns[data-astro-cid-lcdefpme] ul[data-astro-cid-lcdefpme] {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line) solid var(--line-on-petrol);
}

.towns[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme] {
  padding-block: .85rem;
  border-bottom: var(--line) solid var(--line-on-petrol);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
}

.towns[data-astro-cid-lcdefpme] li[data-astro-cid-lcdefpme]:first-child {
  color: var(--gold);
}

@media (width <= 64rem) {
  .row[data-astro-cid-lcdefpme] {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    grid-template-areas: "plate name go"
                         "plate short go"
                         "plate thumbs go";
    row-gap: .6rem;
  }

  .row-plate[data-astro-cid-lcdefpme] {
    grid-area: plate;
    align-self: start;
    padding-top: .9rem;
  }

  .row-name[data-astro-cid-lcdefpme] {
    grid-area: name;
  }

  .row-short[data-astro-cid-lcdefpme] {
    grid-area: short;
  }

  .row-thumbs[data-astro-cid-lcdefpme], .row-words[data-astro-cid-lcdefpme] {
    grid-area: thumbs;
  }

  .row-go[data-astro-cid-lcdefpme] {
    grid-area: go;
  }
}

@media (width <= 60rem) {
  .hero-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
  }

  .hero-plate[data-astro-cid-lcdefpme] {
    margin-inline: calc(-1 * var(--gutter));
  }

  .hero-plate[data-astro-cid-lcdefpme] .backdrop {
    border-inline: 0;
  }

  .hero-plate[data-astro-cid-lcdefpme] .caption {
    padding-inline: var(--gutter);
  }
}

@media (width <= 52rem) {
  .areas-head[data-astro-cid-lcdefpme], .visit-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
  }
}

@media (width <= 36rem) {
  .row[data-astro-cid-lcdefpme] {
    grid-template-columns: 3.4rem minmax(0, 1fr) auto;
    grid-template-areas: "plate name go"
                         "short short short"
                         "thumbs thumbs thumbs";
    align-items: baseline;
  }

  .row-plate[data-astro-cid-lcdefpme] {
    padding-top: 0;
    align-self: baseline;
  }

  .row-go[data-astro-cid-lcdefpme] {
    align-self: center;
  }

  .row-thumbs[data-astro-cid-lcdefpme] img[data-astro-cid-lcdefpme] {
    width: calc(33.3333% - .266667rem);
  }

  .row-thumbs[data-astro-cid-lcdefpme] {
    width: 100%;
  }

  .row-words[data-astro-cid-lcdefpme] {
    width: auto;
  }
}
