.switch-off-countdown {
  display: grid;
  gap: 0.85rem;
  overflow: hidden;
  border: 1px solid #174f7e;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 12px 28px rgba(8, 30, 49, 0.14);
}

.switch-off-countdown-label,
.switch-off-countdown-note {
  text-align: center;
}

.switch-off-countdown-label {
  color: #c5dcf6;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.switch-off-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.35rem, 1.5vw, 0.75rem);
}

.switch-off-countdown-grid > div {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(0.65rem, 2vw, 1rem) 0.25rem;
  text-align: center;
}

.switch-off-countdown-grid strong {
  color: #ffffff;
  font-size: clamp(1.65rem, 6vw, 3.6rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.switch-off-countdown-grid span {
  color: #c5dcf6;
  font-size: clamp(0.6rem, 1.8vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.switch-off-countdown-note {
  color: #d9e7f7;
  font-size: 0.86rem;
}

@media (max-width: 420px) {
  .switch-off-countdown {
    padding-inline: 0.75rem;
  }

  .switch-off-countdown-grid {
    gap: 0.25rem;
  }

  .switch-off-countdown-grid > div {
    border-radius: 6px;
    padding-inline: 0.1rem;
  }
}

/* Fit the blog countdown into the service page's blue section. */
.digital-voice-countdown-band {
  grid-template-columns: minmax(0, 1fr);
}

.digital-voice-countdown-band .switch-off-countdown {
  width: 100%;
}

.digital-voice-countdown-band .switch-off-countdown-label,
.digital-voice-countdown-band .switch-off-countdown-note {
  margin: 0;
}

.digital-voice-countdown-band .switch-off-countdown-grid strong {
  font-size: clamp(1.4rem, 3vw, 2.35rem);
}

@media (min-width: 860px) {
  .digital-voice-countdown-band {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
