/*
Theme Name: Rumah Pena Foundation
Widget Styles
Version: 1.0.0
*/

/* =========================================================
   WIDGET CORE
========================================================= */

.rp-widget {
    width: 100%;
    margin: 0 0 50px;
    box-sizing: border-box;
}

.rp-widget:last-child {
    margin-bottom: 0;
}


/* =========================================================
   GRID 1
========================================================= */

.rp-grid-1 {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    color: #000;
    box-sizing: border-box;
}

.rp-grid-1-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 40px;
    box-sizing: border-box;
}


/* Heading */

.rp-grid-1 .rp-widget-heading {
    margin: 0 0 45px;
}

.rp-grid-1 .rp-widget-title {
    margin: 0;
    padding: 0;

    font-family: var(
        --rp-heading-font,
        Arial,
        sans-serif
    );

    font-size: var(
        --rp-heading-size,
        36px
    );

    line-height: 1.15;
    font-weight: 700;

    color: #000;

    text-transform: uppercase;
    letter-spacing: 0;
}

.rp-grid-1 .rp-widget-heading-line {
    display: block;

    width: 105px;
    height: 5px;

    margin-top: 15px;

    background: #ff0055;
}


/* Heading + Lihat Semua */

.rp-grid-1-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;
    width: 100%;

    box-sizing: border-box;
}

.rp-grid-1-heading-row .rp-widget-heading {
    flex: 1 1 auto;
    min-width: 0;
}

.rp-grid-1-more {
    flex: 0 0 auto;
    margin-top: 4px;
}

.rp-grid-1-more-link {
    display: inline-block;

    padding: 12px 22px;

    background: #000;
    color: #fff;

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;
    text-transform: uppercase;

    letter-spacing: 0.5px;

    box-sizing: border-box;
}

.rp-grid-1-more-link:hover {
    color: #fff;
    opacity: 0.75;
}


/* Category */

.rp-grid-1-category-label {
    display: inline-block;

    margin: 0 0 25px;
    padding-bottom: 10px;

    border-bottom: 4px solid #ff0055;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;

    color: #000;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* List */

.rp-grid-1-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 45px;
    row-gap: 55px;

    width: 100%;
}


/* Card */

.rp-grid-1-card {
    min-width: 0;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

.rp-grid-1-link {
    display: block;

    width: 100%;

    color: inherit;
    text-decoration: none;
}

.rp-grid-1-link:hover {
    color: inherit;
    text-decoration: none;
}


/* Image */

.rp-grid-1-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #d0d0d0;
}

.rp-grid-1-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transition: transform 0.3s ease;
}

.rp-grid-1-link:hover
.rp-grid-1-image img {
    transform: scale(1.03);
}


/* No Image */

.rp-grid-1-no-image {
    display: flex;

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

    width: 100%;
    height: 100%;

    padding: 20px;

    box-sizing: border-box;

    background: #d0d0d0;
    color: #555;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 16px;

    text-align: center;
}


/* Title */

.rp-grid-1-title {
    margin: 22px 0 0;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 24px;

    line-height: 1.35;

    font-weight: 500;

    color: #000;

    overflow-wrap: break-word;
}


/* Empty */

.rp-grid-1-empty {
    padding: 30px 0;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 18px;

    line-height: 1.5;

    color: #000;
}


/* Visibility */

.rp-grid-1-no-desktop {
    display: none !important;
}


/* Grid 1 Mobile */

