/**
* Deskripsi : Stylesheet utama untuk portal berita Equator
* Author : Wilianto
* Github : wilianto11
* Version : 1.0.0
*/

/* ===== DEKLARASI FONT ===== */
/* Regular / Roman */
@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueRoman.otf') format('opentype');
font-weight: 400;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueItalic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueLight.otf') format('opentype');
font-weight: 300;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueLightItalic.otf') format('opentype');
font-weight: 300;
font-style: italic;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueMedium.otf') format('opentype');
font-weight: 500;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueMediumItalic.otf') format('opentype');
font-weight: 500;
font-style: italic;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueBold.otf') format('opentype');
font-weight: 600;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueBoldItalic.otf') format('opentype');
font-weight: 600;
font-style: italic;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueHeavy.otf') format('opentype');
font-weight: 800;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueHeavyItalic.otf') format('opentype');
font-weight: 800;
font-style: italic;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueBlack.otf') format('opentype');
font-weight: 900;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueBlackItalic.otf') format('opentype');
font-weight: 900;
font-style: italic;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueThin.otf') format('opentype');
font-weight: 100;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueThinItalic.otf') format('opentype');
font-weight: 100;
font-style: italic;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueUltraLight.otf') format('opentype');
font-weight: 200;
font-style: normal;
font-display: swap;
}


@font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/helvetica-neue/HelveticaNeueUltraLightItalic.otf') format('opentype');
font-weight: 200;
font-style: italic;
font-display: swap;
}

/* @font-face {
font-family: 'Helvetica Neue';
src: url('../fonts/MNC-Sans-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
font-display: swap;
} */

/* ===== VARIABEL ROOT (WARNA & UTILITAS) ===== */
:root {
--color-primary: #d80808; /* Merah utama untuk brand */
--color-secondary: #b00606; /* Merah gelap sebagai aksen sekunder */
--color-primary-light: #ff4d4d; /* Merah terang untuk efek hover */
--color-primary-dark: #8b0000; /* Merah sangat gelap */
--color-dark: #2d2d2d; /* Warna teks utama */
--color-light: #ffffff; /* Warna latar terang */
--color-gray: #777777; /* Warna teks sekunder */
--color-light-gray: #f5f5f5; /* Warna latar abu-abu muda */
--color-border: #e0e0e0; /* Warna border */
--color-danger: #cd1723; /* Warna untuk notifikasi bahaya/breaking news */
--color-bg-light: #fff5f5; /* Latar merah sangat muda */
--color-footer-bg: #1a1a1a; /* Latar footer gelap */
--border-radius: 8px; /* Radius border standar */
--box-shadow: 0 2px 8px rgba(216, 8, 8, 0.1); /* Bayangan halus */
--box-shadow-lg: 0 5px 15px rgba(216, 8, 8, 0.15); /* Bayangan besar */
--transition: all 0.3s ease; /* Transisi standar */
}

/* ===== RESET & DASAR ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: "Helvetica Neue", Arial, sans-serif;
color: var(--color-dark);
background-color: var(--color-light);
line-height: 1.5;
overflow-x: hidden;
}

a {
text-decoration: none;
color: inherit;
transition: var(--transition);
}

img {
max-width: 100%;
height: auto;
display: block;
}

.container {
max-width: 1056px;
margin: 0 auto;
padding: 0 5px;
}

.visually-hidden {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

/* ===== RUANG IKLAN ===== */
.ad-space-wrap {
display: none;
width: 100%;
background: var(--color-light-gray);
border-bottom: 1px solid var(--color-border);
}

.ad-space-wrap.active {
display: block;
}

.ad-space-mobile {
width: 100%;
display: flex;
justify-content: center;
padding: 4px 10%;
}

.ad-banner-vertical {
width: 300px;
height: 490px;
background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
border-radius: 8px;
border: 1px solid var(--color-border);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: var(--transition);
}

.ad-banner-vertical:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.ad-label {
position: absolute;
top: 10px;
font-size: 10px;
color: #999;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 500;
}

.ad-content {
color: var(--color-gray);
font-size: 14px;
text-align: center;
/* padding: 20px; */
display: flex;
align-items: center;
justify-content: center;
height: 100%;
flex-direction: column;
/* gap: 10px; */
}

/* .ad-content::before {
content: "300×490";
display: block;
font-size: 24px;
font-weight: bold;
color: var(--color-primary);
} */

/* Slot Iklan Header */
.ad-slot-header {
background: var(--color-light);
/* border: 1px dashed var(--color-border); */
border-radius: 8px;
margin: 15px auto;
max-width: 1200px;
padding: 12px;
position: relative;
transition: var(--transition);
}

.ad-slot-header:hover {
border-color: var(--color-primary);
box-shadow: 0 4px 12px rgba(216, 8, 8, 0.1);
transform: translateY(-2px);
}

.ad-container {
display: flex;
align-items: center;
justify-content: center;
min-height: 90px;
position: relative;
/*padding: 10px;*/
}

.ad-header-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
color: var(--color-gray);
/* gap: 8px;
padding: 20px; */
}

.ad-text {
font-size: 24px;
font-weight: 600;
color: var(--color-primary);
display: flex;
align-items: center;
gap: 8px;
}

.ad-desc {
font-size: 13px;
color: var(--color-gray);
max-width: 300px;
}

/* ===== STICKY HEADER WRAPPER ===== */
.site-sticky {
position: sticky;
top: 0;
z-index: 999;
background: #fff;
}

.site-sticky.is-stuck {
box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ===== HEADER UTAMA ===== */
.header {
background-color: var(--color-light);
/* border-bottom: 1px solid var(--color-border); */
padding: 12px 0;
position: relative;
}

.header-container {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 15px;
position: relative;
}

/* TV Logo di kiri */
.tv-logo {
flex: 0 0 auto;
order: 1;
}

.tv-logo img {
height: 29px;
width: auto;
display: block;
}

/* Logo Utama di tengah */
/* .logo {
flex: 0 0 auto;
order: 2;
} */

.logo {
position: absolute;
left: 50%;
transform: translateX(-50%);
}

.logo {
z-index: 5;
}

.logo img {
height: 42px;
width: auto;
}

/* Form Pencarian di kanan logo */
.search-form {
display: flex;
position: relative;
flex: 1;
max-width: 200px;
margin: 0 15px;
order: 3;
}

.search-form input {
width: 100%;
padding: 10px 45px 10px 15px;
border: 1px solid #ddd;
font-size: 14px;
transition: var(--transition);
}

.search-form input:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 0 2px rgba(216, 8, 8, 0.1);
}

.search-form button {
position: absolute;
right: 0;
top: 0;
height: 100%;
width: 45px;
background: transparent;
border: none;
border-radius: 0 20px 20px 0;
color: var(--color-gray);
cursor: pointer;
transition: var(--transition);
}

.search-form button:hover {
color: var(--color-primary);
}

/* Menu Kanan (Mobile) */
.right-menu {
display: none;
align-items: center;
gap: 15px;
flex: 0 0 auto;
order: 4;
}

.search-icon-mobile {
display: none;
font-size: 26px;
color: var(--color-dark);
cursor: pointer;
background: none;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
align-items: center;
justify-content: center;
transition: var(--transition);
}

.search-icon-mobile:hover {
background: var(--color-light-gray);
color: var(--color-primary);
}

.login-btn {
background: var(--color-primary);
color: var(--color-light);
padding: 8px 15px;
border-radius: 4px;
font-size: 14px;
white-space: nowrap;
transition: var(--transition);
border: 1px solid var(--color-primary);
}

.login-btn:hover {
background: var(--color-primary-dark);
border-color: var(--color-primary-dark);
}

.menu-toggle {
font-size: 26px;
cursor: pointer;
color: var(--color-dark);
display: none;
transition: var(--transition);
}

.menu-toggle:hover {
color: var(--color-primary);
}

