.fallback-directory {
  min-height: 100vh;
  padding: 48px max(5vw, 24px) 80px;
  color: #17312e;
  background: #f3f1e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fallback-directory * {
  box-sizing: border-box;
}

.fallback-directory > header,
.fallback-directory > section {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.fallback-directory h1,
.fallback-directory h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.fallback-directory h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.fallback-directory header > p:not(.fallback-kicker) {
  max-width: 700px;
  color: #52625e;
  font-size: 1.08rem;
  line-height: 1.7;
}

.fallback-kicker {
  color: #9b3e2a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fallback-directory nav {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.fallback-directory nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.fallback-directory a {
  color: inherit;
  text-underline-offset: 4px;
}

.fallback-directory a:focus-visible {
  outline: 3px solid #9b3e2a;
  outline-offset: 4px;
}

.fallback-directory > section {
  margin-top: 70px;
}

.fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fallback-card {
  padding: 15px;
  border: 1px solid #d5d6cc;
  background: #faf9f3;
}

.fallback-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.fallback-card span {
  margin-top: 14px;
  display: block;
  color: #9b3e2a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fallback-card h2 {
  margin: 6px 0 0;
  font-size: 1.55rem;
}

.fallback-card > p {
  color: #5d6c67;
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .fallback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .fallback-grid {
    grid-template-columns: 1fr;
  }
}
