body{
 margin:0;
 font-family:Arial;
 background:#121212; /* background gelap */
 color:#ddd;
}

/* HEADER EVENT */
.page-header{
 text-align:center;
 padding:40px 0 20px;
}

.page-header h1{
 color:#fff;
 letter-spacing:4px;
 font-size:32px;
 margin:0;
}

/* GRID */
.grid{
 display:grid;
 grid-template-columns:repeat(3,1fr);
 gap:25px;
 padding:20px 40px;
}

/* CARD */
.card{
 background:#1e1e1e;
 border-radius:10px;
 overflow:hidden;
 box-shadow:0 10px 25px rgba(0,0,0,.6);
 transition:.3s;
}

.card:hover{
 transform:translateY(-6px);
 box-shadow:0 20px 40px rgba(0,0,0,.9);
}

/* IMAGE */
.img-box{
 position:relative;
 height:190px;
}

.img-box img{
 width:100%;
 height:100%;
 object-fit:cover;
}

/* TITLE DI GAMBAR */
.title{
 position:absolute;
 bottom:0;
 width:100%;
 padding:12px;
 background:linear-gradient(transparent, rgba(0,0,0,.85));
 color:#fff;
 font-weight:bold;
 font-size:15px;
}

/* CONTENT */
.content{
 padding:15px;
 font-size:14px;
}

.content p{
 color:#ccc;
 line-height:1.5;
}

.content a{
 display:inline-block;
 margin-top:8px;
 color:#4da3ff;
 text-decoration:none;
 font-weight:bold;
}

.content a:hover{
 text-decoration:underline;
}

.views{
 margin-top:6px;
 font-size:12px;
 color:#888;
}

/* PAGINATION */
.pagination{
 text-align:center;
 padding:30px 0;
}

.pagination a{
 margin:4px;
 padding:8px 14px;
 border-radius:4px;
 border:1px solid #333;
 color:#ccc;
 text-decoration:none;
}

.pagination a.active,
.pagination a:hover{
 background:#4da3ff;
 color:#000;
 border-color:#4da3ff;
}
/* DETAIL PAGE */
.detail-container{
 max-width:900px;
 margin:40px auto;
 padding:0 20px;
}

.detail-title{
 text-align:center;
 color:#fff;
 font-size:28px;
 line-height:1.4;
 margin-bottom:10px;
}

.detail-meta{
 text-align:center;
 font-size:12px;
 color:#aaa;
 margin-bottom:25px;
}


/* IMAGE RESPONSIVE */
.detail-image{
 width:100%;
 max-height:480px;
 overflow:hidden;
 border-radius:12px;
 box-shadow:0 15px 40px rgba(0,0,0,.7);
 margin-bottom:30px;
}

.detail-image img{
 width:100%;
 height:100%;
 object-fit:cover;
 aspect-ratio:16/9;
}

/* CONTENT */
.detail-content{
 color:#ddd;
 font-size:16px;
 line-height:1.8;
 background:#1e1e1e;
 padding:25px;
 border-radius:12px;
 box-shadow:0 10px 25px rgba(0,0,0,.6);
}
/* NAVIGATION DETAIL */
.detail-nav{
 margin:40px 0 10px;
 display:flex;
 justify-content:flex-start;
}

.btn-back{
 background:#1e1e1e;
 color:#ccc;
 padding:10px 18px;
 border-radius:6px;
 text-decoration:none;
 font-size:14px;
 box-shadow:0 6px 18px rgba(0,0,0,.6);
 transition:.3s;
}

.btn-back:hover{
 background:#4da3ff;
 color:#000;
 transform:translateY(-2px);
}
.detail-nav{
 justify-content:space-between;
}
.page-footer{
 text-align:center;
 padding:20px 0 40px;
}
.link-text{
  color: inherit;
  text-decoration: none;
}
/* =========================
   RESPONSIVE MOBILE
========================= */

/* TABLET */
@media(max-width:1024px){
 .grid{
  grid-template-columns:repeat(2,1fr);
  padding:20px;
 }

 .img-box{
  height:200px;
 }
}

/* MOBILE */
@media(max-width:768px){
 .page-header{
  padding:25px 10px 20px;
 }

 .page-header h1{
  font-size:24px;
 }

 .grid{
  grid-template-columns:1fr;
  gap:18px;
  padding:15px;
 }

 .card{
  border-radius:12px;
 }

 .img-box{
  height:220px;
 }

 .title{
  font-size:16px;
  padding:14px;
 }

 .content{
  padding:16px;
  font-size:15px;
 }

 .content p{
  line-height:1.7;
 }

 .pagination{
  padding:20px 0 10px;
 }

 .page-footer{
  padding-bottom:20px;
 }
}

/* DETAIL PAGE MOBILE */
@media(max-width:768px){
 .detail-container{
  margin:20px auto;
  padding:0 15px;
 }

 .detail-title{
  font-size:22px;
 }

 .detail-image{
  max-height:260px;
  margin-bottom:20px;
 }

 .detail-content{
  padding:18px;
  font-size:15px;
 }

 .detail-nav{
  margin-top:25px;
 }
}
/* =========================
   COMMENT SECTION
========================= */

.komen-box {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
}

.komen-nama,
.komen-text {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: #222;
  border: 1px solid #444;
  color: white;
}

.komen-btn {
  background: #00aaff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

