/* Home-only staff public notice. */
.staff-notice-popup {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 22, 37, 0.64);
  backdrop-filter: blur(8px);
  animation: staff-notice-fade-in .36s ease-out both;
}

.staff-notice-popup__card {
  position: relative;
  width: min(100%, 510px);
  overflow: hidden;
  padding: 42px 38px 36px;
  color: #0b3155;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #f2f8fc 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.staff-notice-popup__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #c92d24, #f4b942, #1769a6);
}

.staff-notice-popup__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #c92d24;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.staff-notice-popup h2 {
  margin: 0;
  color: #0b3155;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.04;
}

.staff-notice-popup p {
  margin: 18px auto 25px;
  color: #46596d;
  font-size: 16px;
  line-height: 1.65;
}

.staff-notice-popup__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b3155, #1769a6);
  box-shadow: 0 12px 26px rgba(11, 49, 85, .22);
  font-size: 13px;
  font-weight: 800;
}

.staff-notice-popup__action:hover { color: #fff; transform: translateY(-2px); }

.staff-notice-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #0b3155;
  border: 0;
  border-radius: 50%;
  background: #eaf1f6;
  font-size: 24px;
  line-height: 1;
}

.staff-notice-popup__close:hover { color: #fff; background: #c92d24; }

.staff-notice-popup.is-closing {
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

@keyframes staff-notice-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 575px) {
  .staff-notice-popup { padding: 16px; }
  .staff-notice-popup__card { padding: 38px 24px 30px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .staff-notice-popup { animation: none; }
  .staff-notice-popup.is-closing { transition: none; }
}
