body {
    position: relative;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif!important;
}

.voices .container,
.topnav .container,
.header .container,
.horizon .container,
.video .container,
.headline .container,
.fixed-top .container{
    max-width: 995px;
}

/* header */
.header{
    background: #fff;
}
span.border-head{
    border-left:3px #000 solid;
    padding-right: 10px;
    height: 41px;
    margin-top: 30px;
}
span.border-head-scroll{
    border-left:3px #000 solid;
    margin-left: -55px;
    height: 41px;
    margin-top: 30px;
}
.logo img{
    width: 90%;
}
.navbar-menu{
    float: left;
}
a.navbar-text{
    font-weight: bold;
    color: #000!important;
    font-size: 1em;
}
#navbar {
    background: #fff;
    box-shadow: 0 -6px 10px 5px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: -100px;
    width: 100%;
    display: block;
    transition: top 0.3s;
    z-index: 9;
    height: 102px;
}
.header .nav-item{
    margin-top: 40px;
} 
.topnav .nav-item{
    margin-top: 24px;
}
.topnav {
    overflow: hidden;
    position: relative;
    margin: auto;
}
.search .form-control{
    height: 40px;
}
.btn-search{
    background: #1DA1F2!important;
    border: none!important;
    color: #fff;
}
.search i{
    color: #fff;
}
/* scroll */
.logo-scroll img{
    width: 60%;
}


/* headline */
.headline{
    padding-top: 10px;
}


.headline-img img{
    padding: 0;
    width: 100%;
    height: 290px;
    border-radius: 10px;
    object-fit: cover;
}
.headline-list{
    align-content: center;
}
.headline-list h3{
    color: #1DA1F2;
    font-size: 1.2em;
}
.headline-list h1{
    color: #000;
    font-weight: bold;
    font-size: 1.5em;
}
.headline-list span{
    font-size: 14px;
    color: #9E9E9E;
}
.headline-grid{
    border-radius: 10px;
}
.headline-grid img{
    width: 100%;
    height: 180px;
    background: #eee;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 4px;
}
.headline-grid h3{
    color: #1DA1F2;
    font-size: 17px;
}
.headline-grid h2{
    color: #000;
    font-size: 18px;
    line-height: 24px;
}
.headline p{
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Menampilkan hanya 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Menambahkan ... di akhir teks */
}
.headline-grid span{
    font-size: 0.8em;
    color: #9E9E9E;
}
/* video */
.video{
    background-image: url(../images/gallery/bg-video.png);
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
}
.video h4{
    font-weight: bold;
}
.video-grid img{
    width: 100%;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 12px;
}
.video-grid .item h2{
    font-size: 16px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Menampilkan hanya 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Menambahkan ... di akhir teks */
}
.video-grid .item span{
    font-size: 0.8em;
    color:#fff;
}
.overlay{
    position: absolute;
    z-index: 9;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.overlay i{
    color: #fff;
    font-size: 3em;
}
.btn-close-video{display: none;}
.modal-content{margin-left: 10px;}
/* horizon */
.horizon h4{
    font-weight: bold;
}
.horizon-list img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}
.horizon-list h2{
    line-height: 24px;
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Menampilkan hanya 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Menambahkan ... di akhir teks */
}
.horizon-list span{
    font-size: 0.8em;
    color:#9E9E9E;
}


.voices{
    background-image: url('../images/gallery/bg-voices.png');
    background-size: cover;       /* agar gambar menutupi seluruh area */
    background-position: center;  /* posisikan di tengah */
    background-repeat: no-repeat; /* tidak diulang */
    padding: 60px 0;              /* padding atas dan bawah */
    color: white;     
}
.headline-img{
    padding: 0;
  }
.voices h2, .voices h6 {
    color: #333;
    font-weight: 600;
}

.voices .badge {
    font-size: 0.75rem;
}

.voices-active img {
    width: 100%;
    height:290px;
    border-radius: 10px;
    object-fit: cover;
}
.voices-noactive small,
.voices-active small{
    font-size:12px;
}
.voices-noactive img{
    width: 100%;
    height: 135px;
    border-radius: 10px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .voices-noactive {
      flex-direction: column;
      align-items: center;
      text-align: center;
}

.voices-noactive img {
      margin-bottom: 10px;
    }
}

