.articles-container {

    background-color: rgb(34 47 68 / var(--tw-bg-opacity, 1));
    color: white;
    min-height: 100vh;
}


a {
    text-decoration: none;
    margin-left: 0;
    font-size: 1rem;
    white-space: normal;
}

.articles-grid a {
    display: block;
    text-decoration: none;
    color: inherit;
}

body {
    background-color: #0A1425;
    background-image: none;
}

.articles-container .bg {
    background-image: linear-gradient(rgba(10, 20, 37, 0.6), rgba(10, 20, 37, 0.6)), url("https://cdn.erply.com/images/541886/bg-1-6.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 12rem 1rem;
    /* max-width: 800px; */
    margin: 0 auto;
    border-radius: 10px;
}

.hero h1 {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 48px;
}

.hero p {
    font-size: 1.1rem;
    color: #FFF;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tips Section */
.tips {
    max-width: 1200px;
    margin: 4rem auto;
    text-align: center;
}

.tips h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tips>p {
    padding: 0rem 19rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #FFF;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

/* Article Cards */
.article-card {
    background-color: rgb(34 47 68 / var(--tw-bg-opacity, 1));
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .1);
    transition: transform 0.3s ease;
}

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

    border: 1px solid rgba(149, 155, 171, 0.1);
}

.imgcontainer {

    height: 254px;
    border-radius: 10px;
    width: auto;
    padding: 0.5rem;
    margin: 1.5rem;
}

.article-card img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
    text-align: left;
    justify-content: space-between;
    display: flex;
    height: 287px;
    flex-direction: column;
}

.date {
    color: #9BA3AF;
    font-size: 0.9rem;
}

.article-card h3 {
    margin: 1rem 0;

    font-size: 24px;
    line-height: 130%;

}

/* Buttons */
.read-moreB {
    background-color: #2563EB;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.read-more {
    color: #2563EB;
    font-weight: 800;
    text-decoration: none;
}

.read-more:hover {
    /* background-color: #1D4ED8; */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}