* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  min-width: 1100px;; /* Paksa desktop width */
}

/* =========================
   ACCOUNT WRAPPER
========================= */
.account {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}

/* Tombol MR */
.account button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: #41227A;
  color: #fff;
  line-height: 35px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.3s ease;
}

.account button:hover {
  background: #c91d1a;
}

/* =========================
   POPUP
========================= */
.account-popup {
  position: absolute;
  top: 48px;
  right: 0;
  width: 190px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

/* Arrow kecil */
.account-popup::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}

/* Aktif */
.account.active .account-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* List */
.account-popup ul {
  list-style: none;
  margin: 0;
  padding: 20px;
}

.account-popup ul li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: 0.2s;
}

.account-popup ul li a:hover {
  background: #f5f5f5;
  color: #e82724;
}
li.send-writers{
  background: #FCB11D;
  color: #fff;
}
li.send-writers a{
  background: #FCB11D;
  color: #fff!important;
}
.info-account{
  margin: auto;
  margin-top: 10px;
  width: 35px!important;
  height: 35px!important;
  border-radius: 50%;
  border: none;
  text-align: center;
  background: #41227A;
  color: #fff;
  font-weight: 300;
  line-height: 35px;
  font-size: 14px!important;
  cursor: pointer;
 
}



/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  background: #111;
  color: white;
  position: relative;
}

/* LOGO */
.logo h2 {
  font-size: 20px;
}

/* SEARCH */
.search {
  flex: 1;
  display: flex;
  justify-content: end; 
  padding-right: 12px;
}
.search input {
  width: 100%;
  max-width: 550px;
  padding: 8px 18px;
  border-radius: 25px;
  border: 1px solid #D9D9D9;
  outline: none;
}

/* HIDE CHECKBOX */
#menu-toggle {
  display: none;
}

/* HEADER background abu-abu */
.header {
  background: #555;   /* abu-abu */
  color: white;
}

/* HAMBURGER */
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  background: white;
  height: 3px;
  border-radius: 3px;
  background: #939598;
}

/* ANIMASI JADI X */
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}



/* CONTAINER */
.container {
  width: 100%;
  width: 1100px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
}

/* HEADER */
.header {
  /* background:  linear-gradient(to right, rgba(237, 28, 36, 1), rgba(65, 34, 122, 1)); */
  background: #fff;
  color: white;
  padding: 15px 0;
}
.header .container{
  display: flex;
}

/* =========================
   NAV MENU BASE
========================= */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%; /* default hidden */
  width: 280px;
  height: 100vh;
  overflow-y: scroll;
  background: #ffffff;
  padding: 52px 14px 40px;
  box-shadow: -8px 0 25px rgba(0,0,0,0.15);
  transition: right 0.4s ease;
  z-index: 1000;
}

/* Slide ketika aktif */
#menu-toggle:checked ~ .nav-menu {
  right: 0;
}

/* Menu list */
.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
}

.nav-menu li {
  border-bottom: 1px solid #f1f1f1;
}

.nav-menu a {
  display: block;
  text-decoration: none;
  color: #222;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-menu a:hover {
  color: #e82724;
  padding-left: 12px;
}

/* =========================
   OVERLAY GELAP
========================= */
#menu-toggle:checked ~ .nav-menu::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100vw - 280px);
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

/* =========================
   HAMBURGER IMPROVE
========================= */
.hamburger span {
  background: #333;
  transition: 0.3s ease;
}

/* Animasi jadi X lebih smooth */
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* MENU LIST */
.nav-menu ul {
  list-style: none;
  padding: 0 20px;
}

.nav-menu li {
  margin: 20px 0;
}

.nav-menu a {
  text-decoration: none;
  color: #41227A;
  font-size: 16px;
  transition: 0.3s;
  font-weight: bold;
}

.nav-menu a:hover {
  color: #ED1C24;
  padding-left: 5px;
}
/* =========================
   SUBMENU ACCORDION
========================= */

.has-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Panah */
.has-submenu > a::after {
  content: ">";
  font-size: 13px;
  transition: 0.3s ease;
}

