/* Style CSS Start */
:root {
  --primary: #b6895b;
  --bg: #242323;
}

body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #212121;
}

section{
  padding:70px 0;
}

.card,
.collection,
.modal,
.card-panel{
  border-radius:16px;
}

img{
  border-radius:12px;
  transition: .4s;
}

.material-icons{
  font-family:"Material Icons" !important;
  font-weight:normal;
  font-style:normal;
  font-size:24px;
  display:inline-block;
  line-height:1;
  text-transform:none;
  letter-spacing:normal;
  white-space:nowrap;
  direction:ltr;
}

h2{
  font-weight:400;
  margin-bottom:40px;
}

body.dark-mode {
  background: #212121;
  color: #fff;
}

main {
  flex: 1;
}

/* Font Section Start */
/* Judul Berita */
#berita h5 {
  color: #333;
  text-align: left;
  margin: 5px 0 8px;
  line-height: 1.5;
  font-weight: 700;
}

h6 {
  font-weight: 300;
}

.text p {
  font-size: 16px;
  line-height: 1.9;
  text-align: justify;
  text-indent: 30px;
  margin-bottom: 20px;
  color: #333;
  margin: 0;
  line-height: 1.9;
  }

#tanggal-berita-1,
#tanggal-berita-2,
#tanggal-berita-3,
#tanggal-berita-4 {
  margin-bottom: 30px; /* jarak ke paragraf */
}

#berita p,
#isi-berita-1 p,
#isi-berita-2 p,
#isi-berita-3 p,
#isi-berita-4 p {
  text-indent: 30px;
  font-weight: 300 !important;
  color: #333 !important;
  text-align: justify;
  margin-top: 0;
  margin: 0 0 20px;
}

/* Isi Berita */
.col.s12.m8.light p {
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: justify;
  margin-top: 15px;
}

#judul-berita-1,
#judul-berita-2,
#judul-berita-3,
#judul-berita-4 {
  font-weight: 100;
}

@media (max-width:600px){
  #berita h5 {
    font-size: 18px;
    color: #000;
  }

  #tanggal-berita-1,
  #tanggal-berita-2,
  #tanggal-berita-3,
  #tanggal-berita-4 {
  margin-bottom: 20px; /* jarak ke paragraf */
}

  #berita p,
  #isi-berita-1 p,
  #isi-berita-2 p,
  #isi-berita-3 p,
  #isi-berita-4 p {
    font-size: 15px;
    line-height: 1.8;
    font-weight: 300 !important;
  }
}
  
  .col.s12.m8.light h5 {
    font-family: 'poppins', sans-serif;
    margin: 5px 0 8px;
    font-weight: 700;
    line-height: 1.5;
  }
  
  .collection-item {
    overflow: hidden;
  }
  
  .collection-item p {
    margin: 0;
    line-height: 1.9;
  }
  /* Font Section End */

  section,
  footer {
   width: 100%;
   padding: 10px 0;
   margin: 0;
}

footer {
  margin-top: auto;
  font-size: 14px;
  line-height: 1.4;
}

.container {
  width: min(92%, 1140px);
  margin: 0 auto;
}

img:hover{
  filter:brightness(1.05);
}

/* Navbar Star */
.navbar {
  background:  rgba(1, 1, 1, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  z-index: 9999;
}

.navbar ul li a {
  font-weight: 300;
  transition: 0.3s;
}

.navbar ul li a:hover {
  color: #e27406;
}

.nav-wrapper-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible !important;
}

.navbar-brand {
  margin-top: -5px;
  margin-bottom: 10px;
}


.navbar .material-icons {
  line-height: 70px;
}

.nav-menu,
.navbar-extra {
  display: flex;
  align-items: center;
}

