/* Monthly notices on the home page (aurebio/notices.py): the month taking
   applications stands out with a twinkling star and a glowing frame; a closed
   month steps back in grey. Loaded after home.css and academy/popup.css. */

.notice-star { display: inline-block; margin-right: 6px; color: var(--ab-sky-300); text-shadow: 0 0 6px rgba(140, 200, 255, .95), 0 0 14px rgba(140, 200, 255, .6); animation: notice-twinkle 1.6s ease-in-out infinite; }
@keyframes notice-twinkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: .55; transform: scale(.72) rotate(45deg); }
}
@keyframes notice-glow-dark {
    from { border-color: rgba(140, 200, 255, .45); box-shadow: 0 0 0 rgba(140, 200, 255, 0); }
    to { border-color: rgba(140, 200, 255, .95); box-shadow: 0 0 22px rgba(140, 200, 255, .35); }
}
@keyframes notice-glow-light {
    from { box-shadow: 0 0 0 0 rgba(46, 132, 237, 0); }
    to { box-shadow: 0 0 0 4px rgba(46, 132, 237, .12), 0 6px 22px rgba(46, 132, 237, .28); }
}

/* Hero card "지금 모집중" */
.rc__runs li.is-open a { margin: 10px 14px 10px 0; padding: 10px 14px; border: 1px solid rgba(140, 200, 255, .65); border-radius: var(--ab-radius-md); background: rgba(140, 200, 255, .10); animation: notice-glow-dark 2.4s ease-in-out infinite alternate; }
.rc__runs li.is-open strong { color: #fff; }
.rc__runs li.is-open span:not(.notice-star) { color: var(--ab-sky-200); }
.rc__runs li.is-closed { opacity: .5; }

/* Academy section list */
.runs li.is-open a { margin: 12px 0; padding: 14px 16px; border: 1px solid rgba(140, 200, 255, .65); border-radius: var(--ab-radius-md); background: rgba(140, 200, 255, .10); animation: notice-glow-dark 2.4s ease-in-out infinite alternate; }
.runs li.is-open .meta { color: var(--ab-sky-200); }
.runs li.is-closed a { opacity: .5; }
.runs li.is-closed a:hover strong { text-decoration: none; }

/* Home popup */
.academy-popup__row.is-open { margin: 12px 16px; padding: 16px 18px; border: 2px solid var(--ab-blue-500); border-radius: var(--ab-radius-lg); background: var(--ab-blue-50); animation: notice-glow-light 2.4s ease-in-out infinite alternate; }
.academy-popup__row.is-open + .academy-popup__row { border-top: 0; }
.academy-popup .notice-star { color: var(--ab-blue-500); text-shadow: 0 0 8px rgba(46, 132, 237, .55); }
.academy-popup__row.is-closed { opacity: .6; filter: grayscale(1); }

@media (max-width: 1000px) {
    .rc__runs li.is-open a { margin: 10px 0; }
}
@media (max-width: 640px) {
    .academy-popup__row.is-open { margin: 10px 12px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .notice-star, .rc__runs li.is-open a, .runs li.is-open a, .academy-popup__row.is-open { animation: none !important; }
}
