.text-welcom {
    padding-top: 70px;
    padding-bottom: 70px;
}

.text-welcom h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.text-welcom p {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.last-news-image img {
    border-radius: 10px;
    height: 350px !important;
    width: 100%;
    object-fit: cover;
}

.last-news {
    display: flex;
    gap: 20px;
}

.last-news-content a {
    text-decoration: none;
    color: black;
}

.last-news-content a:hover h2 {
    text-decoration: underline;
    color: var(--secondary);
}

.last-news-content h2 {
    padding-top: 30px;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 600;
    padding-bottom: 10px;
}

.last-news-content p {
    line-height: 25px;
    font-size: 14px;
    font-family: "Inter", sans-serif;
}

.news-date {
    padding-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-date span {
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: var(--secondary);
}

.news-author {
    padding-top: 40px;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: gray
}

.last-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.all-news {
    padding-top: 60px;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card img {
    width: 300px;
    height: 180px;
    border-radius: 8px 8px 0px 0px !important;
    /* object-fit: cover; */
    display: block;
}

.news-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.card-text {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-text span {
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: var(--secondary);
}

.news-card a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    padding-bottom: 16px;
    line-height: 1.4;
}

.news-card a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.card-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: #595959;
}


.all-news {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-bottom: 60px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background-color: white;
    color: #333;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.pagination-btn.active {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .last-news {
        gap: 15px;
    }

    .last-news-content h2 {
        font-size: 20px;
    }

    .news-card {
        width: 280px;
    }

    .news-card img {
        width: 280px;
        height: 160px;
    }

    .all-news {
        gap: 30px;
        justify-content: center;
    }
}

/* Tablet small - 768px */
@media (max-width: 768px) {
    .text-welcom {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .text-welcom h2 {
        font-size: 26px;
    }

    .last-news {
        flex-direction: column;
        align-items: center;
    }

    .last-news-image img {
        width: 100%;
        max-width: 500px;
    }

    .last-news-content h2 {
        padding-top: 15px;
        font-size: 20px;
    }

    .all-news {
        justify-content: center;
        gap: 25px;
    }

    .news-card {
        width: 100%;
        max-width: 350px;
    }

    .news-card img {
        width: 100%;
        height: 180px;
        border-radius: 8px 8px 0 0;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .text-welcom {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .text-welcom h2 {
        font-size: 22px;
    }

    .last-news-content h2 {
        font-size: 18px;
    }

    .last-news-content p {
        font-size: 13px;
    }

    .news-author {
        padding-top: 20px;
    }

    .all-news {
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 20px;
    }

    .news-card {
        width: 100%;
    }

    .news-card img {
        height: 160px;
    }

    .pagination {
        padding-bottom: 40px;
    }

    .pagination-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}