/*
Theme Name: BeritaWPP
Theme URI: https://asratech.id
Author: ASRATECH
Author URI: https://asratech.id
Description: Theme WordPress modern terinspirasi CNN Indonesia untuk situs berita dan portal informasi. Dilengkapi breaking news ticker, layout grid berita, dan desain responsif.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beritawpp
Tags: news, blog, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #CC0000;
    --primary-dark: #990000;
    --primary-light: #FF3333;
    --secondary: #1A1A1A;
    --dark: #0D0D0D;
    --gray-900: #1A1A1A;
    --gray-800: #2D2D2D;
    --gray-700: #404040;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #BBBBBB;
    --gray-200: #DDDDDD;
    --gray-100: #EEEEEE;
    --gray-50: #F5F5F5;
    --white: #FFFFFF;
    --breaking-bg: #CC0000;
    --category-nasional: #CC0000;
    --category-internasional: #0066CC;
    --category-ekonomi: #009933;
    --category-teknologi: #6633CC;
    --category-olahraga: #FF6600;
    --category-hiburan: #CC0066;
    --category-kesehatan: #009999;
    --category-gayahidup: #FF9900;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --transition: all 0.2s ease;
    --container-width: 1200px;
    --header-height: 60px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-900);
    background-color: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--primary);
}

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background: var(--topbar-bg, var(--dark));
    color: var(--topbar-text, var(--gray-300));
    font-size: 0.75rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-800);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-right a {
    color: var(--topbar-text, var(--gray-300));
    font-size: 0.8rem;
}

.top-bar-right a:hover {
    color: var(--white);
}

.top-bar .date-display {
    color: var(--gray-400);
}

.top-bar-special-links {
    display: flex;
    gap: 12px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.btn-top-special {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-top-special i {
    font-size: 14px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-foto {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5253 100%);
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(238,82,83,0.3);
}

.btn-foto:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(238,82,83,0.5);
    background: linear-gradient(135deg, #ff7e7e 0%, #f06162 100%);
    color: #fff !important;
}

.btn-video {
    background: linear-gradient(135deg, #4834D4 0%, #686DE0 100%);
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(72,52,212,0.3);
}

.btn-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(72,52,212,0.5);
    background: linear-gradient(135deg, #5b48db 0%, #767aed 100%);
    color: #fff !important;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gray-700);
    color: var(--gray-300);
    font-size: 0.65rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Header - CNN Indonesia Style (Logo + Menu inline on red bar)
   ========================================================================== */
.site-header {
    /* not sticky - top bar scrolls away */
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation {
    background: var(--primary);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 8px 0;
    margin-right: 6px;
}

.site-branding .custom-logo {
    height: 55px;
    width: 324px;
}

.site-branding .site-logo-link {
    display: flex;
    align-items: center;
}

.site-branding .site-logo-img {
    height: 55px;
    width: 324px;
    object-fit: contain;
}

.site-title-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-title-text {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--white);
}

.site-title-text .highlight {
    color: var(--gray-200);
}

.site-description {
    display: none;
}

/* Menu Items */
.nav-menu-wrap {
    flex: 1;
    overflow: visible;
    min-width: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: block;
    padding: 18px 14px;
    color: var(--menu-text, #FFFFFF);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-menu>li>a:hover,
.nav-menu>li.current-menu-item>a {
    background: var(--primary-dark);
    color: var(--menu-text, #FFFFFF);
}

.nav-menu>li.menu-item-has-children>a::after {
    content: '\25BC';
    font-size: 0.5rem;
    margin-left: 4px;
    opacity: 0.7;
}

/* Dropdown */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
    z-index: 999;
}

.nav-menu>li:hover>.sub-menu {
    display: block;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--gray-700);
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
    text-transform: none;
    letter-spacing: 0;
}

.nav-menu .sub-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 20px;
}

/* More Button (overflow) */
.nav-more-wrap {
    position: relative;
    flex-shrink: 0;
}

.nav-more-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 42px;
    height: 100%;
    min-height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-more-btn:hover {
    background: var(--primary-dark);
}

.nav-more-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
}

.nav-more-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
    z-index: 999;
}

.nav-more-dropdown.active {
    display: block;
}

.nav-more-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--gray-700);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.nav-more-dropdown a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 20px;
}