/* Rotate panah saat aktif */
.has-submenu.active > a::after {
  transform: rotate(90deg);
}

/* Submenu default hidden */
.submenu {
  list-style: none;
  padding-left: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Submenu aktif */
.has-submenu.active .submenu {
  max-height: 500px;
}

/* Style submenu item */
.submenu li a {
  font-size: 14px;
  padding: 8px 0;
  display: block;
  color: #555;
  transition: 0.3s;
}

.submenu li a:hover {
  color: #e82724;
  padding-left: 8px;
}
/* FULL BACKGROUND */
.menu-scroll {
  background: linear-gradient(90deg, #e82724, #41227a);
  width: 100%;
}

/* Container tetap tengah */
.menu-scroll .container {
  width: 1100px;
  margin: auto;
  overflow: hidden;
}

/* Wrapper scroll */
.menu-wrapper {
  display: flex;
  gap: 60px;
  padding: 12px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
}

/* Hilangkan scrollbar Chrome */
.menu-wrapper::-webkit-scrollbar {
  display: none;
}

/* Menu item */
.menu-wrapper a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  position: r;
  flex-shrink: 0;
  transition: 0.3s;
}

.menu-wrapper a:hover {
  color: #ED1C24;
}
/* Popup hidden default */
.regional-popup {
  position: absolute;
  display: none;  /* default hidden */
  right: 0;
  top:65px
}

/* Konten popup */
.regional-popup .popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
  z-index: 999;
}

/* Tombol close */
.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

/* Daftar daerah */
.regional-popup ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.regional-popup ul li {
  margin: 8px 0;
}

.regional-popup ul li a {
  text-decoration: none;
  color: #1E1E1E;
  font-weight: 500;
}

.regional-popup ul li a:hover {
  color: #007BFF;
}
.trending-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Header tetap di kiri */
.trending-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.trending-icon { width: 24px; height: 24px; }
.trending-title { font-weight: 600; font-size: 16px; }

/* Slider container */
.trending-slider-container {
  position: relative;
  flex: 1;
  overflow: hidden; /* penting agar menu panjang tetap dalam container */
}

/* Slider horizontal */
.trending-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  margin-left: 26px;
}

.trending-slider::-webkit-scrollbar { display: none; }

.trending-item {
  flex: 0 0 auto;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  position: relative;
}

.trending-item:not(:first-child)::before {
  content: '|';
  margin-right: 20px;
  color: #555;
}

.trending-item.active,
.trending-item:hover {
  color: #1E1E1E;
  border-radius: 20px;
}

/* Prev/next tombol */
.trending-prev,
.trending-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #e82724, #41227a);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
}

.trending-prev { left: 0; }
.trending-next { right: 0; }

/* tontonan */
.movie .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.movie .title h4 {
  font-size: 21px;
  font-weight: bold;
  margin: 0;
}

.movie .title-line {
  flex-grow: 1;
  height: 2px;
  background-color: #ddd;
  position: relative;
}

.movie .title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: #ED1C24;
}
.movieSwiper {
  margin-top: 20px;
}

.swiper-slide {
  width: 200px !important;
}

.swiper-slide img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.movie-thumb {
  position: relative;
  width: 100%;
  cursor: pointer;
}

/* Gambar utama */
.thumb-img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Icon kanan bawah */

.movie-thumb i{
  position: absolute;
  top: 0px;
  right: -0.5px;
}
.movie-thumb .thumb-icon{
  width: auto!important;
  border-radius: 0!important;
  aspect-ratio: 0!important;
  
}
/* Container slider harus relative */
.movieSwiper {
  position: relative;
}