.nav-menu {
  gap: 10px;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.navbar-extra a,
.nav-menu li a {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search */
.search-container {
  width: 100%;
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.search-container.active {
  max-height: 80px;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 10px 15px;
}

.search-form input {
  flex: 1;
  height: 45px;
  border: 1px solid #ddd;
  padding: 0 15px;
  font-size: 16px;
}

.search-form button {
  width: 50px;
  height: 45px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.dropdown-content {
  top: 64px !important;
  max-height: none !important;
  overflow-y: visible !important;
  width: 200px !important;
}

.dropdown-content a,
.sidenav a {
  color: black !important;
  font-weight: lighter;
  z-index: 2000 !important;
}

.sidenav,
.sidenav .user-view .name {
  font-weight: lighter;
}

.sidenav li > a {
  font-size: 15px !important;
  font-weight: 300;
}

/* Progress Bar */
.navbar nav {
  border-bottom: none;
  position: relative;
}

.navbar .progress{
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1%;
  margin: 0;
  background: transparent;
}

.navbar .progress .indeterminate {
  background: #8f6240;
  animation-duration: 4s;
}

.navbar .progress .indeterminate::before {
  animation: indeterminate 4s infinite;
}

/* Dropdown Menu */
.dropdown-content {
  width: 220px !important;
}

.dropdown-content li > a {
  font-size: 14px !important;
  font-weight: 300 !important;
  height: 32px !important;
  line-height: 32px !important;
  min-height: 32px !important;
  padding: 0 12px !important;
}

.dropdown-content .divider {
  margin: 2px 0 !important;
}
/* Navbar End */

/* Slider Start */
.slider {
  position: relative;
  height: 400px !important;
  overflow: hidden;
}

.slider .slides,
.slider .slides li {
  margin: 0;
  padding: 0;
}

.slider h2,
.slider h1 {
  font-weight: bold;
  margin-bottom: 0;
}

.slider h5 {
  margin-top: 25px;
  color: #ccc;
  font-weight: 300;
}

.contact h2,
.slider h1,
.slider h2,
.slider h5,
.news h3 {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slider .caption {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.caption h3{
  font-weight:700;
  text-shadow:2px 2px 10px rgba(0,0,0,0.5);
}

.caption h5{
  font-weight:300;
}

.modal-title h6 {
  color: grey;
}

.slider .slides li img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  height: auto;
  filter: brightness(85%);
}

#sliderhero {
  margin-bottom: 0 !important;
}

#berita{
  padding-top: 10px !important;
}

#berita h2{
  margin-top: -10px !important;
  margin-bottom: 15px !important;
}
/* Slider End */

/* Populer News Start */
.hero-slider{
margin-bottom:8px !important;
}

.popular-news{
margin-top:0 !important;
}

.popular-news{
display:flex;
align-items:center;
background:#fff;
border-radius:4px;
overflow:hidden;
box-shadow:0 2px 6px rgba(0,0,0,.08);

/* Menempel dibawah hero */
margin:10px 0 15px;
}

.popular-header{
background:#f5f5f5;
padding:12px 15px;
min-width:170px;
border-right:1px solid #eee;
}

.popular-header .label{
display:flex;
align-items:center;
gap:6px;
font-weight:700;
color:#333;
white-space:nowrap;
}

.news-ticker{
flex:1;
overflow:hidden;
position:relative;
height:52px;
display:flex;
align-items:center;
}

.ticker-item{
position:absolute;
inset:0;

display:flex;
align-items:center;

padding:0 15px;

opacity:0;
transform:translateY(20px);

transition:.4s ease;
}

.ticker-item.active{
opacity:1;
transform:translateY(0);
}

.ticker-track a{
    color:#333;
    text-decoration:none;
    font-size:clamp(11px, 2.8vw, 15px);
    font-weight:500;
    transition:.3s ease;
}

.ticker-track a:hover{
    color:#e02222;
}

.ticker-track{
    display:flex;
    align-items:center;
    width:max-content;
    white-space:nowrap;
    gap:50px;
    animation:ticker 120s linear infinite;
}

/* Tombol */
.ticker-controls{
display:flex;
border-left:1px solid #eee;
}

.ticker-controls button{
width:46px;
height:52px;
border:none;
background:#fff;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
transition:.3s;
}

.ticker-controls button:hover{
background:#e02222;
color:#fff;
}

.ticker-controls i{
font-size:22px;
}

@keyframes ticker{
    from{
        transform:translateX(-50%);
    }
    to{
        transform:translateX(0);
    }
}

/* Tablet */
@media(max-width:768px){

.popular-header{
min-width:130px;
padding:12px;
}

.ticker-item a{
font-size:14px;
}

.ticker-controls button{
width:40px;
}
}

/* Mobile */
@media(max-width:600px){

.popular-news{
    display:flex;
    flex-direction:row;
    align-items:center;
}

.popular-header{
    min-width:100px;
    width:auto;
}

.news-ticker{
    flex:1;
}

.ticker-controls{
    width:auto;
}


.ticker-controls button{
width:40px;
height:48px;
}

.ticker-item{
padding:0 10px;
}

.ticker-item a{
font-size:11px;
line-height:1.4;
}

.ticker-track{
animation-duration: 250s;
}
}
/* Populer News End */


/* Slider Berita Utama Start */
.berita-slider .slides{
    overflow: hidden;
    background: transparent !important;
}

  .berita-slider{
      aspect-ratio: 1/1;
      overflow: hidden;
  }

  .berita-slider .slides,
  .berita-slider .slides li,
  .berita-slider .slides li img{
      width:100%;
      height:100% !important;
  }

  .berita-slider .slides li img{
      object-fit:cover;
  }

.square-img{
    aspect-ratio: 1/1;
    width:100%;
    object-fit:cover;
    display:block;
}

@media (max-width:600px){

  .berita-slider,
  .berita-slider .slides,
  .berita-slider .slides li{
      height:auto !important;
      min-height:unset !important;
  }

 #berita .row{
    margin-bottom: 15px !important;
  }

  /* Slider menjadi kotak */
  .berita-slider{
    height: auto !important;
    margin-bottom: 0 !important;
  }

  .berita-slider .slides{
    height: auto !important;
    background: transparent !important;
  }

  .berita-slider .slides li{
    height: auto !important;
  }

  /* Gambar 1:1 */
  .berita-slider .slides li img{
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    object-fit: cover;
    display: block;
  }

  /* Menghilangkan jarak ke preview berita */
  #berita .col.s12.m8{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Berita Slider */
.berita-slider {
    position: relative;
}

/* Container slider */
.berita-slider {
    position: relative;
    overflow: hidden;
}

/* Gambar slider */
.berita-slider .slides li img {
    position: relative;
    z-index: 1;
}

/* Slider Berita Utama End */

/* Grid, Card, Colletion */
.custom-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.compact-row {
  margin-top: 10px;
  margin-bottom: 12px;
}

.row .col {
  padding: 0 8px;
}

.col.m3.s12 h5 {
  margin-bottom: 8px;
  line-height: 1.2;
}

#show-more-btn,
.btn-small,
.btn-small.grey {
  margin-top: 5px;
  border-radius: 5px;
  background-color: #242323;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  text-transform: none;
}

.card {
  margin: 8px 0;
  transition: .3s;
}

.card-panel {
  min-height: 200px;
}

.card-panel img {
  margin: 15px 5px 0;
  vertical-align: middle;
}

.card-content h2 {
    color: #fff;
}

.card-content P {
  font-size: 13px;
}

/* Item Berita Wilayah */
.collection {
  border: none;
  margin: 0;
}

.collection .collection-item {
  padding: 18px 0;
  border-bottom: 1px solid #e0e0e0;
  overflow: visible;
  background: transparent;
}

.collection .collection-item::after {
  content: "";
  display: block;
  clear: both;
}

/* Thumbnail */
.collection-item img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  margin: 0 12px 0 0;
  float: left;
  transform: none !important;
}

.collection-item img.circle {
  transition: none !important;
}

/* Judul Berita */
.collection-item h6 {
  margin: 0 0 10px;
  line-height: 1.45;
  font-weight: 300;
}

/* Tombol */
.collection-item .btn-small {
  margin-top: 6px;
}

/* Item Hidden (5-8) */
.collection-item.item-hidden {
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Jarak antar item 5-8 seragam */
.collection-item.item-hidden + .collection-item.item-hidden {
  margin-top: 12px;
}

/* Desktop */
@media (min-width: 1200px) {

  .collection .collection-item {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .collection-item.item-hidden {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .collection-item.item-hidden + .collection-item.item-hidden {
    margin-top: 15px;
  }

  .collection-item img {
    width: 90px;
    height: 90px;
  }

  .collection-item h6 {
    line-height: 1.5;
  }
}

/* Mobile */
@media (max-width: 600px) {

  .collection .collection-item {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .collection-item img {
    width: 75px;
    height: 75px;
    margin-right: 10px;
  }

  .collection-item h6 {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .collection-item .btn-small {
    margin-top: 4px;
  }
}
/* Berita Wilayah End */

/* Kolom berita */
.berita-list{
  flex:1;
  min-width:0;
}

/* Flyer */
.flyer-box{
  width:260px;
  flex-shrink:0;
  position:sticky;
  top:80px;
  margin:30px auto 25px;
}

.flyer-box img{
  width:100%;
  display:block;
  border-radius:8px;
  background:#fff;
  padding:5px;
}

/* Desktop */
@media only screen and (min-width:993px){

  .berita-flex{
    display:flex;
    align-items:flex-start;
    gap:25px;
  }

  .berita-content{
    flex:1;
    min-width:0;
  }
}

/* Tablet */
@media only screen and (max-width:992px){

  .flyer-box{
    width:220px;
    top:70px;
  }
}

/* Mobile */
@media only screen and (max-width:600px){

  .berita-flex{
    display:block;
  }

  .flyer-box{
    width:100%;
    position:relative;
    top:auto;
    margin-top:20px;
  }

  .flyer-box img{
    max-width:320px;
    margin:0 auto;
  }
}
/* Gambar flyer End */

/* Section Pilihan */
#pilihan .modal-content p {
  font-size: 12px;
  line-height:1.8;
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
  text-align: justify;
  text-justify: inter-word;
}

/* Animation Berita Pilihan */
.pilihan-card img{
  transition:.5s;
}

.card:hover img{
  transform:scale(1.1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
}

/* Card New */
.news-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: .3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

/* Gallery Start */
.hidden {
  display: none;
}

.gallery img{
  margin-bottom:15px;
  background:#f0f0f0;
  padding:10px;
  border-radius:5px;
  transition:.4s;
}

.gallery h2,
.video {
  margin-bottom: 20px;
}

/* Animation Gallery */
.gallery img:hover{
  transform:scale(1.05);
}

.gallery .col{
  margin-bottom: 0px;
}

#wilayah .row,
#gallery .row {
    margin-bottom: 0 !important;
}

.gallery h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

#gallery-btn{
  margin-bottom: 25px;
}

#gallery {
  margin-top: 15px !important;
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
}

/* Preview Video Utama */
#video{
padding: 70px 0;
text-align: center;
}

#video h2{
margin-bottom: 0;
}

/* Preview Utama */
.preview-container{
  width: 90px;
  max-width: 1200px;
  margin: 0 auto 5px;
  aspect-ratio:16/9;
  border-radius:12px;
  overflow:hidden; 
}

.preview-container .frame{
  width:100%;
  height:100%;
  border:none;
}

/* Gallery Video */
.video-gallery{
  width:90%;
  max-width:1125px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.video-thumb{
  position:relative;
  overflow:hidden;
  border-radius:10px;
  aspect-ratio:16/9;
  background:#000;
}

.video-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.video-thumb:hover img{
  transform:scale(1.03);
}

/* Tombol Play */
.video-thumb::after {
content:"▶";
position: absolute;
top : 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 35px;
height: 35px;
border-radius: 50%;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
background: rgba(0,0,0,.6);
}

/* Deskripsi */
.video-description{
  width: 100%;
  text-align: center;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-description p{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
}

.video-description .btn-subscribe{
  margin: 0;
  background:#d40303 !important;
  color:#fff !important;
  border-radius:5px;
  padding:0 20px;
  font-weight:600;
  text-transform:none;
  transition:all .3s ease;
}

/* Tablet */
@media (max-width:992px){

.video-gallery{
grid-template-columns:repeat(2,1fr);
}
}

/* Mobile */
@media (max-width:600px){
.video-gallery{
 width:90%;
 grid-template-columns:repeat(3,1fr);
 gap:6px;
 }

.video-thumb::after{
 width:20px;
 height:20px;
 font-size:12px;
 } 
}
/* Video End */

/* Floating Button Start */
#sliderhero{
    position:relative !important;
}

.fab-inside-slider {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  border-radius: 5%;
}

.btn-floating {
  border-radius: 8px !important;
}

.buttonToTop.btn-floating {
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.fab-inside-slider ul {
    padding: 0 !important;
    margin: 0 !important;
}

.fab-inside-slider ul li {
    list-style: none !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fab-inside-slider ul li::before,
.fab-inside-slider ul li::after {
    display: none !important;
    content: none !important;
}


@media (prefers-color-scheme: dark) {
  .buttonToTop i {
    color: #fff;
  }
}

@media (min-width: 993px) {
  .buttonToTop.btn-floating {
    bottom: 50px;
  }
}
/* Floating Button End */

/* Contact & Wilayah */
.no-margin {
  margin: 0 !important;
}

#wilayah h3 {
  text-align: center;
}

#berita h2,
#berita-wilayah h2,
#pilihan h2,
#info-wilayah h2,
#gallery h2,
#video h2,
#contact h2 {
  margin-top: 20px;
  margin-bottom: 15px ;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.3;
}

#wilayah h2 {
    clear: both;
}

/* Info Wilayah */
#info-wilayah .card-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center !important;
}