/* Header Right Icons */
.header-right {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.header-icon-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.header-icon-btn svg {
    flex-shrink: 0;
}

body:not(.dark-mode) .icon-moon,
body.dark-mode .icon-sun {
    display: none;
}

body.dark-mode .icon-moon {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    margin-right: 15px;
    z-index: 100;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu-close {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.main-navigation {
    background: var(--primary);
    position: relative;
}

.main-navigation .container {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: block;
    padding: 12px 16px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-menu>li>a:hover,
.nav-menu>li.current-menu-item>a,
.nav-menu>li.current_page_item>a {
    background: var(--primary-dark);
    color: var(--white);
}

.nav-menu>li.menu-item-has-children>a::after {
    content: '\25BC';
    font-size: 0.55rem;
    margin-left: 5px;
    opacity: 0.7;
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
    z-index: 999;
}

.nav-menu>li:hover>.sub-menu {
    display: block;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--gray-700);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.nav-menu .sub-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 22px;
}

/* ==========================================================================
   Breaking News Ticker
   ========================================================================== */
.breaking-news {
    background: var(--breaking-news-bg, var(--dark));
    padding: 8px 0;
    overflow: hidden;
}

.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    white-space: nowrap;
    animation: pulse 2s infinite;
    letter-spacing: 0.5px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 20px;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    color: var(--breaking-news-text, var(--gray-300));
    font-size: 0.8rem;
    padding-right: 50px;
    white-space: nowrap;
}

.ticker-item a {
    color: inherit;
    transition: opacity 0.3s ease;
}

.ticker-item a:hover {
    opacity: 0.7;
}

.ticker-item::before {
    content: '\2022';
    color: var(--primary);
    margin-right: 8px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Hero / Featured Slider Section
   ========================================================================== */
.hero-section {
    padding: 25px 0;
    background: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

/* Slider Container */
.hero-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-slide:hover img {
    transform: scale(1.03);
}

.hero-slide .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.hero-slide .category-badge {
    display: inline-block;
    background: var(--primary);
    color: #FFFFFF;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hero-slide h2 {
    color: #FFFFFF;
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero-slide h2 a {
    color: #FFFFFF;
}

.hero-slide h2 a:hover {
    color: #DDDDDD;
}

.hero-slide .hero-meta {
    color: #DDDDDD;
    font-size: 0.75rem;
}

/* Slider Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-slider:hover .hero-slider-arrow {
    opacity: 1;
}

.hero-slider-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
    left: 12px;
}

.hero-slider-next {
    right: 12px;
}

/* Progress Bar (inside image, bottom overlay) */
.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
    pointer-events: none;
}

.hero-slider-progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width linear;
}

/* Sidebar (unchanged) */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-side-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: var(--transition);
}

.hero-side-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.hero-side-thumb {
    width: 130px;
    min-width: 130px;
    height: 85px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hero-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-side-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-side-content .category-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    padding: 2px 6px;
    border-radius: 2px;
    color: var(--white);
    align-self: flex-start;
}

.hero-side-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-side-meta {
    font-size: 0.7rem;
    color: var(--gray-500);
    margin-top: 5px;
}

/* ==========================================================================
   Section Title
   ========================================================================== */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
}

.section-title h2 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gray-900);
    letter-spacing: 0.3px;
}

.section-title h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--primary);
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.section-title .view-all {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.section-title .view-all:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ==========================================================================
   News Grid
   ========================================================================== */
.news-section {
    padding: 30px 0;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.news-main,
.sidebar {
    min-width: 0;
}

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

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-card .card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.news-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .card-thumb img {
    transform: scale(1.05);
}

.news-card .card-thumb .category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.news-card .card-content {
    padding: 14px;
}

.news-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

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

.news-card .card-excerpt {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    color: var(--gray-500);
}

.news-card .card-meta .author {
    font-weight: 600;
    color: var(--gray-700);
}

.news-card .card-meta .separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-400);
}

/* Category Badge Colors */
.cat-nasional {
    background: var(--category-nasional);
}

.cat-internasional {
    background: var(--category-internasional);
}

.cat-ekonomi {
    background: var(--category-ekonomi);
}

.cat-teknologi {
    background: var(--category-teknologi);
}

.cat-olahraga {
    background: var(--category-olahraga);
}

.cat-hiburan {
    background: var(--category-hiburan);
}

.cat-kesehatan {
    background: var(--category-kesehatan);
}

.cat-gayahidup {
    background: var(--category-gayahidup);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget .widget-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    position: relative;
    color: var(--gray-900);
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

/* Trending Widget */
.trending-list {
    counter-reset: trending;
}

.trending-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    counter-increment: trending;
    position: relative;
}

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

.trending-item:first-child {
    padding-top: 0;
}

.trending-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gray-200);
    min-width: 30px;
    line-height: 1;
}

