.dzn-wspolnoty {
  --dzn-red: #e52b20;
  --dzn-red-dark: #bc2119;
  --dzn-ink: #101010;
  --dzn-soft: #f1f1f1;
  --dzn-line: #d8d8d8;
  color: var(--dzn-ink);
  font-family: inherit;
  max-width: 1320px;
  margin: 0 auto;
}

.dzn-wspolnoty *, .dzn-wspolnoty *::before, .dzn-wspolnoty *::after { box-sizing: border-box; }
.dzn-wspolnoty [hidden] { display: none !important; }
.dzn-title { margin: 0 0 2.3rem; font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.15; }
.dzn-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dzn-tab {
  appearance: none;
  border: 0;
  border-top: 8px solid #ddd;
  border-radius: 11px;
  background: #eee;
  color: #080808;
  cursor: pointer;
  min-height: 155px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: inherit;
  font-size: 1.18rem;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.dzn-tab:hover { transform: translateY(-2px); }
.dzn-tab:focus-visible, .dzn-select:focus-visible { outline: 3px solid rgba(229,43,32,.3); outline-offset: 3px; }
.dzn-tab.is-active { background: var(--dzn-red); border-top-color: var(--dzn-red-dark); color: #fff; }
.dzn-pin, .dzn-icon { display: inline-flex; }
.dzn-pin svg { width: 43px; height: 43px; fill: currentColor; }
.dzn-panel {
  margin-top: 34px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 45px rgba(0,0,0,.06);
  padding: clamp(34px, 8vw, 135px) clamp(22px, 9vw, 125px);
  min-height: 350px;
}
.dzn-select {
  width: 100%;
  min-height: 80px;
  border: 1px solid #c5c5c5;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.1);
  color: #555;
  padding: 0 55px 0 30px;
  font: inherit;
  font-size: 1rem;
}
.dzn-details { margin-top: 55px; }
.dzn-card h3 {
  border: 0;
  border-radius: 6px;
  background: #f2f2f2;
  margin: 0 0 60px;
  padding: 27px 30px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}
.dzn-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 38px 29px; align-items: stretch; }
.dzn-detail {
  text-align: center;
  min-width: 0;
  min-height: 220px;
  height: auto;
  padding: 30px 20px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(0, 0, 0, .055);
}
.dzn-icon { color: var(--dzn-red); margin-bottom: 18px; }
.dzn-icon svg { width: 50px; height: 50px; fill: currentColor; }
.dzn-detail h4 { margin: 0 0 28px; font-size: 1.15rem; line-height: 1.05; }
.dzn-value { color: #4c4c4c; overflow-wrap: anywhere; }
.dzn-value a { display: block; color: inherit; text-decoration: none; margin-top: 8px; }
.dzn-value a:hover { color: var(--dzn-red); text-decoration: underline; }
.dzn-empty { grid-column: 1 / -1; text-align: center; color: #666; }

@media (max-width: 700px) {
  .dzn-tabs { gap: 10px; }
  .dzn-tab { min-height: 120px; padding: 18px 10px; font-size: 1rem; }
  .dzn-panel { margin-top: 18px; padding: 28px 16px; min-height: 260px; }
  .dzn-select { min-height: 64px; padding-left: 18px; }
  .dzn-details { margin-top: 32px; }
  .dzn-card h3 { margin-bottom: 38px; padding: 20px; }
  .dzn-contact-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
}

@media (max-width: 440px) {
  .dzn-contact-grid { grid-template-columns: 1fr; }
}
