body.page-template-template-cser {visibility: hidden; overflow: visible;}
body.page-template-template-cser.loaded {visibility: visible;}

.cser {
    line-height: 1;
    padding-top: 0;
    font-family: "Inter";
}
.cser .site-main {
    margin: 0;
}
.cser .banner {
    padding-bottom: 50px;
    height: 370px;
}
.cser .banner .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.cser .banner .container h1 {
    font-size: 36px;
    margin-bottom: 8px;
    color: #fff;
    font-family: "Inter";
}
.cser .banner .container p {
    color: #fff;
    line-height: 1.4;
    font-size: 20px;
    width: 70%;
    font-family: "Open Sans";
    margin-bottom: 0;
}
.cser .menu-container {
    position: sticky;
    top: -44px;
    z-index: 1;
    background-color: #fff;
    padding: 44px 0;
}
body.admin-bar .cser .menu-container {
    top: -12px;
}
.cser .menu-container .menu {
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #F6F6F6;
    padding: 6px 8px;
    border-radius: 8px;
    column-gap: 20px;
}
.cser .menu-container .menu .menu-item {
    text-align: center;
    font-size: 14px;
    place-content: center;
    position: relative;
    padding: 10px 20px;
    line-height: 20px;
}
.cser .menu-container .menu .menu-item:not(:last-child):after {
    display: block;
    content: "";
    width: 2px;
    height: 100%;
    background-color: #E6E5E5;
    position: absolute;
    top: 0;
    right: -10px;
}
.cser .menu-container .menu .menu-item a {color: #737373; font-size: 16px;}
.cser .menu-container .menu .menu-item.active {
    background-color: #FFE2E4;
    border: 1px solid #D32E36;
    border-radius: 6px;
}
.cser .menu-container .menu .menu-item.active a{
    color: #D32E36;
    font-weight: 600;
}

.cser .entry-content {
    margin-top: 0;
}
.cser .entry-content p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
    text-align: justify;
    color: #475569;
}

.cser .left-sidebar .menu-item {display: flex; align-items: center; gap: 12px; padding: 12px 0;}
.cser .left-sidebar .menu-item a {font-size: 16px; color: #475569;}
.cser .left-sidebar .menu-item:not(.active) .icon-active {display: none;}
.cser .left-sidebar .menu-item.active .icon-inactive {display: none;}
.cser .left-sidebar .menu-item.active a {color: #D32E36; font-weight: 600;}
.cser #secondary {
    padding-left: 0;
    position: sticky;
    top: 98px;
    background-color: #fff;
    margin-top: 0;
}
body.admin-bar .cser #secondary {
    top: 130px;
}

.cser .entry-content .each-child .title {
    font-family: "Open Sans";
    font-size: 20px;
    color: #1E293B;
    line-height: 32px;
    margin-bottom: 24px;
    font-weight: 600;
}

#content-environmental-aspects-data-performance .summary {
    display: grid;
    grid-row: 3/6;
    grid-template-columns: 1fr 1fr; /* Dua kolom */
    grid-template-rows: 1fr 1fr;
    column-gap: 28px;
    row-gap: 28px;
    overflow: hidden;
}

#content-environmental-aspects-data-performance .summary:after {
    display: block;
    font-weight: 300;
    font-style: italic;
    font-size: 12px;
    color: #2b2b2b;
}

#content-environmental-aspects-data-performance .summary > div {
    border: 1px solid #e6e5e5;
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 21px 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    position: relative;
}

#content-environmental-aspects-data-performance .summary > div > div:nth-child(1) {
    grid-column: 1/3;
    color: #2b2b2b;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 38px;
    width: 75%;
    line-height: 1.2;
}

#content-environmental-aspects-data-performance .summary > div > div:nth-child(2),
#content-environmental-aspects-data-performance .summary > div > div:nth-child(3) {
    font-weight: 700;
    line-height: 1;
}

#content-environmental-aspects-data-performance .summary > div > div:nth-child(2) {
    font-size: 40px;
}

#content-environmental-aspects-data-performance .summary > div > div:nth-child(3) {
    font-size: 24px;
    align-content: center;
}

#content-environmental-aspects-data-performance .summary > div:nth-child(2) > div:nth-child(2) {
    color: #008044;
}
#content-environmental-aspects-data-performance .summary > div:nth-child(2) > div:nth-child(3) {
    color: #00b45f;
}
#content-environmental-aspects-data-performance .summary > div:nth-child(3) > div:nth-child(2) {
    color: #003b99;
}
#content-environmental-aspects-data-performance .summary > div:nth-child(3) > div:nth-child(3) {
    color: #025bea;
}
#content-environmental-aspects-data-performance .summary > div:nth-child(1) > div:nth-child(2) {
    color: #e1d500;
}
#content-environmental-aspects-data-performance .summary > div:nth-child(1) > div:nth-child(3) {
    color: #f3e708;
}
#content-environmental-aspects-data-performance .summary > div:nth-child(4) > div:nth-child(2) {
    color: #cc7400;
}
#content-environmental-aspects-data-performance .summary > div:nth-child(4) > div:nth-child(3) {
    color: #ff9100;
}

#content-environmental-aspects-data-performance .summary > div:before {
    content: "";
    position: absolute;
    right: -55px;
    top: -55px;
    width: 200px;
    height: 200px;
    display: inline-block;
    background-size: 100% 100%;
    z-index: -1;
}

#content-environmental-aspects-data-performance .summary > div:nth-child(2):before {
    background-image: url(../images/icon-emission-reduction.png);
}
#content-environmental-aspects-data-performance .summary > div:nth-child(3):before {
    background-image: url(../images/icon-energy-consumption.png);
}
#content-environmental-aspects-data-performance .summary > div:nth-child(1):before {
    background-image: url(../images/icon-clean-energy.png);
}
#content-environmental-aspects-data-performance .summary > div:nth-child(4):before {
    background-image: url(../images/icon-emission-intensity.png);
}