.trending-item:nth-child(1) .trending-number {
    color: var(--primary);
}

.trending-item:nth-child(2) .trending-number {
    color: var(--primary);
}

.trending-item:nth-child(3) .trending-number {
    color: var(--primary);
}

.trending-content .trending-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.trending-content .trending-meta {
    font-size: 0.7rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Popular Widget */
.popular-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.popular-thumb {
    width: 80px;
    min-width: 80px;
    height: 55px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.popular-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popular-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

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

.popular-meta {
    font-size: 0.65rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-section {
    padding: 30px 0;
    background: var(--dark);
}

.video-section .section-title {
    border-bottom-color: var(--gray-700);
}

.video-section .section-title h2 {
    color: var(--white);
}

.video-section .section-title .view-all {
    color: var(--primary-light);
}

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

.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.video-card .video-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-card .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(204, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.video-card:hover .video-play-btn {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card .video-title {
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-200);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card:hover .video-title {
    color: var(--white);
}

/* ==========================================================================
   Category Strip Section
   ========================================================================== */
.category-section {
    padding: 30px 0;
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-block {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.category-block-header {
    padding: 12px 18px;
    border-bottom: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-block-header h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gray-900);
}

.category-block-header a {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.category-block-content {
    padding: 15px;
}

.category-featured {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-100);
}

.category-featured-thumb {
    width: 200px;
    min-width: 200px;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.category-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-featured-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
    transition: var(--transition);
}

.category-featured-title:hover {
    color: var(--primary);
}

.category-list-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.category-list-item a {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.category-list-item a::before {
    content: '\25B8';
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 1px;
}

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

/* ==========================================================================
   Single Post
   ========================================================================== */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 30px 0;
}

.post-content-area {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.post-header {
    padding: 25px;
    border-bottom: 1px solid var(--gray-100);
}

.post-header .category-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    color: var(--white);
    margin-bottom: 12px;
}

.post-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.post-meta .author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta .author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.post-meta .author-name {
    font-weight: 600;
    color: var(--gray-800);
}

.post-meta .meta-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-400);
}

.post-featured-image {
    width: 100%;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.post-featured-image .image-caption {
    padding: 8px 25px;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-style: italic;
    background: var(--gray-50);
    text-align: center;
}

.post-body {
    padding: 25px;
}

.post-body p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: var(--gray-800);
}

.post-body h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.post-body h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
}

.post-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin: 1.5rem 0;
    background: var(--gray-50);
    font-style: italic;
    color: var(--gray-700);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-body ul,
.post-body ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-body ul {
    list-style: disc;
}

.post-body ol {
    list-style: decimal;
}

.post-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.post-body figure {
    margin: 1.5rem 0;
}

.post-body figcaption {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Post Tags */
.post-tags {
    padding: 20px 25px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.post-tags .tags-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-right: 5px;
}

.post-tags a {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    border-radius: 20px;
    transition: var(--transition);
}

.post-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Share Buttons */
.share-buttons {
    padding: 20px 25px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-buttons .share-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.share-btn:hover {
    opacity: 0.85;
    color: var(--white);
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.telegram {
    background: #0088CC;
}

/* Related Posts */
.related-posts {
    padding: 25px;
    border-top: 1px solid var(--gray-100);
}

.related-posts h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

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

.related-item .related-thumb {
    aspect-ratio: 16/10;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 8px;
}

.related-item .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item .related-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

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

/* ==========================================================================
   Comments
   ========================================================================== */
.comments-area {
    padding: 25px;
    border-top: 1px solid var(--gray-100);
}

.comments-area h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.comment-list {
    margin-bottom: 25px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-100);
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.comment-meta .comment-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.comment-meta .comment-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.comment-text {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.comment-respond textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    resize: vertical;
    min-height: 100px;
    transition: var(--transition);
}

.comment-respond textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.comment-respond input:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-respond .submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.comment-respond .submit-btn:hover {
    background: var(--primary-dark);
}

/* ==========================================================================
   Archive / Category Pages
   ========================================================================== */
.archive-header {
    background: var(--primary);
    padding: 30px 0;
    color: var(--white);
}

.archive-header h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.archive-header .archive-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 5px;
}

.archive-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 30px 0;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ==========================================================================
   Search Results
   ========================================================================== */
.search-header {
    background: var(--gray-100);
    padding: 25px 0;
    border-bottom: 1px solid var(--gray-200);
}

.search-header h1 {
    font-size: 1.5rem;
}

.search-header .search-term {
    color: var(--primary);
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
}

.error-404 .error-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--gray-200);
    line-height: 1;
}

.error-404 h2 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: var(--gray-700);
}

.error-404 p {
    color: var(--gray-500);
    margin-bottom: 25px;
}

.error-404 .search-form {
    max-width: 400px;
    margin: 0 auto;
}

.error-404 .back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.error-404 .back-link:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--dark);
    color: var(--gray-400);
    margin-top: 40px;
}

