/* Monochrome Moscow clock. Other site sections are unaffected. */
.footer-with-clock .footer-inner {
  width: min(1480px, calc(100% - 48px));
  display: grid;
  /* Balanced columns keep contacts and clock fixed when adjusting the text. */
  grid-template-columns: 154px 254px minmax(180px, 1fr) 180px 228px;
  gap: 28px;
  align-items: center;
}
.footer-with-clock .footer-inner > p {
  grid-column: 3;
  text-align: center;
  margin: 0;
  width: auto;
  font-size: 13px;
  line-height: 1.7;
}
.footer-with-clock .footer-brand { grid-column: 1; }
@media (min-width: 721px) {
  .footer-with-clock .footer-inner > p { transform: translateX(-144px); }
}
.footer-with-clock .footer-contacts { grid-column: 4; }
.footer-with-clock .moscow-clock {
  grid-column: 5;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 16px;
  padding-left: 23px;
  border-left: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
}
.moscow-clock .clock-dial { display: block; width: 74px; height: 74px; overflow: visible; }
.moscow-clock .clock-face { fill: none; stroke: #fff; stroke-width: .8; opacity: .35; }
.moscow-clock .clock-orbit { fill: none; stroke: #fff; stroke-width: .7; opacity: .18; }
.moscow-clock .clock-minor-ticks { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: .8 4.3; opacity: .35; }
.moscow-clock .clock-major-ticks { fill: none; stroke: #fff; stroke-width: 1.5; }
.moscow-clock .clock-hand { stroke: #fff; stroke-linecap: round; }
.moscow-clock .clock-hour-hand { stroke-width: 3; }
.moscow-clock .clock-minute-hand { stroke-width: 2; }
.moscow-clock .clock-second-hand { stroke-width: .8; opacity: .6; }
.moscow-clock .clock-center { fill: #fff; }
.moscow-clock .clock-city { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 2px; }
.moscow-clock .clock-sync-indicator { width: 4px; height: 4px; border-radius: 50%; background: #777; }
.moscow-clock[data-clock-sync="ready"] .clock-sync-indicator { background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.5); }
.moscow-clock .clock-digital {
  display: block;
  margin: 7px 0 6px;
  color: #fff;
  font: 500 23px/1.1 ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -.7px;
}
.moscow-clock .clock-timezone { display: block; color: #b8b8b8; font-size: 9px; letter-spacing: .8px; white-space: nowrap; }
.moscow-clock .clock-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1180px) {
  .footer-with-clock .footer-inner { grid-template-columns: 140px minmax(0, 1fr) 228px; gap: 26px; }
  .footer-with-clock .footer-inner > p { grid-column: 1 / -1; grid-row: 1; max-width: calc(100% - 288px); justify-self: center; transform: none; }
  .footer-with-clock .footer-contacts { grid-column: 2; grid-row: 2; justify-self: center; align-items: center; text-align: center; }
  .footer-with-clock .footer-brand { grid-column: 1; grid-row: 2; }
  .footer-with-clock .moscow-clock { grid-column: 3; grid-row: 2; }
}
@media (max-width: 720px) {
  .footer-with-clock .footer-inner { width: calc(100% - 30px); grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 23px; }
  .footer-with-clock .footer-inner > p,
  .footer-with-clock .footer-brand,
  .footer-with-clock .footer-contacts,
  .footer-with-clock .moscow-clock { grid-column: auto; grid-row: auto; }
  .footer-with-clock .footer-inner > p { max-width: 350px; text-align: center; font-size: 12px; }
  .footer-with-clock .moscow-clock { padding: 23px 8px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); width: 228px; }
}