.cser .wp-block-group-is-layout-grid {
    gap: 16px;
    display: flex;
    transition: transform 0.4s ease;
}
.cser .wp-block-group-is-layout-grid figure {
    flex: 0 0 calc(100% / 2.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: white;
}
.cser .wp-block-group-is-layout-grid>figure>img {
    aspect-ratio: 16/9;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    width: 100%;
}

.cser [id$="overview"]>p:first-child {
    color: #D32E36;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.cser [id$="overview"] p:has(strong) {
    color: #1E293B;
    font-size: 24px;
    line-height: 32px;
}

.cser .entry-content p:has(strong) {
    color: #1E293B;
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 24px;
}
.cser [id$="data-performance"] p:has(strong):not(:first-child) {
    margin-top: 40px;
}

.cser .gallery-wrapper {
    overflow: hidden;
}

.cser .gallery-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cser .gallery-controls {
    display: flex;
    gap: 13px;
}
.cser .gallery-title #gallery-next-active,
.cser .gallery-title #gallery-prev-active {
    cursor: pointer;
}

.cser .gallery-title #gallery-next-inactive,
.cser .gallery-title #gallery-prev-inactive {
    cursor: not-allowed;
}

.cser .indicator-container {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
    justify-content: center;
}

.cser .bar {
    height: 7px;
    border-radius: 999px;
    background-color: #ccc;
    transition: all 0.3s ease;
}

.cser .bar.active {
    background-color: #D32E36;
    width: 29px;
}

.cser .bar.inactive {
    width: 7px;
}

.cser .bar.hidden {
    display: none;
}

.cser .gallery-dialog {
    border: 0;
    border-radius: 24px;
    padding: 36px;
    padding-top: 70px;
    outline: 0;
}

.cser .gallery-dialog .close {
    position: absolute;
    top: 14px;
    right: 28px;
    cursor: pointer;
}

.cser .gallery-dialog .dialog-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}
.cser .gallery-dialog .dialog-content img {
    border-radius: 8px;
}
.cser .gallery-dialog::backdrop {
    opacity: 0.8;
    background: #000;
}

@media only screen and (max-width: 767px) {
    .cser .banner {
        padding-bottom: 22px;
        height: 195px;
    }
    .cser .banner .container h1 {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 4px;
    }

    .cser .banner .container p {
        font-size: 12px;
        line-height: 18px;
        width: 100%;
    }

    .cser .menu-container,
    body.admin-bar .cser .menu-container {
        padding-top: 30px;
        padding-bottom: 25px;
        top: -30px;
    }

    .cser .menu-container .menu {
        overflow-x: scroll;
    }

    .cser .menu-container .menu .menu-item {
        padding: 10px;
        line-height: 1;
    }

    .cser .menu-container .menu .menu-item a {
        white-space: nowrap;
        font-size: 12px;
    }

    .cser .menu-container .menu::-webkit-scrollbar {
        display: none;
    }

    .cser .entry-content p {
        font-size: 12px;
        line-height: 18px;
        margin-bottom: 12px;
    }

    .cser #secondary,
    body.admin-bar .cser #secondary {
        margin-top: 0;
        top: 69.6px;
        padding-top: 12px;
        z-index: 1;
    }
    .cser #secondary .left-sidebar {
        padding: 0;
    }

    .cser #secondary .menu {
        display: none;
    }

    .cser #secondary .select2 {
        width: 100% !important;
    }

    .cser .entry-content .each-child .title {
        font-size: 16px;
        line-height: 1;
        margin-bottom: 12px;
    }
    
    #content-environmental-aspects-data-performance .summary {
        column-gap: 16px;
        row-gap: 16px;
    }
    #content-environmental-aspects-data-performance .summary:after {
        grid-column: 1/3;
        font-size: 10px;
        margin-bottom: 16px;
    }
    #content-environmental-aspects-data-performance .summary > div {
        padding: 70px 8px 16px;
        grid-template-columns: 1fr;
        margin-bottom: 0;
    }
    #content-environmental-aspects-data-performance .summary > div:before {
        right: unset;
        width: 140px;
        height: 140px;
        top: -47px;
        left: -47px;
    }
    #content-environmental-aspects-data-performance .summary > div > div:nth-child(1) {
        font-size: 12px;
        line-height: 1.2;
        margin-bottom: 16px;
        grid-column: unset;
        width: 100%;
    }
    #content-environmental-aspects-data-performance .summary > div > div:nth-child(2) {
        font-size: 20px;
        margin-bottom: 8px;
        place-content: end;
    }
    #content-environmental-aspects-data-performance .summary > div > div:nth-child(3) {
        font-size: 12px;
        place-content: start;
    }

    .cser .wp-block-group-is-layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cser .entry-content p:has(strong) {
        font-size: 16px !important;
        line-height: 24px;
        margin-bottom: 12px;
        text-align: left;
    }
    .cser [id$="data-performance"] p:has(strong):not(:first-child) {
        margin-top: 24px;
    }

    .cser .gallery-controls {
        display: none;
    }
    .cser .wp-block-group-is-layout-grid figure {
        flex: 0 0 calc(100% / 1.3);
    }
    .cser .wp-block-group-is-layout-grid {
        overflow-x: auto;
        scroll-behavior: smooth;
    }

    .cser .gallery-dialog {
        padding: 12px;
        padding-top: 36px;
        border-radius: 12px;
    }

    .cser .gallery-dialog .close {
        width: 24px;
        height: 24px;
        top: 8px;
        right: 8px;
    }
}