.footer-main {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-about p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 15px;
}

.footer-links li {
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-800);
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-800);
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .dots {
    border: none;
    background: none;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
    padding: 12px 0;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.breadcrumbs a {
    color: var(--gray-500);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: var(--gray-400);
}

/* ==========================================================================
   Search Popup Modal
   ========================================================================== */
.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

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

.search-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.search-popup-content {
    position: relative;
    width: 90%;
    max-width: 640px;
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: searchSlideDown 0.3s ease;
    z-index: 1;
}

@keyframes searchSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-popup-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.search-popup-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray-400);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.search-popup-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.search-popup-form {
    margin-bottom: 20px;
}

.search-popup-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 12px 18px;
    transition: var(--transition);
}

.search-popup-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.search-popup-input-wrap svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.search-popup-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--gray-900);
    background: transparent;
}

.search-popup-input-wrap input::placeholder {
    color: var(--gray-400);
}

.search-popup-suggestions {
    padding-top: 5px;
}

.search-popup-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 10px;
}

.search-popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-popup-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 20px;
    transition: var(--transition);
}

.search-popup-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Dark Mode
   ========================================================================== */
body.dark-mode {
    --white: #1A1A1A;
    --gray-50: #111111;
    --gray-100: #222222;
    --gray-200: #333333;
    --gray-300: #666666;
    --gray-400: #888888;
    --gray-500: #999999;
    --gray-600: #AAAAAA;
    --gray-700: #CCCCCC;
    --gray-800: #DDDDDD;
    --gray-900: #EEEEEE;
    --dark: #EEEEEE;
    --secondary: #EEEEEE;
}

body.dark-mode .site-header {
    background: #111;
    border-bottom-color: #222;
}

body.dark-mode .main-navigation {
    background: var(--primary);
}

body.dark-mode .breaking-news {
    background: #111;
}

body.dark-mode .news-card,
body.dark-mode .post-content-area,
body.dark-mode .sidebar-widget,
body.dark-mode .category-block,
body.dark-mode .hero-side-item,
body.dark-mode .video-featured-card,
body.dark-mode .video-card,
body.dark-mode .video-widget-item {
    background: #1A1A1A;
    border-color: #2A2A2A;
}

body.dark-mode .top-bar {
    background: #000;
}

body.dark-mode .search-popup-content {
    background: #1A1A1A;
}

body.dark-mode .search-popup-input-wrap {
    border-color: #333;
    background: #222;
}

body.dark-mode .search-popup-input-wrap input {
    color: #EEE;
}

body.dark-mode .search-popup-tags a {
    background: #2A2A2A;
    color: #CCC;
}

body.dark-mode .header-icon-btn {
    color: #CCC;
}

body.dark-mode .header-icon-btn:hover {
    background: #2A2A2A;
    color: var(--primary);
}

body.dark-mode .mobile-menu-toggle span {
    background: #EEE;
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Video Card Enhancements (Index Page)
   ========================================================================== */
.video-card {
    position: relative;
    cursor: pointer;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--white);
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 3px;
    z-index: 2;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(204, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    z-index: 2;
}

.video-card:hover .video-play-icon {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.15);
}

/* ==========================================================================
   Video Modal (Index Page Inline Player)
   ========================================================================== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 2;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-modal-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-info {
    padding: 15px 0;
}

.video-modal-info h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================================================
   Video Archive Page (Berita Video)
   ========================================================================== */
.video-archive-header {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 50%, var(--primary-dark) 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.video-archive-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.video-archive-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.video-archive-header-inner {
    position: relative;
    z-index: 1;
}

.video-archive-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.video-archive-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    color: var(--white);
    font-size: 1.5rem;
}

.video-archive-header h1 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.video-archive-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

/* Featured Video Section */
.video-featured-section {
    padding: 30px 0 10px;
}

.video-featured-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-featured-player {
    position: relative;
    cursor: pointer;
}

.video-featured-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-featured-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-featured-player:hover .video-featured-thumb img {
    transform: scale(1.02);
}

.video-featured-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(204, 0, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3;
    box-shadow: 0 5px 25px rgba(204, 0, 0, 0.4);
}