/* Toggle Mode (Terang/Gelap) */
.mode-toggle {
display: flex;
gap: 5px;
}

.mode-toggle button {
background: none;
border: none;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: var(--color-dark);
background: var(--color-light-gray);
transition: var(--transition);
}

.mode-toggle button:hover {
background: var(--color-primary);
color: var(--color-light);
}

/* ===== NAVIGASI UTAMA ===== */
.main-nav {
background-color: var(--color-primary);
position: relative;
}

.nav-links {
display: flex;
list-style: none;
flex-wrap: wrap;
margin: 0 -5px;
}

.nav-links li {
position: relative;
}

.nav-links a {
display: block;
padding: 10px 15px;
color: var(--color-light);
font-size: 19px;
font-weight: 500;
transition: color 0.3s ease;
white-space: nowrap;
position: relative;
}

/* Efek garis bawah */
.nav-links a::after {
content: "";
position: absolute;
left: 15px;
right: 15px;
bottom: 8px;
height: 2px;
background-color: var(--color-light);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}


.nav-links a:hover::after,
.nav-links a.active::after {
transform: scaleX(1);
}

/* Sub-navigasi (dropdown) */
.sub-nav {
display: none;
list-style: none;
margin: 0;
padding: 8px 0;
gap: 20px;
background: var(--color-primary);
border-top: 1px solid rgba(255,255,255,.15);
flex-wrap: wrap;
}

.sub-nav.active {
display: flex;
}

.sub-nav li a {
padding: 6px 12px;
font-size: 14px;
color: var(--color-light);
white-space: nowrap;
position: relative;
}

.sub-nav a::after {
content: "";
position: absolute;
left: 12px;
right: 12px;
bottom: 2px;
height: 2px;
background: var(--color-light);
transform: scaleX(0);
transition: transform .3s ease;
}

.sub-nav a:hover::after,
.sub-nav a.active::after {
transform: scaleX(1);
}



/* ===== HEADER STICKY (FIXED SAAT SCROLL) ===== */
.sticky-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: var(--color-primary);
z-index: 1000;
padding: 8px 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transform: translateY(-100%);
transition: transform 0.3s ease;
}

.sticky-header.active {
transform: translateY(0);
}

.sticky-container {
max-width: 1056px;
margin: 0 auto;
padding: 0 5px;
display: flex;
flex-direction: column;
gap: 8px;
}

.sticky-top-row {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}

.sticky-header .sticky-logo {
flex: 1;
display: flex;
align-items: center;
}

.sticky-header .sticky-logo img {
height: 28px;
width: auto;
filter: brightness(0) invert(1);
}

.sticky-icons {
display: flex;
align-items: center;
gap: 15px;
}

.sticky-search-btn,
.sticky-hamburger {
background: transparent;
border: none;
color: var(--color-light);
font-size: 18px;
cursor: pointer;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: var(--transition);
}

.sticky-search-btn:hover,
.sticky-hamburger:hover {
background: rgba(255, 255, 255, 0.1);
}

.sticky-nav-mobile {
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}

.sticky-nav-mobile::-webkit-scrollbar {
display: none;
}

.sticky-mobile-links {
display: flex;
list-style: none;
margin: 0;
padding: 0;
min-width: max-content;
gap: 5px;
}

.sticky-mobile-links a {
display: block;
padding: 8px 12px;
color: var(--color-light);
font-size: 16px;
font-weight: 500;
white-space: nowrap;
border-radius: 0;
transition: color 0.3s ease;
position: relative;
}

.sticky-mobile-links a::after {
content: "";
position: absolute;
left: 12px;
right: 12px;
bottom: 2px;
height: 2px;
background-color: var(--color-light);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}

.sticky-mobile-links a:hover::after,
.sticky-mobile-links a.active::after {
transform: scaleX(1);
}

.sticky-search-form {
width: 100%;
display: none;
}

.sticky-search-form.active {
display: block;
animation: slideDown 0.3s ease;
}

.sticky-search-form form {
position: relative;
}

.sticky-search-submit {
position: absolute;
right: 6px;
top: 50%;
transform: translateY(-50%);
width: 34px;
height: 34px;
border: none;
background: transparent;
color: var(--color-light);
cursor: pointer;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}

.sticky-search-submit:hover {
background: rgba(255, 255, 255, 0.2);
}

.sticky-search-form input {
width: 100%;
padding: 10px 15px;
border: none;
border-radius: 20px;
background: rgba(255, 255, 255, 0.1);
color: var(--color-light);
font-size: 14px;
transition: var(--transition);
}

.sticky-search-form input:focus {
background: rgba(255, 255, 255, 0.15);
outline: none;
}

.sticky-search-form input::placeholder {
color: rgba(255, 255, 255, 0.7);
}

/* Animasi Slide Down */
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* ===== NAVIGASI PORTAL ===== */
.portal-nav {
background-color: var(--color-bg-light);
border-bottom: 1px solid #ddd;
padding: 5px 0;
display: none;
overflow: hidden;
}

.portal-nav.active {
display: block;
}

.portal-container {
display: flex;
align-items: center;
gap: 12px;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}

.portal-container::-webkit-scrollbar {
display: none;
}

.portal-title {
font-size: 13px;
color: var(--color-gray);
white-space: nowrap;
flex-shrink: 0;
}

.portal-links {
display: none;
list-style: none;
gap: 18px;
flex-wrap: nowrap;
padding-right: 12px;
width: max-content;
min-width: max-content;
}

.portal-links.active {
display: flex;
}

.portal-links a {
color: var(--color-primary);
font-size: 13px;
white-space: nowrap;
font-weight: 500;
transition: color 0.2s ease;
}

.portal-links a:hover {
color: var(--color-primary-dark);
text-decoration: underline;
}

/* ===== BREAKING NEWS ===== */
.breaking-news {
background-color: var(--color-danger);
color: var(--color-light);
padding: 12px 0;
margin: 15px auto;
max-width: 1200px;
}

.breaking-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 15px;
gap: 15px;
}