#info-wilayah .card-content p{
  width:100%;
  color:#fff !important;
  font-size:12px;
  line-height:1.3;
  text-align:center !important;
  margin:0 !important;
  padding:0 !important;
}

#info-wilayah .card-content p.no-margin{
    transform: translateX(-10px);
}

.collection-item .materialboxed{
    filter: brightness(70%);
}

/* Contact */
#contact {
  background-image: url("../slider/img/parallax-background.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding-bottom: 20px !important;
  margin-bottom: 0 !important;
}

.custom-bg {
  background: url("../img/partner/card-bg.jpg") center/cover no-repeat;
}

.custom-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.custom-bg .card-content {
  position: relative;
  z-index: 2;
}

body.dark-mode #contact h2{
    color: #000 !important;
}

/* Footer Start */
section {
  width: 100%;
  margin: 0;
}

footer {
    width: 100%;
    background: rgba(1,1,1,.85);
    margin-top: auto;
    padding: 10px 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

footer h6,
footer .container h6,
footer h6 a {
    color: #fff !important;
    width: 100%;
    text-align: center !important;
    margin: 0 0 2px 0 !important;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  row-gap: 10px;
  column-gap: 12px;
}

/* Links menu footer */
.footer-links {
  flex-basis: 100%; 
  text-align: center;
  margin: 0 0 4px 0; 
  line-height: 1.5;
  font-weight: 300; 
   letter-spacing: 0.3px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 300;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 6px;
}

/* Garis pemisah */
.footer-links a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.4);
}

