/* =========================================================
   RUMAH PENA FOUNDATION
   PROGRAM PAGE
========================================================= */


/* =========================================================
   RESET
========================================================= */

.rp-program-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #111111;
    overflow: hidden;
}

.rp-program-page *,
.rp-program-page *::before,
.rp-program-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.rp-program-hero {
    width: 100%;
    padding: 95px 0 100px;
    background: #111111;
    color: #ffffff;
}

.rp-program-hero-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.rp-program-eyebrow {
    display: block;
    margin: 0;
    color: inherit;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
}

.rp-program-eyebrow::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    margin: 10px auto 0;
    background: #d71920;
}

.rp-program-hero h1 {
    margin: 20px auto 0;
    max-width: 900px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-align: center;
}

.rp-program-hero-line {
    width: 55px;
    height: 4px;
    margin: 20px auto 0;
    background: #d71920;
}

.rp-program-hero h2 {
    max-width: 800px;
    margin: 22px auto 0;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
}

.rp-program-hero-description {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    line-height: 1.75;
    text-align: center;
}

.rp-program-hero-description p {
    margin: 0 0 10px;
}

.rp-program-hero-description p:last-child {
    margin-bottom: 0;
}


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

.rp-program-section {
    width: 100%;
    padding: 85px 0;
}

