/* =========================================================
   PA BUNTOK — ARTIKEL & EDUKASI HUKUM
   Compact Horizontal Slider
   CLEAN VERSION
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.pa-article {
    width: 100%;
    margin: 32px 0;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.pa-article .article-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    margin: 0 0 18px;
    box-sizing: border-box;
}

.pa-article .article-heading-wrap {
    min-width: 0;
    flex: 1 1 auto;
}


/* =========================================================
   LABEL
   ========================================================= */

.pa-article .article-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 6px;
    padding: 8px 14px;

    border-radius: 999px;

    background: #eef8f2;
    color: #087a3d;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: .03em;
    text-transform: uppercase;
}

.pa-article .article-label i {
    font-size: 11px;
}


/* =========================================================
   HEADING
   ========================================================= */

.pa-article .article-heading {
    margin: 0;

    color: #17221b;

    font-size: clamp(21px, 2.2vw, 26px);
    font-weight: 800;
    line-height: 1.3;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.pa-article .article-description {
    margin: 6px 0 0;

    color: #7a847e;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.pa-article .article-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;

    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
}


/* Lihat Semua */

.pa-article .article-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: auto;
    margin: 0;

    color: #0B7A3B;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;
}
.pa-article .article-more:hover {
    gap: 10px;
}

.pa-article .article-more i {
    font-size: 10px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.pa-article .article-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    width: auto;
    margin: 0;
    padding: 0;

    flex: 0 0 auto;
}

.pa-article .article-navigation button {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 50%;
    border: 1px solid #E3ECE6;
    background: #F8FBF9;
    color: #0B7A3B;

    cursor: pointer;
}


.pa-article .article-prev,
.pa-article .article-next {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid rgba(11, 122, 59, .08);
    border-radius: 50%;

    background: #f3f8f5;
    color: #087a3d;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        opacity .25s ease;
}

.pa-article .article-prev:hover,
.pa-article .article-next:hover {
    background: #087a3d;
    color: #fff;

    transform: translateY(-2px);
}

