.directory-main {
  min-height: 65vh;
  background: #f4f8fc;
}

.directory-shell {
  max-width: 1120px;
}

.directory-shell h1 {
  max-width: 760px;
  margin: 12px 0 10px;
  font-size: 2.4rem;
  letter-spacing: 0;
}

.directory-lead {
  max-width: 720px;
  color: #52647a;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.directory-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  background: #ffffff;
}

.directory-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  object-fit: contain;
  background: #eef4fa;
}

.directory-card__fallback {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.directory-card h2,
.directory-card p,
.directory-card small {
  margin: 0;
}

.directory-card h2 {
  font-size: 1.05rem;
}

.directory-card__services,
.directory-card small {
  color: #52647a;
}

.directory-card .btn {
  margin-top: 7px;
}

.directory-empty {
  margin-top: 28px;
  padding: 28px;
  border: 1px dashed #afc1d8;
  border-radius: 8px;
  background: #ffffff;
}

.directory-empty p {
  margin: 8px 0 18px;
  color: #52647a;
}

.guide-article {
  max-width: 860px;
}

.guide-article > section {
  padding: 24px 0;
  border-bottom: 1px solid #dce6f4;
}

.guide-article h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.guide-article section p {
  line-height: 1.7;
}

@media (max-width: 900px) {
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .directory-shell h1 {
    font-size: 1.8rem;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }
}
