/* Copy-specific additions. Existing home-modern.css supplies the design. */
body.home #ph-home-component .cond34-home .ph34-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.home #ph-home-component .cond34-home .ph34-choice-card h3 {
  margin: 0 0 12px;
}
body.home #ph-home-component .cond34-home .ph34-choice-card p {
  margin: 0;
}
body.home #ph-home-component .cond34-home .ph34-inline-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}
body.home #ph-home-component .cond34-home .ph34-districts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0;
  padding-left: 18px;
}
body.home #ph-home-component .cond34-home #catalog .ph34-catalog-links {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-top: 16px;
}
body.home #ph-home-component .cond34-home .ph34-catalog-note {
  color: var(--phh-muted, #48586b);
}
body.home #ph-home-component .cond34-home a,
body.home #ph-home-component .cond34-home p,
body.home #ph-home-component .cond34-home li {
  overflow-wrap: break-word;
}
@media (max-width: 760px) {
  body.home #ph-home-component .cond34-home .ph34-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 440px) {
  body.home #ph-home-component .cond34-home .ph34-districts,
  body.home #ph-home-component .cond34-home #catalog .ph34-catalog-links {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Volgograd tagline must wrap inside the phone-side grid track. */
@media (max-width: 600px) {
  body .ph-site-header .ph-brand-copy small {
    white-space: normal !important;
    line-height: 1.35 !important;
    max-width: 100%;
  }
}