@media (max-width: 767px) {

    .rp-grid-1 {
        width: 100vw;
        max-width: 100vw;

        margin-left: calc(50% - 50vw);
        margin-right: 0;

        box-sizing: border-box;
    }

    .rp-grid-1-inner {
        width: 100%;
        max-width: none;

        margin: 0;

        padding: 24px;

        box-sizing: border-box;
    }

    .rp-grid-1 .rp-widget-heading {
        margin: 0 0 30px;
    }

    .rp-grid-1 .rp-widget-title {
        font-size: 26px;
        line-height: 1.15;
    }

    .rp-grid-1 .rp-widget-heading-line {
        width: 85px;
        height: 4px;

        margin-top: 10px;
    }

    .rp-grid-1-heading-row {
        gap: 15px;
    }

    .rp-grid-1-more {
        margin-top: 2px;
    }

    .rp-grid-1-more-link {
        padding: 10px 14px;
        font-size: 12px;
    }

    .rp-grid-1-category-label {
        margin-bottom: 20px;
        padding-bottom: 8px;

        border-bottom-width: 3px;

        font-size: 15px;
    }

    .rp-grid-1-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 15px;
        row-gap: 30px;
    }

    .rp-grid-1-card {
        width: 100%;
    }

    .rp-grid-1-image {
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .rp-grid-1-title {
        width: 100%;

        margin-top: 12px;

        font-size: 16px;
        line-height: 1.35;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;

        overflow: hidden;
        text-overflow: ellipsis;

        overflow-wrap: break-word;
    }

    .rp-grid-1-no-mobile {
        display: none !important;
    }
}


/* Grid 1 Small Mobile */

@media (max-width: 400px) {

    .rp-grid-1-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rp-grid-1-list {
        column-gap: 12px;
        row-gap: 28px;
    }

    .rp-grid-1-title {
        font-size: 15px;
    }
}


/* =========================================================
   GRID 2
========================================================= */

.rp-grid-2 {
    width: 100%;

    background: #000;
    color: #fff;

    box-sizing: border-box;
}

.rp-grid-2-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 70px 40px;

    box-sizing: border-box;
}


/* Heading */

.rp-grid-2 .rp-widget-heading {
    margin: 0 0 45px;
}

.rp-grid-2 .rp-widget-title {
    margin: 0;
    padding: 0;

    font-family: var(
        --rp-heading-font,
        Arial,
        sans-serif
    );

    font-size: var(
        --rp-heading-size,
        36px
    );

    line-height: 1.15;

    font-weight: 700;

    color: #fff;

    text-transform: uppercase;
}

.rp-grid-2 .rp-widget-heading-line {
    display: block;

    width: 105px;
    height: 5px;

    margin-top: 15px;

    background: #ff0055;
}


/* Category */

.rp-grid-2-category-label {
    display: inline-block;

    margin: 0 0 25px;
    padding-bottom: 10px;

    border-bottom: 4px solid #ff0055;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;

    color: #fff;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* Scroll */

.rp-grid-2-scroll {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;
}

.rp-grid-2-scroll::-webkit-scrollbar {
    display: none;
}


/* List */

.rp-grid-2-list {
    display: flex;
    flex-wrap: nowrap;

    width: max-content;
    min-width: 100%;

    gap: 24px;
}


/* Card */

.rp-grid-2-card {
    flex: 0 0 calc(25% - 18px);

    width: calc(25% - 18px);

    min-width: 0;

    margin: 0;
    padding: 0;

    background: transparent;

    scroll-snap-align: start;

    box-sizing: border-box;
}


/* Link */

.rp-grid-2-link {
    display: block;

    width: 100%;

    color: inherit;
    text-decoration: none;

    box-sizing: border-box;
}

.rp-grid-2-link:hover {
    color: inherit;
    text-decoration: none;
}


/* Image */

.rp-grid-2-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #222;

    box-sizing: border-box;
}

.rp-grid-2-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transition: transform 0.3s ease;
}

.rp-grid-2-link:hover
.rp-grid-2-image img {
    transform: scale(1.03);
}


/* Placeholder */

.rp-grid-2-image-placeholder {
    display: flex;

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

    width: 100%;
    height: 100%;

    padding: 20px;

    box-sizing: border-box;

    background: #222;

    color: #999;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 14px;

    line-height: 1.4;

    text-align: center;
}


/* Title */

.rp-grid-2-title {
    margin: 18px 0 0;
    padding: 0;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 20px;

    line-height: 1.35;

    font-weight: 500;

    color: #fff;

    overflow-wrap: break-word;
}


/* Visibility */

.rp-grid-2-no-desktop {
    display: none !important;
}