.video-featured-play-btn span {
    color: var(--white);
    font-size: 2rem;
    margin-left: 5px;
}

.video-featured-player:hover .video-featured-play-btn {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-featured-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

.video-featured-info {
    padding: 25px;
}

.video-featured-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.3;
}

.video-featured-info h2 a {
    color: var(--gray-900);
}

.video-featured-info h2 a:hover {
    color: var(--primary);
}

.video-featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.video-featured-excerpt {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Video Archive Layout */
.video-archive-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 20px 0 40px;
}

.video-archive-section {
    margin-bottom: 30px;
}

.video-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-archive-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-archive-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.video-archive-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.video-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-archive-card:hover .video-archive-thumb img {
    transform: scale(1.05);
}

.video-archive-thumb .video-play-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.video-archive-card:hover .video-archive-thumb .video-play-icon {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-archive-card-content {
    padding: 14px;
}

.video-card-cat {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.video-archive-card-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.video-archive-card:hover .video-archive-card-title {
    color: var(--primary);
}

.video-archive-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--gray-500);
}

/* Video Widget Styles */
.video-widget-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-widget-item {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.video-widget-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.video-widget-thumb {
    position: relative;
    width: 110px;
    min-width: 110px;
    height: 65px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.video-widget-duration {
    position: absolute;
    bottom: 3px;
    right: 3px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--white);
    padding: 1px 5px;
    font-size: 0.6rem;
    font-weight: 600;
    border-radius: 2px;
}

.video-widget-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(204, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.6rem;
    opacity: 0;
    transition: var(--transition);
}

.video-widget-item:hover .video-widget-play {
    opacity: 1;
}

.video-widget-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-widget-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.video-widget-title:hover {
    color: var(--primary);
}

.video-widget-meta {
    font-size: 0.65rem;
    color: var(--gray-500);
    margin-top: 3px;
}

/* ==========================================================================
   Single Video Page
   ========================================================================== */
.video-single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 20px 0 40px;
}

.video-player-wrapper {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-player-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-player-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-player-embed img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-single-info {
    padding: 25px 0;
}

.video-single-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 12px 0;
    color: var(--gray-900);
}

.video-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.video-single-meta .meta-icon {
    margin-right: 3px;
}

.video-single-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 25px;
}

.video-single-desc p {
    margin-bottom: 1rem;
}

/* Video Related Section */
.video-related-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-100);
}

.video-section-heading {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
}

.video-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.video-related-card {
    transition: var(--transition);
}

.video-related-card:hover {
    transform: translateY(-3px);
}

.video-related-thumb {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 8px;
}

.video-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-related-card:hover .video-related-thumb img {
    transform: scale(1.05);
}

.video-related-thumb .video-play-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
}

.video-related-card:hover .video-related-thumb .video-play-icon {
    opacity: 1;
}

.video-related-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.video-related-title:hover {
    color: var(--primary);
}

.video-related-meta {
    font-size: 0.7rem;
    color: var(--gray-500);
    margin-top: 3px;
}

/* ==========================================================================
   Liputan Khusus Section
   ========================================================================== */
.liputan-khusus-section {
    padding: 40px 0;
}

.liputan-khusus-inline {
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
}

/* BSI-style Section Header */
.liputan-khusus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.liputan-khusus-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.liputan-brand-logo {
    max-height: 60px;
    max-width: 200px;
    object-fit: contain;
}

.liputan-brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.liputan-view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.liputan-view-all:hover {
    gap: 8px;
}

.liputan-view-all span {
    font-size: 1.3rem;
    line-height: 1;
}

/* Info Icons */
.liputan-info-list {
    margin: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.liputan-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.liputan-info-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--gray-400);
}

/* CTA Button */
.liputan-cta-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    margin-top: 16px;
    color: var(--white);
    background: var(--primary);
}