.footer-links a:hover {
  color: #ddd;
  text-decoration: underline;
}

/* Desktop */
@media (min-width: 993px) {
  .footer-links {
    margin-top: 0px;
    margin-bottom: 5px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .footer-links {
    margin-top: 0px;
    margin-bottom: 5px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  footer h6 {
    margin-bottom: 1px !important;
  }

  .footer-links {
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1.5;
  }
}
/* Footer End */

/* Responsive Star */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

@media (max-width: 1024px) {
  h6 {
    font-size: 1.4rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 992px) {
  .navbar {
    height: 60px;
    line-height: 60px;
  }

  .nav-wrapper-custom {
    height: 60px;
    min-height: 60px;
    padding: 0 10px;
  }

  .navbar-brand img {
    width: 42px;
    height: 42px;
  }

  .navbar .material-icons {
    line-height: 60px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  .row {
    grid-template-columns: repeat(2, 1fr);
  }

  .berita-slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .square-img {
    height: auto;
  }

  p {
    font-size: 14px;
    line-height: 1.5;
    text-indent: 30px;
    margin: 0 0 20px;
  }
}

@media (max-width: 600px) {
  .slider .caption {
    top: 95%;
    margin-top: 50px;
  }

  .slider .caption h3 {
    font-size: 2.2rem;
  }

  .slider .caption h5 {
    font-size: 1.3rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    font-weight: 700;
  }

   .slider .caption p {
    margin-bottom: 10px !important;
    line-height: 1.4;
  }

  #btn-hero {
    margin-top: 5px !important;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .col.s12,
  .card-content {
    padding-left: 0;
    padding-right: 0;
  }

  .collection-item p {
    font-size: 14px;
    line-height: 1.5;
  }

  #modal-acara p {
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 12px;
  }
}

.collection-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 2px 0;
}

.collection-item h6 {
    text-align: left;
    margin: 0 0 8px 0;
    text-align: left !important
}

.collection-item .left-align {
    text-align: left;
}

  @media only screen and (max-width: 600px) {
  #slidernews .slides li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  }
  }

  @media (max-width: 480px) {
    #gallery-btn {
      margin-bottom: 4px;
    }

    section {
      margin-top: 6px !important;
      margin-bottom: 6px !important;
    }

/* Video */
#video{
  padding: 50px 0 15px;
  text-align:center;
}

/* Gallery */
#gallery{
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  padding-top: 0 !important;
}

