body {
    font-family: Arial, sans-serif;
    background: rgb(218, 237, 243);
    margin: 0px;
    padding: 0px;
}
*{
    margin: 0px;
    padding: 0px;
}

.grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 90%;
    margin: auto;
}

.latest-article-header{
    text-align:center;
    font-size:40px;
    color:black;
}

.article-card {
    display: flex;
    height: 260px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    background: #fff;
}

.article-card:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.article-card img {
    width: 300px;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
}

.article-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.article-excerpt {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
}

.read-btn {
    align-self: start;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #002952;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.read-btn:hover {
    background-color: #005cb8;
}

@media only screen and (max-width: 680px) {
    .grid {
        align-items: center;
    }

    .article-card {
        width: 300px;
        display: block;
        height: 600px;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        background: #fff;
    }

    .article-card:hover {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }

    .article-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .article-content {
        padding: 15px;
        flex: 1;
        flex-direction: column;

        justify-content: space-between;
    }

    .article-content h3 {
        margin: 0 0 10px 0;
        font-size: 22px;
    }

    .article-date {
        font-size: 13px;
        color: #777;
        margin-bottom: 10px;
    }

    .article-excerpt {
        font-size: 14px;
        color: #444;
        line-height: 1.4;
        max-height: 60px;
        overflow: hidden;
    }

    .read-btn {
        align-self: start;
        margin-top: 10px;
        padding: 8px 12px;
        background-color: #f28500;
        color: white;
        border: none;
        border-radius: 5px;
        text-decoration: none;
    }

    .read-btn:hover {
        background-color: #cc0000;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgb(249, 193, 73), rgb(249, 141, 0));
    padding: 50px 20px;
    color: white;
    text-align: center;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 36px;
}

.hero p {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }
}
