/* =========================================================
   PA BUNTOK - PROGRAM SLIDER
   ========================================================= */

.pa-program-slider-section {
    width: 100%;
    max-width: 1180px;

    margin: 40px auto;

    padding: 0 12px;

    box-sizing: border-box;
	
}


/* =========================================================
   SLIDER CONTAINER
   ========================================================= */

.pa-program-slider {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 22px;

    background: linear-gradient(
    135deg,
    #f5f8f5 0%,
    #eef5f1 100%
);

    border: 1px solid #e7ece9;

    box-shadow:
        0 10px 30px rgba(16, 61, 43, .055);

    box-sizing: border-box;
}


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

.pa-program-slide {

    display: grid;

    grid-template-columns:
        36% 64%;

    min-height: 310px;

    box-sizing: border-box;
}


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

.pa-program-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    padding:
        38px
        32px
        42px
        34px;

    box-sizing: border-box;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.pa-program-eyebrow {
    position: relative;

    margin-bottom: 10px;

    padding-bottom: 6px;

    font-size: 12px;

    line-height: 1.2;

    font-weight: 500;

    letter-spacing: .2px;

    color: #4d5b55;
}

.pa-program-eyebrow::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 34px;

    height: 2px;

    border-radius: 2px;

    background: #d8ad2f;
}

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

.pa-program-title {
    margin: 0;

    max-width: 360px;

    font-size: 26px;

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -0.6px;

    color: #176b43;
}

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

.pa-program-description {
    max-width: 380px;

    margin:
        15px
        0
        25px;

    font-size: 14px;

    line-height: 1.65;

    color: #68766f;
}

/* =========================================================
   BUTTON
   ========================================================= */

.pa-program-button {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    padding:
        11px
        19px;

    border-radius: 9px;

    background: #d8ad2f;

    color: #172018;

    font-size: 13px;

    font-weight: 650;

    text-decoration: none;

    box-shadow:
        0 4px 12px rgba(216,173,47,.16);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.pa-program-button:hover {
    transform: translateY(-2px);

    background: #dfb638;

    box-shadow:
        0 8px 20px rgba(216,173,47,.22);

    color: #172018;
}

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

.pa-program-media {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        18px
        18px
        18px
        8px;

    box-sizing: border-box;
}

.pa-program-media img {
    display: block;

    width: 100%;

    height: 100%;

    max-height: 284px;

    object-fit: cover;

    aspect-ratio: 12 / 7;

    border-radius: 12px;

    box-shadow:
        0 6px 20px rgba(20,60,43,.08);

    transition:
        transform .7s ease,
        box-shadow .35s ease;
}


.pa-program-slide:hover
.pa-program-media img {

    transform: scale(1.015);
}


/* =========================================================
   PROGRAM SLIDER — NAVIGATION
========================================================= */

.pa-program-prev,
.pa-program-next {
    position: absolute !important;
    z-index: 40;

    top: 50% !important;

    width: 40px !important;
    height: 40px !important;

    padding: 0 !important;
    margin: 0 !important;

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

    border: 1px solid rgba(23, 107, 67, .12) !important;
    border-radius: 50% !important;

    background: rgba(255, 255, 255, .96) !important;

    color: #176b43 !important;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, .10);

    cursor: pointer;

    transform: translateY(-50%) !important;

    transition:
        background .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}


/* =========================================================
   POSITION
========================================================= */

.pa-program-prev {
     left: 51% !important;
}

.pa-program-next {
    right: 16px !important;
}


/* =========================================================
   CHEVRON
========================================================= */

.pa-program-prev span,
.pa-program-next span {
    display: block;

    width: 9px;
    height: 9px;

    border-top: 1.8px solid #176b43;
    border-right: 1.8px solid #176b43;

    transition: transform .25s ease;
}


.pa-program-prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}


.pa-program-next span {
    transform: rotate(45deg);
    margin-right: 4px;
}


/* =========================================================
   HOVER
========================================================= */

.pa-program-prev:hover,
.pa-program-next:hover {
    background: #ffffff !important;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .15);

    transform:
        translateY(-50%) scale(1.06) !important;
}


