/* ========================= */
/* NEWS PAGE */
/* ========================= */

.news-page {
    padding: 60px 10%;
}

.news-page h1 {
    margin-bottom: 10px;
    font-size: 32px;
    color: #0f172a;
}

.news-page p {
    margin-bottom: 30px;
    color: #64748b;
    font-size: 15px;
}

/* ========================= */
/* CALENDAR */
/* ========================= */

.calendar {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.calendar h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #0f172a;
}

/* GRID */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

/* DAY */
.day {
    padding: 14px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    background: #f1f5f9;
    transition: all 0.25s ease;
    font-weight: 500;
    color: #0f172a;
}

/* HOVER */
.day:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    transform: translateY(-2px);
}

/* TODAY (clean version, not overpowering) */
.today {
    border: 2px solid #2563eb;
    background: #e0e7ff;
    color: #2563eb;
    font-weight: bold;
}

/* CLICKED DAY (MAIN FIX 🔥) */
.day.active {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    font-weight: bold;
    transform: scale(1.05);
}

/* EVENT DAY */
.event-day {
    border: 2px solid #7c3aed;
}

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

.events {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARD */
.event-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* TEXT */
.event-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 18px;
}

.event-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

/* STATUS */
.status {
    margin-top: 12px;
    font-size: 14px;
    font-weight: bold;
}

/* LIVE */
.live {
    color: #ef4444;
}

/* COMPLETED */
.completed {
    color: #6b7280;
}

/* ========================= */
/* ANIMATION (SUBTLE FADE) */
/* ========================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card {
    animation: fadeIn 0.5s ease-in-out;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    background: #0ea5e9;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.calendar-header button:hover {
    background: #0284c7;
}
.day {
    position: relative;
}

.event-dot {
    width: 6px;
    height: 6px;
    background: #0ea5e9;
    border-radius: 50%;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}
/* ========================= */
/* LAYOUT SIDE BY SIDE */
/* ========================= */
.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* events bigger, calendar smaller */
    gap: 30px;
    align-items: start;
}

/* LEFT SIDE (EVENTS) */
.events {
    order: 1;
}

/* RIGHT SIDE (CALENDAR) */
.calendar {
    order: 2;
}
/* ========================= */
/* CALENDAR HEADER ALIGN */
/* ========================= */
.calendar h3 {
    text-align: right;
    margin-bottom: 15px;
}
