.__herocontainer {
    display: flex;
    min-height: 90vh;
    height: fit-content
}
.content-detail-post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}
.pop-up-img{
    width: 70%;
}

.popup-wrapper {

    max-width: 900px;
    width: 100%; 
}
@media screen and (min-width: 300px) {
    .__herocontainer {
        display: flex;
        flex-direction: column;
        min-height: 90vh;
        height: fit-content
    }

    .__heroimg {
        background: var(--herobg)no-repeat center center/cover;
        width: 100%;
        min-height: 40vh;
    }

    .__herotext {
        background: var(--herotextbg) no-repeat center center /cover;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .__herotextcontainer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 1rem 1rem 2.5rem 1rem
    }

    .__herocontainer div>.btn {
        padding: 0.3rem 1rem;
    }

    .__herotexttitle {
        font-size: 2rem;
        font-weight: 700;
        color: white;
        line-height: 1
    }

    .__herotextsubtitle {
        font-size: 1rem;
        font-weight: 500;
        color: white;
        width: auto;
        margin-bottom: 25px;
    }
    .popup-wrapper {
        width: 90vw;
    }

    .pop-up-img{
     
        width: 80%;
        max-width: 90%; 
    }
}

@media screen and (min-width:600px) {
    .__herocontainer {
        display: flex;
        flex-direction: row;
        min-height: 50vh;
        height: 100%
    }

    .__heroimg {
        background: var(--herobg)no-repeat center center/cover;
        z-index: -1;
        position: absolute;
        right: 0px;
        width: 50%;
        height: inherit;
    }

    .__herotext {
        background-image: var(--herotextbg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .__herotextcontainer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 25px
    }

    .__herotexttitle {
        font-size: 2rem;
        font-weight: 700;
        color: white;
        line-height: 1
    }

    .__herotextsubtitle {
        font-size: 1rem;
        font-weight: 500;
        color: white;
        width: 100%
    }
  .popup-wrapper {
        width: 75vw;
    }

    .pop-up-img{
        width: 50%;
    }
}

@media screen and (min-width: 1024px) {
    .__herocontainer {
        display: flex;
        flex-direction: row;
        min-height: 70vh;
        height: 100%
    }

    .__heroimg {
        background: var(--herobg)no-repeat center center/cover;
        z-index: -1;
        position: absolute;
        right: 0px;
        width: 50%;
        height: inherit;
    }

    .__herotext {
        background-image: var(--herotextbg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .__herotextcontainer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 25px 50px
    }

    .__herotexttitle {
        font-size: 3rem;
        font-weight: 700;
        color: white;
        line-height: 1
    }

    .__herotextsubtitle {
        font-size: 1.2rem;
        font-weight: 500;
        color: white;
        width: 100%
    }

    .__herotextcontainer div>.btn {
        font-size: 1.2rem;
    }
   .popup-wrapper {
        width: 60vw; 
    }

    .pop-up-img{
        width: 70%;
    }
}

@media screen and (min-width: 1280px) {
    .__herotextcontainer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 25px 100px
    }

    .__herotexttitle {
        font-size: 4rem;
        font-weight: 700;
        color: white;
        line-height: 1
    }

    .__herotextsubtitle {
        font-size: 1.5rem;
        font-weight: 500;
        color: white;
        width: 100%
    }

    .__herotextcontainer div>.btn {
        font-size: 1.5rem;
    }
    .popup-wrapper {
        width: auto; 
    }

    .pop-up-img{
        /* 30% dari lebar parent (yang sekarang dibatasi oleh max-width: 900px) */
        width: 80%;
    }
}