.breaking-text {
flex: 1;
font-size: 14px;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.breaking-more {
color: var(--color-light);
font-size: 13px;
display: flex;
align-items: center;
gap: 5px;
white-space: nowrap;
transition: var(--transition);
}

.breaking-more:hover {
opacity: 0.9;
}

/* ===== BAGIAN HEADLINE ===== */
.headline-section {
margin: 20px 0;
}

.headline-container {
display: grid;
grid-template-columns: 330px 1fr;
grid-auto-rows: min-content;
gap: 15px;
}

.headline-item {
background: var(--color-light);
overflow: visible; /* Diubah dari hidden ke visible agar card bisa keluar */
transition: var(--transition);
position: relative; /* Untuk positioning content */
}

.headline-item.large {
grid-column: 2 / 3;
grid-row: 1 / span 3;
}

.headline-item:not(.large) {
grid-column: 1 / 2;
}

.headline-item.small img {
display: block;
}

.headline-item img {
width: 100%;
object-fit: cover;
transition: var(--transition);
display: block;
}

.headline-item:hover img {
transform: scale(1.02);
}

.headline-item.large img {
height: 360px;
}

.headline-item.small img {
width: 120px;
height: 90px;
object-fit: cover;
flex-shrink: 0;
}

/* ===== SMALL HEADLINE HORIZONTAL ===== */
.headline-item.small {
display: flex;
gap: 12px;
align-items: flex-start;
}


.headline-content {
position: relative;
background: white;
padding: 15px 12px;
width: 90%;
margin: 0 auto;
box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
/* transform: translateY(-60px); */
/* margin-bottom: -20px; */
}

.headline-item.small .headline-content {
transform: none;
margin: 0;
padding: 0;
width: 100%;
background: transparent;
box-shadow: none;
}

.headline-item.large .headline-content {
width: 85%;
transform: translateY(-40px);
margin-bottom: -30px;
}

.headline-item.small {
padding: 15px 0;
}

.headline-item.small:not(:last-child) {
border-bottom: 1px solid var(--color-border);
}

/* .headline-item:hover .headline-content {
box-shadow: 0 -6px 15px rgba(0,0,0,0.1);
} */

.headline-category {
font-size: 11px;
color: var(--color-primary);
font-weight: 600;
margin-bottom: 6px;
display: block;
}

.headline-item.large .headline-title {
font-size: 22px;
line-height: 1.3;
font-weight: 600;
color: var(--color-dark);
transition: var(--transition);
}

.headline-item.large:hover .headline-title {
color: var(--color-primary);
}

.headline-item:not(.large) .headline-title {
font-size: 14px;
line-height: 1.4;
font-weight: 500;
color: var(--color-dark);
transition: var(--transition);
}

.headline-item:not(.large):hover .headline-title {
color: var(--color-primary);
}

/* Link styling */
.headline-title a {
text-decoration: none;
color: inherit;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
.headline-container {
grid-template-columns: 1fr;
gap: 20px;
}

.headline-item.large {
grid-column: 1 / -1;
grid-row: auto;
}

.headline-item:not(.large) {
grid-column: 1 / -1;
}


.headline-content {
width: 100%;
transform: translateY(-10px);
/* margin-bottom: -10px; */
}

.headline-item.large .headline-content {
width: 100%;
transform: translateY(-30px);
margin-bottom: -20px;
}


.headline-item.small .headline-content {
background: transparent;
box-shadow: none;
}



}

/* ===== NAVIGASI BREADCRUMB ===== */
.breadcrumb-nav {
/* background: var(--color-bg-light); */
/* border-bottom: 1px solid var(--color-border); */
padding: 10px 0;
margin-bottom: 20px;
}

.breadcrumb-list {
display: flex;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
flex-wrap: wrap;
gap: 8px;
}

.breadcrumb-item {
font-size: 13px;
color: var(--color-gray);
display: flex;
align-items: center;
gap: 8px;
}

.breadcrumb-item a {
color: var(--color-gray);
transition: var(--transition);
text-decoration: none;
display: inline-block;
padding: 2px 4px;
border-radius: 4px;
position: relative;
}

.breadcrumb-item a:hover {
color: var(--color-primary);
background: rgba(216, 8, 8, 0.1);
}

.breadcrumb-item a::after {
content: "";
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 1px;
background: var(--color-primary);
transition: width 0.3s ease;
}

.breadcrumb-item a:hover::after {
width: 100%;
}

.breadcrumb-item.active {
color: var(--color-primary);
font-weight: 500;
max-width: 600px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.separator {
color: var(--color-border);
font-size: 12px;
display: inline-block;
margin: 0 2px;
line-height: 1;
vertical-align: middle;
}

.breadcrumb-item:first-child a {
display: flex;
align-items: center;
gap: 6px;
}

/* .breadcrumb-item:first-child a::before {
content: "🏠";
font-size: 14px;
} */

.breadcrumb-item:not(:first-child):not(:last-child) a {
max-width: 150px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

/* ===== GAYA UMUM SECTION ===== */
.section-title {
font-size: 20px;
font-weight: bold;
color: var(--color-dark);
margin-bottom: 15px;
padding-bottom: 8px;
border-bottom: 2px solid var(--color-primary);
display: block;
width: 100%;
}

.news-more {
color: var(--color-primary);
font-size: 13px;
font-weight: bold;
transition: var(--transition);
}

.news-more:hover {
color: var(--color-primary-dark);
}

/* ===== SECTION EQUATOR TV ===== */
.equatortv-section {
margin: 25px auto;
max-width: 1056px;
}

.equatortv-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}

.equatortv-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}

.equatortv-item {
background: var(--color-light);
border-radius: var(--border-radius);
overflow: hidden;
transition: var(--transition);
cursor: pointer;
position: relative;
}

.equatortv-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.equatortv-item img {
width: 100%;
height: 150px;
object-fit: cover;
transition: var(--transition);
}

.equatortv-item:hover img {
transform: scale(1.05);
}

.equatortv-title {
font-size: 14px;
font-weight: 500;
margin: 8px 12px 4px;
color: var(--color-dark);
transition: var(--transition);
}

.equatortv-item:hover .equatortv-title {
color: var(--color-primary);
}

.equatortv-category {
font-size: 11px;
font-weight: 600;
color: var(--color-primary);
text-transform: uppercase;
margin-bottom: 5px;
display: block;
}

.equatortv-desc {
font-size: 13px;
color: var(--color-gray);
line-height: 1.3;
margin: 8px 12px 4px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}

.equatortv-duration {
font-size: 11px;
color: var(--color-light);
background: rgba(0, 0, 0, 0.6);
padding: 2px 6px;
border-radius: 4px;
position: absolute;
bottom: 8px;
right: 8px;
}

.equatortv-live {
font-size: 11px;
font-weight: 600;
color: var(--color-light);
background: var(--color-danger);
padding: 3px 6px;
border-radius: 4px;
position: absolute;
top: 8px;
left: 8px;
text-transform: uppercase;
}

/* ===== SECTION TRENDING ===== */
.trending-section {
margin: 25px auto;
max-width: 1056px;
}

.trending-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}

.trending-tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
padding-bottom: 5px;
}

.trending-tabs::-webkit-scrollbar {
display: none;
}

.trending-tab {
padding: 8px 16px;
background: var(--color-light-gray);
border: none;

font-size: 13px;
color: var(--color-gray);
cursor: pointer;
transition: var(--transition);
white-space: nowrap;
flex-shrink: 0;
}

.trending-tab:hover,
.trending-tab.active {
background: var(--color-primary);
color: var(--color-light);
}

.trending-tab.active {
font-weight: 500;
}

.trending-tab-content {
position: relative;
display: none;
animation: fadeIn 0.3s ease;
}

.trending-tab-content.active {
display: block;
}

@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.trending-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}

.trending-item {
background: var(--color-light);
/* border-radius: var(--border-radius); */
overflow: hidden;
transition: var(--transition);
cursor: pointer;
box-shadow: var(--box-shadow);
display: flex;
flex-direction: column;
height: 100%;
}

.trending-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.trending-item img {
width: 100%;
height: 160px;
object-fit: cover;
transition: var(--transition);
}

.trending-item:hover img {
transform: scale(1.05);
}

.trending-content {
padding: 15px;
flex: 1;
display: flex;
flex-direction: column;
}

.trending-category {
display: inline-block;
font-size: 11px;
color: var(--color-primary);
font-weight: 600;
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.trending-title {
font-size: 15px;
font-weight: 500;
line-height: 1.4;
color: var(--color-dark);
transition: var(--transition);
margin: 0;
flex: 1;
}

.trending-title a {
color: inherit;
text-decoration: none;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.trending-item:hover .trending-title {
color: var(--color-primary);
}

/* Indikator Loading */
.trending-loading {
display: flex;
justify-content: center;
align-items: center;
height: 150px;
}

.trending-loading .spinner {
width: 40px;
height: 40px;
border: 4px solid var(--color-light-gray);
border-top: 4px solid var(--color-primary);
border-radius: 50%;
animation: spin 1s linear infinite;
}

/* ===== LAYOUT KONTEN UTAMA ===== */
.main-content {
display: grid;
grid-template-columns: 70% 28%;
gap: 25px;
margin: 25px auto;
}

/* ===== SECTION BERITA TERKINI ===== */
.news-section {
margin: 25px auto;
max-width: 1056px;
}

.news-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}

.news-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
}

.news-item {
display: flex;
flex-direction: column;
gap: 10px;
padding: 0;
overflow: hidden;
transition: var(--transition);
}

.news-item:hover {
background: none;
}

.news-item img {
width: 100%;
height: 170px;
object-fit: cover;
transition: var(--transition);
}

.news-item:hover img {
transform: scale(1.04);
}

.news-content {
padding: 5px 2px;
}

.news-category {
font-size: 11px;
color: var(--color-primary);
font-weight: 600;
margin-bottom: 6px;
}