.pa-program-prev:hover span {
    transform:
        rotate(-135deg)
        translate(-2px, 2px);
}


.pa-program-next:hover span {
    transform:
        rotate(45deg)
        translate(2px, -2px);
}


/* =========================================================
   ACTIVE
========================================================= */

.pa-program-prev:active,
.pa-program-next:active {
    transform:
        translateY(-50%) scale(.94) !important;
}

/* =========================================================
   POSITION
   ========================================================= */

/*
 * Image dimulai kira-kira di area 50%.
 * Tombol kiri kita tempatkan tepat di dekat
 * sisi kiri gambar.
 */

.pa-program-prev {
    left: calc(50% + 4px);
}

.pa-program-next {
    right: 16px;
}


/* =========================================================
   CHEVRON
   ========================================================= */

.pa-program-prev span,
.pa-program-next span {

    display: block;

    width: 9px;
    height: 9px;

    border-top: 1.8px solid #176b43;
    border-right: 1.8px solid #176b43;

    transition:
        transform .25s ease;
}


/* kiri */

.pa-program-prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}


/* kanan */

.pa-program-next span {
    transform: rotate(45deg);
    margin-right: 4px;
}


/* =========================================================
   HOVER
   ========================================================= */

.pa-program-prev:hover,
.pa-program-next:hover {

    background: #ffffff !important;

    box-shadow:
        0 7px 20px rgba(0,0,0,.17);

    transform:
        translateY(-50%) scale(1.06);
}


/* Chevron ikut bergerak */

.pa-program-prev:hover span {
    transform:
        rotate(-135deg)
        translate(-2px, 2px);
}

.pa-program-next:hover span {
    transform:
        rotate(45deg)
        translate(2px, -2px);
}


/* =========================================================
   ACTIVE
   ========================================================= */

.pa-program-prev:active,
.pa-program-next:active {

    transform:
        translateY(-50%) scale(.94);
}


/* =========================================================
   FOCUS
   ========================================================= */

.pa-program-prev:focus,
.pa-program-next:focus {

    outline: none !important;

    box-shadow:
        0 4px 14px rgba(0,0,0,.13);
}


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

@media (max-width: 700px) {

    .pa-program-prev,
    .pa-program-next {

        width: 32px;
        height: 32px;
    }

    /*
     * Pada mobile gambar berada di atas,
     * jadi tombol kita tempel ke sisi gambar.
     */

    .pa-program-prev {
        left: 16px;
    }

    .pa-program-next {
        right: 16px;
    }

    .pa-program-prev span,
    .pa-program-next span {

        width: 8px;
        height: 8px;

        border-width: 1.6px;
    }
}


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

.pa-program-pagination {

    position: absolute;

    z-index: 20;

    left: 30px !important;
    bottom: 16px !important;

    width: auto !important;
    height: 10px;

    display: flex;

    align-items: center;

    gap: 6px;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    pointer-events: auto;
}


/* DOT */

.pa-program-pagination .pa-program-dot {

    display: block !important;

    width: 7px !important;
    height: 7px !important;

    min-width: 7px !important;
    min-height: 7px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    border-radius: 50% !important;

    background: #d0d3d1 !important;

    box-shadow: none !important;

    outline: none !important;

    appearance: none !important;

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease,
        transform .3s ease;
}


/* ACTIVE */

.pa-program-pagination .pa-program-dot.is-active {

    width: 28px !important;
    min-width: 28px !important;

    height: 7px !important;

    border-radius: 20px !important;

    background: #197b4b !important;
}


/* HOVER */

.pa-program-pagination .pa-program-dot:hover {

    transform: scale(1.12);

}


/* REMOVE FOCUS BOX */

.pa-program-pagination .pa-program-dot:focus {

    outline: none !important;

    box-shadow: none !important;
}

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

