﻿.newsdiv {
    font-family: Arial, sans-serif;
    color: white;
    margin: 0;
    padding: 0;
}

.text-center {
    text-align: center;
    margin-top: 0px;
}

.events-section {
    max-width: 1200px;
    margin: auto;
    padding: 25px;
    border: 1px solid #a3a3a3;
    border-radius: 10px;
    margin: 15px auto;
    box-shadow: 2px 2px 8px #888888;
    background: #2d2b2b;
}

    /*.events-section h1 {
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 10px;
    }*/

.events-header {
    display: flex;
    align-items: center;
}

.sub-heading {
    color: #ff6f3c;
    font-size: 18px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /*margin-top: 20px;*/
}

.event-card {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #a3a3a3;
}

.last-card {
    grid-column: span 2;
    justify-self: center;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.event-card p {
    font-size:14px;
}

.event-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

    .event-info h3 {
        font-size: 19px;
        margin: 0;
        color: #CB4C06;
    }

    .event-info a {
        color: #CB4C06;
        text-decoration: none;
        /*font-size: 14px;*/
    }

    .event-info .date {
        font-size: 13px;
        color: #bbb;
        margin-top: 8px;
    }

.blogsimgs {
    width: 280px !important;
    height: 200px !important;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}