.news-title {
font-size: 15px;
font-weight: 500;
line-height: 1.4;
margin-bottom: 6px;
color: var(--color-dark);
transition: var(--transition);
}

.news-item:hover .news-title {
color: var(--color-primary);
}

.news-time {
font-size: 11px;
color: var(--color-gray);
}

/* ===== SECTION VIDEO/MEDIA ===== */
.media-section {
margin: 25px auto;
max-width: 1056px;
}

.media-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;

background-color: #F9F9F9;
padding: 15px;
/* border-radius: 8px; */
}

.media-item {
/* background: var(--color-light); */
/* border-radius: var(--border-radius); */
overflow: hidden;
transition: var(--transition);
cursor: pointer;
position: relative;
}

.media-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    font-weight: 600;
    color: var(--color-gray);


}

.media-item:hover {
transform: translateY(-5px);
/* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); */
}

.media-item > div:first-child {
position: relative;
width: 100%;
height: 100px;
overflow: hidden;
}

.media-item img {
width: 100%;
height: 100px;
object-fit: cover;
transition: var(--transition);
}

.media-item:hover img {
transform: scale(1.05);
}

.media-icon {
position: absolute;
top: 8px;
right: 8px;
color: var(--color-light);
background: rgba(0, 0, 0, 0.7);
width: 28px;
height: 28px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
z-index: 2;
}

.media-content {
padding: 12px 0;
}

.media-title {
font-size: 13px;
font-weight: 500;
line-height: 1.4;
color: var(--color-dark);
transition: var(--transition);
}

.media-item:hover .media-title {
color: var(--color-primary);
}

/* ===== SIDEBAR ===== */
.sidebar {
position: sticky;
top: 100px;
height: fit-content;
padding-bottom: 20px;
}

/* Widget Sidebar */
.widget {
background: var(--color-light);
border-radius: var(--border-radius);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
margin-bottom: 30px;
overflow: hidden;
transition: var(--transition);
border: 1px solid rgba(0, 0, 0, 0.05);
}

.widget:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
transform: translateY(-2px);
}

.widget-title {
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
color: var(--color-light);
padding: 14px 20px;
font-size: 16px;
font-weight: 600;
text-align: center;
letter-spacing: 0.5px;
position: relative;
overflow: hidden;
}

.widget-title::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: rgba(255, 255, 255, 0.5);
border-radius: 2px;
}

.widget-content {
padding: 20px;
}

/* Daftar Cerita di Sidebar (Vox Populi & Kolom) */
.widget .story-item {
display: flex;
flex-direction: row;
align-items: center;
gap: 12px;
background: transparent;
border: none;
box-shadow: none;
margin-bottom: 12px;
padding-bottom: 12px;
border-bottom: 1px solid var(--color-border);
}

.widget .story-item:last-child {
border-bottom: none;
}

.widget .story-item img {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
transition: var(--transition);
}

.widget .story-item:hover img {
transform: scale(1.05);
}

.widget .story-content {
padding: 0;
}

.widget .story-title {
font-size: 13px;
line-height: 1.35;
}

