/* Articles Section */
.articles {
    background-color: #ffffff;
}

.articles > div:first-child {
    text-align: center;
    margin-bottom: 50px;
}

.articles__title {
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}

.articles__title .title {
    justify-content: center;
    font-size: 55px;
    font-style: normal;
    font-weight: 400;
    line-height: 60px;
    letter-spacing: -1.1px;
}

.articles__content {
    width: 50%;
    margin: 0 auto;
}

.articles__content p {
    color: var(--text-dark);
    font-size: 18px;
    font-style: normal;
    font-family: "Nunito";
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.2px;
    opacity: 0.8;
}

/* Articles List */
.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.articles-list-2 {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.article-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.article-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-title {
    color: var(--text-dark);
    font-family: "Parkinsans";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.3px;
    margin-bottom: 15px;
}

.article-excerpt {
    color: var(--text-dark);
    font-family: "Nunito";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.1px;
    margin-bottom: 25px;
    opacity: 0.75;
    flex: 1;
}

.article-excerpt p {
    margin: 0;
}

.article-content .btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: "Nunito";
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    align-self: flex-start;
    pointer-events: none;
}
.service-price-table {
    width: 100%;
    border-collapse: collapse;
}

.service-price-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .articles {
        margin: 40px auto;
        padding: 0 20px;
    }

    .articles > div:first-child {
        margin-bottom: 35px;
    }

    .articles__content p {
        font-size: 16px;
        line-height: 24px;
    }

    .articles-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-thumbnail {
        height: 200px;
    }

    .article-content {
        padding: 20px;
    }

    .article-title {
        font-size: 20px;
        line-height: 28px;
    }

    .article-excerpt {
        font-size: 15px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .article-content .btn-primary {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .articles__title .title {
        font-size: 20px;
        line-height: 50px;
    }

    .article-thumbnail {
        height: 180px;
    }

    .article-title {
        font-size: 18px;
        line-height: 26px;
    }
}