/* tombol default swiper */
.movieSwiper .swiper-button-next,
.movieSwiper .swiper-button-prev {
  width: 38px;
  height: 38px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

/* matikan icon bawaan */
.movieSwiper .swiper-button-next::after,
.movieSwiper .swiper-button-prev::after {
  font-size: 16px;
  color: #fff;
}

/* posisi tetap di dalam slider */
.movieSwiper .swiper-button-prev {
  left: 10px;
}

.movieSwiper .swiper-button-next {
  right: 10px;
}

/* hover */
.movieSwiper .swiper-button-next:hover,
.movieSwiper .swiper-button-prev:hover {
  background: #000;
}

/* ICON PLAY (pojok kiri bawah) */
.movie-thumb span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  opacity: 0;
  transition: 0.3s ease;
  
}

.movie-thumb span img {
  width: 40px!important;
  height: 40px!important;
  color: #fff!important;
  
}

/* Muncul saat hover */
.movie-thumb:hover span {
  opacity: 1;
  
}

/* optional efek gelap */
.movie-thumb:hover .thumb-img {
  filter: brightness(90%);
}


/* headline */
.headline-news {
  margin: 30px 0 0 0;
}

.headline-news .container {
  display: grid;
  grid-template-columns: 2fr 1fr; /* kiri besar, kanan kecil */
  gap: 20px;
  align-items: stretch; /* penting supaya tinggi sama */
}


/* ===== MAIN NEWS ===== */
.main-news a {
  text-decoration: none;
}

.main-news img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

.main-news h1 {
  color: #1E1E1E;
  font-size: 24px;
  margin-top: 6px;
}

.main-news p {
  color: #ED1C24;
  font-weight: bold;
  margin-top: 10px;
}

.main-news span {
  color: #1E1E1E;
}

span.main-divider {
  margin-left: 4px;
  font-weight: normal;
}

span.main-time {
  font-style: italic;
  font-weight: normal;
  font-size: 12px;
  margin-left: 4px;
}

/* ===== SIDE NEWS ===== */
.side-news {
  gap: 15px;
}

.small-news {
  height:115px;
  margin-bottom: 15px;
  border-bottom: 1px #8E8E93 solid;
}

.small-news a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
}

/* gambar kiri */
.small-news img {
  width: 110px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

/* teks kanan */
.small-content {
  display: flex;
  flex-direction: column;
}

.small-content h2 {
  font-size: 13px;
  color: #ED1C24;
  font-weight: bold;
}

.small-content span {
  font-weight: normal;
  color: #777;
  margin-left: 6px;
}

.small-content h3 {
  font-size: 14px;
  color: #1E1E1E;
  margin-top: 5px;
  line-height: 1.4;
}
.small-news:last-child {
  border-bottom: none;
}
/* latest */
.latest .container {
  display: block; /* gunakan block, bukan flex */
  gap: 20px;
}
.latest .title {
  display: flex;           /* flex supaya judul + garis bisa satu baris */
  align-items: center;     /* vertikal rata tengah */
  gap: 10px;               /* jarak antara garis merah dan garis abu2 */
}

.title h4 {
  font-size: 18px;
  font-weight: bold;
  color: #1E1E1E;
  margin: 0;
  white-space: nowrap;     /* jangan wrap */
}

.title-line {
  flex-grow: 1;            /* garis abu2 memanjang sampai ujung container */
  height: 2px;
  background-color: #ddd;
  position: relative;
  border-radius: 1px;
}

.title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;              /* border merah di kiri */
  height: 100%;
  background-color: #ED1C24;
  border-radius: 1px;
}
/* Container wrapper */
.latest-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr; /* kiri besar, kanan kecil */
  gap: 30px;
}

/* Judul Terkini */
.latest-news .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.latest-news .title h4 {
  font-size: 21px;
  font-weight: bold;
  margin: 0;
}

.latest-news .title-line {
  flex-grow: 1;
  height: 2px;
  background-color: #ddd;
  position: relative;
}

.latest-news .title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: #ED1C24;
}

/* Grid item */
.latest-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 kolom */
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Item */
.latest-item {
  display: flex;
  gap: 12px;
}

.latest-item img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.latest-content h2 {
  font-size: 13px;
  color: #ED1C24;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.latest-content h2 span {
  font-weight: normal;
  color: #777;
  margin-left: 6px;
}

