/* =========================
   SWIPER
========================= */

.announcementSwiper {

    width: 100%;

    overflow: hidden;

    padding-bottom: 38px;
}

/* =========================
   CARD
========================= */

.announcement-card {

    height: 100%;

    background: rgba(255,255,255,0.95);

    backdrop-filter: blur(12px);

    border-radius: 26px;

    border: 1px solid rgba(255,255,255,0.6);

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.05);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    display: flex;

    flex-direction: column;

    min-height: 260px;
}

.announcement-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 18px 35px rgba(0,0,0,0.10);
}

/* =========================
   TOP
========================= */

.announcement-top {

    padding: 20px 20px 14px;

    background:
        linear-gradient(
            135deg,
            #fefce8,
            #fef3c7
        );

    border-bottom: 1px solid #fde68a;
}

.announcement-badge {

    display: inline-flex;

    align-items: center;

    padding: 6px 12px;

    border-radius: 999px;

    background: white;

    color: #ca8a04;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 14px;
}

.announcement-title {

    font-size: 17px;

    font-weight: 700;

    color: #1f2937;

    line-height: 1.5;
}

/* =========================
   BODY
========================= */

.announcement-body {

    flex: 1;

    padding: 20px;
}

.announcement-content {

    color: #4b5563;

    font-size: 14px;

    line-height: 1.8;

    display: -webkit-box;

    -webkit-line-clamp: 4;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* =========================
   FOOTER
========================= */

.announcement-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    padding: 16px 20px;

    background: #fafafa;

    border-top: 1px solid #f3f4f6;

    color: #6b7280;

    font-size: 12px;
}

/* =========================
   PAGINATION
========================= */

.swiper-pagination {

    position: relative;
}

.swiper-pagination-bullet {

    width: 8px;

    height: 8px;

    background: #d1d5db;

    opacity: 1;
}

.swiper-pagination-bullet-active {

    width: 24px;

    border-radius: 999px;

    background: #2563eb;

    transition: .3s ease;
}

/* =========================
   NOTIFICATIONS
========================= */

.notification-unread {

    border-left: 6px solid #2563eb;

    background:
        linear-gradient(
            to right,
            rgba(37,99,235,0.05),
            white
        );
}

.notificationCard {

    transition:
        all 0.25s ease;
}

.notificationCard:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.08);
}

/* =========================
   COMMENDATIONS
========================= */

.commendation-card {

    transition:
        all 0.25s ease;
}

.commendation-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.10);
}

/* =========================
   EVENTS
========================= */

.event-card {

    background: white;

    border-radius: 28px;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.05);

    transition:
        all 0.25s ease;

    display: flex;

    flex-direction: column;
}

.event-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 14px 30px rgba(0,0,0,0.10);
}

.event-card-top {

    background:
        linear-gradient(
            to right,
            #2563eb,
            #4f46e5
        );

    padding: 20px;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;
}

.event-badge {

    background:
        rgba(255,255,255,0.15);

    padding: 8px 14px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 600;
}

.event-date {

    font-size: 13px;

    font-weight: 600;
}

.event-description {

    color: #4b5563;

    line-height: 1.7;
}

.event-actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    padding: 20px;

    margin-top: auto;
}

.event-btn-primary,
.event-btn-secondary {

    text-align: center;

    padding: 14px;

    border-radius: 18px;

    font-weight: 600;

    transition: 0.25s ease;
}

.event-btn-primary {

    background: #2563eb;

    color: white;
}

.event-btn-primary:hover {

    background: #1d4ed8;
}

.event-btn-secondary {

    background: #111827;

    color: white;
}

.event-btn-secondary:hover {

    background: #000;
}

/* MOBILE */

@media (max-width: 640px) {

    .event-actions {

        grid-template-columns: 1fr;
    }
}



/* =========================
   ANNOUNCEMENTS
========================= */

.announcement-card {

    background: white;

    border-radius: 28px;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.05);

    transition:
        all 0.25s ease;
}

.announcement-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 14px 30px rgba(0,0,0,0.10);
}

.announcement-top {

    display: flex;

    flex-direction: column;

    gap: 20px;

    padding: 24px;

    border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 768px) {

    .announcement-top {

        flex-direction: row;

        align-items: center;

        justify-content: space-between;
    }
}

.announcement-icon {

    width: 65px;

    height: 65px;

    border-radius: 20px;

    background:
        linear-gradient(
            to right,
            #facc15,
            #f59e0b
        );

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    flex-shrink: 0;
}

.announcement-body {

    padding: 24px;

    color: #4b5563;

    line-height: 1.8;

    font-size: 15px;
}

.announcement-date {

    font-size: 14px;

    color: #6b7280;

    font-weight: 500;

    white-space: nowrap;
}

/* MOBILE */

@media (max-width: 640px) {

    .announcement-card {

        border-radius: 22px;
    }

    .announcement-top {

        padding: 18px;
    }

    .announcement-body {

        padding: 18px;
    }

    .announcement-icon {

        width: 55px;

        height: 55px;

        font-size: 24px;
    }
}