.current-time-page {
  color: #26313f;
}

main > .row {
  margin-left: 0;
  margin-right: 0;
}

footer .row {
  margin-left: 0;
  margin-right: 0;
}

.current-time-container {
  max-width: 1200px;
}

.current-time-title {
  border-left: 0.65rem solid #8eb41c;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: 0 0 1rem;
  padding-left: 1rem;
  text-align: left;
}

.current-time-lead {
  color: #52606d;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.ticket-clock {
  align-items: center;
  background:
    radial-gradient(circle at top, rgba(42, 67, 101, 0.72), transparent 52%),
    #08101c;
  border: 1px solid #1f334c;
  border-radius: 1rem;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  overflow: hidden;
  padding: 2.5rem 1.25rem 2rem;
  position: relative;
  text-align: center;
}

.ticket-clock__zone {
  color: #a9bdd4;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticket-clock__time {
  align-items: baseline;
  display: flex;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: clamp(4rem, 13vw, 9.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  justify-content: center;
  letter-spacing: -0.08em;
  line-height: 1.05;
  margin: 0.25rem 0;
  white-space: nowrap;
}

.ticket-clock__separator {
  color: #8eb41c;
  margin: 0 0.02em;
}

.ticket-clock__time > span,
.ticket-clock__status > span {
  font-size: inherit;
}

.ticket-clock__date {
  color: #d6e0eb;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  margin: 0.65rem 0;
}

.ticket-clock__status {
  align-items: center;
  color: #b8c5d3;
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
  justify-content: center;
  min-height: 1.5rem;
}

.ticket-clock__status-dot {
  background: #94a3b8;
  border-radius: 50%;
  box-shadow: 0 0 0 0.3rem rgba(148, 163, 184, 0.13);
  height: 0.55rem;
  width: 0.55rem;
}

.ticket-clock__status-dot--success {
  background: #57cc99;
  box-shadow: 0 0 0 0.3rem rgba(87, 204, 153, 0.14);
}

.ticket-clock__status-dot--warning {
  background: #f6bd60;
  box-shadow: 0 0 0 0.3rem rgba(246, 189, 96, 0.14);
}

.ticket-clock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}

.ticket-clock__button {
  font-weight: 700;
  min-width: 9.5rem;
}

.ticket-clock__hint {
  color: #8294a8;
  font-size: 0.82rem;
  margin: 0.8rem 0 0;
}

.ticket-clock__exit {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

.ticket-clock__exit[hidden] {
  display: none;
}

.ticket-clock:fullscreen,
.ticket-clock--focus {
  border: 0;
  border-radius: 0;
  height: 100vh;
  max-height: none;
  min-height: 100vh;
  width: 100vw;
}

.ticket-clock:fullscreen .ticket-clock__time,
.ticket-clock--focus .ticket-clock__time {
  font-size: clamp(5rem, 18vw, 17rem);
}

.ticket-clock--focus {
  inset: 0;
  position: fixed;
  z-index: 99999;
}

body.ticket-clock-focus {
  overflow: hidden;
}

.current-time-ad {
  margin: 1rem auto 1.75rem;
  min-height: 90px;
  text-align: center;
}

.current-time-layout {
  align-items: flex-start;
}

.current-time-content {
  text-align: left;
}

.current-time-section {
  background: #fff;
  border: 1px solid #dbe3eb;
  border-radius: 0.85rem;
  margin-bottom: 1.25rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
}

.current-time-section h2 {
  color: #26313f;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  margin: 0 0 1rem;
}

.current-time-section h3 {
  color: #30445a;
  font-size: 1.1rem;
  margin: 1.25rem 0 0.4rem;
}

.current-time-section p,
.current-time-section li {
  font-size: 1.05rem;
  line-height: 1.75;
}

.current-time-steps {
  padding-left: 1.4rem;
}

.current-time-note {
  background: #f4f7fa;
  border-left: 0.3rem solid #8eb41c;
  margin-bottom: 0;
  padding: 0.85rem 1rem;
}

.timezone-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timezone-card {
  background: #f6f8fb;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem;
}

.timezone-card__city {
  color: #617083;
  font-size: 0.9rem;
}

.timezone-card__time {
  color: #1f2937;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.current-time-history-image {
  display: block;
  margin: 1rem auto 0;
}

.current-time-faq h3:first-child {
  margin-top: 0;
}

.current-time-faq p:last-child,
.current-time-reference ul {
  margin-bottom: 0;
}

.timezone-cluster-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.timezone-cluster-links a {
  background: #f1f5f9;
  border: 1px solid #dbe3eb;
  border-radius: 999px;
  color: #245b9e;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.timezone-cluster-links a:hover,
.timezone-cluster-links a:focus-visible {
  background: #e5effb;
  border-color: #9db9d8;
}

.current-time-related-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.current-time-related-card {
  background: #f7f9fc;
  border: 1px solid #dbe3eb;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  text-decoration: none;
}

.current-time-related-card:hover,
.current-time-related-card:focus-visible {
  background: #eef5fc;
  border-color: #9db9d8;
}

.current-time-related-card strong {
  color: #234e7d;
  font-size: 1.05rem;
}

.current-time-related-card span {
  color: #617083;
  line-height: 1.55;
  margin-top: 0.3rem;
}

.current-time-all-tools-link {
  display: inline-block;
  font-weight: 700;
  margin-top: 1rem;
}

.current-time-sidebar {
  position: sticky;
  top: 1rem;
}

@media (max-width: 991.98px) {
  .current-time-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .ticket-clock {
    min-height: 360px;
    padding: 2rem 0.75rem 1.5rem;
  }

  .ticket-clock__time {
    font-size: clamp(3.45rem, 18vw, 6rem);
  }

  .ticket-clock:fullscreen .ticket-clock__time,
  .ticket-clock--focus .ticket-clock__time {
    font-size: clamp(3.8rem, 21vw, 8rem);
  }

  .ticket-clock__hint {
    max-width: 20rem;
  }

  .timezone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .current-time-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .ticket-clock__actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 18rem);
  }

  .ticket-clock__button {
    width: 100%;
  }

  .timezone-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticket-clock *,
  .ticket-clock *::before,
  .ticket-clock *::after {
    scroll-behavior: auto !important;
  }
}
