* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  min-width: 1100px;
}

/* =========================
   ACCOUNT WRAPPER
========================= */
.account {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}

/* Tombol MR */
.account button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  color: #fff;
  background-color : #41227A;
  line-height: 42px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.3s ease;
}
.account img{
  width: 20px;
  
}

.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%;
  background: #41227A;
  border: none;
  text-align: center;
  color: #fff;
  font-weight: 300;
  padding-top: 6px;
  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: #fff;   /* 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: #939598;
  height: 2px;
  border-radius: 2px;
  color: #000;
}

/* 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: 1000px;
  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;
  align-items: center;   
}

/* BUTTON */
.menu-btn {
  padding: 5px 5px;
  background: transparent;
  color: #aaa;
  font-size: 21px;
  border: none;
  cursor: pointer;
}

/* RESET */
/* HAMBURGER */
.hamburger {
  width: 25px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 999999;
  background: none;
  border: none;
}


/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999998;
}

/* MENU */
.slide-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 12px rgba(0,0,0,0.2);
  transition: 0.3s;
  z-index: 999999;
  overflow-y: auto;
  padding: 20px;
}

/* ACTIVE */
.slide-menu.active {
  right: 0;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* HEADER */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.menu-header ul li{
  float: left;
  list-style: none;
  padding: 2px;
  text-decoration: none;
}

.close-btn {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

/* PREMIUM */
.premium {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(to right, #f7a27a, #f1c75b);
  margin-bottom: 20px;
}

/* MENU */
.menu-list {
  list-style: none;
  padding: 0;
}
.menu-list a.user img{
  width: 25px;
}
.menu-list a.user{
  position: absolute;
  right: 14px;
  top: 18px;
}
.menu-list li {
  border-bottom: 1px solid #eee;
  color: #1E1E1E;
  font-size: 14px;
}

li:nth-child(-n+9) .menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

li:nth-child(-n+9) .menu-link {
  justify-content: flex-start;
}

/* arrow tetap kanan */
li:nth-child(-n+9) .menu-link .arrow {
  margin-left: auto;
}

li:nth-last-child(-n+3) .menu-link {
  justify-content: flex-start;
  
}

li:nth-last-child(-n+3) .menu-link a {
  margin-left: 0;
  width: auto;
  display: inline-block;
  margin-left: 10px;
}
/* SUBMENU */
.submenu {
  display: none;
  padding-left: 0;
}

.submenu a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color:  #1E1E1E;
  font-size: 14px;
}
/* container */
.has-submenu {
  position: relative;
}

.menu-link {
  display: flex;
  align-items: center;
}
.menu-link a{
  text-decoration: none;
  color: #000;
}

/* icon */
.menu-link i {
  margin-right: 10px;
}

.menu-text {
  flex: 1;             
  text-decoration: none;
  color: #000;
}

.arrow {
  width: 50px;          
  height: 50px;         
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* submenu */
.menu-link img{
  width: 20px;
}
.menu-link i{
  padding-top: 6px;
}

/* PANAH */
.arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg); /* arah bawah */
  transition: 0.3s;
  z-index: 9999;
 
}

/* saat open (muter ke atas) */
.menu-list li.open .arrow {
  transform: rotate(-135deg);
}

.menu-list li.open .submenu {
  display: block;
}

/* HAMBURGER ANIMATION */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* regional */
.regional {
  list-style: none;
  padding: 2px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom */
  gap: 5px;
}

/* Title full 1 baris */
.regional .title {
  display: flex;
  grid-column: span 3;
}
.title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.regional .title a {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

/* Item */
.regional li a {
  display: block;
  background: linear-gradient(90deg, #ed1c24 0, #ed1c24 0, #41227a 87%);
  padding: 2px 6px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  color: #fff;
  transition: 0.2s;
}

.regional li a:hover {
  background: #ff3b3b;
  color: #fff;
}

.menu-bottom {
  display: flex;
  margin-top: 20px;
  flex-direction: column;
  align-items: center;      /* center horizontal */
  justify-content: center;  /* center vertical (kalau ada tinggi) */
  text-align: center;
}
.menu-bottom p{
  color: #1E1E1E;
}
.menu-store {
  display: flex;
  gap: 10px;                
  justify-content: center;  
  align-items: center;
  margin-top: 8px;
}

.menu-store div img {
  width: 48px; 
}


/* HEADER background abu-abu */
.header {
  background: #ffffff;   /* abu-abu */
  color: white;
}

.header .container {
  display: flex !important;
}

/* search tetap normal */
.search {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

/* INI KUNCINYA */
.hamburger {
  width: 25px;
  height: 20px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 99;
  background: none;
  border: none;
}

.hamburger span {
  background: #939598;
  height: 2px;
  border-radius: 2px;
  color: #000;
}

/* scroll */
/* FULL BACKGROUND */
.menu-scroll {
  background: linear-gradient(90deg, #e82724, #41227a);
  max-width: 100%;
  padding: 0;
  margin: 0;
  
}

/* Wrapper scroll */
.menu-wrapper {
  display: flex;
  gap: 60px;
  padding: 7px 10px;
  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;
  font-weight: 600;
  position: relative;
  flex-shrink: 0;
  transition: 0.3s;
}

.menu-wrapper a:hover {
  color: #ED1C24;
}


/* HEADER */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px;
  font-weight: bold;
}

.menu-header button {
  background: none;
  border: none;
  font-size: 21px;
  cursor: pointer;
}

/* CONTENT */
.menu-content {
  padding: 15px;
}

/* TOP MENU */
.top-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.top-menu div {
  background: #f5f5f5;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.grid div {
  padding: 8px;
  background: #fafafa;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.grid div:hover {
  background: #eaeaea;
}

/* TITLE */

.menu-bottom{
  padding: 15px 0 15px 0;
  text-align: center;
}
.menu-bottom p{
  color: #1E1E1E;
  font-weight: 700;
}

.menu-store {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.menu-store img {
  width: 40px; /* sesuaikan */
  cursor: pointer;
}

/* =========================
   OVERLAY 
========================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 320px;
  height: 100%;
  background: #fff;
  padding: 20px;
  transition: 0.3s;
  overflow-y: auto;
}

/* ACTIVE STATE */
.sidebar.active {
  right: 0;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* HEADER */
.menu-header h1 {
  font-size: 32px;
}

.menu-header span {
  color: orange;
}

.menu-header p {
  font-size: 12px;
  color: gray;
}

/* PREMIUM BUTTON */
.premium-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, #f7a27a, #f1c75b);
  margin: 15px 0;
  cursor: pointer;
}

/* SECTION TITLE */
.section-title {
  margin: 15px 0;
}

.section-title span {
  color: orange;
}

/* GRID MENU */
.menu-grid {
  display: flex;
  gap: 20px;
}

.menu-grid .col {
  flex: 1;
}

.menu-grid a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
}

.menu-grid a:hover {
  color: orange;
}

/* FULL BACKGROUND */
.menu-scroll {
  background: linear-gradient(90deg, #e82724, #41227a);
  width: 100%;
}

/* Container tetap tengah */
.menu-scroll .container {
  width: 1000px;
  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 */
}

.menu-wrapper::-webkit-scrollbar {
  display: none;
}

/* Menu item */
.menu-wrapper a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  position: relative;
  flex-shrink: 0;
  transition: 0.3s;
}

.menu-wrapper a:hover {
  color: #ED1C24;
}
.regional-popup {
  position: absolute;
  display: none;  /* default hidden */
  right: 0;
  top:65px
}

.regional-popup .popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
  z-index: 999;
}

.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 */
/* ******** */

.trending-menu {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
}

.trending-menu .container {
  display: flex;
  align-items: center;
  padding: 0;
  max-width: 100%;
}

/* LOGO */
.partner-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 15px;
  border-right: 1px solid #ccc;
  flex-shrink: 0;
}

.partner-logo img {
  height: 24px;
  object-fit: contain;
}

/* WRAPPER */
.trending-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}

/* HEADER */
.trending-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 15px;
  flex-shrink: 0;
}