/* Tablet */

@media (max-width: 992px) {

    .rp-grid-2-card {
        flex: 0 0 calc(33.333% - 16px);

        width: calc(33.333% - 16px);
    }
}


/* Mobile */

@media (max-width: 767px) {

    .rp-grid-2 {
        width: 100vw;
        max-width: 100vw;

        margin-left: calc(50% - 50vw);
        margin-right: 0;

        box-sizing: border-box;
    }

    .rp-grid-2-inner {
        width: 100%;
        max-width: none;

        margin: 0;

        padding: 40px 24px;

        box-sizing: border-box;
    }

    .rp-grid-2 .rp-widget-heading {
        margin: 0 0 30px;
    }

    .rp-grid-2 .rp-widget-title {
        font-size: 26px;
        line-height: 1.15;
    }

    .rp-grid-2 .rp-widget-heading-line {
        width: 85px;
        height: 4px;

        margin-top: 10px;
    }

    .rp-grid-2-category-label {
        margin-bottom: 20px;
        padding-bottom: 8px;

        border-bottom-width: 3px;

        font-size: 15px;
    }

    .rp-grid-2-scroll {
        width: 100%;

        overflow-x: auto;
        overflow-y: hidden;
    }

    .rp-grid-2-list {
        gap: 15px;

        width: max-content;
        min-width: 100%;
    }

    .rp-grid-2-card {
        flex: 0 0 calc(
            (100vw - 63px) / 2
        );

        width: calc(
            (100vw - 63px) / 2
        );
    }

    .rp-grid-2-image {
        aspect-ratio: 4 / 3;
    }

    .rp-grid-2-title {
        margin-top: 12px;

        font-size: 16px;
        line-height: 1.35;

        font-weight: 500;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;

        overflow: hidden;
        text-overflow: ellipsis;

        max-height: calc(3 * 1.35em);
    }

    .rp-grid-2-no-mobile {
        display: none !important;
    }
}


/* Small Mobile */

@media (max-width: 400px) {

    .rp-grid-2-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rp-grid-2-list {
        gap: 12px;
    }

    .rp-grid-2-card {
        flex: 0 0 calc(
            (100vw - 52px) / 2
        );

        width: calc(
            (100vw - 52px) / 2
        );
    }

    .rp-grid-2-title {
        font-size: 15px;
    }
}


/* =========================================================
   GRID 3
========================================================= */

.rp-grid-3 {
    width: 100%;

    background: #fff;
    color: #000;

    box-sizing: border-box;
}

.rp-grid-3-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 60px 40px;

    box-sizing: border-box;
}


/* Heading */

.rp-grid-3 .rp-widget-heading {
    margin: 0 0 40px;
}

.rp-grid-3 .rp-widget-title {
    margin: 0;
    padding: 0;

    font-family: var(
        --rp-heading-font,
        Arial,
        sans-serif
    );

    font-size: var(
        --rp-heading-size,
        36px
    );

    line-height: 1.15;

    font-weight: 700;

    color: #000;

    text-transform: uppercase;
}

.rp-grid-3 .rp-widget-heading-line {
    display: block;

    width: 105px;
    height: 5px;

    margin-top: 15px;

    background: #ff0055;
}


/* Category */

.rp-grid-3-category-label {
    display: inline-block;

    margin: 0 0 25px;
    padding-bottom: 10px;

    border-bottom: 4px solid #ff0055;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;

    color: #000;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* List */

.rp-grid-3-list {
    display: flex;
    flex-direction: column;

    width: 100%;
}


/* Item */

.rp-grid-3-item {
    width: 100%;

    margin: 0;
    padding: 25px 0;

    border-bottom: 1px solid #ddd;

    box-sizing: border-box;
}

.rp-grid-3-item:first-child {
    padding-top: 0;
}

.rp-grid-3-item:last-child {
    border-bottom: 0;
}


/* Link */

.rp-grid-3-link {
    display: grid;

    grid-template-columns:
        300px
        minmax(0, 1fr);

    column-gap: 35px;

    width: 100%;

    color: inherit;
    text-decoration: none;

    box-sizing: border-box;
}

.rp-grid-3-link:hover {
    color: inherit;
    text-decoration: none;
}


/* Image */

.rp-grid-3-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #d0d0d0;

    box-sizing: border-box;
}

