*{
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}


body{
    padding-top: 90px;
}
/* Bagian header atas */
.header-top {
    background-color: #1F3368; /* Biru PU */
    color: white;
    font-size: 0.875rem;
    padding: 1rem 0;
}

.header-top a {
    color: white;
    text-decoration: none;
    margin-right: 0.75rem;
}

.header-top a:hover {
    color: #ffc107;
}

/* Bagian logo dan instansi */
.header-brand {
    display: flex;
    align-items: start;
}

.header-brand img {
    margin-right: 10px;
}

.header-brand .instansi {
    line-height: 1.1;
}

.header-brand .instansi div {
    font-size: 0.85rem;
    color: #f8b400; /* Kuning PU */
    font-weight: 600;
}

/* Navbar menu */
.navbar {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    font-size: 0.95rem;
}

.navbar .nav-link {
    color: #637083;
    font-weight: 500;
    /* font-weight: bold; */
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #f8b400; /* Kuning PU */
}

/* Dropdown */
.dropdown-menu {
    font-size: 0.9rem;
}

/* Icon pencarian */
.navbar .bi-search {
    font-size: 1.1rem;
}

#search-container {
    width: auto;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-form {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.search-form input {
    width: 200px;
}

#search-container.active .search-form {
    width: auto;
    opacity: 1;
}

#search-container.active a {
    margin-left: 10px;
}



.circle-icon {
    background: #FDB813;
    color: #1F3368;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    padding: 3px;
    font-weight: bold;
}

.btn-print-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1F3368; /* Biru Bootstrap */
    color: #FDB813; /* Kuning Bootstrap */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-print-icon:hover {
    background-color: #162752; /* versi gelap dari #1F3368 */
    color: #FFD43B;
}

.jumbotron{
    border-bottom: 50px solid transparent;
    border-image: url('../img/motif.png') 500 round;
}
.frosted-jumbotron {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.frosted-jumbotron::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/banner.webp');
    background-size: cover;
    background-position: center;
    filter: blur(1px) brightness(0.9); /* Blur dan sedikit gelapkan */
    transform: scale(1.05); /* Hindari blur edge */
    z-index: 0;
}

.frosted-jumbotron .container {
    position: relative;
    z-index: 1;
    color: #1F3368;
}
.text-light {
    color: #1F3368;
    /* display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    font-size: large;
    text-shadow: #333 1px 3px 5px; */
    margin-top: 10px;
    padding: 5px 10px;
    font-weight: bold;
}

.logo-bbws {
    object-fit: contain; /* atau 'scale-down' / 'none' */
    object-position: top; /* gambar tetap fokus ke bagian atas */
    display: block;
    margin-top: -200px;
}
.search-container {
    border: none;
    width: 475px;
    display: inline-block;
}
.search-container input::placeholder {
    color: #aaa;
}
.search-container .input-group .input-group-text {
    color: #637083;
}

.highlight-button {
    background-color: #f8b400;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s;
}

.highlight-button:hover {
    background-color: #FDB813;
}

.carousel {
    margin: 50px 0;
}

.carousel-2 {
    margin: 25px 0;
    position: relative;
}

.carousel-img-fixed {
    height: 500px;
    object-fit: cover;
    width: 100%;
}

/* abu-abu terang */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) saturate(100%) invert(30%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(90%);
}

.carousel-indicators{
    bottom: -50px; /* Geser indikator ke bawah */
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: gray; /* kamu bisa sesuaikan warnanya */
    border: none;
    margin: 0 4px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #1F3368; /* warna saat aktif */
}
.btn-radius-10 {
    background-color: #1F3368;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 10px;
}

.card-body{
    padding: 1.5rem 1.5rem 0 1.5rem;
}
.card-action{
    box-shadow: 0px 4px 6px -1px rgba(31,51,104,0.2);
    transition: 0.2s ease;
}
.card-action:hover {
    border: 2px solid #FDB813; 
}

.image-container-potrait {
    padding: 0 120px;
}

.image-container-potrait-full {
    padding: 0 100px;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-text{
    line-clamp: 3;

    /* Vendor-prefixed fallback (widely supported) */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #637083;
}

.image-container {
    height: 260px; /* sesuaikan tinggi gambar yang diinginkan */
    overflow: hidden;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.image-containers {
    width: 100%;/* sesuaikan tinggi gambar yang diinginkan */
    overflow: hidden;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.image-containers-2 {
    width: 100%; /* sesuaikan tinggi gambar yang diinginkan */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card-sb{
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word   
}

.rounded {
    border-radius: 1.5rem !important;
}

.video-wrapper {
    overflow: hidden;
    float: left;
    position: relative;
}
iframe {
    float: left;
}

.video-list .video-item {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background 0.2s;
    padding: 5px;
    border-radius: 10px;
}

.video-list .video-item:hover {
    background-color: #f8f9fa;
}

.video-list .video-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 10px;
}

.video-list .video-item h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

.video-list .video-item div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

  
@media (max-width: 767.98px) {
    .video-list {
      display: flex;
      overflow-x: auto;
      gap: 10px;
      padding-bottom: 10px;
    }
  
    .video-list .video-item {
      flex: 0 0 auto;
      width: 200px;
      display: flex; /* tambahkan ini */
      flex-direction: column;
      align-items: center;
      text-align: center; /* tambahan agar teks <h3> juga center */
    }
  
    .video-list .video-item img {
      width: 100%; /* supaya gambar ikut melebar sesuai card */
      height: auto;
    }
  
    .video-list h3 {
      margin-top: 8px;
      font-size: 14px;
      text-align: center; /* boleh tetap ini, tapi udah di-cover di atas */
    }
  }

#map { 
    width: 100%;
    height: 60vh; /* atau sesuaikan tingginya */
    border-radius: 10px;
    display: block;
    overflow: hidden;
}

.artikel-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem; /* opsional, biar gambar lebih rapi */
}

.card-static{
    border: 2px dashed #FDB813;
    box-shadow: 0px 4px 6px -1px rgba(31,51,104,0.2);
    transition: 0.2s ease;
}
.card-static:hover {
    border: 2px solid #FDB813;
}
  
.card-static img {
    width: 66px;
    height: 66px;
    object-fit: cover;
}
.card-layanan {
    background-color: #ffffff;
    height: 150px; /* atau sesuaikan dengan kebutuhan */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.img-layanan {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.footer-custom {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    background-color: #1F3368;
    padding: 40px 20px 20px;
}

.yellow-line{
    width: 133px; 
    border: 1px solid #FDB813;
    margin-top: -7px; 
    opacity: 1;
}

.yellow-line-2{
    width: 133px; 
    border: 1px solid #FDB813;
    margin-top: -7px; 
    opacity: 1;
}

.white-line{
    border: 0.5px solid white;
    opacity: 1;
    margin-top: 2rem;
}

.footer-bottom {
    background-color: #1F3368; /* Biru PU */
    color: white;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin-right: 0.75rem;
}

.footer-bottom a:hover {
    color: #ffc107;
}

.text-tags{
    background-color: #C1DEFC;
    color: #1F3368;
}


  
  
