@media (min-width: 1000px) and (max-width: 1180px) {
  .inner-hero:has(.contact-actions) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

#vyplata {
  scroll-margin-top: calc(var(--mast, 78px) + 1rem);
}

.office-card .contact-maps {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 16px;
}

.contact-maps :is(.office-shortcuts, .office-map-phone) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.office-card .contact-maps a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding-block: 8px;
  padding-inline: var(--map-button-inset, 12px);
  border: 1px solid #ffffff99;
  border-radius: 999px;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.25;
  text-decoration: none;
}

.office-card .contact-maps .office-map-main {
  background: #fff;
  color: #1a38aa;
}

.office-card .contact-maps a[href^="tel:"] {
  justify-self: start;
  white-space: nowrap;
}

.contact-maps .icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.office-card .contact-maps a:hover {
  border-color: #fff;
  background: #ffffff22;
}

.office-card .contact-maps .office-map-main:hover {
  background: #edf3ff;
}

.office-card .contact-maps a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 360px) {
  .office-card:has(.contact-maps) { padding-inline: 14px; }
  .contact-maps .office-shortcuts { --map-button-inset: 6px; }
  .contact-maps .office-map-phone { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px; }
  .office-card .office-shortcuts a { gap: 5px; }
  .office-card .office-map-phone a[href^="tel:"] { white-space: normal; }
}