.latest-content h3 {
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
  color: #1E1E1E;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-side {
  background: #EB5624;
  border-radius: 8px;
  padding: 20px;
}

/* Judul Yoursay */
.latest-side .title h4 {
  color: #fff;
  margin: 0 0 10px 0;
}

.latest-side .title-line {
  position: relative;
  height: 2px;
  background-color: #fff3;
  margin-bottom: 15px;
}

.latest-side .title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;              
  height: 100%;
  background-color: #FCB11D; /* border kuning */
  border-radius: 1px;
}

/* List 2 baris */
.yoursay-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.yoursay-item {
  display: flex;
  gap: 12px;
  border-radius: 8px;
}

/* Teks */
.yoursay-text p {
  margin: 0;
  font-size: 13px;
  color: #fff;
  font-weight: bold; 
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yoursay-text span{
  color: #fff;
  font-size: 12px;
}

.yoursay-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* kategori */
.category .title {
  display: flex;           
  align-items: center;     
  gap: 10px;              
}

.category .container {
  width: 1100px;
  gap: 20px;
  box-sizing: border-box;
}

/* Judul */
.category-grid {
  display: grid;
  grid-template-columns: 2fr 2fr; 
  gap: 20px;
 
}

.category-grid > .category-item.large {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 15px;
}

.category-grid > .category-item.large img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.category-grid > .category-item.large h3 {
  font-size: 16px;
  color: #1E1E1E;
  margin: 0;
}

/* Item Sekunder 3 Baris */
.category-secondary {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 15px;
}
.category-secondary .category-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: start;
  border-bottom: 1px #DEDEDE solid;
}

.category-secondary .category-item:last-child {
    border-bottom: none;
}

.category-secondary .category-item img {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.category-secondary .category-item h4 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 14px;
}

/* menit tepat di bawah judul */
.category-secondary .category-item span {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  color: #777;
}

.category-secondary .category-item img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.category-secondary .category-item h4,
.category-secondary .category-item span {
  margin-left: 0;
}

/* content */

.content .container {
  display: grid;
  grid-template-columns: 1fr 300px; 
  gap: 30px;
  align-items: start;
}

/* KIRI: news grid */
.content-news {
  
}
.content-news-partner{
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px;
  margin-bottom: 20px; 
}

.news-item {
  align-items: center;
  justify-content: center;
}
.news-item img{
  width: 100%;
}
.content-news-ig img{
  width: 100%;
}
.content-category{
  
}
.content-category .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.content-category .title h4 {
  font-size: 21px;
  font-weight: bold;
  margin: 0;
}

.content-category .title-line {
  flex-grow: 1;
  height: 2px;
  background-color: #ddd;
  position: relative;
}

.content-category .title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: #ED1C24;
}
.category-featured {
  display: grid;
  grid-template-columns: 300px 1fr;
  column-gap: 20px;
  row-gap: 10px;
  margin-bottom: 30px;
}

.category-featured {
  display: grid;
  grid-template-columns: 350px 1fr; /* kiri fix, kanan fleksibel */
  gap: 25px;
  align-items: center;
  margin-bottom: 30px;
}

/* Gambar kiri */
.featured-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Text kanan */
.featured-content h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #ED1C24;
}

.featured-content h2 {
  margin: 0 0 10px 0;
  font-size: 19px;
  line-height: 1.3;
}

.featured-content span {
  font-size: 13px;
  color: #777;
}
.content-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom sama rata */
  gap: 20px;
}

