/* Shared contact details for the public city-rt.ru page templates. */
.site-contact-header .site-contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-header-contact {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.site-contact-header a.site-contact-phone {
  min-height: 26px;
  color: #14222d;
  display: inline-flex;
  align-items: center;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-contact-header a.site-contact-phone:hover { color: #245e67; }

.site-contact-header .site-header-contact > .phone-link,
.site-contact-header .site-header-contact > .header-cta,
.city-search-page .site-contact-header .site-header-contact > .city-header-cta {
  min-height: 22px;
  padding: 0;
  border: 0;
  color: #245e67;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
  transform: none;
}

.site-contact-header .site-header-contact > .phone-link:hover,
.site-contact-header .site-header-contact > .header-cta:hover,
.city-search-page .site-contact-header .site-header-contact > .city-header-cta:hover {
  color: #14222d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a.site-contact-phone--footer,
.city-search-page .city-site-footer a.site-contact-phone--footer {
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  margin: 0 0 8px;
  border: 0;
  color: #fffefa;
  display: flex;
  align-items: center;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  letter-spacing: -.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a.site-contact-phone--footer:hover,
.city-search-page .city-site-footer a.site-contact-phone--footer:hover { color: #8eb9b5; }

a.site-contact-phone:focus-visible {
  outline: 2px solid #6fa7a3;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .site-contact-header .header-inner,
  .city-search-page .site-contact-header .city-header-inner {
    grid-template-columns: 130px minmax(0, 1fr) auto;
    padding-inline: 15px;
    gap: 12px;
  }
  .site-contact-header .logo,
  .city-search-page .site-contact-header .city-logo { width: 128px; }
}

@media (min-width: 851px) and (max-width: 1180px) {
  .site-contact-header .main-nav > ul > li > a,
  .city-search-page .site-contact-header .city-main-nav > ul > li > a {
    padding-inline: 7px;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .site-contact-header .header-inner,
  .city-search-page .site-contact-header .city-header-inner { column-gap: 10px; }
  .site-contact-header .site-contact-actions { gap: 8px; }
  .site-contact-header a.site-contact-phone { min-height: 44px; font-size: 12px; letter-spacing: 0; }
  .site-contact-header .site-header-contact > .phone-link,
  .site-contact-header .site-header-contact > .header-cta,
  .city-search-page .site-contact-header .site-header-contact > .city-header-cta { display: none; }
}

@media (min-width: 851px) and (max-width: 900px) {
  .site-contact-header .main-nav > ul > li > a { padding-inline: 4px; }
}

@media (max-width: 650px) {
  .site-contact-header .logo,
  .city-search-page .site-contact-header .city-logo { width: clamp(78px, 25vw, 138px); }
  .site-contact-header a.site-contact-phone { font-size: 11.5px; }
  .site-footer a.site-contact-phone--footer,
  .city-search-page .city-site-footer a.site-contact-phone--footer { min-height: 44px; font-size: 20px; }
}