.pa-article .article-prev.swiper-button-disabled,
.pa-article .article-next.swiper-button-disabled {
    opacity: .35;
    cursor: default;
    transform: none;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

.pa-article .article-carousel {
    width: 100%;
    max-width: 100%;

    overflow: hidden;
    box-sizing: border-box;
}


/*
   IMPORTANT:
   Jangan stretch slide.
   Biarkan tinggi card mengikuti isi.
*/

.pa-article .article-carousel .swiper-wrapper {
    align-items: flex-start;
}


/* =========================================================
   SLIDE
   ========================================================= */

.pa-article .article-carousel .swiper-slide {
    height: auto;
    box-sizing: border-box;
}


/* =========================================================
   ARTICLE CARD
   ========================================================= */

.pa-article .article-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: auto;
    min-height: 0;

    overflow: hidden;
    box-sizing: border-box;

    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 14px;

    background: #fff;

    box-shadow: 0 5px 18px rgba(15, 23, 42, .035);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.pa-article .article-card:hover {
    border-color: rgba(11, 122, 59, .12);

    box-shadow: 0 10px 24px rgba(15, 23, 42, .065);

    transform: translateY(-3px);
}


/* =========================================================
   IMAGE
   ========================================================= */

.pa-article .article-thumb {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 7.2;

    overflow: hidden;

    background: #eef3f0;
}

.pa-article .article-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.pa-article .article-card:hover .article-thumb img {
    transform: scale(1.035);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.pa-article .article-card-content {
    display: block;

    padding: 13px 16px 14px;
}


/* =========================================================
   DATE
   ========================================================= */

.pa-article .article-date {
    display: flex;
    align-items: center;
    gap: 6px;

    margin: 0 0 6px;

    color: #929b95;

    font-size: 11px;
    line-height: 1.4;
}

.pa-article .article-date i {
    font-size: 10px;
}


/* =========================================================
   TITLE
   ========================================================= */

.pa-article .article-title {
    margin: 0 0 6px;

    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.38;
}

.pa-article .article-title a {
    color: #17221b;

    text-decoration: none;

    transition: color .25s ease;
}

.pa-article .article-title a:hover {
    color: #087a3d;
}


/* =========================================================
   EXCERPT
   ========================================================= */

.pa-article .article-excerpt {
    display: -webkit-box;

    margin: 0 0 10px;

    overflow: hidden;

    color: #7a847e;

    font-size: 12px;
    line-height: 1.5;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* =========================================================
   READ MORE
   ========================================================= */

.pa-article .article-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #087a3d;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition: gap .25s ease;
}

.pa-article .article-read:hover {
    gap: 9px;
}

.pa-article .article-read i {
    font-size: 10px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pa-article .article-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    width: 100%;
    height: 7px;

    margin: 7px 0 0;
    padding: 0;

    line-height: 1;
    box-sizing: border-box;
}

.pa-article .article-pagination .swiper-pagination-bullet {
    display: block;

    width: 7px;
    height: 7px;

    margin: 0 !important;

    border-radius: 50%;

    background: #cbd5cf;

    opacity: 1;
}

.pa-article .article-pagination .swiper-pagination-bullet-active {
    width: 21px;

    border-radius: 10px;

    background: #087a3d;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .pa-article {
        margin: 28px 0;
    }

    .pa-article .article-header {
        gap: 20px;
        margin-bottom: 15px;
    }

    .pa-article .article-heading {
        font-size: 26px;
    }

    .pa-article .article-description {
        font-size: 12px;
    }

    .pa-article .article-actions {
        gap: 10px;
    }

    .pa-article .article-more {
        font-size: 12px;
    }

    .pa-article .article-prev,
    .pa-article .article-next {
        width: 36px;
        height: 36px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .pa-article {
        width: 100%;
        margin: 22px 0;
        box-sizing: border-box;
    }


    /* Header */

    .pa-article .article-header {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }

    /* Heading */

    .pa-article .article-heading {
        font-size: 21px;
        line-height: 1.2;
    }


    /* Description */

    .pa-article .article-description {
        display: none;
    }


    /* Label */

    .pa-article .article-label {
        margin-bottom: 6px;
        padding: 7px 12px;

        font-size: 10px;
    }


    /*
       Mobile:
       tombol navigasi disembunyikan agar header tetap clean.
       Swiper tetap berjalan melalui swipe.
    */

    .pa-article .article-actions {
        display: none;
    }


    /* Card */

    .pa-article .article-card {
        border-radius: 13px;
    }


    /* Image */

    .pa-article .article-thumb {
        aspect-ratio: 16 / 7.5;
    }


    /* Content */

    .pa-article .article-card-content {
        padding: 12px 14px 13px;
    }


    /* Date */

    .pa-article .article-date {
        margin-bottom: 5px;

        font-size: 10.5px;
    }


    /* Title */

    .pa-article .article-title {
        margin-bottom: 5px;

        font-size: 15px;
        line-height: 1.35;
    }


    /* Excerpt */

    .pa-article .article-excerpt {
        margin-bottom: 8px;

        font-size: 11.5px;
        line-height: 1.5;

        -webkit-line-clamp: 2;
    }


    /* Read more */

    .pa-article .article-read {
        font-size: 11.5px;
    }


    /* Pagination */

    .pa-article .article-pagination {
        height: 7px;

        margin-top: 5px;
    }

}

@media (min-width: 769px) {

    .pa-article .article-header {
        width: calc(100% + 0px);
        max-width: none;
    }

}

/* =========================================================
   CLEANUP NOTE
   =========================================================
   .article-actions, .article-navigation, and related rules
   are defined only once in this stylesheet.
   Later FORCE/override blocks were intentionally removed.
   Mobile hides the header description and header actions;
   Swiper carousel remains swipeable.
   ========================================================= */
