.header-drop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.header-drop h2 {
    color: #000;
}

.grid-events {
    display: grid;
    height: 100%;
}

.grid-events .blog_card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #072B61;
}

.grid-events .blog_card,
.grid-events .blog_card .image img,
.grid-events .blog_card h3,
.grid-events .blog_card p {
    transition: .5s;
}

.grid-events .blog_card:hover p.read-more,
.grid-events .blog_card:hover h3,
.grid-events .blog_card:hover p {
    color: #FFF0E1;
}

.grid-events .blog_card p {
    color: #fff;
}

p.category-name {
    font-weight: 600;
    margin: 0 !important;
}

.grid-events .blog_card h3 {
    letter-spacing: 0;
    color: #fff;
    font-size: 25px;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    text-decoration: underline;
    line-height: normal;
}

.grid-events .blog_card:hover h3 {
    text-decoration: none;

}

/* .grid-events .blog_card .image {
    position: relative;
    overflow: hidden;
    max-height: 220px;
    height: 100%;
    margin-bottom: 30px;
    border-radius: 4px;
} */

.grid-events .blog_card .image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

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

.grid-events .blog_card .category {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.grid-events .blog_card .category p {
    margin: 0 !important;
    text-transform: uppercase;
    font-size: 12px !important;
}

.grid-events .blog_card .content {
    padding: 30px;
    min-height: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #00000080;
    z-index: 2;
    transition: .5s;
}

.grid-events .blog_card:hover .content {
    background: #000000c2;
}

.grid-events .blog_card .category p:first-of-type {
    font-weight: 600;
}

.grid-events .blog_card p.details {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    margin-bottom: 20px;
}

.grid-events .blog_card p.read-more {
    font-size: 15px;
    font-weight: 700;
    line-height: 17.6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    transition: .5s;
}

.grid-events .blog_card:hover p.read-more {
    gap: 13px;
}

.grid-events .blog_card p.read-more svg {
    max-height: 14.54px;
}

.main-events .text-align {
    text-align: center;
}

.elementor-page-9 .main-events .text-align {
    display: none;
}

.main-events button#loadmore {
    border: white;
    background: white !important;
    color: #072B61;
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    margin: 50px auto auto;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}

@media (min-width: 1199px) {
    .grid-events {
        gap: 45px;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 1198px) {
    .grid-events {
        gap: 30px;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }

    .grid-events .blog_card h3 {
        font-size: 25px;
    }

    .header-drop h2 {
        font-size: 45px;
    }
}

@media (max-width: 767px) {
    .grid-events {
        grid-template-rows: unset;
        grid-template-columns: unset;
        gap: 50px;
    }

    .grid-events .blog_card .content {
        padding: 20px;
    }

    .header-drop {
        align-items: stretch;
        justify-content: space-between;
        flex-direction: column;
    }

    .header-drop h2 {
        font-size: 40px;
    }
}