.bg-1 {
    height: 700px;
    background-image: url("../img/raja-tumpang.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.waves {
    display: block;
    width: 100%;
    height: 60px;
    max-height: 60px;
    margin: 0;
    z-index: 5;
    bottom: 0;
    position: absolute;
    left: 0px;
    float: left;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
    &:nth-child(1) {
        animation-delay: -2s;
    }
}

.parallax > use:nth-child(1) {
    animation: move-forever2 8s linear infinite;
    &:nth-child(1) {
        animation-delay: -2s;
    }
}

.parallax > use:nth-child(2) {
    animation: move-forever3 6s linear infinite;
    &:nth-child(1) {
        animation-delay: -2s;
    }
}

.parallax > use:nth-child(3) {
    animation: move-forever3 6s linear infinite;
    &:nth-child(1) {
        animation-delay: -2s;
    }
}

.parallax > use:nth-child(4) {
    animation: move-forever4 4s linear infinite;
    &:nth-child(1) {
        animation-delay: -2s;
    }
}

@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }
    100% {
        transform: translate(-90px, 0%);
    }
}
@keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }
    100% {
        transform: translate(85px, 0%);
    }
}
@keyframes move-forever3 {
    0% {
        transform: translate(85px, 0%);
    }
    100% {
        transform: translate(-90px, 0%);
    }
}
@keyframes move-forever4 {
    0% {
        transform: translate(-90px, 0%);
    }
    100% {
        transform: translate(85px, 0%);
    }
}

/*Shrinking for mobile*/

@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
}
*/ .bg-2 {
    background-image: url("../img/latar3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Menyesuaikan ukuran gambar agar menutupi elemen */
}

.responsive-maps {
    width: 700px;
    height: 450px;
}
.postingan .card {
    height: 500px;
    max-height: 500px;
    overflow: hidden;
    border: none;
}
.postingan .card-img-container {
    position: relative;
    overflow: hidden;
}
.postingan .card img {
    width: 100%;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
}

.postingan .card-img-top {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease, opacity 0.1s ease;
}

.postingan .card-img-container:hover .card-img-top {
    transform: scale(1.2);
    opacity: 0.9;
}

.postingan .card .none-file {
    padding: 20px;
}
.postingan .card .card-middle {
    padding: 2px 5px 0;
}

.postingan .card .card-body a {
    font-family: "PT Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 21px;
    line-height: 1.2;
    color: black;
}
.postingan .card .card-body .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Jumlah baris yang ditampilkan */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(6 * 10em);
}

.postingan .card .card-footer a {
    font-family: "PT Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.features .col-md-12 .owl-carousel .postingpusat {
    height: 480px !important;
    max-height: 480px !important;
}

.col-md-12 .postingpusat .card-header img {
    width: 100%;
    height: 230px;
    max-height: 230px;
}
.col-md-12 .postingpusat .card-text {
    /* overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    height: 150px; */

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(6 * 10em);
}

.postingan .card .card-body p {
    font-family: "Fira Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
}

.postingan .card .card-body {
    margin-top: -5px;
}

/* lokasi */

.location {
    position: relative;
    width: 100%; /* Full width of the parent */
    padding-bottom: 56.25%; /* This gives a 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-maps {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width of the parent */
    height: 100%; /* Full height relative to the aspect ratio */
    border: 0; /* No border */
}

/* modal iklan */
 .modal-dialog {
        max-width: 800px;
        margin: 1.75rem auto;
    }
    .img-universal-promo {
        width: 100%;      
        height: auto;    
        max-height: 80vh;  
        object-fit: contain;
        border-radius: 12px;
        display: block;
        box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    }

    .btn-close-custom {
        position: absolute;
        top: -15px;
        right: -15px;
        z-index: 1060;
        background: white;
        color: black;
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        font-size: 20px;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    @media (max-width: 576px) {
        .modal-dialog {
            max-width: 90%; 
            margin: auto;
        }
        .btn-close-custom {
            top: -10px;
            right: -10px;
        }
    }

/* Untuk perangkat Android */
@media (max-width: 768px) {
    .bg-1 {
        height: 10px !important;
        background-image: url("../img/rajatumpang-mo.jpg");
    }

    .responsive-maps {
        width: 100%; /* Menggunakan lebar penuh */
        height: 300px; /* Tinggi bisa disesuaikan */
    }
    
   
}
.linkhome {
    color: black;
}
