.blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.15);
}

.article_date {
    position: absolute;
    top: 10px;
    right: 12px;
    background: var(--mainColor);
    padding: 2px 12px;
    border-radius: 50px;
    color: white;
}

.blog-image-link {
    display: block;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.blog-title {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    flex-grow: 0;
}

.blog-title a {
    text-decoration: none;
    color: #222;
}

.blog-description {
    font-size: 1rem;
    color: #555;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.flex__center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wg-pagination {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-top: 30px;
    gap: 16px;
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font: inherit;
    vertical-align: baseline;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
}


.paginator a {
    padding: 0px 3px;
    transition: 0.3ms ease-in-out;
    min-width: 30px;
    text-align: center;


}

.activePag {
    /* background: var(--mainColor); */
    /* color: white; */
    /* width: 25px; */
    /* border-radius: 50px; */
    border-bottom: 2px solid var(--mainColor);

}

.paginator a:hover {
    background: var(--mainColor);
    color: white;
    transition: 0.3ms ease-in-out;
}

.read {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
}