.content-category-grid .category-item img {
  width: 100%;
  height: 180px; /* biar sama tinggi */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.content-category-grid .category-item h3{
  font-size: 13px;
  margin-top: 10px;
  color:#ED1C24;
}
.content-category-grid .category-item span{
  font-size: 13px;
  color:#555558;
  font-weight: normal;
}
.content-category-grid .category-item h2{
  font-size: 18px;
  font-weight: bold; 
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* suara mereka */
.content-section .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.content-section .title h4 {
  font-size: 21px;
  font-weight: bold;
  margin: 0;
}

.content-section .title-line {
  flex-grow: 1;
  height: 2px;
  background-color: #ddd;
  position: relative;
}

.content-section .title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: #ED1C24;
}
/* Bungkus item dalam grid */
.content-section-item {
  background: #fff;
}

.content-section {
  margin-top: 30px;
}

.content-section-item {
  width: calc(33.333% - 17px);
  float: left;
  margin-right: 25px;
  margin-top: 20px;
}

.content-section-item:nth-child(4),
.content-section-item:nth-child(7),
.content-section-item:nth-child(10) {
  margin-right: 0;
}

/* Clear float setelah item */
.content-section::after {
  content: "";
  display: block;
  clear: both;
}

/* Styling isi */
.content-section-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.content-section-item h3 {
  font-size: 14px;
  margin: 0 0 8px 0;
  color: #1E1E1E;
}

.content-section-item h2 {
  font-size: 18px;
  margin: 0;
  line-height: 1.4;
   display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-section-item h2 a{
  color: #1E1E1E;
  text-decoration: none;
}
.content-community{
  padding: 20px;
  background: #ddf0e9;
  border-radius: 6px;
}
.content-community .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.content-community .title h4 {
  font-size: 21px;
  font-weight: bold;
  margin: 0;
}

.content-community .title-line {
  flex-grow: 1;
  height: 2px;
  background-color: #fff;
  position: relative;
}

.content-community .title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: #3DB54A;
}
/* Grid khusus item saja */
/* Grid utama 2 kolom untuk community */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Item horizontal: image kiri, text kanan */
.community-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 15px;
  align-items: center;
}

/* Image */
.community-item img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

/* Text kanan (judul + menit) */
.community-text h3 {
  margin: 0 0 5px 0;
  font-size: 16px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-text span {
  font-size: 13px;
  color: #777;
}
/* Sidebar utama */
.content-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Banner */
.content-side > img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* Side category container */
.side-category {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Tiap berita di sidebar */
.side-category-news {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.news-number {
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  width: 25px;  
  height: 25px;
  border-radius: 50%;
  flex-shrink: 0;    
  text-align: center;
  background: #111;
  line-height: 1.3;  
}

.news-content {
  flex: 1;          
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;     
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.6;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
span.news-category{
  color: #ED1C24;
  font-weight: bold;
  font-size: 13px;
}

.news-meta {
  font-size: 12px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-comments img {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 3px;
}

/* liks */
.liks{
  background: #333333;
  padding: 15px;
}
.liks .title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.liks .title h4 {
  font-size: 21px;
  font-weight: bold;
  margin: 0;
  color: #fff;
}

.liks .title-line {
  flex-grow: 1;
  height: 2px;
  background-color: #fff;
  position: relative;
}

.liks .title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: #ED1C24;
}
/* Wrapper Liks */
.liks {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Judul section */
.liks .title h4 {
  font-size: 16px;
  margin: 0;
}

.liks .title-line {
  width: 40px;
  height: 3px;
  background-color: #1E1E1E;
  margin-top: 5px;
}

/* Satu item berita */
.liks-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Gambar berita */
.liks-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Kategori */
.liks-category {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

/* Judul berita */
.liks-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: #fff;
}

/* detail news */
.breadcrumb {
  padding: 0;
  font-size: 14px;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  color: #777;
}

/* Separator */
.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #bbb;
}

.breadcrumb a {
  text-decoration: none;
  color: #555;
  transition: 0.2s;
}

.breadcrumb a:hover {
  color: #e82724;
}
.detail-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

/* =========================
   LEFT CONTENT
========================= */
.detail-content {
  flex: 1;
}

.article-image img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
}
.article-image h1{
  font-size: 30px;
}
.article-image h3{
  font-size: 14px;
  color: #555558;
}
.article-image span{
  color: #555558;
  font-size: 13px;
}

.share-article ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px; 
  padding: 0;
  margin: 0;
}
.share-bottom{
  background: #F6F6F6;
  padding: 10px;
  border-radius: 6px;
}
.share-article h4{
  float: left;
  margin-right: 10px;
  padding-top: 4px;
}

.share-article li {
  display: inline-block;
}

.share-article a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f5f5f5;
  border-radius: 50%;
  transition: 0.3s ease;
}

.share-article img {
  width: 30px;
  height: 30px;
}
/* =========================
   10 DETIK NEWS LIST
========================= */
.ten-second {
  background: #F6F6F6;
  display: flex;
  gap: 20px;
  padding: 30px;
  height: 150px;
  align-items: flex-start;
}

/* Gambar kiri */
.ten-second .thumb {
  flex-shrink: 0;
  border-right: 1px #CFCFCF solid;
}

.ten-second .thumb img {
  width: 80%;
  border-radius: 6px;
  object-fit: cover;
}

figure img{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

/* Judul kanan */
.ten-second ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.ten-second ul li {
  margin-bottom: 10px;
}

.ten-second ul li a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  transition: 0.3s;
}

.ten-second ul li a:hover {
  color: #e82724;
}



.article-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #333;
}