/* Item Cerita Umum */
.story-item {
background: var(--color-light);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: var(--transition);
margin-bottom: 15px;
display: flex;
flex-direction: column;
border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-item:last-child {
margin-bottom: 0;
}

.story-item:hover {
transform: translateY(-3px);
/* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); */
}

.story-item img {
width: 100%;
height: 140px;
object-fit: cover;
transition: var(--transition);
}

.story-item:hover img {
transform: scale(1.05);
}

.story-content {
padding: 15px;
flex: 1;
}

.story-title {
font-size: 14px;
font-weight: 500;
line-height: 1.4;
color: var(--color-dark);
transition: var(--transition);
}

.story-title a {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.story-item:hover .story-title {
color: var(--color-primary);
}

/* Daftar Cerita di Side */
.widget-content-side {
  padding: 10px;
}

.widget .side-item {
display: flex;
flex-direction: row;
align-items: center;
gap: 12px;
background: transparent;
border: none;
box-shadow: none;
margin-bottom: 12px;
padding-bottom: 12px;
/* border-bottom: 1px solid var(--color-border); */
}

.widget .side-item:last-child {
border-bottom: none;
}

.widget .side-item img {
width: 102px;
height: 68px;

object-fit: cover;
flex-shrink: 0;
transition: var(--transition);
}

.widget .side-item:hover img {
transform: scale(1.05);
}

.widget .side-content {
padding: 0;
}

.widget .side-title {
font-size: 13px;
line-height: 1.35;
}

/* Item Cerita Umum */
.side-item {
background: var(--color-light);

overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: var(--transition);
margin-bottom: 15px;
display: flex;
flex-direction: column;
border: 1px solid rgba(0, 0, 0, 0.05);
}

.side-item:last-child {
margin-bottom: 0;
}

.side-item:hover {
transform: translateY(-3px);
/* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); */
}

.side-item img {
width: 100%;
height: 140px;
object-fit: cover;
transition: var(--transition);
}

.side-item:hover img {
transform: scale(1.05);
}

.side-content {
padding: 15px;
flex: 1;
}

.side-title {
font-size: 14px;
font-weight: 500;
line-height: 1.4;
color: var(--color-dark);
transition: var(--transition);
}

.side-title a {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.side-item:hover .side-title {
color: var(--color-primary);
}


/* Daftar Terpopuler */
.popular-list {
list-style: none;
padding: 0;
margin: 0;
}

.popular-item {
display: flex;
align-items: flex-start;
gap: 5px;
padding: 16px 0;
border-bottom: 1px solid var(--color-border);
transition: var(--transition);
position: relative;
}

.popular-item:last-child {
border-bottom: none;
}

.popular-number {
width: auto;
min-width: 45px;
display: inline-block;
font-family: "Plus Jakarta Sans", sans-serif;
font-style: italic;
font-size: 80px;
font-weight: 800;
color: var(--color-light-gray);
flex-shrink: 0;
line-height: 0.8;
transition: var(--transition);
background: transparent;
text-align: left;
margin-right: -10px;
position: relative;
z-index: 1;
-webkit-text-stroke: 2px var(--color-secondary);
}

.popular-item:hover .popular-number {
color: var(--color-primary);
}

.popular-thumb {
display: none;
}

.popular-content {
flex: 1;
position: relative;
z-index: 2;
background: var(--color-light);
padding-left: 5px;
margin-left: -5px;
}

.popular-title {
font-size: 16px;
font-weight: 500;
line-height: 1.5;
margin-bottom: 4px;
color: var(--color-dark);
transition: var(--transition);
}

.popular-title a {
text-decoration: none;
color: inherit;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.popular-item:hover .popular-title a {
color: var(--color-primary);
}

.popular-category {
font-size: 13px;
color: var(--color-gray);
font-weight: 400;
display: inline-block;
}

.popular-item:hover .popular-category {
color: var(--color-primary);
}

/* .ad-widget {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border: 2px dashed var(--color-border);
border-radius: var(--border-radius);

display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: var(--color-gray);
font-size: 14px;
transition: var(--transition);
position: relative;
overflow: hidden;
} */

/* Tag Trending */
.trending-tags-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.trending-tag-simple {
padding: 8px 16px;
background: var(--color-bg-light);
border: 1px solid var(--color-border);
border-radius: 25px;
font-size: 13px;
font-weight: 500;
color: var(--color-dark);
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}

.trending-tag-simple:hover {
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
color: var(--color-light);
border-color: var(--color-primary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(216, 8, 8, 0.2);
}

/* Follow Us */
.social-links {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
}

.social-btn {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: white;
font-size: 18px;
transition: all 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
transform: translateY(-3px) scale(1.1);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.social-facebook {
background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}

.social-twitter {
background: linear-gradient(135deg, #1da1f2 0%, #1a91da 100%);
}

.social-instagram {
background: linear-gradient(135deg, #e4405f 0%, #d81c60 100%);
}

.social-youtube {
background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-linkedin {
background: linear-gradient(135deg, #0077b5 0%, #006699 100%);
}

/* Widget Newsletter */
.newsletter-widget {
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
color: white;
text-align: center;
padding: 25px 20px;
}

.newsletter-widget .widget-title {
background: transparent;
padding: 0;
margin-bottom: 15px;
font-size: 18px;
}

.newsletter-widget .widget-title::after {
display: none;
}

.newsletter-text {
font-size: 14px;
opacity: 0.9;
margin-bottom: 20px;
line-height: 1.5;
}

.newsletter-form {
display: flex;
flex-direction: column;
gap: 12px;
}

.newsletter-form input {
padding: 12px 15px;
border: none;
border-radius: 25px;
font-size: 14px;
background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
padding: 12px 25px;
background: white;
color: var(--color-primary);
border: none;
border-radius: 25px;
font-weight: 500;
cursor: pointer;
transition: var(--transition);
}

.newsletter-form button:hover {
background: var(--color-primary-dark);
color: white;
transform: translateY(-2px);
}

/* ===== SIDEBAR KANAL (OFF-CANVAS) ===== */
.sidebar-kanal {
position: fixed;
top: 0;
right: -100%;
width: 320px;
height: 100vh;
background: var(--color-light);
z-index: 9999;
box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
overflow-y: auto;
display: flex;
flex-direction: column;
}

.sidebar-kanal.active {
right: 0;
}

.sidebar-header {
background: var(--color-primary);
color: var(--color-light);
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
}

.sidebar-header h3 {
font-size: 20px;
font-weight: 600;
margin: 0;
}

.close-sidebar {
background: rgba(255, 255, 255, 0.2);
border: none;
color: var(--color-light);
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 18px;
transition: var(--transition);
}

.close-sidebar:hover {
background: rgba(255, 255, 255, 0.3);
transform: rotate(90deg);
}

.sidebar-content {
flex: 1;
padding: 20px 0;
}

.sidebar-links {
list-style: none;
padding: 0;
margin: 0;
}

.sidebar-links li {
margin: 0;
}

.sidebar-links a {
display: flex;
align-items: center;
gap: 15px;
padding: 16px 20px;
color: var(--color-dark);
font-size: 15px;
font-weight: 500;
transition: var(--transition);
border-left: 4px solid transparent;
}

.sidebar-links a:hover,
.sidebar-links a.active {
background: var(--color-bg-light);
color: var(--color-primary);
border-left-color: var(--color-primary);
}

.sidebar-links a i {
width: 20px;
text-align: center;
font-size: 16px;
color: var(--color-gray);
}

.sidebar-links a:hover i,
.sidebar-links a.active i {
color: var(--color-primary);
}

.sidebar-divider {
height: 1px;
background: var(--color-border);
margin: 20px;
}

.sidebar-section {
padding: 0 20px;
margin-bottom: 25px;
}

.sidebar-section h4 {
font-size: 14px;
color: var(--color-gray);
text-transform: uppercase;
margin-bottom: 15px;
font-weight: 500;
letter-spacing: 0.5px;
}

.portal-sidebar-links {
list-style: none;
padding: 0;
margin: 0;
}

.portal-sidebar-links li {
margin-bottom: 10px;
}

.portal-sidebar-links a {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 15px;
background: var(--color-bg-light);
border-radius: var(--border-radius);
color: var(--color-dark);
font-size: 14px;
transition: var(--transition);
}

.portal-sidebar-links a:hover {
background: var(--color-primary);
color: var(--color-light);
transform: translateX(5px);
}

.portal-sidebar-links a:hover i {
color: var(--color-light);
}

.portal-sidebar-links a i {
font-size: 14px;
color: var(--color-gray);
}

.sidebar-account {
display: flex;
flex-direction: column;
gap: 12px;
}

.sidebar-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px;
background: var(--color-primary);
color: var(--color-light);
border-radius: var(--border-radius);
font-weight: 500;
font-size: 15px;
transition: var(--transition);
text-align: center;
}

.sidebar-btn:hover {
background: var(--color-primary-dark);
color: var(--color-light);
transform: translateY(-2px);
}

.sidebar-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 9998;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
opacity: 1;
visibility: visible;
}

/* ===== TOMBOL LOAD MORE ===== */
.load-more-wrap {
display: flex;
justify-content: center;
margin-top: 1rem;
}

.btn-load-more {
background: var(--color-primary);
color: var(--color-light);
border: none;
padding: 12px 42px;
border-radius: var(--border-radius);
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.25s ease;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
margin: 25px auto;
box-shadow: 0 4px 14px rgba(216, 8, 8, 0.22);
position: relative;
overflow: hidden;
min-width: 160px;
}

.btn-load-more:hover:not(:disabled) {
background: var(--color-primary-dark);
transform: translateY(-2px);
box-shadow: 0 8px 22px rgba(139, 0, 0, 0.35);
}

.btn-load-more:active:not(:disabled) {
transform: translateY(0);
}

.btn-load-more:disabled {
cursor: not-allowed;
opacity: 0.75;
box-shadow: none;
}

.btn-text {
transition: opacity 0.2s ease;
}

.btn-spinner {
position: absolute;
width: 18px;
height: 18px;
border: 2px solid rgba(255, 255, 255, 0.35);
border-top-color: #fff;
border-radius: 50%;
animation: spin 0.8s linear infinite;
opacity: 0;
pointer-events: none;
}

.btn-load-more.is-loading .btn-text {
opacity: 0;
}

.btn-load-more.is-loading .btn-spinner {
opacity: 1;
}

.btn-load-more.has-error {
background: var(--color-danger);
animation: shake 0.45s ease;
}

/* Animasi Shake untuk Error */
@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-4px); }
50% { transform: translateX(4px); }
75% { transform: translateX(-4px); }
}

/* ===== FOOTER ===== */
.footer {
background: #f9f9f9;
color: var(--color-footer-bg);
padding: 30px 0 15px;
margin-top: 40px;

}

.footer-container {
max-width: 1056px;
margin: 0 auto;
padding: 0 15px;
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
gap: 25px;
margin-bottom: 25px;
}

.footer-logo img {
height: auto;
margin-bottom: 15px;
}

/* ===== FOOTER SOCIAL MEDIA ===== */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    align-items: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Warna asli masing-masing platform */
.footer-social a[aria-label="facebook"] {
    background: #1877f2; /* Facebook Blue */
}

.footer-social a[aria-label="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social a[aria-label="youtube"] {
    background: #ff0000; /* YouTube Red */
}

.footer-social a[aria-label="linkedin"] {
    background: #0077b5; /* LinkedIn Blue */
}

.footer-social a[aria-label="tiktok"] {
    background: #000000; /* TikTok Black */
    position: relative;
}

/* Efek neon untuk TikTok */
.footer-social a[aria-label="tiktok"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.footer-social a[aria-label="twitter"] {
    background: #000000; /* Twitter/X Black */
}

.footer-social a[aria-label="twitter"]:hover {
    background: #333333;
}

/* Hover Effects */
.footer-social a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Hover spesifik untuk masing-masing platform */
.footer-social a[aria-label="facebook"]:hover {
    background: #166fe5;
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.4);
}

.footer-social a[aria-label="instagram"]:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 50%, #cc2366 100%);
    box-shadow: 0 6px 15px rgba(225, 48, 108, 0.4);
}

.footer-social a[aria-label="youtube"]:hover {
    background: #cc0000;
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

.footer-social a[aria-label="linkedin"]:hover {
    background: #006699;
    box-shadow: 0 6px 15px rgba(0, 119, 181, 0.4);
}

.footer-social a[aria-label="tiktok"]:hover {
    background: #111111;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Efek khusus TikTok hover */
.footer-social a[aria-label="tiktok"]:hover::after {
    opacity: 0.5;
    filter: blur(3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
    fill: currentColor;
}

.footer-social a:hover svg {
    transform: scale(1.1);
}

.footer-title {
font-size: 15px;
font-weight: bold;
margin-bottom: 12px;
color: var(--color-footer-bg);
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 8px;
}

.footer-links a {
color: var(--color-footer-bg);
font-size: 13px;
transition: var(--transition);
}

.footer-links a:hover {
color: var(--color-primary-dark);
padding-left: 5px;
}

.footer-bottom {
text-align: center;
padding-top: 15px;
border-top: 1px solid #444;
color: var(--color-footer-bg);
font-size: 13px;
}

.mnc-portal {
display: flex;
align-items: center;
gap: 8px;
margin-top: 15px;
flex-wrap: wrap;
}

.mnc-portal img {
height: 25px;
transition: var(--transition);
}

.mnc-portal img:hover {
transform: translateY(-3px);
}

/* ==================== MEDIA QUERIES (RESPONSIF) ==================== */

/* DESKTOP LARGE (min-width: 1200px) */
@media (min-width: 1200px) {
.container,
.sticky-container,
.footer-container {
max-width: 1056px;
}
}

/* DESKTOP (min-width: 1025px) */
@media (min-width: 1025px) {
.search-icon-mobile {
display: none;
}

.search-form {
display: flex !important;
}
}

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

.trending-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.trending-item img {
height: 140px;
}

.trending-title {
font-size: 14px;
}

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

.sticky-header {
padding: 10px 0;
}

.sticky-header .sticky-logo img {
height: 26px;
}

.sticky-mobile-links a {
font-size: 13px;
padding: 10px 15px;
}

.widget {
margin-bottom: 25px;
}

.footer-container {
grid-template-columns: repeat(3, 1fr);
}
}

/* TABLET PORTRAIT (max-width: 768px) */
@media (max-width: 768px) {
/* Header */
.header-container {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 10px;
}

.menu-toggle,
.search-icon-mobile {
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
border-radius: 50%;
transition: var(--transition);
}

.search-form {
display: none;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: var(--color-light);
padding: 10px 15px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
z-index: 100;
margin: 0;
max-width: none;
}

.search-form.active {
display: flex;
}

.search-form input {
border-radius: 20px;
padding: 10px 15px;
font-size: 14px;
}

.search-form button {
width: 40px;
right: 10px;
}

.search-icon-mobile {
display: flex;
}

.tv-logo {
display: none;
}

.logo {
position: relative;
left: auto;
transform: none;
z-index: auto;
order: 1;
justify-self: center;
}

.logo img {
height: 32px;
width: auto;
}

.right-menu {
margin-left: auto;
display: flex;
align-items: center;
gap: 12px;
order: 3;
}

.login-btn {
display: none;
}

/* Navigasi Utama */
.main-nav {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

.nav-links {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
overflow-x: auto;
white-space: nowrap;
gap: 5px;
padding: 0 10px;
scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
display: none;
}

.nav-links li {
flex: 0 0 auto;
}

.nav-links a {
padding: 10px 10px;
font-size: 13px;
}

/* Layout Utama */
.main-content {
display: block;
margin: 25px auto;
padding: 0 10px;
}

.main-content > * {
width: 100%;
margin-bottom: 20px;
}

.sidebar {
position: static;
padding-bottom: 0;
}

/* Headline */
.headline-container {
grid-template-columns: 1fr;
gap: 12px;
}

.headline-item {
grid-column: auto !important;
grid-row: auto !important;
}

.headline-item.large img {
height: 200px;
}

.headline-item.small img {
display: block;
}

.headline-item.large .headline-title {
font-size: 18px;
line-height: 1.35;
}

.headline-item:not(.large) {
display: flex;
gap: 10px;
align-items: center;
padding: 10px 0;
}

.headline-item:not(.large) img {
width: 110px;
height: 80px;
flex-shrink: 0;
object-fit: cover;
}

.headline-item:not(.large) .headline-content {
padding: 6px 8px 6px 0;
}

.headline-item:not(.large) .headline-title {
font-size: 14px;
line-height: 1.4;
}

/* Berita Terkini */
.news-list {
grid-template-columns: 1fr;
gap: 12px;
}

.news-item {
display: flex;
flex-direction: row;
gap: 12px;
padding: 8px 0;
border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
border-bottom: none;
}

.news-item img {
width: 110px;
height: 100px;
flex-shrink: 0;
object-fit: cover;
}

.news-content {
padding: 0;
display: flex;
flex-direction: column;
justify-content: center;
}

.news-title {
font-size: 14px;
line-height: 1.35;
}

.news-category {
font-size: 11px;
margin-bottom: 4px;
}

.news-time {
font-size: 11px;
}

/* Equator TV & Video - Horizontal Scroll */
.equatortv-grid,
.media-grid {
display: flex;
flex-direction: row;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
gap: 15px;
padding: 5px 0 15px;
margin: 0 -15px;
padding-left: 15px;
padding-right: 15px;
}

.equatortv-grid::-webkit-scrollbar,
.media-grid::-webkit-scrollbar {
display: none;
}

.equatortv-item,
.media-item {
flex: 0 0 auto;
width: 280px;
display: flex;
flex-direction: column;
background: var(--color-light);
/* border-radius: var(--border-radius); */
box-shadow: var(--box-shadow);
overflow: hidden;
transition: var(--transition);
}

.equatortv-item:hover,
.media-item:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.equatortv-item img,
.media-item > div:first-child {
width: 100%;
height: 160px;
flex-shrink: 0;
object-fit: cover;
position: relative;
}

.media-item img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.media-icon {
position: absolute;
top: 10px;
right: 10px;
width: 32px;
height: 32px;
font-size: 12px;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
z-index: 2;
}

.equatortv-content,
.media-content {
padding: 12px;
flex: 1;
display: flex;
flex-direction: column;
}

.equatortv-title,
.media-title {
font-size: 14px;
font-weight: 500;
line-height: 1.4;
color: var(--color-dark);
margin: 0;
transition: var(--transition);
}

.equatortv-item:hover .equatortv-title,
.media-item:hover .media-title {
color: var(--color-primary);
}

/* Trending Mobile */
.trending-grid {
grid-template-columns: repeat(2, 1fr);
gap: 0;
}

.trending-item {
display: flex;
flex-direction: row;
align-items: flex-start;
/* gap: 12px; */
padding: 12px 0;
border-bottom: 1px solid var(--color-border);
background: transparent;
box-shadow: none;
border-radius: 0;
height: auto;
}

.trending-item:last-child {
border-bottom: none;
}

.trending-item:hover {
transform: none;
box-shadow: none;
background: var(--color-light-gray);
}

.trending-item img {
width: 110px !important;
height: 80px !important;
flex-shrink: 0;
object-fit: cover;
border-radius: 4px;
}

.trending-content {
padding: 0;
flex: 1;
}

.trending-title {
font-size: 14px;
line-height: 1.4;
margin-bottom: 4px;
}

.trending-grid .trending-item:nth-child(n+3) {
display: none;
}

.trending-title a {
-webkit-line-clamp: 2;
}

.trending-category {
font-size: 11px;
margin-bottom: 4px;
}

.trending-tabs {
margin-bottom: 15px;
}

.trending-tab {
padding: 6px 14px;
font-size: 12px;
}

/* Sidebar Widgets */
.widget {
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
margin-bottom: 20px;
}

.widget-title {
padding: 12px 15px;
font-size: 15px;
}

.widget-content {
padding: 20px;
}

/* Popular List - Mobile (mempertahankan gaya desktop) */
.popular-list {
list-style: none;
padding: 0;
margin: 0;
}

.popular-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 16px 0;
border-bottom: 1px solid var(--color-border);
transition: var(--transition);
position: relative;
}

.popular-item:last-child {
border-bottom: none;
}

.popular-number {
width: auto;
min-width: 35px;
display: inline-block;
font-family: "Plus Jakarta Sans", sans-serif;
font-style: italic;
font-size: 60px;
font-weight: 800;
color: var(--color-light-gray);
flex-shrink: 0;
line-height: 0.8;
transition: var(--transition);
background: transparent;
text-align: left;
margin-right: -5px;
position: relative;
z-index: 1;
-webkit-text-stroke: 2px var(--color-secondary);
}

.popular-item:hover .popular-number {
color: var(--color-primary);
}

.popular-thumb {
display: none;
}

.popular-content {
flex: 1;
position: relative;
z-index: 2;
background: transparent;
padding-left: 0;
margin-left: 0;
}

.popular-title {
font-size: 16px;
font-weight: 500;
line-height: 1.4;
margin-bottom: 4px;
color: var(--color-dark);
transition: var(--transition);
}

.popular-title a {
text-decoration: none;
color: inherit;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.popular-item:hover .popular-title a {
color: var(--color-primary);
}

.popular-category {
font-size: 12px;
color: var(--color-gray);
font-weight: 400;
display: inline-block;
}

.popular-item:hover .popular-category {
color: var(--color-primary);
}

.trending-tag-simple {
padding: 6px 12px;
font-size: 12px;
}

.social-btn {
width: 40px;
height: 40px;
font-size: 16px;
}

.story-item img {
height: 120px;
}

.story-content {
padding: 12px;
}

.story-title {
font-size: 13px;
}

/* Footer */
.footer-container {
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 14px;
}

 .footer-hide-mobile {
        display: none;
    }

.footer-logo img {
height: 45px;
}

.footer-title {
font-size: 12px;
margin-bottom: 8px;
}

.footer-links a {
font-size: 11px;
line-height: 1.4;
}

    .footer-social {
        gap: 10px;
        justify-content: center;
    }
    
    .footer-social a {
        width: 38px;
        height: 38px;
    }
    
    .footer-social svg {
        width: 17px;
        height: 17px;
    }

/* Section Headers */
.equatortv-header,
.trending-header,
.news-header,
.section-title {
font-size: 16px;
margin-bottom: 8px;
}

.news-more {
font-size: 12px;
}

/* Ad Space */
.ad-space-wrap {
display: block;
}

.ad-space-mobile {
padding: 4px 5%;
}

.ad-banner-vertical {
width: 300px;
height: 400px;
}

/* Breadcrumb */
.breadcrumb-nav {
padding: 10px 0;
margin-bottom: 15px;
}

.breadcrumb-list {
gap: 6px;
}

.breadcrumb-item {
font-size: 12px;
gap: 6px;
}

.breadcrumb-item.active {
max-width: 250px;
}

.separator {
font-size: 10px;
margin: 0 1px;
}



/* Load More Button */
.btn-load-more {
width: 100%;
max-width: 320px;
font-size: 13px;
padding: 11px 30px;
}
}

/* MOBILE LANDSCAPE (max-width: 667px) */
@media (max-width: 667px) {
.trending-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.trending-item {
flex-direction: column;
border-bottom: none;
padding: 0;
background: var(--color-light);
/* box-shadow: var(--box-shadow);
border-radius: var(--border-radius); */
overflow: hidden;
height: 100%;
}

.trending-item:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.trending-item img {
width: 100% !important;
height: 120px !important;
border-radius: 0;
}

.trending-content {
padding: 10px;
}

.trending-title {
font-size: 13px;
}

.equatortv-item,
.media-item {
width: 240px;
}

.equatortv-item img,
.media-item > div:first-child {
height: 140px;
}

.equatortv-content,
.media-content {
padding: 10px;
}

.equatortv-title,
.media-title {
font-size: 13px;
}
}

/* MOBILE PORTRAIT (max-width: 576px) */
@media (max-width: 576px) {
.sticky-header {
padding: 8px 0;
}

.sticky-header .sticky-logo img {
height: 22px;
}

.sticky-search-btn,
.sticky-hamburger {
width: 32px;
height: 32px;
font-size: 16px;
}

.sticky-mobile-links a {
font-size: 11px;
padding: 6px 10px;
}

/* Breaking News */
.breaking-container {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}

.breaking-text {
white-space: normal;
font-size: 13px;
line-height: 1.4;
}

/* Section Titles */
.section-title {
font-size: 18px;
}

.ad-space-mobile {
padding: 4px 3%;
}

.ad-banner-vertical {
width: 300px;
height: 400px;
}

.widget-title {
font-size: 14px;
padding: 10px 15px;
}

.widget-content {
padding: 20px;
}

/* Popular List - Smaller Mobile */
.popular-number {
font-size: 50px;
min-width: 30px;
-webkit-text-stroke: 1.5px var(--color-secondary);
}

.popular-title {
font-size: 14px;
}

.popular-category {
font-size: 11px;
}

.trending-tags-container {
gap: 8px;
}

.trending-tag-simple {
padding: 5px 10px;
font-size: 11px;
}

.social-links {
gap: 8px;
}

.social-btn {
width: 36px;
height: 36px;
font-size: 14px;
}

.footer-container {
gap: 12px;
}

 .footer-hide-mobile {
        display: none;
    }

.footer-logo img {
height: 40px;
}

.footer-title {
font-size: 11.5px;
}

.footer-links a {
font-size: 10.8px;
}
}

/* SMALL MOBILE (max-width: 480px) */
@media (max-width: 480px) {
.trending-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.trending-item {
flex-direction: column;
}

.trending-item img {
height: 120px !important;
}

/* Popular List - Extra Small */
.popular-number {
font-size: 45px;
min-width: 28px;
}

.popular-title {
font-size: 13px;
}

.popular-item {
gap: 8px;
padding: 12px 0;
}

.footer-container {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
text-align: center;
}

 .footer-hide-mobile {
        display: none;
    }

.footer-column:first-child {
grid-column: 1 / -1;
display: flex;
flex-direction: column;
align-items: center;
}

.footer-logo {
display: flex;
justify-content: center;
align-items: center;
}

.footer-logo img {
height: 36px;
margin: 0 auto;
}

.footer-social {
justify-content: center;
}

.footer-title {
font-size: 11px;
margin-bottom: 6px;
}

.footer-links a {
font-size: 10.5px;
line-height: 1.35;
}

 .footer-social {
        gap: 6px;
    }
    
    .footer-social a {
        width: 30px;
        height: 30px;
    }
    
    .footer-social svg {
        width: 13px;
        height: 13px;
    }

.footer-bottom {
font-size: 11px;
text-align: center;
}

.sticky-mobile-links a {
font-size: 10px;
padding: 5px 8px;
}

.equatortv-item,
.media-item {
width: 180px;
}

.equatortv-item img,
.media-item > div:first-child {
height: 130px;
}

.sidebar-kanal {
width: 300px;
}

.ad-banner-vertical {
width: 300px;
height: 400px;
}

/* Breadcrumb */
.breadcrumb-nav {
padding: 8px 0;
}

.breadcrumb-list {
font-size: 11px;
gap: 4px;
}

.breadcrumb-item {
font-size: 11px;
gap: 4px;
}

.breadcrumb-item:first-child a::before {
font-size: 12px;
}

.separator {
font-size: 9px;
}
}

.breadcrumb-hidden{
display: none;
}

/* EXTRA SMALL MOBILE (max-width: 400px) */
@media (max-width: 400px) {
.trending-grid {
grid-template-columns: repeat(2, 1fr);
}

.popular-number {
font-size: 60px;
min-width: 25px;
}

.popular-title {
font-size: 14px;
}

.sticky-mobile-links a {
font-size: 9px;
padding: 4px 6px;
}

.equatortv-item,
.media-item {
width: 180px;
}

.equatortv-item img,
.media-item > div:first-child {
height: 120px;
}

.sidebar-kanal {
width: 280px;
}

.sidebar-header {
padding: 15px;
}

.sidebar-links a,
.portal-sidebar-links a {
padding: 14px 15px;
font-size: 14px;
}

.ad-banner-vertical {
width: 300px;
height: 400px;
}
}

/* VERY SMALL MOBILE (max-width: 360px) */
@media (max-width: 360px) {
.popular-number {
font-size: 35px;
min-width: 22px;
-webkit-text-stroke: 1px var(--color-secondary);
}

.popular-title {
font-size: 11px;
}

.sticky-mobile-links a {
font-size: 8px;
padding: 3px 5px;
}

.equatortv-item,
.media-item {
width: 180px;
}

.equatortv-item img,
.media-item > div:first-child {
height: 110px;
}

.equatortv-title,
.media-title {
font-size: 12px;
}

.sidebar-kanal {
width: 260px;
}

.ad-banner-vertical {
width: 300px;
height: 400px;
}
}

/* ===== GAYA CETAK (PRINT) ===== */
@media print {
.header,
.main-nav,
.portal-nav,
.sticky-header,
.sidebar,
.footer,
.ad-space-wrap,
.menu-toggle,
.search-icon-mobile,
.login-btn {
display: none !important;
}

.main-content {
grid-template-columns: 1fr;
margin: 0;
}

.container {
max-width: 100%;
padding: 0;
}

a {
color: #000 !important;
text-decoration: underline;
}

body {
background: white;
color: black;
font-size: 12pt;
line-height: 1.4;
}
}

/* ===== DUKUNGAN MODE GELAP ===== */
.dark-mode {
/* Variabel untuk mode gelap bisa ditambahkan di sini */
}

.dark-mode .breadcrumb-nav {
background: rgba(255, 255, 255, 0.05);
border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .breadcrumb-item a {
color: rgba(255, 255, 255, 0.7);
}

.dark-mode .breadcrumb-item a:hover {
color: var(--color-primary);
background: rgba(216, 8, 8, 0.2);
}

.dark-mode .breadcrumb-item.active {
color: var(--color-primary);
}

.dark-mode .separator {
color: rgba(255, 255, 255, 0.3);
}

/* ===== MODE KONTRAST TINGGI ===== */
.high-contrast .breadcrumb-nav {
background: #000;
border-bottom: 2px solid #fff;
}

.high-contrast .breadcrumb-item a {
color: #fff;
}

.high-contrast .breadcrumb-item a:hover {
color: #ffff00;
background: #333;
}

.high-contrast .breadcrumb-item.active {
color: #ffff00;
font-weight: bold;
}

.high-contrast .separator {
color: #fff;
}

/* Gabungan Dark + High Contrast */
.dark-mode.high-contrast .breadcrumb-nav {
background: #000;
border-bottom: 2px solid #ffff00;
}

.dark-mode.high-contrast .breadcrumb-item a {
color: #ffff00;
}

.dark-mode.high-contrast .breadcrumb-item a:hover {
color: #ffffff;
background: #333;
}

.dark-mode.high-contrast .breadcrumb-item.active {
color: #ffffff;
font-weight: bold;
}

.dark-mode.high-contrast .separator {
color: #ffff00;
}

/* ===== IKLAN FULL WIDTH ===== */
.ad-fullwidth-wrapper {
width: 100vw;
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
background: #f9f9f9;
border-top: 1px solid var(--color-border);
border-bottom: 1px solid var(--color-border);
padding: 12px 0;
}

.ad-container-full {
max-width: 1056px;
margin: 0 auto;
/* padding: 0 15px; */
}

.ad-content-full {
min-height: 120px;
display: flex;
align-items: center;
justify-content: center;
/*background: #ffffff;*/
/* border-radius: var(--border-radius); */
/* box-shadow: var(--box-shadow); */
transition: var(--transition);
/* border: 1px dashed var(--color-border); */
position: relative;
/*padding: 20px;*/
}

.ad-content-full:hover {
border-color: var(--color-primary);
box-shadow: 0 4px 12px rgba(216, 8, 8, 0.1);
transform: translateY(-2px);
}

.ad-content-full .ad-label {
position: absolute;
top: 8px;
left: 50%;
transform: translateX(-50%);
font-size: 10px;
color: #999;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 500;
background: #ffffff;
padding: 0 8px;
}

.ad-content-full .ad-display {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
min-height: 60px;
}

/* Responsive */
@media (max-width: 768px) {
.ad-fullwidth-wrapper {
padding: 12px 0;
}

.ad-content-full {
min-height: 80px;
padding: 12px;
}
}

@media (max-width: 576px) {
.ad-fullwidth-wrapper {
padding: 12px 0;
}

.ad-content-full {
min-height: 70px;
padding: 12px;
}
}

@media (max-width: 480px) {
.ad-content-full {
min-height: 60px;
}
}


.section-banner {
height: auto;
width: auto;
}

/* ===================================
   INDEPTH SLIDER SECTION
=================================== */

.sindoscope-section {
    background-color: var(--color-dark);
  padding: 30px 15px 24px;
    margin: 30px 0;
    overflow: hidden;
}

/* ========================
   SLIDER CONTAINER
======================== */

.sindoscope-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 0 15px 10px 15px;
}

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

/* ========================
   CARD BASE STYLE
======================== */

.scope-item {
    flex: 0 0 180px;
    background: var(--color-light);
    
    box-shadow: var(--box-shadow);
    overflow: hidden;
    scroll-snap-align: start;
    transition: var(--transition);
    position: relative;
}

.scope-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* ========================
   IMAGE CARD
======================== */

.scope-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* ========================
   HEADER CARD (CARD PERTAMA)
======================== */

.scope-header-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-primary) 10%, transparent) 35%,
    color-mix(in srgb, var(--color-primary) 30%, transparent) 65%,
    var(--color-primary) 100%
);
}
/* ========================
   HEADER WRAPPER
======================== */

.scope-header-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* atas & bawah */
    align-items: center;
    text-align: center;
    height: 180px; /* sesuaikan tinggi header */
    padding: 10px 0;
}

/* ========================
   TITLE
======================== */

.scope-header-content h2 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-light);
    margin: 0;
}