#video h2 {
  margin-top: 0;
  margin-bottom: 6px;
}
  }

@media (max-width: 768px) {
    .slider {
        height: auto !important;
    }

    .slider .slides li img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
    }
}

  @media only screen and (max-width: 600px) {
  #btn-hero a {
    font-size: 12px !important; 
    padding: 0 12px !important; 
    border-radius: 5px;
    font-weight: 500;
  }
}
/* Style CSS End */


/* Scroll CSS Start */
.buttonToTop{
  position:fixed;
  bottom:20px;
  right:80px;
  cursor:pointer;
  z-index:999;
  transition:all .3s ease-in-out;
}

.buttonToTop:hover {
  transform: scale(1.1);
}

.buttonToTop a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(1, 1, 1, 0.8);;
  font-family: monospace;
  font-size: 25px;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.buttonToTop a:hover {
  background-color: #b6895b;
  color: #000;
  transform: rotate(360deg);
}
/* Scroll CSS End */


/* Search CSS Start */
.search-form {
  position: absolute;
  top: 100%;
  right: 7%;
  background: #fff;
  width: 35rem;
  height: 4rem;
  display: flex;
  align-items: center;
  padding-left: 10px;
  border-radius: 5px;
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);

  transition: all .3s ease;
  z-index: 999;
}