/* Share */
.article-share {
  margin-top: 25px;
}

.article-share a {
  margin-right: 12px;
  text-decoration: none;
  color: #e82724;
  font-weight: 500;
}

/* Tags */

.article-tags .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.article-tags .title h4 {
  font-size: 21px;
  font-weight: bold;
  margin: 0;
}

.article-tags .title-line {
  flex-grow: 1;
  height: 2px;
  background-color: #ddd;
  position: relative;
}

.article-tags .title-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background-color: #ED1C24;
}
.article-tags {
  margin-top: 20px;
  background: #F6F6F6;
  border-radius: 6px;
  padding: 20px;
}

.article-tags a {
  display: inline-block;
  background: linear-gradient(90deg, #e82724, #41227a);
  padding: 6px 12px;
  margin: 5px 5px 0 0;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
}

/* Related */
.related-news {
  margin-top: 40px;
}

.related-news h4 {
  margin-bottom: 15px;
  border-bottom: 2px solid #e82724;
  padding-bottom: 6px;
}

.related-item {
  margin-bottom: 10px;
  font-size: 14px;
}


.article-read {
  background: #F6F6F6;
  display: flex;
  gap: 20px;
  padding: 30px;
  height: 150px;
  align-items: center;
}
.article-read p{
  margin: 0;
  color: #e82724;
}

/* Gambar kiri */
.article-read .thumb {
  flex-shrink: 0;
  border-right: 1px #CFCFCF solid;
}

.article-read .thumb img {
  width: 80%;
  border-radius: 6px;
  object-fit: cover;
}

.article-read ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.article-read ul li {
  margin-bottom: 10px;
}

.article-read ul li a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  transition: 0.3s;
}

.article-read ul li a:hover {
  color: #e82724;
}

/* =========================
   RIGHT SIDEBAR
========================= */
.detail-side {
  flex-shrink: 0;
  width: 300px;
}

.sidebar-banner img {
  width: 100%;
  margin-bottom: 25px;
}

.sidebar-popular{
  background: #f8f8f8;
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 6px;
}
.sidebar-popular h2{
  font-size: 18px;
}
.popular-item{
  font-size: 14px;
  margin-bottom: 10px;
}
.sidebar-popular h2 i img {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;    /* ikon sejajar tengah teks */
}
.sidebar-popular ul li{
  list-style: none;
  border-bottom: 1px #ddd solid;
  padding: 10px 5px 0 0;
}
.sidebar-popular li a{
  text-decoration: none;
}
.sidebar-popular li h3{
   display: -webkit-box;       /* mode box untuk line clamp */
  -webkit-line-clamp: 2;      /* maksimal 2 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;           /* sembunyikan teks berlebih */
  text-overflow: ellipsis;    /* tambahkan titik-titik */
  line-height: 1.4;
  font-size: 14px;
  font-weight: bold;
  color: #1E1E1E;
}
.sidebar-popular li span{
  font-size: 13px;
  font-weight: bold;
  color: #ED1C24;
 
}
.sidebar-popular li span i{
  font-weight: normal;
  color: #555558;
  font-size: 12px;
}