.rp-grid-3-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transition: transform 0.3s ease;
}

.rp-grid-3-link:hover
.rp-grid-3-image img {
    transform: scale(1.03);
}


/* Placeholder */

.rp-grid-3-image-placeholder {
    display: flex;

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

    width: 100%;
    height: 100%;

    padding: 20px;

    box-sizing: border-box;

    background: #d0d0d0;

    color: #555;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 14px;

    line-height: 1.4;

    text-align: center;
}


/* Content */

.rp-grid-3-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

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

    box-sizing: border-box;
}


/* Title */

.rp-grid-3-title {
    margin: 0;
    padding: 0;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 25px;

    line-height: 1.4;

    font-weight: 600;

    color: #000;

    overflow-wrap: break-word;
}


/* Visibility */

.rp-grid-3-no-desktop {
    display: none !important;
}


/* Tablet */

@media (max-width: 992px) {

    .rp-grid-3-link {
        grid-template-columns:
            240px
            minmax(0, 1fr);

        column-gap: 25px;
    }

    .rp-grid-3-title {
        font-size: 22px;
    }
}


/* Mobile */

@media (max-width: 767px) {

    .rp-grid-3 {
        width: 100vw;
        max-width: 100vw;

        margin-left: calc(50% - 50vw);
        margin-right: 0;

        box-sizing: border-box;
    }

    .rp-grid-3-inner {
        width: 100%;
        max-width: none;

        margin: 0;

        padding: 40px 24px;

        box-sizing: border-box;
    }

    .rp-grid-3 .rp-widget-heading {
        margin: 0 0 30px;
    }

    .rp-grid-3 .rp-widget-title {
        font-size: 26px;
        line-height: 1.15;
    }

    .rp-grid-3 .rp-widget-heading-line {
        width: 85px;
        height: 4px;

        margin-top: 10px;
    }

    .rp-grid-3-category-label {
        margin-bottom: 20px;
        padding-bottom: 8px;

        border-bottom-width: 3px;

        font-size: 15px;
    }

    .rp-grid-3-item {
        padding: 20px 0;
    }

    .rp-grid-3-item:first-child {
        padding-top: 0;
    }

    .rp-grid-3-link {
        grid-template-columns:
            120px
            minmax(0, 1fr);

        column-gap: 15px;

        align-items: center;
    }

    .rp-grid-3-image {
        aspect-ratio: 4 / 3;
    }

    .rp-grid-3-title {
        font-size: 17px;

        line-height: 1.35;

        font-weight: 600;

        color: #000;
    }

    .rp-grid-3-no-mobile {
        display: none !important;
    }
}


/* Small Mobile */

@media (max-width: 400px) {

    .rp-grid-3-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rp-grid-3-link {
        grid-template-columns:
            105px
            minmax(0, 1fr);

        column-gap: 12px;
    }

    .rp-grid-3-title {
        font-size: 15px;
    }
}


/* =========================================================
   LINE 1
========================================================= */

.rp-line-1 {
    width: 100%;

    background: #fff;
    color: #000;

    box-sizing: border-box;
}

.rp-line-1-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 60px 40px;

    box-sizing: border-box;
}


/* Heading */

.rp-line-1 .rp-widget-heading {
    margin: 0 0 40px;
}

.rp-line-1 .rp-widget-title {
    margin: 0;
    padding: 0;

    font-family: var(
        --rp-heading-font,
        Arial,
        sans-serif
    );

    font-size: var(
        --rp-heading-size,
        36px
    );

    line-height: 1.15;

    font-weight: 700;

    color: #000;

    text-transform: uppercase;
}

.rp-line-1 .rp-widget-heading-line {
    display: block;

    width: 105px;
    height: 5px;

    margin-top: 15px;

    background: #ff0055;
}


/* Category */

