/* TWL-Announcements Modal
   - TWL calendar-like layout
   - Neon blue outline/glow (TWL Volunteers vibe)
*/

html.twl-ann-lock,
html.twl-ann-lock body {
  overflow: hidden;
}

/* Overlay */
.twl-ann-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

.twl-ann-overlay.is-open {
  display: flex;
}

/* Modal container */
.twl-ann-modal {
  width: min(720px, 92vw);
  max-height: min(80vh, 720px);
  overflow: auto;

  background: #0b0f14; /* dark, consistent with TWL modals */
  border-radius: 16px;

  /* Neon blue outline */
  border: 2px solid rgba(0, 198, 255, 0.95);
  box-shadow:
    0 0 0 2px rgba(0, 198, 255, 0.15),
    0 0 22px rgba(0, 198, 255, 0.35),
    0 18px 60px rgba(0, 0, 0, 0.6);

  color: #e9eef5;
  position: relative;
}

/* Close button (calendar-like “X”) */
.twl-ann-close{
  position:absolute;
  top:10px;
  right:12px;
  width:44px;
  height:44px;
  border-radius:999px;

  border:1px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.06);
  color:#ffffff;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:28px;
  line-height:1;
  padding:0;
  cursor:pointer;
}

.twl-ann-close:hover{
  background:rgba(255,255,255,0.10);
}

/* Optional: slightly nudge if your font renders the × high */
.twl-ann-close{
  transform: translateY(0.5px);
}

/* Body */
.twl-ann-body {
  padding: 22px 22px 20px 22px;
}

/* Title: bold */
.twl-ann-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
  margin: 0 42px 10px 0; /* leave space for close button */
}

/* Message: slightly larger paragraph text */
.twl-ann-message {
  font-size: 17px;
  line-height: 1.5;
}

.twl-ann-message p {
  margin: 0 0 12px 0;
}

.twl-ann-message p:last-child {
  margin-bottom: 0;
}

/* Mobile tweaks */
@media (max-width: 520px) {
  .twl-ann-body {
    padding: 18px 16px 16px 16px;
  }
  .twl-ann-title {
    font-size: 17px;
  }
  .twl-ann-message {
    font-size: 16px;
  }
}