/* ============================================================
   Sunlight Mirage – Homepage / Announcements
   ============================================================ */

/* Wrap for the homepage main content (optional, defensive) */
.main-content {
  color: var(--mirage-text);
}

/* "News" heading on homepage */
.main-content > h2 {
  /* global heading system already adds glow; just tweak spacing */
  margin-bottom: 1.75rem;
}

/* Individual announcement card */
.announcement-single {
  position: relative;
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.6rem 1.4rem;
  border-radius: 1.3rem;

  background:
    linear-gradient(150deg,
      rgba(6, 8, 30, 0.96),
      rgba(20, 8, 38, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.65),
    0 0 26px rgba(0, 231, 255, 0.18);
  overflow: hidden;
}

/* Soft accent glows in corners */
.announcement-single::before,
.announcement-single::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(26px);
}

.announcement-single::before {
  inset: -30% auto auto -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle,
    rgba(0, 231, 255, 0.26),
    transparent 70%);
}

.announcement-single::after {
  inset: auto -30% -40% auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle,
    rgba(255, 0, 200, 0.24),
    transparent 70%);
}

/* Inner content sits above the glows */
.announcement-single > * {
  position: relative;
  z-index: 1;
}

/* Date label + title row */
.announcement-single h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .85rem;
  font-size: 1.05rem;
}

/* Date pill */
.announcement-single h3 .label {
  border-radius: 999px;
  padding: .25rem .7rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Announcement title link */
.announcement-single h3 a {
  color: #eaf0ff;
  font-weight: 600;
  text-decoration: none;
  text-shadow:
    0 3px 14px rgba(0,0,0,.65),
    0 0 16px rgba(0,231,255,.26);
  transition: color .18s ease, text-shadow .18s ease;
}

.announcement-single h3 a:hover {
  color: #ffffff;
  text-shadow:
    0 3px 18px rgba(0,0,0,.75),
    0 0 22px rgba(255,0,200,.35);
}

/* Body text */
.announcement-single blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--mirage-card-body-text);
  font-size: .95rem;
  line-height: 1.55;
}

/* "Read more" label button */
.announcement-single blockquote .label-warning {
  display: inline-block;
  margin-left: .25rem;
  border-radius: 999px;
  padding: .25rem .75rem;
  background: linear-gradient(
    120deg,
    rgba(0, 231, 255, 0.3),
    rgba(255, 0, 200, 0.4)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #0b1020;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

/* Links inside announcement body */
.announcement-single a {
  color: var(--mirage-cyan);
}

.announcement-single a:hover {
  color: #ffffff;
}

/* Small screen tweaks */
@media (max-width: 767px) {
  .announcement-single {
    padding: 1.25rem 1.1rem 1.15rem;
  }

  .announcement-single h3 {
    flex-direction: column;
    align-items: flex-start;
  }
}