.rp-line-1-category-label {
    display: inline-block;

    margin: 0 0 25px;
    padding-bottom: 10px;

    border-bottom: 4px solid #ff0055;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;

    color: #000;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* List */

.rp-line-1-list {
    display: flex;
    flex-direction: column;

    width: 100%;
}


/* Item */

.rp-line-1-item {
    width: 100%;

    margin: 0;
    padding: 20px 0;

    border-bottom: 1px solid #ddd;

    box-sizing: border-box;
}

.rp-line-1-item:first-child {
    padding-top: 0;
}

.rp-line-1-item:last-child {
    border-bottom: 0;
}


/* Link */

.rp-line-1-link {
    display: grid;

    grid-template-columns:
        65px
        minmax(0, 1fr);

    align-items: center;

    column-gap: 22px;

    width: 100%;

    color: inherit;
    text-decoration: none;

    box-sizing: border-box;
}

.rp-line-1-link:hover {
    color: inherit;
    text-decoration: none;
}


/* Number */

.rp-line-1-number {
    display: flex;

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

    width: 65px;
    height: 65px;

    background: #000;

    color: #fff;

    font-family: var(
        --rp-heading-font,
        Arial,
        sans-serif
    );

    font-size: 28px;

    font-weight: 700;
    font-style: italic;

    line-height: 1;

    box-sizing: border-box;
}


/* Title */

.rp-line-1-title {
    margin: 0;
    padding: 0;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 23px;

    line-height: 1.4;

    font-weight: 600;

    color: #000;

    overflow-wrap: break-word;
}


/* Visibility */

.rp-line-1-no-desktop {
    display: none !important;
}


/* Tablet */

@media (max-width: 992px) {

    .rp-line-1-link {
        grid-template-columns:
            55px
            minmax(0, 1fr);

        column-gap: 18px;
    }

    .rp-line-1-number {
        width: 55px;
        height: 55px;

        font-size: 25px;
    }

    .rp-line-1-title {
        font-size: 21px;
    }
}


/* Mobile */

@media (max-width: 767px) {

    .rp-line-1 {
        width: 100vw;
        max-width: 100vw;

        margin-left: calc(50% - 50vw);
        margin-right: 0;

        box-sizing: border-box;
    }

    .rp-line-1-inner {
        width: 100%;
        max-width: none;

        margin: 0;

        padding: 40px 24px;

        box-sizing: border-box;
    }

    .rp-line-1 .rp-widget-heading {
        margin: 0 0 30px;
    }

    .rp-line-1 .rp-widget-title {
        font-size: 26px;
        line-height: 1.15;
    }

    .rp-line-1 .rp-widget-heading-line {
        width: 85px;
        height: 4px;

        margin-top: 10px;
    }

    .rp-line-1-category-label {
        margin-bottom: 20px;
        padding-bottom: 8px;

        border-bottom-width: 3px;

        font-size: 15px;
    }

    .rp-line-1-item {
        padding: 16px 0;
    }

    .rp-line-1-item:first-child {
        padding-top: 0;
    }

    .rp-line-1-link {
        grid-template-columns:
            45px
            minmax(0, 1fr);

        column-gap: 14px;
    }

    .rp-line-1-number {
        width: 45px;
        height: 45px;

        font-size: 20px;
    }

    .rp-line-1-title {
        font-size: 17px;

        line-height: 1.35;

        font-weight: 600;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;

        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rp-line-1-no-mobile {
        display: none !important;
    }
}


/* Small Mobile */

@media (max-width: 400px) {

    .rp-line-1-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rp-line-1-link {
        grid-template-columns:
            40px
            minmax(0, 1fr);

        column-gap: 12px;
    }

    .rp-line-1-number {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }

    .rp-line-1-title {
        font-size: 15px;
    }
}


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

.rp-kegiatan-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
}

.rp-kegiatan-item {
    position: relative;

    overflow: hidden;

    background: #eee;

    aspect-ratio: 4 / 3;
}

.rp-kegiatan-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.rp-kegiatan-item:hover img {
    transform: scale(1.05);
}


/* =========================================================
   VIDEO
========================================================= */

.rp-video-wrapper {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #000;

    aspect-ratio: 16 / 9;
}

.rp-video-wrapper iframe,
.rp-video-wrapper video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;
}

