/* Header */
.page-header {
    padding-top: 195px;
    padding-bottom: 127px;
}

header {
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.header-btn {
    padding-top: 10px;
    padding-bottom: 10px;
}
/* End Header */

/* Daftar Layanan */
#daftarLayanan {
    margin-top: 56px;
    position: relative;
}

.dafla-vector-top {
    position: absolute;
    top: -50px;
    left: 0;
}

.dafla-vector-bottom {
    position: absolute;
    bottom: -25px;
    right: 0;
}

.dafla-card {
    background: #FFFFFF;
    border: 1px solid #F1F1F1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    transition: var(--transition);
}

.dafla-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.dafla-card:hover h2 {
    color: var(--primary);
}

.dafla-card .card-body {
    padding: 48px 16px;
}

.dafla-card .circle-vector {
    width: 120px;
    height: 120px;
    position: absolute;
    top: -50px;
    right: -50px;
    border-radius: 50%;
}

.dafla-card .circle-vector.primary {
    background-color: var(--primary);
}

.dafla-card .circle-vector.secondary {
    background-color: var(--secondary);
}
/* End Daftar Layanan */

/* Divider */
.section-divider {
    margin-top: 56px;
    margin-bottom: 56px;
    border-color: var(--border-color);
}
/* End Divider */

/* Profil daerah */
.proda-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    object-fit: cover;
}
/* End Profil daerah */

/* Berita terbaru */
#beritaTerbaru {
    margin-top: 56px;
}

.beter-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    transition: var(--transition);
}

.beter-item:hover .beter-img {
    box-shadow: var(--shadow);
}

.beter-description {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.beter-item h3 {
    transition: var(--transition);
}

.beter-item:hover h3 {
    color: var(--primary);
}
/* End Berita terbaru */

/* Galeri Kegiatan */
#galeriKegiatan {
    margin-top: 56px;
}

.gaker-carousel .slick-slide {
    margin: 0 24px;
}

.gaker-carousel .slick-list {
    margin: 0 -24px;
}

.gaker-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.gaker-item h3 {
    transition: var(--transition);
}

.gaker-item img {
    transition: var(--transition);
}

.gaker-item:hover img {
    box-shadow: var(--shadow);
}

.gaker-item:hover h3 {
    color: var(--primary);
}

.gaker-carousel .slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--primary);
}

.gaker-carousel .slick-dots li button:before {
    font-size: 8px;
}

.gaker-carousel-btn {
    background-color: var(--white);
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    opacity: .3;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30%;
    z-index: 10;
    transition: var(--transition);
}

.gaker-carousel-btn:hover {
    opacity: 1;
}

.gaker-carousel-btn.left {
    left: -16px;
}

.gaker-carousel-btn.right {
    right: -16px;
}
/* End Galeri Kegiatan */

/* Produk binaan */
#produkBinaan {
    margin-top: 56px;
    padding-top: 48px;
    padding-bottom: 48px;
    background: #0b2ef410;
}

.probi-card {
    border-radius: var(--border-radius);
    height: 100%;
    box-shadow: var(--shadow);
}

.probi-card img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.probi-card .card-body {
    padding: 24px;
}
/* End Produk binaan */

/* Video terbaru */
#videoTerbaru {
    margin-top: 56px;
    margin-bottom: 56px;
}

.viter-overlay-container {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.viter-overlay-img {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
}

.viter-overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    background: rgba(0, 0, 0, 0.3);
}

.viter-play-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    color: var(--black) !important;
    opacity: .5;
    transition: var(--transition);
}

.viter-overlay-container:hover .viter-play-btn {
    opacity: 1;
}
/* End Video terbaru */


@media (max-width: 767.98px) {
    /* Header */
    .page-header {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    header .w-75 {
        width: 100% !important;
    }

    .header-btn {
        width: 45%;
    }

    header {
        background-position: center left;
    }

    .page-header .form-control-search {
        font-size: 16px;
        padding: 24px 12px;
    }
    /* End Header */

    /* Daftar layanan */
    .dafla-card .card-body {
        padding: 16px 8px;
    }

    .dafla-gutter {
        margin-left: -8px;
        margin-right: -8px;
    }

    .dafla-gutter > [class^="col-"],
    .dafla-gutter > [class^=" col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .dafla-card .circle-vector {
        width: 64px;
        height: 64px;
        top: -24px;
        right: -24px;
    }
    /* End Daftar layanan */

    /* Profil Daerah */
    .proda-img {
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
        margin-bottom: 32px;
    }
    /* End Profil Daerah */

    /* Berita terbaru */
    .beter-item {
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border-color);
    }

    .beter-img {
        height: 180px;
    }
    /* End Berita terbaru */

    /* Galeri Kegiatan */
    .gaker-img {
        height: 200px;
    }
    /* End Galeri Kegiatan */

    /* Produk binaan */
    .probi-card .card-body {
        padding: 16px 8px;
    }

    .probi-gutter {
        margin-left: -8px;
        margin-right: -8px;
    }

    .probi-gutter > [class^="col-"],
    .probi-gutter > [class^=" col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    /* End Produk binaan */

    /* Video terbaru */
    .viter-overlay-container {
        margin-bottom: 16px;
    }

    .viter-item {
        margin-bottom: 32px;
    }
    /* End Video terbaru */
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* Header */
    .page-header {
        padding-top: 140px;
        padding-bottom: 60px;
    }
    /* End Header */

    /* Daftar layanan */
    .dafla-gutter {
        margin-left: -8px;
        margin-right: -8px;
    }

    .dafla-gutter > [class^="col-"],
    .dafla-gutter > [class^=" col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    /* End Daftar layanan */

    /* Profil Daerah */
    .proda-img {
        height: 300px;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
        margin-bottom: 32px;
    }
    /* End Profil Daerah */

    /* Berita terbaru */
    .beter-item {
        border-bottom: 1px solid var(--border-color);
    }

    .beter-img {
        height: 180px;
    }
    /* End Berita terbaru */

    /* Produk binaan */
    .probi-card .card-body {
        padding: 16px 8px;
    }

    .probi-gutter {
        margin-left: -8px;
        margin-right: -8px;
    }

    .probi-gutter > [class^="col-"],
    .probi-gutter > [class^=" col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    /* End Produk binaan */

    /* Video terbaru */
    .viter-overlay-container {
        margin-bottom: 16px;
    }

    .viter-item {
        margin-bottom: 32px;
    }
    /* End Video terbaru */

}

@media (min-width: 992px) and (max-width: 1199.98px) {

    /* Produk binaan */
    .probi-card .card-body {
        padding: 16px 8px;
    }
    /* End Produk binaan */

}