.trending-icon {
  width: 16px;
  height: 16px;
}

.trending-title {
  font-weight: 600;
  font-size: 14px;
  color: #e82724;
}

/* SLIDER CONTAINER */
.trending-slider-container {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* SLIDER */
.trending-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 10px; /* ⬅️ FIX UTAMA */
  min-width: max-content;
}

.trending-slider::-webkit-scrollbar {
  display: none;
}

/* ITEM */
.trending-item {
  flex: 0 0 auto;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.trending-item:not(:first-child)::before {
  content: '|';
  margin-right: 12px;
  color: #999;
}

.trending-item:hover,
.trending-item.active {
  color: #000;
}

/* BUTTON */
.trending-prev,
.trending-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background:#eee;
  border-radius: 50%;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
}

.trending-prev { left: 0; }
.trending-next { right: 0; }

/* GRADIENT */
.trending-slider-container::before,
.trending-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.trending-slider-container::before {
  left: 0;
  width: 60px;
}

.trending-slider-container::after {
  right: 0;
  width: 100px;
}

/* tontonan */
.movie{
  background: #F0F0F0;
}
.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;
}
.movie-thumb h3{
  color: #ED1C24;
  font-size: 13px;
  font-weight: bold;
}
.movie-thumb h2{
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}
.movie-thumb h2 a{
  color: #1E1E1E;
  text-decoration: none;
}
.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;
}
.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: 100px;
  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;
  gap: 20px;
  align-items: stretch;
}


