.dw3d-stl-dir {
  margin-top: clamp(34px, 6vw, 72px);
}

.dw3d-stl-dir__hero {
  border-left: 5px solid #076a97;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 106, 151, 0.08), rgba(203, 230, 0, 0.10));
  padding: clamp(24px, 4vw, 42px);
}

.dw3d-stl-dir__kicker,
.dw3d-stl-dir__badge {
  margin: 0 0 10px;
  color: #076a97;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dw3d-stl-dir__hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.dw3d-stl-dir__hero p {
  max-width: 840px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.dw3d-stl-dir__intro {
  max-width: 880px;
  margin: 28px 0 0;
}

.dw3d-stl-dir__quick-grid,
.dw3d-stl-dir__category-grid,
.dw3d-stl-dir__community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 42px;
}

.dw3d-stl-dir__quick-card,
.dw3d-stl-dir__portal,
.dw3d-stl-dir__community-card {
  border: 1px solid rgba(39, 38, 38, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.dw3d-stl-dir__logo {
  display: inline-flex;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(39, 38, 38, 0.10);
  border-radius: 8px;
  background: #f7fafb;
  overflow: hidden;
}

.dw3d-stl-dir__logo img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.dw3d-stl-dir__logo span {
  color: #076a97;
  font-size: 1.35rem;
  font-weight: 800;
}

.dw3d-stl-dir__quick-card h2,
.dw3d-stl-dir__portal h3,
.dw3d-stl-dir__community-card h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.dw3d-stl-dir__quick-card p,
.dw3d-stl-dir__portal p,
.dw3d-stl-dir__community-card p {
  margin: 0 0 12px;
  font-size: 0.96rem;
  line-height: 1.6;
}

.dw3d-stl-dir__operator {
  color: #5c6570;
  font-weight: 700;
}

.dw3d-stl-dir a {
  font-weight: 700;
}

.dw3d-stl-dir__community-intro,
.dw3d-stl-dir__section {
  max-width: 880px;
  margin: 46px auto 24px;
  text-align: center;
}

.dw3d-stl-dir__section {
  max-width: none;
}

.dw3d-stl-dir__section > h2,
.dw3d-stl-dir__community-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.dw3d-stl-dir__community-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.dw3d-stl-dir__community-card {
  border-color: rgba(7, 106, 151, 0.26);
  background: linear-gradient(135deg, rgba(7, 106, 151, 0.06), rgba(203, 230, 0, 0.12));
  padding: clamp(20px, 3vw, 28px);
}

.dw3d-stl-dir__community-card a,
.dw3d-stl-dir__quick-card a,
.dw3d-stl-dir__portal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 6px;
  background: #076a97;
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  text-decoration: none;
}

.dw3d-stl-dir__community-card a:hover,
.dw3d-stl-dir__quick-card a:hover,
.dw3d-stl-dir__portal a:hover {
  background: #095f86;
  color: #fff;
}

.dw3d-stl-dir__toolbar {
  margin: 40px 0 18px;
  padding: 18px;
  border: 1px solid rgba(39, 38, 38, 0.12);
  border-radius: 8px;
  background: #f4f5f7;
}

.dw3d-stl-dir__toolbar label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.dw3d-stl-dir__toolbar input {
  width: 100%;
  border: 1px solid rgba(39, 38, 38, 0.18);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
}

.dw3d-stl-dir__note {
  max-width: 880px;
  margin: 42px auto 0;
  border-top: 1px solid rgba(39, 38, 38, 0.18);
  padding-top: 26px;
}

.dw3d-stl-dir__note h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

@media (max-width: 900px) {
  .dw3d-stl-dir__quick-grid,
  .dw3d-stl-dir__category-grid,
  .dw3d-stl-dir__community-grid {
    grid-template-columns: 1fr;
  }
}