.rp-video-title {
    margin: 15px 0 0;

    color: #111;

    font-family: var(
        --rp-heading-font,
        Arial,
        sans-serif
    );

    font-size: 20px;

    font-weight: 700;

    line-height: 1.4;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.rp-widget-empty {
    padding: 40px 20px;

    border: 1px dashed #ddd;

    color: #888;

    font-size: 14px;

    text-align: center;
}


/* =========================================================
   GRID 1 - HIDE OLD WIDGET HEADING
========================================================= */

.rp-grid-1 .rp-widget-heading {
    display: none;
}


/* =========================================================
   GRID 2 - HIDE OLD WIDGET HEADING
========================================================= */

.rp-grid-2 .rp-widget-heading {
    display: none;
}


/* =========================================================
   IMAGE PENGURUS
   FOTO + BIO HORIZONTAL SLIDER
========================================================= */

.rp-image-pengurus {
    width: 100%;

    background: rgba(0, 0, 0, 0.75);

    color: #ffffff;

    box-sizing: border-box;
}

.rp-image-pengurus-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 60px 40px;

    box-sizing: border-box;
}


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

.rp-image-pengurus-heading {
    margin: 0 0 40px;
}

.rp-image-pengurus-title {
    margin: 0;
    padding: 0;

    font-family: var(
        --rp-heading-font,
        Arial,
        sans-serif
    );

    font-size: var(
        --rp-heading-size,
        36px
    );

    line-height: 1.15;

    font-weight: 700;

    color: #ffffff;

    text-transform: uppercase;
    letter-spacing: 0;
}

.rp-image-pengurus-heading-line {
    display: block;

    width: 105px;
    height: 5px;

    margin-top: 15px;

    background: #ff0055;
}


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

.rp-image-pengurus-slider {
    position: relative;

    width: 100%;

    overflow: visible;

    box-sizing: border-box;
}


/* =========================================================
   TRACK
========================================================= */

.rp-image-pengurus-track {
    display: flex;

    flex-wrap: nowrap;

    width: 100%;

    gap: 20px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 0 50px;

    margin: 0;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    box-sizing: border-box;
}

.rp-image-pengurus-track::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   CARD
   DESKTOP = 5 CARD TERLIHAT
========================================================= */

.rp-image-pengurus-card {
    flex: 0 0 calc(
        (100% - 80px) / 5
    );

    width: calc(
        (100% - 80px) / 5
    );

    min-width: 0;

    margin: 0;
    padding: 0;

    background: #000000;

    color: #ffffff;

    scroll-snap-align: start;

    box-sizing: border-box;
}


/* =========================================================
   PANAH NAVIGASI
========================================================= */

.rp-image-pengurus-arrow {
    position: absolute;

    top: 50%;

    z-index: 20;

    display: flex;

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

    width: 42px;
    height: 42px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ffffff;
    color: #000000;

    font-family: Arial, sans-serif;

    font-size: 28px;
    font-weight: 400;

    line-height: 1;

    text-align: center;

    cursor: pointer;

    transform: translateY(-50%);

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.30);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.rp-image-pengurus-arrow:hover {
    background: #eeeeee;

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

.rp-image-pengurus-arrow:focus {
    outline: 2px solid #ff0055;
    outline-offset: 2px;
}

.rp-image-pengurus-arrow:disabled {
    opacity: 0.25;

    cursor: default;

    pointer-events: none;
}

.rp-image-pengurus-prev {
    left: 4px;
}

.rp-image-pengurus-next {
    right: 4px;
}


/* =========================================================
   FOTO
========================================================= */

.rp-image-pengurus-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #222222;

    box-sizing: border-box;
}

.rp-image-pengurus-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    transition: transform 0.3s ease;
}

.rp-image-pengurus-card:hover
.rp-image-pengurus-image img {
    transform: scale(1.03);
}


