/* Artikel Kesehatan — homepage section */
.articles-section {
    padding: 0 0 56px;
    background: #fff;
}

.articles-panel {
    background: #f2f8fb;
    border: 1px solid #e3eef5;
    border-radius: 20px;
    padding: 32px 28px 36px;
}

.articles-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.articles-heading-text h2 {
    color: #0a3d6b;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}

.articles-heading-text p {
    color: #5f6f82;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
}

.articles-see-all {
    flex-shrink: 0;
    border: 1px solid #0a6b5a;
    color: #0a6b5a;
    background: #fff;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.articles-see-all:hover,
.articles-see-all:focus {
    background: #0a6b5a;
    color: #fff;
    text-decoration: none;
}

.articles-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.articles-filter {
    border: 1px solid #c5d8e4;
    background: #fff;
    color: #35556d;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}

.articles-filter:hover,
.articles-filter.active {
    border-color: #0a6b5a;
    color: #0a6b5a;
    background: #eef8f6;
}

.articles-carousel-wrap {
    position: relative;
    padding: 0 48px;
}

.articles-carousel {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.articles-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 260px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(10, 61, 107, .08);
    transition: transform .25s, box-shadow .25s;
}

.articles-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(21, 101, 192, .16);
    text-decoration: none;
    color: inherit;
}

.articles-card.is-hidden {
    display: none;
}

.articles-card-image img,
.articles-card-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.articles-card-placeholder {
    background: linear-gradient(135deg, #083358, #1565c0);
}

.articles-card-body {
    padding: 18px 18px 22px;
}

.articles-card-category {
    display: inline-block;
    color: #0a8f7a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.articles-card-body h3 {
    margin: 0;
    color: #123a57;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.articles-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f4a020;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(244, 160, 32, .4);
}

.articles-nav-btn.prev {
    left: 0;
}

.articles-nav-btn.next {
    right: 0;
}

.articles-nav-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.articles-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.articles-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #c5d8e4;
    padding: 0;
    cursor: pointer;
}

.articles-dots button.active {
    background: #0a6b5a;
    transform: scale(1.15);
}

@media (max-width: 991px) {
    .articles-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .articles-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 220px;
    }
}

@media (max-width: 767px) {
    .articles-panel {
        padding: 24px 18px 28px;
    }

    .articles-carousel-wrap {
        padding: 0 40px;
    }

    .articles-card {
        flex: 0 0 85%;
        min-width: 240px;
    }
}