/* news */
.news-detail {}
.news-detail h1{
    color: #000;
    font-weight: 600;
    font-size: 2em;
}
.news-detail img{
    width: 100%;
    height: 530px;
    border-radius: 10px;
    object-fit: cover;
}
.share-news{
    background: #f6f6f6;
    padding: 30px;
    border-left: 5px #1DA1F2 solid;
}

figure{
    background: #f6f6f6;
    
}
figure img{
    border-radius: 0!important;
}
figure span{
    display: block;
    padding: 10px!important;
    font-size: 0.9em;
}
.tagging ul{
    
}
.tagging ul li{
    list-style: none;
    float: left;
}
.heading-line {
    position: relative;
    display: inline-block; /* supaya garis ikut panjang teks */
    padding-right: 15px;   /* jarak teks ke garis */
    font-weight: bold;
}

.heading-wrap {
    display: flex;
    align-items: center;
    gap: 10px; /* jarak teks ke garis */
    margin-bottom: 20px;
}

.heading-wrap h2 {
    margin: 0;
    font-weight: 700;
    white-space: nowrap; /* supaya teks tidak terpotong */
}

.heading-line {
    flex-grow: 1;         /* garis mengikuti sisa ruang */
    height: 3px;
    background: #209444;  /* warna garis */
    border-radius: 3px;
}

.custom-pagination .page-link:hover {
    background-color: rgba(0, 123, 255, 0.1); /* Hover effect */
    text-decoration: none;
}

.custom-pagination .page-item.active .page-link {
    background-color: #1DA1F2;
    color: white;
}

  .custom-pagination .page-item.disabled .page-link {
    color: #ccc;
}

/* copyright */
.copyright{
   background: #ECEAEA;
   height: 45px;
}
.copyright p{
    font-size: 0.8em;
}

@media screen and (max-width:868px) {
    span.border-head-scroll,
    span.border-head{display: none;}
}


@media screen and (max-width:620px) {
    span.border-head-scroll,
    span.border-head{display: none;}
}

@media screen and (max-width:420px) {
    .header{position: fixed;width: 100%;z-index: 999;}
    .logo img{width: 40%;}
    .topnav{display: none!important;}
    .headline-grid img {height: 125px;}
    span.border-head-scroll,
    span.border-head{display: none;}

    .header .nav-item{margin-top: 0px;}
    
    .navbar-nav{margin-top: 20px;}
    li.nav-item:nth-child(1){
        border-top: 1px #eee solid;
    }
    li.nav-item:nth-child(2){
        border-top: 1px #eee solid;
        border-bottom: 1px #eee solid;
    }
    .nav-item:nth-child(3){
        border-bottom: 1px #eee solid;
    }
    
    .headline{padding-top: 10px;}
    .headline-img img{height: 245px;}
    .headline-list h1{font-size: 1.4em;}

    .video-grid img{height: 275px;}
    .video-grid .item h2{font-size: 1em;}

    .horizon-list img{height: 152px; }
    .horizon-list h2{font-size: 1em;}
    .banner{padding: 80px 8px 8px 8px;}

    .news-detail img{height: 220px;}

}

@media screen and (max-width:370px) {
    .header{position: fixed;width: 100%;}

    .headline-img img{height: 245px;}
    .headline-list h1{font-size: 1.4em;}

    .video-grid img{height: 275px;}
    .video-grid .item h2{font-size: 1em;}

    .horizon-list img{height: 152px; }
    .horizon-list h2{font-size: 1em;}

}

@media screen and (max-width:620px) {
   

}

.m0{
    margin: 0;
}
.p0{
    padding: 0!important;
}
.pr-10{
    padding-right: 10px;
}
.pl-10{
    padding-left: 10px;
}
.m-10{
    margin: 10px;
}
.m-20{
    margin: 10px;
}

.mt10{
    margin-top: 10px;
}
.mt20{
    margin-top: 20px;
}
.mt30{
    margin-top: 30px;
}
.mb10{
    margin-bottom: 10px;
}
.mb20{
    margin-bottom: 20px;
}
.mb30{
    margin-bottom: 30px;
}

.pt5{
    padding-top: 5px;
}
.pt10{
    padding-top: 10px;
}
.pt20{
    padding-top: 20px;
}
.pt30{
    padding-top: 30px;
}

.pb10{
    padding-bottom: 10px;
}
.pb20{
    padding-bottom: 20px;
}
.pb30{
    padding-bottom: 30px;
}