/* .scope-header-content h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    margin: 8px auto 0;
    border-radius: 2px;
} */

/* ========================
   EXPLORE BUTTON
======================== */

.scope-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-light);
    background: var(--color-primary);

    text-decoration: none;
    transition: var(--transition);
    margin-top: auto; /* dorong ke bawah */
}

.scope-explore-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

/* ========================
   MOBILE RESPONSIVE
======================== */

@media (max-width: 768px) {

    .sindoscope-section {
        margin: 20px 0;
    }

    .sindoscope-slider {
        gap: 12px;
        padding: 0 10px 8px 10px;
    }

    .scope-item {
        flex: 0 0 140px;
    }

    .scope-item img {
        height: 200px;
    }

    .scope-header-content h2 {
        font-size: 15px;
    }

    .scope-explore-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}


/* ===================================
   UNDERCOVER STORY SECTION
=================================== */

.undercover-section {
    background-color: var(--color-dark);
    padding: 30px 15px 24px;
    margin: 30px 0;
    overflow: hidden;
}

.undercover-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* scroll-snap-type: x mandatory; */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 0 15px 10px 15px;
}

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

/* Card */
.undercover-item {
    flex: 0 0 200px;
 
   
    box-shadow: var(--box-shadow);
    overflow: hidden;
    scroll-snap-align: start;
    transition: var(--transition);
}

.undercover-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* Image */
.undercover-item img {
    width: 100%;
    height: 152px;
    object-fit: cover;
    display: block;
}

/* Title bawah gambar */
.undercover-title {
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-light);
    line-height: 1.4;
}

.undercover-header {
    flex: 0 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    
   
    
}



.undercover-header-content h2 {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-light);
    margin-bottom: 10px;
}

.undercover-header-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 180px;
}

.undercover-header-content h2 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-light);
}

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

    .undercover-item {
        flex: 0 0 160px;
    }

    .undercover-item img {
        height: 122px;
    }

    .undercover-title {
        font-size: 13px;
    }

    .undercover-header-content h2 {
        font-size: 15px;
    }
}