/* Waktu berita */
.liks-time {
  font-size: 12px;
  color: #999;
}

/* ===== ARTICLE KANAL ===== */

.article-kanal-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.article-kanal-item {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: 0.3s;
}

.article-kanal-item:hover h3 {
  color: #d60000;
}

.article-kanal-item img {
  width: 250px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.article-kanal-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-kanal-info h4 {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #d60000 ;
}

.article-kanal-info span {
  font-size: 13px;
  color: #777;
  font-weight: 300;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  color: #333;
  transition: all 0.3s ease;
}

/* Hover */
.pagination a:hover {
  background: linear-gradient(90deg, #e82724, #41227a);
  color: #fff;
}

/* Active Page */
.pagination .active {
  background: linear-gradient(90deg, #e82724, #41227a);
  color: #fff;
}

/* Arrow */
.pagination .page-arrow {
  font-size: 16px;
}

/* Disabled */
.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.foot-info {
  background: linear-gradient(90deg, #e82724, #41227a);
  padding: 50px 0 50px;
  color: #fff;
}

.foot-info .container {
  display: block;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* tengah lebih besar */
  gap: 40px;
}

.foot-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
}
.foot-logo{
  border-right: 1px #FFFFFF solid;
}
.foot-col {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 kolom */
  gap: 2px;
  border-right: 1px #FFFFFF solid;
}

.foot-col h4 {
  grid-column: 1 / -1; /* supaya judul tetap full lebar */
}
.foot-col ul li{
  color: #fff;
  list-style: none;
  text-decoration: none;
}
.foot-col ul li a{
  color: #fff;
  line-height: 1.8;
  font-size: 14px;
  text-decoration: none;
}
.foot-aps {
  display: flex;                  /* horizontal */
  flex-direction: column;         /* default kolom untuk judul + tombol */
  align-items: flex-start;        /* posisi kiri */
  gap: 10px;                      /* jarak antara judul dan tombol */
}

.foot-aps h4 {
  font-size: 15px;
  font-weight: 300;
  margin: 0;
}

.foot-aps .app-store-wrapper {
  display: flex;                  /* horizontal untuk tombol */
  gap: 10px;                      /* jarak antar icon */
}

.foot-aps .app-store img {
  height: 40px;                   /* tinggi icon */
  width: auto;
  cursor: pointer;
  transition: 0.3s;
}

.foot-aps .app-store img:hover {
  transform: scale(1.05);         /* efek hover */
}
.foot-network{
  padding: 12px 0 8px;
  background: #F2F2F2;
}
.foot-network .container{
  display: flex;
}
.foot-network ul {
  list-style: none;     /* hilangkan dot */
  padding: 0;
  margin: 0;
  display: flex;        /* bikin horizontal */
  flex-wrap: wrap;      /* kalau kepanjangan turun ke bawah */
  gap: 20px;            /* jarak antar logo */
  align-items: center;
}

.foot-network ul li {
  margin: 0;            /* reset default */
}


.foot-network ul li a {
  display: inline-block;
}

.foot-network ul li img {
  width: 25px!important;
  height: 25px!important;
  object-fit: contain;
  transition: 0.3s ease;
}

.foot-network ul li img:hover {
  opacity: 0.7;
}

/* footer */
.footer{
  text-align: center;
}
.footer p{
  font-size: 14px;
}

.mt-10{
  margin-top:10px;
}
.mt-20{
  margin-top:20px;
}
.mt-30{
  margin-top: 30px;
  margin-bottom: 3px;
}

.mb-10{
  margin-bottom: 10px!important;
}
.mb-30{
  margin-bottom: 30px!important;
}

.my-10{
  margin-top: 10px;
  margin-bottom: 10px;
}

.py-5{
  padding-top: 5px;
  padding-bottom: 5px;
}
.py-10{
  padding-top: 10px;
  padding-bottom: 10px;
}
.m-auto{
  margin: auto;
}
.text-center{
  text-align: center;
}