/* =========================================================
   FOTO KOSONG
========================================================= */

.rp-image-pengurus-no-image {
    display: flex;

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

    width: 100%;
    height: 100%;

    background: #222222;

    color: #888888;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================================
   NAMA
========================================================= */

.rp-image-pengurus-name {
    margin: 0;

    padding: 14px 12px 0;

    font-family: var(
        --rp-heading-font,
        Arial,
        sans-serif
    );

    font-size: 15px;

    font-weight: 700;

    line-height: 1.3;

    color: #ffffff;

    text-align: center;

    overflow-wrap: break-word;

    box-sizing: border-box;
}


/* =========================================================
   JABATAN
========================================================= */

.rp-image-pengurus-position {
    margin: 6px 0 0;

    padding: 0 12px;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 12px;

    line-height: 1.4;

    font-weight: 600;

    color: #bbbbbb;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    overflow-wrap: break-word;

    box-sizing: border-box;
}


/* =========================================================
   BIO
========================================================= */

.rp-image-pengurus-bio {
    padding: 12px 12px 16px;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 13px;

    line-height: 1.5;

    font-weight: 400;

    color: #ffffff;

    text-align: left;

    overflow-wrap: break-word;

    box-sizing: border-box;
}

.rp-image-pengurus-bio p {
    margin: 0 0 8px;
}

.rp-image-pengurus-bio p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   EMPTY
========================================================= */

.rp-image-pengurus-empty {
    padding: 30px 0;

    color: #cccccc;

    font-family: var(
        --rp-body-font,
        Arial,
        sans-serif
    );

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   MOBILE
   2 CARD TERLIHAT + SWIPE
========================================================= */

@media (max-width: 767px) {

    .rp-image-pengurus {
        width: 100vw;
        max-width: 100vw;

        margin-left: calc(50% - 50vw);
        margin-right: 0;

        box-sizing: border-box;
    }

    .rp-image-pengurus-inner {
        width: 100%;
        max-width: none;

        margin: 0;

        padding: 40px 24px;

        box-sizing: border-box;
    }


    /* Heading */

    .rp-image-pengurus-heading {
        margin: 0 0 30px;
    }

    .rp-image-pengurus-title {
        font-size: 26px;

        line-height: 1.15;
    }

    .rp-image-pengurus-heading-line {
        width: 85px;
        height: 4px;

        margin-top: 10px;
    }


    /* Slider */

    .rp-image-pengurus-slider {
        width: 100%;

        overflow: visible;
    }


    /* Track */

    .rp-image-pengurus-track {
        gap: 15px;

        width: 100%;

        padding: 0;

        overflow-x: auto;
    }


    /* Panah disembunyikan di mobile.
       Mobile menggunakan swipe jari. */

    .rp-image-pengurus-arrow {
        display: none;
    }


    /* 2 Card */

    .rp-image-pengurus-card {
        flex: 0 0 calc(
            (100vw - 63px) / 2
        );

        width: calc(
            (100vw - 63px) / 2
        );
    }


    /* Nama */

    .rp-image-pengurus-name {
        padding: 12px 10px 0;

        font-size: 15px;

        line-height: 1.3;
    }


    /* Jabatan */

    .rp-image-pengurus-position {
        padding: 0 10px;

        font-size: 11px;

        line-height: 1.4;
    }


    /* Bio */

    .rp-image-pengurus-bio {
        padding: 12px 10px 15px;

        font-size: 13px;

        line-height: 1.45;
    }

}


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

@media (max-width: 400px) {

    .rp-image-pengurus-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rp-image-pengurus-track {
        gap: 12px;
    }

    .rp-image-pengurus-card {
        flex: 0 0 calc(
            (100vw - 52px) / 2
        );

        width: calc(
            (100vw - 52px) / 2
        );
    }

    .rp-image-pengurus-name {
        font-size: 15px;
    }

    .rp-image-pengurus-position {
        font-size: 10px;
    }

    .rp-image-pengurus-bio {
        font-size: 12px;
    }

}