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

.events-wrapper {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: rgba(50, 50, 93, 0.12) 0px 4px 12px -2px,
        rgba(0, 0, 0, 0.10) 0px 3px 7px -3px;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.events-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: rgba(50, 50, 93, 0.20) 0px 14px 28px -8px,
        rgba(0, 0, 0, 0.18) 0px 10px 18px -10px;
}

/* IMAGE */

.events-image {
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 12px;
}

.events-image a {
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.events-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.6s ease-in-out;
}

.events-wrapper:hover .events-image img {
    transform: scale(1.1);
}

/* TITLE */

.events-title {
    margin-bottom: 10px;
}

.events-title h2 {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #2f2f2f;
    margin: 0;
    border: 0 !important;
    transition: color 0.35s ease;
}

.events-wrapper:hover .events-title h2 {
    color: var(--primary);
}

/* DATE */

.events-date {
    display: inline-block;
    font-size: 13px;
    color: #a52e1c;
    background-color: #fff3f0;
    padding: 6px 12px;
    border-radius: 30px;
    margin-bottom: 14px;
    font-weight: 500;
}

/* BUTTON */

.events-read-more {
    /* display: inline-block; */
    color: #c90e1c;
    font-size: 14px;
    /* font-weight: 500; */
    text-decoration: none;
    /* transition: all 0.35s ease; */
}

.events-read-more:hover {
    color: #a4000a;
    text-decoration: underline;
    padding-left: 4px;
}

/* ===================================
EVENT DETAIL PAGE
=================================== */

.events-detail-wrapper {
    position: relative;
    padding-bottom: 50px;
}


/* ===================================
RIGHT CONTENT
=================================== */

/* META */

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.event-meta span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.event-meta i {
    color: var(--primary);
    margin-right: 6px;
}


/* ===================================
RESPONSIVE
=================================== */

@media (max-width: 991px) {

    .desktop {
        display: none;
    }

    .events-image img {
        height: 200px;
    }
}

@media (max-width: 767px) {

    .events-detail-wrapper {
        padding-bottom: 30px;
    }

    .events-wrapper {
        padding: 6px;
        margin: 0;
        border-radius: 6px;
    }

    .events-image {
        margin-bottom: 8px;
    }

    .events-image img {
        height: 110px;
    }

    .events-title {
        margin-bottom: 6px;
    }

    .events-title h2 {
        font-size: 12px;
        line-height: 18px;
    }

    .events-date {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 8px;
    }

    .events-read-more {
        font-size: 11px;
    }

    .event-meta {
        gap: 10px;
    }

    .event-meta span {
        width: 100%;
    }

}