/* =========================================================
   UPCOMING EVENTS
========================================================= */

.events-section {

    width: 100%;

    padding: 80px 20px;

    background: #f8f6f1;

    box-sizing: border-box;

}


.events-container {

    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

}


/* =========================================================
   HEADING
========================================================= */

.events-heading {

    text-align: center;

    margin-bottom: 45px;

}


.events-cross {

    display: block;

    color: #c58a25;

    font-size: 22px;

    margin-bottom: 8px;

}


.events-heading h2 {

    margin: 0;

    color: #122b55;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 38px;

    font-weight: 700;

}


.events-heading p {

    margin-top: 10px;

    color: #5b6170;

    font-size: 15px;

}


/* =========================================================
   EVENTS GRID
========================================================= */

.events-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


/* =========================================================
   EVENT CARD
========================================================= */

.event-card {

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid rgba(20, 35, 65, 0.10);

    border-radius: 9px;

    box-shadow:
        0 5px 18px
        rgba(20, 35, 65, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.event-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 14px 30px
        rgba(20, 35, 65, 0.14);

}


/* =========================================================
   IMAGE
========================================================= */

.event-image-wrapper {

    position: relative;

    height: 190px;

    overflow: hidden;

}


.event-image {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.4s ease;

}


.event-card:hover
.event-image {

    transform:
        scale(1.06);

}


/* =========================================================
   DATE
========================================================= */

.event-date {

    position: absolute;

    top: 14px;

    left: 14px;

    width: 52px;

    height: 60px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border-radius: 5px;

    box-shadow:
        0 4px 12px
        rgba(0,0,0,0.18);

}


.event-month {

    color: #1648C1;

    font-size: 11px;

    font-weight: 700;

}


.event-date strong {

    color: #162b50;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    line-height: 1;

}


/* =========================================================
   CONTENT
========================================================= */

.event-content {

    padding:
        10px 20px 10px;

}


.event-category {

    color: #c58a25;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

}


.event-content h3 {

    margin:
        5px 0 5px;

    color: #162b50;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    line-height: 1.3;

}


.event-content p {

    min-height: 30px;

    margin:
        0 0 10px;

    color: #5b6170;

    font-size: 13px;

    line-height: 1.55;

}


/* =========================================================
   EVENT INFORMATION
========================================================= */

.event-info {

    display: flex;

    flex-direction: column;

    gap: 7px;

    padding:
        13px 0;

    border-top:
        1px solid rgba(20,35,65,0.10);

    border-bottom:
        1px solid rgba(20,35,65,0.10);

}


.event-info span {

    color: #555b68;

    font-size: 12px;

}


/* =========================================================
   EVENT LINK
========================================================= */

.event-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 17px;

    color: #162b50;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        color 0.2s ease,
        gap 0.2s ease;

}


.event-link span {

    color: #c58a25;

    font-size: 18px;

}


.event-link:hover {

    color: #1648C1;

    gap: 13px;

}


/* =========================================================
   BUTTON
========================================================= */

.events-button-wrapper {

    display: flex;

    justify-content: center;

    margin-top: 40px;

}


.events-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    min-width: 185px;

    padding:
        13px 23px;

    background: #1648C1;

    color: #ffffff;

    border-radius: 5px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.events-button span {

    font-size: 19px;

}


.events-button:hover {

    background: #10358F;

    transform:
        translateY(-2px);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .events-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .events-section {

        padding:
            55px 15px;

    }


    .events-heading {

        margin-bottom: 30px;

    }


    .events-heading h2 {

        font-size: 28px;

    }


    .events-heading p {

        font-size: 14px;

    }


    .events-grid {

        grid-template-columns:
            1fr;

        gap: 18px;

    }


    .event-image-wrapper {

        height: 210px;

    }


    .event-content {

        padding:
            10px 18px 10px;

    }


    .events-button {

        width: 100%;

        max-width: 250px;

    }

}