.rp-program-section-heading {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 45px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.rp-program-section-heading h2 {
    max-width: 850px;
    margin: 20px auto 0;
    color: #111111;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    text-align: center;
}

.rp-program-section-heading p {
    max-width: 780px;
    margin: 18px auto 0;
    color: #555555;
    font-size: 16px;
    line-height: 1.75;
    text-align: center;
}

.rp-program-red-line {
    width: 50px;
    height: 4px;
    margin: 12px auto 0;
    background: #d71920;
}


/* =========================================================
   PROGRAM UTAMA
========================================================= */

.rp-program-main {
    background: #ffffff;
}

.rp-program-cards {
    width: calc(100% - 60mm);
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rp-program-card {
    width: 100%;
    min-height: 280px;
    margin: 0;
    padding: 34px;
    background: #f3f3f3;
    border: 1px solid #dddddd;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.rp-program-card:hover {
    background: #111111;
    transform: translateY(-4px);
}

.rp-program-card-number {
    margin-bottom: 32px;
    color: #d71920;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
}

.rp-program-card h3 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
}

.rp-program-card:hover h3 {
    color: #ffffff;
}

.rp-program-card h4 {
    margin: 0 0 15px;
    color: #555555;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
}

.rp-program-card:hover h4 {
    color: rgba(255,255,255,0.75);
}

.rp-program-card-description {
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
}

.rp-program-card-description p {
    margin: 0 0 10px;
}

.rp-program-card-description p:last-child {
    margin-bottom: 0;
}

.rp-program-card:hover .rp-program-card-description {
    color: rgba(255,255,255,0.78);
}


/* =========================================================
   UNTUK SIAPA
========================================================= */

.rp-program-audience {
    background: #111111;
    color: #ffffff;
}

.rp-program-audience .rp-program-eyebrow {
    color: #ffffff;
}

.rp-program-audience .rp-program-section-heading h2 {
    color: #ffffff;
}

.rp-program-audience .rp-program-section-heading p {
    color: rgba(255,255,255,0.72);
}

.rp-program-audience-grid {
    width: calc(100% - 40mm);
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.rp-program-audience-item {
    width: 100%;
    min-height: 70px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.rp-program-audience-item span {
    flex: 0 0 38px;
    color: #d71920;
    font-size: 14px;
    font-weight: 800;
}

.rp-program-audience-item strong {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}


/* =========================================================
   BENTUK KEGIATAN
========================================================= */

.rp-program-activities {
    background: #f3f3f3;
}

.rp-program-activity-grid {
    width: calc(100% - 40mm);
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rp-program-activity-item {
    min-height: 155px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #dddddd;
}

.rp-program-activity-item span {
    color: #d71920;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.rp-program-activity-item strong {
    color: #111111;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}


/* =========================================================
   KOLABORASI
========================================================= */

.rp-program-collaboration {
    position: relative;
    width: 100%;
    padding: 90px 20px;
    background: #d71920;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.rp-program-collaboration::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -170px;
    top: -230px;
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 50%;
}

.rp-program-collaboration-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.rp-program-collaboration .rp-program-eyebrow {
    color: #ffffff;
}

.rp-program-collaboration h2 {
    margin: 20px auto 0;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 800;
    text-align: center;
}

.rp-program-collaboration .rp-program-red-line {
    background: #ffffff;
}

.rp-program-collaboration-description {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.75;
    text-align: center;
}

.rp-program-collaboration-description p {
    margin: 0 0 10px;
}

.rp-program-collaboration-description p:last-child {
    margin-bottom: 0;
}

.rp-program-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.rp-program-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.rp-program-button:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}


/* =========================================================
   KOLABORASI - DESKTOP
========================================================= */

@media (min-width: 768px) {

    .rp-program-collaboration .rp-program-buttons {
        display: flex;
        gap: 20px;
        margin-top: 30px;
        flex-wrap: nowrap;
    }

    .rp-program-collaboration .rp-program-button {
        width: 360px;
        min-height: 150px;
        padding: 30px;
        box-sizing: border-box;

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

        font-size: 18px;
        font-weight: 700;
        text-align: center;
    }

}

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

@media screen and (max-width: 767px) {

    /* -----------------------------------------
       HERO
    ----------------------------------------- */

    .rp-program-hero {
        padding: 55px 0 60px;
    }

    .rp-program-hero-inner {
        width: 100%;
        max-width: none;
        padding-left: 5mm;
        padding-right: 5mm;
        text-align: center;
    }

    .rp-program-hero h1 {
        font-size: 34px;
        line-height: 1.08;
        letter-spacing: -0.8px;
    }

    .rp-program-hero h2 {
        font-size: 19px;
        line-height: 1.4;
    }

    .rp-program-hero-description {
        font-size: 14px;
        line-height: 1.7;
    }


    /* -----------------------------------------
       SECTION
    ----------------------------------------- */

    .rp-program-section {
        padding: 55px 0;
    }

    .rp-program-section-heading {
        width: 100%;
        max-width: none;
        margin: 0 auto 32px;
        padding-left: 5mm;
        padding-right: 5mm;
        text-align: center;
    }

    .rp-program-section-heading .rp-program-eyebrow {
        font-size: 17px;
        font-weight: 800;
        text-align: center;
    }

    .rp-program-section-heading h2 {
        margin-top: 16px;
        font-size: 29px;
        line-height: 1.15;
        text-align: center;
    }

    .rp-program-section-heading p {
        font-size: 14px;
        line-height: 1.7;
        text-align: center;
    }

    .rp-program-red-line {
        width: 48px;
        height: 4px;
        margin: 10px auto 0;
    }


    /* -----------------------------------------
       PROGRAM CARDS
       
       10 MM KIRI
       10 MM KANAN
    ----------------------------------------- */

    .rp-program-cards {
        width: calc(100% - 20mm);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rp-program-card {
        width: 100%;
        min-height: auto;
        padding: 24px;
    }

    .rp-program-card-number {
        margin-bottom: 22px;
    }

    .rp-program-card h3 {
        font-size: 22px;
    }

    .rp-program-card h4 {
        font-size: 14px;
    }

    .rp-program-card-description {
        font-size: 14px;
        line-height: 1.65;
    }


    /* -----------------------------------------
       UNTUK SIAPA
    ----------------------------------------- */

    .rp-program-audience-grid {
        width: calc(100% - 10mm);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .rp-program-audience-item {
        min-height: 60px;
        padding: 16px 5mm;
        gap: 14px;
    }

    .rp-program-audience-item span {
        flex: 0 0 30px;
        font-size: 13px;
    }

    .rp-program-audience-item strong {
        font-size: 15px;
        line-height: 1.35;
    }


    /* -----------------------------------------
   BENTUK KEGIATAN
----------------------------------------- */

.rp-program-activity-grid {
    width: calc(100% - 10mm);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rp-program-activity-item {
    min-height: 125px;
    padding: 20px;
}

.rp-program-activity-item span {
    font-size: 13px;
}

.rp-program-activity-item strong {
    font-size: 15px;
    line-height: 1.35;
}


/* -----------------------------------------
   WARNA JUDUL BENTUK KEGIATAN
----------------------------------------- */

.rp-program-activities .rp-program-eyebrow {
    color: #111 !important;
}

.rp-program-activities .rp-program-section-heading h2 {
    color: #111 !important;
}


    /* -----------------------------------------
       KOLABORASI
    ----------------------------------------- */

    .rp-program-collaboration {
        padding: 60px 5mm;
        text-align: center;
    }

    .rp-program-collaboration-inner {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        text-align: center;
    }

    .rp-program-collaboration h2 {
        font-size: 30px;
        text-align: center;
    }

    .rp-program-collaboration-description {
        font-size: 14px;
        line-height: 1.7;
        text-align: center;
    }

    .rp-program-buttons {
        flex-direction: column;
        width: 100%;
    }

    .rp-program-button {
        width: 100%;
        max-width: 320px;
    }

}


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

@media screen and (max-width: 420px) {

    .rp-program-hero h1 {
        font-size: 32px;
    }

    .rp-program-section-heading .rp-program-eyebrow {
        font-size: 16px;
    }

    .rp-program-section-heading h2 {
        font-size: 27px;
    }

    .rp-program-card {
        padding: 22px;
    }

}

/* =========================================================
   FINAL LAYOUT OVERRIDE
   PROGRAM PAGE ONLY
========================================================= */

.rp-program-page .rp-program-section-heading,
.rp-program-page .rp-program-cards,
.rp-program-page .rp-program-audience-grid,
.rp-program-page .rp-program-activity-grid {
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* -----------------------------------------
   JUDUL SECTION
----------------------------------------- */

.rp-program-page .rp-program-section-heading {
    width: calc(100% - 40mm) !important;
    max-width: 1000px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
}

.rp-program-page .rp-program-section-heading .rp-program-eyebrow,
.rp-program-page .rp-program-section-heading h2,
.rp-program-page .rp-program-section-heading p {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* -----------------------------------------
   PROGRAM CARDS
   DESKTOP = 30MM KIRI / KANAN
----------------------------------------- */

.rp-program-page .rp-program-cards {
    width: calc(100% - 60mm) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* -----------------------------------------
   AUDIENCE
----------------------------------------- */

.rp-program-page .rp-program-audience-grid {
    width: calc(100% - 40mm) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* -----------------------------------------
   ACTIVITY
----------------------------------------- */

.rp-program-page .rp-program-activity-grid {
    width: calc(100% - 40mm) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


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

@media screen and (max-width: 767px) {

    .rp-program-page .rp-program-section-heading {
        width: calc(100% - 10mm) !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .rp-program-page .rp-program-cards {
        width: calc(100% - 20mm) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: 1fr !important;
    }

    .rp-program-page .rp-program-audience-grid {
        width: calc(100% - 10mm) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .rp-program-page .rp-program-activity-grid {
        width: calc(100% - 10mm) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .rp-program-page .rp-program-section-heading .rp-program-eyebrow,
    .rp-program-page .rp-program-section-heading h2,
    .rp-program-page .rp-program-section-heading p {
        text-align: center !important;
    }

}


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

@media screen and (max-width: 420px) {

    .rp-program-page .rp-program-section-heading {
        width: calc(100% - 10mm) !important;
    }

    .rp-program-page .rp-program-cards {
        width: calc(100% - 20mm) !important;
    }

}

/* =========================================================
   FINAL LAYOUT OVERRIDE
   PROGRAM PAGE ONLY
========================================================= */

.rp-program-page .rp-program-section-heading,
.rp-program-page .rp-program-cards,
.rp-program-page .rp-program-audience-grid,
.rp-program-page .rp-program-activity-grid {
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* -----------------------------------------
   JUDUL SECTION
----------------------------------------- */

.rp-program-page .rp-program-section-heading {
    width: calc(100% - 40mm) !important;
    max-width: 1000px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
}

.rp-program-page .rp-program-section-heading .rp-program-eyebrow,
.rp-program-page .rp-program-section-heading h2,
.rp-program-page .rp-program-section-heading p {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* -----------------------------------------
   PROGRAM CARDS
   DESKTOP = 30MM KIRI / KANAN
----------------------------------------- */

.rp-program-page .rp-program-cards {
    width: calc(100% - 60mm) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* -----------------------------------------
   AUDIENCE
----------------------------------------- */

.rp-program-page .rp-program-audience-grid {
    width: calc(100% - 40mm) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* -----------------------------------------
   ACTIVITY
----------------------------------------- */

.rp-program-page .rp-program-activity-grid {
    width: calc(100% - 40mm) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


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

@media screen and (max-width: 767px) {

    .rp-program-page .rp-program-section-heading {
        width: calc(100% - 10mm) !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .rp-program-page .rp-program-cards {
        width: calc(100% - 20mm) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: 1fr !important;
    }

    .rp-program-page .rp-program-audience-grid {
        width: calc(100% - 10mm) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .rp-program-page .rp-program-activity-grid {
        width: calc(100% - 10mm) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .rp-program-page .rp-program-section-heading .rp-program-eyebrow,
    .rp-program-page .rp-program-section-heading h2,
    .rp-program-page .rp-program-section-heading p {
        text-align: center !important;
    }

}


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

@media screen and (max-width: 420px) {

    .rp-program-page .rp-program-section-heading {
        width: calc(100% - 10mm) !important;
    }

    .rp-program-page .rp-program-cards {
        width: calc(100% - 20mm) !important;
    }

}

/* =========================================================
   PROGRAM CARD LINK
========================================================= */

.rp-program-page a.rp-program-card {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.rp-program-page a.rp-program-card:hover {
    color: inherit;
    text-decoration: none;
}

/* Jarak nomor dengan judul PROGRAM UTAMA */
.rp-program-card-number {
    margin-right: 15px;
}