﻿.club-calendar {
    --blue: #111b3b;
    --red: #e21c25;
    --light-gray: #e5e5e5;
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HEADER
   ========================= */

.calendar-header {
    text-align: center;
    margin-bottom: 35px;
}

.calendar-logo img {
    width: 180px;
    height: auto;
    margin-bottom: 10px;
}

.calendar-header h1 {
    margin: 0;
    color: var(--blue);
    font-size: clamp(45px, 7vw, 85px);
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
}

.calendar-years {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: var(--red);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: 3px;
}

    .calendar-years span:nth-child(2) {
        font-weight: 400;
    }

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

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

.calendar-event {
    display: grid;
    grid-template-columns: 360px 1fr;
    min-height: 72px;
    border: 1px solid var(--light-gray);
    background: #fff;
}

/* =========================
   DATE
   ========================= */

.event-date {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 45px 12px 25px;
    background: var(--blue);
    color: white;
    text-transform: uppercase;
    font-weight: 800;
}

    /*
   Rode pijl aan de rechterkant
*/
    .event-date::after {
        content: "";
        position: absolute;
        top: 0;
        right: -1px;
        width: 0;
        height: 0;
        border-top: 36px solid transparent;
        border-bottom: 36px solid transparent;
        border-left: 25px solid var(--red);
        z-index: 2;
    }

    /* Blauwe punt/pijl ervoor */

    .event-date::before {
        content: "";
        position: absolute;
        top: 0;
        right: 23px;
        width: 0;
        height: 0;
        border-top: 36px solid transparent;
        border-bottom: 36px solid transparent;
        border-left: 25px solid var(--blue);
        z-index: 1;
    }

.event-icon {
    width: 55px;
    min-width: 55px;
    text-align: center;
    font-size: 34px;
    line-height: 1;
}

.event-date strong,
.event-date span {
    display: block;
}

.event-date strong {
    font-size: 16px;
}

.event-date span {
    font-size: 16px;
}

/* =========================
   DESCRIPTION
   ========================= */

.event-description {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

    .event-description small {
        font-size: 15px;
        font-weight: 700;
    }

/* =========================
   HOVER
   ========================= */

.calendar-event {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .calendar-event:hover {
        transform: translateX(4px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .club-calendar {
        padding: 15px;
        margin: 20px auto;
    }

    .calendar-logo img {
        width: 130px;
    }

    .calendar-events {
        gap: 5px;
    }

    .calendar-event {
        grid-template-columns: 1fr;
    }

    .event-date {
        min-height: 65px;
        padding: 10px 20px;
    }

        .event-date::before,
        .event-date::after {
            display: none;
        }

    .event-icon {
        width: 45px;
        min-width: 45px;
        font-size: 28px;
    }

    .event-date strong,
    .event-date span {
        font-size: 14px;
    }

    .event-description {
        min-height: 55px;
        padding: 12px 20px;
        font-size: 15px;
    }

        .event-description small {
            font-size: 13px;
        }
}