/* ===== 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;
  color: #1E1E1E;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.small-news:last-child {
  border-bottom: none;
}
/* latest */
.latest .container {
  display: block; 
  gap: 20px;
}
.latest .title {
  display: flex;           
  align-items: center;     
  gap: 10px;               
}

.title h4 {
  font-size: 18px;
  font-weight: bold;
  color: #1E1E1E;
  margin: 0;
  white-space: nowrap;    
}

.title-line {
  flex-grow: 1;          
  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; 
  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-content h3 a{
  text-decoration: none;
  color: #1E1E1E;
}

.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-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: 1000px;
  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: 160px 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;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 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: 160px;
  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 h2{
  color: #1E1E1E;
  font-weight: 600;
  font-size: 15px;
  margin-top: 10px;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item h3{
  font-size: 14px;
}
.news-item a{
  text-decoration: none;
}
.news-item img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}
.content-news-ig img{
  width: 100%;
}
.content-category{
  
}
h2.market-data{
  background: #41227A;
  text-align: center;
  color: #fff;
  padding: 10px;
  font-size: 19px;
 
}
.tb-grafik{
  width: 33.33%;
}
#saham-body td{
  font-weight: 700;
  font-size: 15px;
}
.content-category table{
  
}
.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; 
  gap: 25px;
  align-items: center;
  margin-bottom: 30px;
}

#market h3 {
  margin-top:20px;
  border-bottom:2px solid #000;
}

#market div {
  margin:2px 0;
}

/* 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); 
  gap: 20px;
}

.content-category-grid .category-item img {
  width: 100%;
  height: 180px; 
  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;
}

.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%;
  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: 14px;
  font-weight: 300;
  color: #fff;
  width: 25px;  
  height: 25px;
  border-radius: 50%;
  flex-shrink: 0;    
  text-align: center;
  background: #111;
  line-height: 24px;  
}

.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;
}

.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;       
  -webkit-line-clamp: 2;      
  -webkit-box-orient: vertical;
  overflow: hidden;           
  text-overflow: ellipsis;    
  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;                  
  flex-direction: column;         
  align-items: flex-start;       
  gap: 10px;                     
}

.foot-aps h4 {
  font-size: 15px;
  font-weight: 300;
  margin: 0;
}

.foot-aps .app-store-wrapper {
  display: flex;                 
  gap: 10px;                     
}

.foot-aps .app-store img {
  height: 40px;                   
  width: auto;
  cursor: pointer;
  transition: 0.3s;
}

.foot-aps .app-store img:hover {
  transform: scale(1.05);         
}
.foot-network{
  padding: 12px 0 8px;
  background: #F2F2F2;
}
.foot-network .container{
  display: flex;
}
.foot-network ul {
  list-style: none;    
  padding: 0;
  margin: 0;
  display: flex;       
  flex-wrap: wrap;    
  gap: 20px;           
  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;
}

.yoursay{
  color: #EB5624;
}
.suarahijau{
  color: #009444;
}
.localmedia{
  color: #1C4999;
}
.liksc{
  color: #ed1c24;
}
.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;
}
.my-30{
  margin-top: 30px;
  margin-bottom: 30px;
}

.py-5{
  padding-top: 5px;
  padding-bottom: 5px;
}
.py-10{
  padding-top: 10px;
  padding-bottom: 10px;
}
.py-20{
  padding-top: 20px;
  padding-bottom: 20px;
}
.py-30{
  padding-top: 30px;
  padding-bottom: 30px;
}
.m-auto{
  margin: auto;
}
.text-center{
  text-align: center;
}
