:root {
  --rect-color: #c81d25;
  --surface: #f8f6f2;
  --text: #1e1b18;
  --border: #d8d1c7;
  --max-photo-width: 555px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
  background: linear-gradient(180deg, #fffdf9 0%, var(--surface) 100%);
}

main {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

p {
  margin: 0 0 1.2rem;
  max-width: 70ch;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.cat-carousels {
  margin: 0 0 1.2rem;
  width: min(100%, 860px);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.cat-card {
  width: 100%;
  max-width: calc(var(--max-photo-width) + 1.8rem + 2px);
  margin-inline: auto;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffdfa;
}

.carousel {
  width: 100%;
  max-width: var(--max-photo-width);
  margin-inline: auto;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.carousel-slide {
  margin: 0;
}

.carousel-slide[hidden] {
  display: none;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #ece1d2;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.3rem;
  height: 2.3rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 30%);
  color: #2a2621;
  cursor: pointer;
  z-index: 1;
}

.carousel-nav::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-top: 0.15rem solid #2a2621;
  border-right: 0.15rem solid #2a2621;
}

.carousel-nav.prev::before {
  transform: rotate(-135deg);
  margin-left: 0.12rem;
}

.carousel-nav.next::before {
  transform: rotate(45deg);
  margin-right: 0.12rem;
}

.carousel-nav:hover {
  background: rgb(255 255 255 / 45%);
}

.carousel-nav.prev {
  left: 0.45rem;
}

.carousel-nav.next {
  right: 0.45rem;
}

.map-wrap {
  width: min(100%, 760px);
  height: clamp(280px, 65vh, 760px);
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #ece5da;
}

.fallback {
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.fallback img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#map {
  width: 100%;
  height: 100%;
}

#map[hidden] {
  display: none;
}

.map-attribution {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #4e4a44;
}

.map-attribution a {
  color: inherit;
}