.search-form.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form label {
  cursor: pointer;
  color: gray;
  display: flex;
  align-items: center;
  margin-left: .5rem;
  margin-right: .5rem;
}

.search-form label i {
  font-size: 24px;
}

.search-form input {
  flex: 1;
  border: none;
  outline: none;
  height: 100%;
  font-size: 14px;
  padding: 0 10px;
  box-sizing: border-box;
}

.search-box {
  height: 32px;
  padding: 5px;
  font-size: 14px;
}

#search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}

#search-button .material-icons {
  font-size: 28px;
  line-height: 1;
  position: relative;
  top: 15px;
}

/* Hasil Search */
.collection-item {
  display: block;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
}

.collection-item:hover {
  background: #f5f5f5;
}

/* Mobile */
@media (max-width: 768px) {

  .navbar {
    flex-wrap: wrap;
  }

  .navbar-extra a#search-button i {
    color: #fff;
    font-size: 25px;
  }

  .search-form {
    position: fixed;
    top: 60px;
    left: 10px;
    right: 10px;
    width: auto;
    height: 50px;

    border: 1px solid #ccc;
    border-radius: 5px;

    box-shadow: 0 4px 8px rgba(0,0,0,.25);
  }

  .search-form label {
    margin-left: 10px;
    margin-right: 10px;
  }

  .search-form input {
    font-size: 14px;
  }

}

@media (min-width: 1024px) {
  .search-box {
    height: 32px;
    font-size: 14px;
  }
}
/* Search CSS End */


/* Berita Video 30 Detik Start */
#video{
    padding:40px 0;
    background:#f5f5f5;
}

#video h2{
    margin:0 0 40px;
}

.news30-container{
    max-width:1200px;
    margin:0 auto;
    padding:0;
}

.container .news30-wrapper{
    margin-left:0;
    margin-right:0;
}

.news-content span {
    display: inline-block;
    background: grey;
    color: #fff;
    border: 1px solid #ddd;
    padding: 4px 6px;
    font-size: 12px;
    font-weight: 300;
    border-radius: 5px;
    margin-bottom: 5px;
}

/* Slider */
.news30-slider{
    display:flex;
    gap:20px;

    overflow-x:auto;
    overflow-y:hidden;

    scroll-behavior:smooth;
    scrollbar-width:none;

    padding:0;
}

.news30-slider::-webkit-scrollbar{
    display:none;
}

/* Card */
.news-card{
    flex:0 0 calc(25% - 15px);  
    min-width:calc(25% - 15px);
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition:.3s;
}

.news-card:hover{
    transform:translateY(-4px);
}

/* Video 1920x1080 (16:9) */
.news-card video{
    width:100%;
    aspect-ratio:16 / 9;
    height:auto;

    display:block;
    background:#000;

    object-fit:cover;
}

/* Konten */
.news-content{
    padding: 10px;
}

.news-content h6{
    margin:10px 0 8px;
    font-size:15px;
    font-weight:600;
    line-height:1.4;
    cursor: pointer;
}

.news-content h6 a {
    color: #000 !important;
    text-decoration: none;
}

.news-content h6 a:hover {
    color: #000 !important;
    text-decoration: underline;
}

.news-content p{
    margin:0;
    color:#666;
    font-size:13px;
    line-height:1.5;
    text-align: justify;
}

/* Tablet: 2 kolom */
@media (max-width:992px){

    #newsSlider{
        flex-wrap:wrap;      
        overflow-x:hidden;   
    }

    .news-card{
        flex:0 0 calc(50% - 10px);
        min-width:calc(50% - 10px);
    }
}

/* Mobile: 1 kolom */
@media (max-width:600px){

    #newsSlider{
        flex-direction:column;
        flex-wrap:nowrap;
    }

    .news-card{
        flex:0 0 100%;
        min-width:100%;
    }
}
/* Berita 30 Detik End */