@media (max-width: 700px) {

    .pa-program-slider-section {

        margin: 28px auto;

        padding: 0 10px;
    }


    .pa-program-slide {

        display: flex;

        flex-direction: column-reverse;

        min-height: auto;
    }


    .pa-program-media {

        padding: 10px 10px 0;
    }


    .pa-program-media img {

        height: auto;

        max-height: none;

        aspect-ratio: 12 / 7;
    }


    .pa-program-content {

        padding:
            22px
            22px
            42px;
    }


    .pa-program-eyebrow {

        font-size: 12px;

        margin-bottom: 8px;
    }


    .pa-program-title {

        font-size: 23px;

        max-width: none;
    }


    .pa-program-description {

        margin:
            13px
            0
            18px;

        font-size: 13px;

        line-height: 1.55;
    }


    .pa-program-button {

        padding:
            10px
            17px;

        font-size: 13px;
    }


    .pa-program-prev,
    .pa-program-next {

        width: 30px;

        height: 30px;

        font-size: 15px;
    }


    .pa-program-prev {

        left: 16px;
    }


    .pa-program-next {

        right: 16px;
    }


    .pa-program-pagination {

        left: 22px !important;

        bottom: 14px !important;
    }

}

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

.pa-program-slide {
    display: grid;

    grid-template-columns: 38% 62%;

    min-height: 320px;

    box-sizing: border-box;
}

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

.pa-program-slide .pa-program-media {
    opacity: 0;
    transform: translateX(45px);
}


/*
 * Ketika slide aktif:
 * gambar masuk dari kanan secara smooth
 */

.pa-program-slide.is-active .pa-program-media {
    animation:
        paProgramImageIn 1.15s cubic-bezier(.22,.61,.36,1) forwards;
}


@keyframes paProgramImageIn {

    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================================
   TEXT ENTER
   ========================================================= */

.pa-program-slide .pa-program-content > * {
    opacity: 0;
    transform: translateY(12px);
}


/*
 * Eyebrow
 */

.pa-program-slide.is-active .pa-program-eyebrow {

    animation:
        paProgramTextIn .55s ease forwards;

    animation-delay: .10s;
}


/*
 * Title
 */

.pa-program-slide.is-active .pa-program-title {

    animation:
        paProgramTextIn .65s ease forwards;

    animation-delay: .18s;
}


/*
 * Description
 */

.pa-program-slide.is-active .pa-program-description {

    animation:
        paProgramTextIn .65s ease forwards;

    animation-delay: .28s;
}


/*
 * Button
 */

.pa-program-slide.is-active .pa-program-button {

    animation:
        paProgramTextIn .65s ease forwards;

    animation-delay: .38s;
}


@keyframes paProgramTextIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================================
   TABLET
   701px — 991px
   ========================================================= */

@media (min-width: 701px) and (max-width: 991px) {

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

    .pa-program-slider-section {

        margin: 32px auto;

        padding: 0 18px;
    }


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

    .pa-program-slide {

        display: grid;

        grid-template-columns: 42% 58%;

        min-height: auto;
    }


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

    .pa-program-media {

        padding: 20px 18px 20px 0;

        display: flex;

        align-items: center;

        justify-content: center;
    }


    .pa-program-media img {

        width: 100%;

        height: auto;

        max-height: none;

        aspect-ratio: 12 / 7;

        object-fit: contain;

        display: block;
    }


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

    .pa-program-content {

        padding:
            34px
            28px
            42px;
    }


    /* =====================================================
       EYEBROW
       ===================================================== */

    .pa-program-eyebrow {

        font-size: 12px;

        margin-bottom: 9px;
    }


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

    .pa-program-title {

        font-size: 26px;

        max-width: none;
    }


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

    .pa-program-description {

        margin:
            14px
            0
            20px;

        font-size: 13px;

        line-height: 1.55;
    }


    /* =====================================================
       BUTTON
       ===================================================== */

    .pa-program-button {

        padding:
            11px
            18px;

        font-size: 13px;
    }


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

    .pa-program-prev,
    .pa-program-next {

        width: 34px;

        height: 34px;

        font-size: 16px;
    }


    .pa-program-prev {

        left: 14px;
    }


    .pa-program-next {

        right: 14px;
    }


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

    .pa-program-pagination {

        left: 24px;

        bottom: 14px;
    }

}