﻿

.news-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background-color: white;
    margin: 20px;
   /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
}

.news-text {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.date {
    font-size: 1rem;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.location {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    margin-top:1rem
}

.read-more {
    color: #7EAE3F;
    font-weight: bold;
    text-decoration: none;
}

    .read-more:hover {
        text-decoration: underline;
        color: #7EAE3F !important
    }

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*2nd Section*/

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.news-card {
    background-color: white;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);*/
    display: flex;
    flex-direction: column;
}

.card-text {
    padding: 20px;
    flex: 1;
}

    .card-text .date {
        font-size: 1rem;
        text-transform: uppercase;
        color: #555;
        margin-bottom: 10px;
    }

    .card-text h3 {
        /*font-size: 1.2rem;*/
        line-height: 1.4;
        margin: 0 0 15px;
    }




.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}



@media (max-width:1000px) {
    .news-container {
        display: grid;
        grid-template-columns: 1fr !important;
    }

    .container {
        width: auto !important;
         padding-left: 15px !important; 
         padding-right: 15px !important; 
    }
}