/* World Time keeps its wide dashboard beneath the shared tool header and hero. */
body.world-time-page {
  background: var(--color-surface);
}

.world-time-page .wrap {
  background: transparent;
}

/* Navigation must sit above the search/group toolbar and mobile section heading. */
.world-time-page .site-header.site-header--v2 {
  z-index: 100;
}

.world-time-page:not(.time-fullscreen-mode) .calculator-page.time-dashboard-page {
  margin-top: 0;
  padding-top: 4px;
}

.time-hero.tool-hero {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 1025px) {
  .world-time-page .site-header.site-header--v2 {
    width: var(--funify-page-width);
  }
}

.time-hero .tool-hero-actions {
  gap: 12px;
}

.time-hero .time-hero-utc {
  display: grid;
  flex: 0 0 auto;
  align-content: center;
  width: max-content;
  min-width: 96px;
  min-height: 44px;
  gap: 2px;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-family-title);
  text-align: right;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.time-hero .time-hero-utc:hover {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.time-hero .time-hero-utc:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.time-hero .time-hero-utc > span {
  color: var(--color-muted);
  font-size: 10px;
  line-height: 1.2;
}

.time-hero .time-hero-utc time {
  font-size: 18px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .world-time-page.mobile-section-dashboard .calculator-page.time-dashboard-page {
    padding-top: 0;
  }

  .time-hero.tool-hero {
    width: calc(100% + 24px);
    margin: -4px -12px 4px;
  }

  .time-hero .tool-hero-actions {
    gap: 6px;
  }

  .time-hero .time-hero-utc {
    min-width: 84px;
  }

  .time-hero .time-hero-utc > span {
    font-size: 9px;
  }

  .time-hero .time-hero-utc time {
    font-size: 15px;
  }
}
