/* =================================================
   RISE NOTIFICATIONS – FINAL STABLE VERSION
================================================= */

.rise-notify-wrap {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    padding: 0 16px;
    font-family: "Segoe UI", Poppins, sans-serif;
}

/* CARD */
.rise-notify {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

/* HEADER */
.rise-notify-header {
    padding: 20px 26px 26px;
    color: #fff;
}

/* Gradients */
.header-en {
    background: linear-gradient(135deg, #8b7cf6, #6a5ae0);
}
.header-hi {
    background: linear-gradient(135deg, #e7c89a, #caa06d);
}

/* TITLE (STATIC) */
.rise-header-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    white-space: nowrap;
}


/* BODY */
.rise-notify-body {
    padding: 24px 26px;
}

.rise-notify-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.rise-notify-list::-webkit-scrollbar {
    width: 6px;
}

.rise-notify-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.rise-notify-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.rise-notify-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.rise-item {
    padding: 18px 0;
    border-bottom: 1px solid #ececec;
}

.rise-item:last-child {
    border-bottom: none;
}

.rise-date {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rise-item:nth-child(1) .rise-date { color: #8b7cf6; }
.rise-item:nth-child(2) .rise-date { color: #ff8a3d; }
.rise-item:nth-child(3) .rise-date { color: #4caf50; }
.rise-item:nth-child(4) .rise-date { color: #ff5a7a; }
.rise-item:nth-child(5) .rise-date { color: #00bcd4; }

.rise-text a {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.5;
    display: block;
}

.rise-text a:hover {
    color: #6a5ae0;
    text-decoration: underline;
}

.rise-text {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .rise-notify-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px auto;
        padding: 0 12px;
    }
    
    .rise-header-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
 
    .rise-notify-body {
        padding: 20px;
    }
    
    .rise-date {
        font-size: 13px;
    }
    
    .rise-text a,
    .rise-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .rise-notify-wrap {
        gap: 25px;
        margin: 30px auto;
    }
    
    .rise-notify {
        border-radius: 18px;
    }
    
    .rise-notify-header {
        padding: 18px 22px 22px;
    }
    
    .rise-header-title {
        font-size: 18px;
    }
    
  
}