.liputan-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* CTA Color Variants */
.liputan-cta-red {
    background: linear-gradient(135deg, #CC0000, #FF3333);
}

.liputan-cta-blue {
    background: linear-gradient(135deg, #0066CC, #3399FF);
}

.liputan-cta-green {
    background: linear-gradient(135deg, #009933, #00CC44);
}

.liputan-cta-purple {
    background: linear-gradient(135deg, #6633CC, #9966FF);
}

.liputan-cta-orange {
    background: linear-gradient(135deg, #FF6600, #FF9933);
}

/* Badge Color Variants */
.liputan-badge-red {
    background: linear-gradient(135deg, #CC0000, #FF3333);
}

.liputan-badge-blue {
    background: linear-gradient(135deg, #0066CC, #3399FF);
}

.liputan-badge-green {
    background: linear-gradient(135deg, #009933, #00CC44);
}

.liputan-badge-purple {
    background: linear-gradient(135deg, #6633CC, #9966FF);
}

.liputan-badge-orange {
    background: linear-gradient(135deg, #FF6600, #FF9933);
}

.liputan-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 25px;
}

.liputan-slider-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.liputan-slider-item {
    flex: 0 0 calc((100% - 25px) / 2);
    min-width: 0;
}

.liputan-khusus-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.liputan-khusus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.liputan-khusus-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.liputan-khusus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.liputan-khusus-card:hover .liputan-khusus-image img {
    transform: scale(1.08);
}

.liputan-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.liputan-khusus-content {
    padding: 20px;
}

.liputan-khusus-title {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.liputan-khusus-title a {
    color: var(--gray-900);
    transition: var(--transition);
}

.liputan-khusus-title a:hover {
    color: var(--primary);
}

.liputan-khusus-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.liputan-khusus-meta {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Color Variants */
.liputan-color-red .liputan-badge {
    background: linear-gradient(135deg, #CC0000 0%, #FF3333 100%);
}

.liputan-color-blue .liputan-badge {
    background: linear-gradient(135deg, #0066CC 0%, #3399FF 100%);
}

.liputan-color-green .liputan-badge {
    background: linear-gradient(135deg, #009933 0%, #00CC44 100%);
}

.liputan-color-purple .liputan-badge {
    background: linear-gradient(135deg, #6633CC 0%, #9966FF 100%);
}

.liputan-color-orange .liputan-badge {
    background: linear-gradient(135deg, #FF6600 0%, #FF9933 100%);
}

/* Hover effects for color variants */
.liputan-color-red:hover {
    border-top: 3px solid #CC0000;
}

.liputan-color-blue:hover {
    border-top: 3px solid #0066CC;
}

.liputan-color-green:hover {
    border-top: 3px solid #009933;
}

.liputan-color-purple:hover {
    border-top: 3px solid #6633CC;
}

.liputan-color-orange:hover {
    border-top: 3px solid #FF6600;
}

/* Slider Navigation Arrows */
.liputan-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.liputan-slider-wrapper:hover .liputan-slider-arrow {
    opacity: 1;
}

.liputan-slider-arrow:hover {
    background: var(--primary);
    box-shadow: 0 6px 16px rgba(204, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.liputan-slider-arrow:hover svg {
    stroke: var(--white);
}

.liputan-slider-prev {
    left: -20px;
}

.liputan-slider-next {
    right: -20px;
}

/* Slider Indicators */
.liputan-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.liputan-indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.liputan-indicator-dot:hover {
    background: var(--gray-500);
    transform: scale(1.2);
}

.liputan-indicator-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

/* ==========================================================================
   Foto Layouts
   ========================================================================== */
.foto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.foto-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.foto-archive-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-slider-track {
        /* prevent slider from breaking on tablet */
    }

    .hero-slide img {
        height: 300px;
    }

    .hero-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        opacity: 1;
    }

    .hero-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }

    .hero-side-item {
        min-width: 280px;
    }

    .news-layout,
    .single-post-layout,
    .archive-layout {
        grid-template-columns: 1fr;
    }

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

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

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

    .video-archive-layout {
        grid-template-columns: 1fr;
    }

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

    .video-single-layout {
        grid-template-columns: 1fr;
    }

    .foto-grid,
    .foto-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .foto-archive-layout {
        flex-direction: column;
    }

    .liputan-slider-item {
        flex: 0 0 calc((100% - 25px) / 2);
    }

    .liputan-slider-prev {
        left: -10px;
    }

    .liputan-slider-next {
        right: -10px;
    }

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

    .category-grid {
        grid-template-columns: 1fr;
    }

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

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

    .liputan-khusus-inline {
        padding: 20px;
    }

    .liputan-slider-item {
        flex: 0 0 100%;
    }

    .top-bar {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
        order: 1;
        background: rgba(0, 0, 0, 0.2) !important;
        border-radius: 4px;
        min-width: 40px;
        min-height: 40px;
    }

    .site-branding {
        order: 2;
        flex: 1;
    }

    .header-right {
        order: 3;
    }

    .nav-inner {
        display: flex;
        align-items: center;
        padding: 8px 0;
    }

    .nav-menu-wrap,
    .nav-more-wrap {
        display: none !important;
    }

    /* Mobile Menu - Fullscreen Popup */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10000;
        display: none;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-menu-popup {
        width: 100%;
        height: 100%;
        background: var(--white);
        display: flex;
        flex-direction: column;
        animation: mobileMenuFade 0.25s ease;
        overflow-y: auto;
    }

    @keyframes mobileMenuFade {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 16px 20px;
        flex-shrink: 0;
    }



    .mobile-menu-close-btn {
        background: rgba(0, 0, 0, 0.05);
        border: none;
        font-size: 1.4rem;
        color: var(--dark);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: var(--transition);
    }

    .mobile-menu-close-btn:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .mobile-nav-menu {
        flex-direction: column;
        display: flex;
        width: 100%;
        flex: 1;
        padding: 10px 0 30px;
        list-style: none;
        margin: 0;
    }

    .mobile-nav-menu>li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-menu>li:last-child {
        border-bottom: none;
    }

    .mobile-nav-menu>li>a {
        display: block;
        padding: 18px 24px;
        color: var(--dark);
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0.2px;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-menu>li.current-menu-item>a,
    .mobile-nav-menu>li>a:hover {
        background: rgba(0, 0, 0, 0.02);
        color: var(--primary);
    }

    .mobile-nav-menu>li.menu-item-has-children>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-nav-menu>li.menu-item-has-children>a::after {
        content: '\25BC';
        font-size: 0.55rem;
        opacity: 0.6;
        transition: transform 0.2s;
    }

    .mobile-nav-menu>li.menu-item-has-children.submenu-open>a::after {
        transform: rotate(180deg);
    }

    .mobile-nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.02);
        display: none;
        padding: 0;
        list-style: none;
        margin: 0;
    }

    .mobile-nav-menu .sub-menu.active {
        display: block;
    }

    .mobile-nav-menu .sub-menu li a {
        color: var(--gray-600);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 13px 24px 13px 40px;
        font-weight: 500;
        font-size: 0.95rem;
        text-transform: none;
        letter-spacing: 0;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .mobile-nav-menu .sub-menu li a:hover {
        color: var(--primary);
        background: rgba(0, 0, 0, 0.03);
    }

    .site-branding .custom-logo,
    .site-branding .site-logo-img {
        height: 40px;
        width: 236px;
    }

    .nav-menu>li.menu-item-has-children>a::after {
        content: '\25BC';
        font-size: 0.55rem;
        opacity: 0.6;
        transition: transform 0.2s;
    }

    .nav-menu>li.menu-item-has-children.submenu-open>a::after {
        transform: rotate(180deg);
    }

    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.15);
        display: none;
        padding: 0;
    }

    .nav-menu .sub-menu.active {
        display: block;
    }

    .nav-menu .sub-menu li a {
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 13px 24px 13px 40px;
        font-weight: 500;
        font-size: 0.95rem;
    }

    .nav-menu .sub-menu li a:hover {
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
    }

    .header-main .container {
        flex-wrap: nowrap;
    }

    .site-branding .custom-logo,
    .site-branding .site-logo-img {
        height: 40px;
        width: 236px;
    }

    .site-title-text {
        font-size: 1.5rem;
    }

    .header-icon-btn {
        width: 38px;
        height: 38px;
    }

    .search-popup-content {
        padding: 20px;
        margin: 0 10px;
    }

}

@media (max-width: 768px) {

    .hero-slide img {
        height: 250px;
    }

    .hero-slide h2 {
        font-size: 1.2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-archive-grid {
        grid-template-columns: 1fr;
    }

    .video-archive-header h1 {
        font-size: 1.4rem;
    }

    .video-archive-title-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .video-featured-play-btn {
        width: 60px;
        height: 60px;
    }

    .video-featured-play-btn span {
        font-size: 1.5rem;
    }

    .video-related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .video-modal-content {
        width: 95%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }

    .post-header h1 {
        font-size: 1.4rem;
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    :root {
        --container-width: 100%;
    }

    .container {
        padding: 0 12px;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .hero-slide img {
        height: 200px;
    }

    .hero-slide h2 {
        font-size: 1rem;
    }

    .hero-slide .hero-overlay {
        padding: 15px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-sidebar {
        flex-direction: column;
    }

    .hero-side-item {
        min-width: auto;
    }

    .liputan-slider-item {
        flex: 0 0 100%;
    }

    .liputan-slider-arrow {
        display: none;
    }

    .liputan-khusus-inline {
        padding: 15px;
        border-radius: 8px;
    }

    .liputan-khusus-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ==========================================================================
   Share Buttons Container
   ========================================================================== */
.share-buttons-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.dark-mode .share-buttons-container {
    border-color: var(--gray-700);
}

.share-toggle-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.share-toggle-btn:hover,
.share-toggle-btn.active {
    background-color: var(--primary-dark);
}

.share-buttons-list {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease;
}

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

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}

.share-btn i {
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    color: var(--white);
}

.share-btn.facebook { background-color: #1877F2; }
.share-btn.twitter { background-color: #000000; }
.dark-mode .share-btn.twitter { border: 1px solid #333; }
.share-btn.whatsapp { background-color: #25D366; }
.share-btn.telegram { background-color: #0088cc; }

/* ==========================================================================
   Post Reactions
   ========================================================================== */
.post-reactions {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
}

.dark-mode .post-reactions {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.reaction-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.reaction-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.reaction-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    transition: all 0.2s ease;
    background: #fff;
}

.dark-mode .reaction-btn {
    background: var(--gray-900);
    border-color: var(--gray-600);
    color: var(--white);
}

.reaction-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.dark-mode .reaction-btn:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.reaction-emoji {
    font-size: 2.5rem;
    margin-bottom: 5px;
    transition: transform 0.2s ease;
}

.reaction-btn:hover .reaction-emoji {
    transform: scale(1.1);
}

.reaction-label {
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.reaction-count {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 12px;
}

.dark-mode .reaction-count {
    color: var(--gray-300);
    background: var(--gray-700);
}

/* State Has Voted */
.post-reactions.has-voted .reaction-btn {
    opacity: 0.6;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.post-reactions.has-voted .reaction-btn.voted {
    opacity: 1;
    border-color: var(--primary);
    background: rgba(204, 0, 0, 0.05);
}

.dark-mode .post-reactions.has-voted .reaction-btn.voted {
    background: rgba(204, 0, 0, 0.2);
}

.post-reactions.has-voted .reaction-btn:hover .reaction-emoji {
    transform: none;
}

/* ==========================================================================
   Modern Post Meta
   ========================================================================== */
.post-meta-modern {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 25px 0 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #ebebeb;
}

.dark-mode .post-meta-modern {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    border-radius: 50%;
    border: 2px solid var(--primary);
    padding: 2px;
    background: var(--white);
    width: 42px;
    height: 42px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.dark-mode .author-avatar {
    background: var(--gray-900);
    border-color: var(--primary-dark);
}

.meta-author .author-name {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.dark-mode .meta-author .author-name {
    color: var(--white);
}

.meta-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.dark-mode .meta-item {
    color: var(--gray-400);
}

.meta-item i {
    color: var(--primary);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .post-meta-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ==========================================================================
   Berita Foto Styles
   ========================================================================== */
.foto-card {
    transition: transform 0.3s ease;
}

.foto-card:hover {
    transform: translateY(-5px) !important;
}

.foto-card:hover .foto-thumb img {
    transform: scale(1.05) !important;
}

.foto-gallery-item {
    transition: box-shadow 0.3s ease;
}

.foto-gallery-item:hover {
    box-shadow: var(--shadow-md) !important;
}

/* Widget Styles */
.widget-post-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.widget-post-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    display: block;
}

.widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget-post-item:hover .widget-post-thumb img {
    transform: scale(1.1);
}

.widget-post-content h4 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.widget-post-content h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget-post-content h4 a:hover {
    color: var(--primary);
}

.widget-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ==========================================================================
   Foto Modal & Slider
   ========================================================================== */
.foto-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.foto-modal.active {
    display: flex;
}

.foto-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.foto-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: var(--dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.foto-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.foto-modal-close:hover {
    opacity: 1;
}

.foto-modal-slider-wrap {
    position: relative;
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    min-height: 300px;
}

.foto-modal-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.foto-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-slide.active {
    opacity: 1;
    z-index: 2;
}

.foto-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.foto-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.foto-modal-nav:hover {
    background: rgba(0,0,0,0.8);
}

.foto-modal-nav.prev {
    left: 20px;
}

.foto-modal-nav.next {
    right: 20px;
}

.foto-modal-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    z-index: 3;
}

.foto-modal-info {
    padding: 20px;
    background: var(--white);
}

.foto-modal-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--dark);
}

.foto-modal-info p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .foto-modal-slider-wrap {
        height: 40vh;
    }
}

/* ==========================================================================
   Ad Wrappers
   ========================================================================== */
.ad-header-wrapper {
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}
.ad-post-wrapper {
    background: #f9f9f9;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 4px;
}
.ad-index-wrapper {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
}
.foto-slide > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}