/* =============================================
   KOLKITA MEDIA - MAIN STYLESHEET
   Professional News Portal Design
   ============================================= */

/* === CSS VARIABLES === */
:root {
    --primary: #c0392b;
    --primary-dark: #96281b;
    --primary-light: #e74c3c;
    --primary-hover: #a93226;
    --secondary: #2c3e50;
    --secondary-light: #34495e;
    --accent: #f39c12;
    --accent-dark: #d68910;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #ecf0f1;
    --gray: #bdc3c7;
    --mid-gray: #95a5a6;
    --dark-gray: #7f8c8d;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: #666;
    --text-muted: #999;
    --border: #e8e8e8;
    --border-dark: #d0d0d0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
    --font-serif: 'Source Serif 4', Georgia, serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background: #f4f4f4;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* === LAYOUT === */
.container-wide {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; margin-top: 28px; }
.main-content { min-width: 0; }
.sidebar { min-width: 0; }

/* === TOPBAR === */
.topbar {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    font-size: 0.78rem;
    padding: 8px 0;
    position: relative;
    z-index: 100;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.topbar-date, .topbar-email {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
}
.topbar-email:hover { color: var(--accent); }
.social-links { display: flex; align-items: center; gap: 4px; }
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.75rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.topbar-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.8rem;
    transition: var(--transition);
}
.topbar-search-btn:hover { background: var(--primary); }

/* === SITE HEADER === */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 200;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.site-logo a {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}
.logo-img:hover { opacity: 0.9; transform: scale(1.02); }
.header-ad-space {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-ad-link {
    display: inline-block;
    line-height: 0;
    max-width: 100%;
}
.header-ad-img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: var(--transition);
}
.header-ad-link:hover .header-ad-img {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* === NEWS TICKER === */
.news-ticker-wrap {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 10px 0;
    overflow: hidden;
}
.ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
}
.ticker-label {
    background: var(--white);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}
.ticker-item {
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.ticker-item:hover { color: var(--accent); }
.ticker-sep { color: rgba(255,255,255,0.5); margin: 0 8px; }
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === MAIN NAVIGATION === */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 150;
}
.nav-inner {
    display: flex;
    align-items: center;
    position: relative;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}
.nav-item {
    position: relative;
}
.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    position: relative;
}
.nav-item > a:hover,
.nav-item.active > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(192,57,43,0.04);
}
.nav-item.has-dropdown > a .dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s;
}
.nav-item.has-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 300;
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.83rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover {
    background: linear-gradient(135deg, rgba(192,57,43,0.06), rgba(192,57,43,0.03));
    color: var(--primary);
    padding-left: 24px;
}

/* Nav Search */
.nav-search { display: flex; align-items: center; }
.search-form { display: flex; align-items: center; gap: 0; }
.search-input {
    border: 1px solid var(--border);
    border-right: none;
    padding: 7px 14px;
    border-radius: 24px 0 0 24px;
    font-size: 0.82rem;
    color: var(--text-primary);
    background: var(--off-white);
    width: 200px;
    outline: none;
    transition: var(--transition);
}
.search-input:focus {
    border-color: var(--primary);
    background: var(--white);
    width: 240px;
}
.search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 7px 14px;
    border-radius: 0 24px 24px 0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}
.search-btn:hover { background: var(--primary-dark); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* === HERO SLIDER === */
.hero-slider-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.hero-slider-wrap {
    padding: 20px 0;
}
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 500px;
    background: var(--secondary);
}
.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slide {
    min-width: 100%;
    position: relative;
    height: 500px;
}
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    padding: 40px 36px 32px;
    color: var(--white);
}
.slide-category-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.slide-title {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.slide-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}
.slide-meta span { display: flex; align-items: center; gap: 5px; }

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow);
    z-index: 10;
}
.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}
.slider-btn-prev { left: 16px; }
.slider-btn-next { right: 16px; }
.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 36px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.slider-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* === BREAKING NEWS BAR === */
.breaking-bar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 12px 0;
    margin-bottom: 0;
}
.breaking-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}
.breaking-label {
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.breaking-label::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    animation: labelShine 2s infinite;
}
@keyframes labelShine {
    0% { left: -100%; }
    100% { left: 200%; }
}
.breaking-text {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.breaking-text a { color: rgba(255,255,255,0.9); }
.breaking-text a:hover { color: var(--accent); }

/* === SECTION STYLES === */
.section-wrap { padding: 28px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    position: relative;
}
.section-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: '';
    display: block;
    width: 5px;
    height: 22px;
    background: var(--primary);
    border-radius: 3px;
}
.section-title i { color: var(--primary); }
.section-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: var(--transition);
}
.section-more:hover {
    background: var(--primary);
    color: var(--white);
}

/* === FEATURE POST GRID === */
.feature-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.feature-main-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 380px;
    background: var(--secondary);
}
.feature-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.feature-main-card:hover img { transform: scale(1.05); }
.feature-main-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 30px 24px 22px;
    color: var(--white);
}
.post-category-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.feature-main-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.feature-main-title:hover { color: var(--accent); }
.feature-side-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-side-card {
    display: flex;
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: calc((380px - 32px) / 3);
}
.feature-side-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}
.feature-side-img {
    width: 120px;
    flex-shrink: 0;
    overflow: hidden;
}
.feature-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.feature-side-card:hover .feature-side-img img { transform: scale(1.08); }
.feature-side-info {
    flex: 1;
    padding: 12px 14px 12px 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.feature-side-title {
    font-family: var(--font-serif);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
.feature-side-title:hover { color: var(--primary); }
.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.post-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--text-muted);
}
.post-meta-item i { font-size: 0.65rem; }

/* === NEWS CARD GRID === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.news-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-img .post-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    margin: 0;
    z-index: 2;
}
.news-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
    flex: 1;
}
.news-card-title:hover { color: var(--primary); }
.news-card-excerpt {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.read-more-btn:hover { gap: 8px; }
.views-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* === LIST POST STYLE === */
.list-post {
    display: flex;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 14px;
}
.list-post:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}
.list-post-img {
    width: 130px;
    height: 90px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.list-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.list-post:hover .list-post-img img { transform: scale(1.08); }
.list-post-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.list-post-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list-post-title:hover { color: var(--primary); }

/* === SIDEBAR === */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
}
.widget-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.widget-body { padding: 16px; }

/* Popular Posts Widget */
.popular-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.popular-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.popular-post-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    opacity: 0.3;
    width: 28px;
    flex-shrink: 0;
    font-style: italic;
}
.popular-post-img {
    width: 70px;
    height: 55px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.popular-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.popular-post-item:hover .popular-post-img img { transform: scale(1.08); }
.popular-post-info { flex: 1; }
.popular-post-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.popular-post-title:hover { color: var(--primary); }
.popular-post-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Category Widget */
.category-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.category-list-item:last-child { border-bottom: none; }
.category-list-item a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.category-list-item:hover a { color: var(--primary); padding-left: 6px; }
.category-list-item a i { color: var(--primary); font-size: 0.7rem; }
.cat-count {
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 28px;
    text-align: center;
}

/* Tags Widget */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
    background: var(--off-white);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.tag-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* === CATEGORY SECTION === */
.category-section {
    background: var(--white);
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

/* Tabbed Categories */
.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
    overflow-x: auto;
}
.tab-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: var(--transition);
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* === VIDEO SECTION === */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.video-thumb {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: var(--secondary);
}
.video-thumb iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-info { padding: 14px; }
.video-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
    flex-wrap: wrap;
}
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}
.page-link:hover,
.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* === SINGLE POST === */
.post-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    box-shadow: var(--shadow-lg);
}
.post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
    padding: 50px 36px 32px;
    color: var(--white);
}
.post-hero-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.post-content-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}
.post-content {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}
.post-content p { margin-bottom: 1.4em; }
.post-content h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 1.5em 0 0.7em; color: var(--text-primary); }
.post-content h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 1.3em 0 0.6em; color: var(--text-primary); }
.post-content img { border-radius: var(--radius); margin: 1.5em 0; max-width: 100%; }
.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    background: rgba(192,57,43,0.05);
    margin: 1.5em 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Post Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 24px 0;
    flex-wrap: wrap;
}
.share-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }
.share-tg { background: #0088cc; }

/* Post Tags */
.post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.post-tags-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }

/* === RELATED POSTS === */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.related-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.related-img {
    height: 160px;
    overflow: hidden;
}
.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.related-card:hover .related-img img { transform: scale(1.06); }
.related-info { padding: 14px; }
.related-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-title:hover { color: var(--primary); }

/* === PHOTO GALLERY === */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.photo-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.photo-item:hover img { transform: scale(1.1); }
.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay i { color: var(--white); font-size: 1.5rem; }

/* === FOOTER === */
.site-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    color: rgba(255,255,255,0.85);
    margin-top: 40px;
}
.footer-top { padding: 50px 0 36px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 36px;
}
.footer-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}
.footer-desc {
    font-size: 0.83rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    transition: var(--transition);
}
.footer-social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-links a i { color: var(--primary); font-size: 0.65rem; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }

/* Footer Recent Posts */
.footer-recent-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}
.footer-recent-item:last-child { border-bottom: none; }
.footer-recent-item:hover { padding-left: 5px; }
.footer-recent-img {
    width: 60px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.footer-recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.footer-recent-info { flex: 1; }
.footer-recent-info p {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    margin-bottom: 4px;
}
.footer-recent-date {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Newsletter */
.footer-newsletter {
    background: rgba(192,57,43,0.15);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 22px 0;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.newsletter-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.newsletter-text h4 i { color: var(--accent); }
.newsletter-text p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.newsletter-form { display: flex; gap: 0; flex: 1; max-width: 480px; }
.newsletter-input {
    flex: 1;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-radius: 24px 0 0 24px;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { border-color: var(--primary); background: rgba(255,255,255,0.12); }
.newsletter-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 0 24px 24px 0;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.newsletter-btn:hover { background: var(--primary-dark); }

/* Footer Bottom */
.footer-bottom {
    padding: 16px 0;
    background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--accent); }

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    border: none;
    cursor: pointer;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* === BREADCRUMB === */
.breadcrumb-wrap {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-secondary); font-weight: 500; }

/* === ALERTS === */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* === SEARCH PAGE === */
.search-results-header {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-count { font-size: 0.9rem; color: var(--text-secondary); }
.search-count strong { color: var(--primary); }

/* === PHOTO LIGHTBOX === */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* === LOADING SKELETON === */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.fade-in { animation: fadeIn 0.4s ease forwards; }

/* === UTILITY CLASSES === */
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.bg-white { background: var(--white); }
.rounded { border-radius: var(--radius); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.p-20 { padding: 20px; }
.no-posts {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    background: var(--white);
    border-radius: var(--radius);
}
.no-posts i { font-size: 3rem; margin-bottom: 12px; opacity: 0.3; }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .container-wide { padding: 0 16px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
    .main-content { order: 1; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-main-card { height: 300px; }
    .feature-side-cards { flex-direction: row; flex-wrap: wrap; }
    .feature-side-card { flex: 1; min-width: 200px; height: 140px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .ad-placeholder { display: none; }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .site-header {
        padding: 10px 0;
        position: relative;
    }
    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .header-ad-space {
        width: 100%;
        justify-content: center;
    }
    .header-ad-img {
        max-height: 60px;
    }
    .logo-img { height: 45px; }

    /* Mobile Nav */
    .hamburger { display: flex; order: -1; }
    .nav-inner { flex-wrap: wrap; padding: 0; }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        border-top: 1px solid var(--border);
        gap: 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    .nav-menu.open { display: flex; }
    .nav-item > a { padding: 12px 20px; border-bottom: 1px solid var(--border); border-bottom-width: 1px !important; border-bottom: none; }
    .nav-item { border-bottom: 1px solid var(--border); width: 100%; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(192,57,43,0.05);
        border-radius: 0;
        display: none;
    }
    .nav-item.dropdown-open .dropdown-menu { display: block; }
    .nav-search { width: 100%; padding: 10px 16px; border-top: 1px solid var(--border); }
    .search-input { width: 100%; }
    .search-form { width: 100%; }

    /* Slider */
    .slide { height: 260px; }
    .slide-title { font-size: 1.1rem; }
    .slide-overlay { padding: 20px 16px 16px; }
    .slider-btn { width: 34px; height: 34px; font-size: 0.75rem; }

    /* Feature grid */
    .feature-grid { grid-template-columns: 1fr; }
    .feature-main-card { height: 240px; }
    .feature-side-cards { flex-direction: column; }
    .feature-side-card { height: auto; }
    .feature-side-img { width: 100px; height: 80px; }

    /* News grid */
    .news-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-top { padding: 30px 0 24px; }
    .newsletter-inner { flex-direction: column; align-items: flex-start; }
    .newsletter-form { width: 100%; max-width: 100%; }
    .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }

    /* Post */
    .post-hero { height: 250px; }
    .post-hero-title { font-size: 1.5rem; }
    .post-hero-overlay { padding: 24px 20px 18px; }
    .post-content-wrap { padding: 20px; }
    .post-content { font-size: 0.95rem; }

    /* Main layout */
    .main-layout { margin-top: 16px; }
    .breaking-bar { display: none; }

    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.1rem; }
    .footer-logo-img { height: 40px; }
    .slide { height: 220px; }
    .slide-title { font-size: 0.95rem; }
    .slide-meta { display: none; }
    .post-share { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   PROFESSIONAL NEWS PORTAL - CATEGORY & SUBCATEGORY MODULES
   (Inspired by Antara News & Tier-1 Media)
   ============================================= */

/* Clean Section Header */
.mod-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 18px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}
.mod-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 70px;
    height: 2px;
    background: var(--primary);
}
.mod-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.mod-title i {
    color: var(--primary);
    font-size: 1.05rem;
}
.mod-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.mod-more:hover {
    color: var(--primary-dark);
    transform: translateX(2px);
}

/* Dual Column Layout (Berita Daerah & Berita Nasional) */
.dual-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}
.dual-col {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* Lead Article in Dual Column */
.dual-lead {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.dual-lead-img {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #eaeaea;
    margin-bottom: 10px;
}
.dual-lead-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.dual-lead:hover .dual-lead-img img {
    transform: scale(1.04);
}
.dual-lead-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dual-lead:hover .dual-lead-title {
    color: var(--primary);
}
.dual-lead-excerpt {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Compact List Articles under Lead */
.dual-list-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    align-items: center;
}
.dual-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.dual-list-thumb {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eaeaea;
}
.dual-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.dual-list-item:hover .dual-list-thumb img {
    transform: scale(1.06);
}
.dual-list-content {
    flex: 1;
    min-width: 0;
}
.dual-list-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dual-list-item:hover .dual-list-title {
    color: var(--primary);
}
.dual-list-date {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* "Pena Kita" Section (Opini, Renungan, Puisi, Cerpen) */
.penakita-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.penakita-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 18px;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
}
.penakita-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #d97706; /* amber accent for literary */
}
.penakita-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.penakita-tab-btn {
    background: #f1f5f9;
    border: 1px solid transparent;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: var(--transition);
}
.penakita-tab-btn:hover,
.penakita-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
}

/* Pena Kita 4-Card Uniform Grid */
.penakita-tab-grid {
    display: none;
}
.penakita-tab-grid.active {
    display: grid !important;
}
.penakita-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.penakita-card {
    background: #fafafa;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.penakita-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.penakita-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.penakita-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.penakita-card:hover .penakita-title {
    color: var(--primary);
}
.penakita-snippet {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
}
.penakita-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Sidebar Subcategory List */
.sidebar-subcat-list {
    padding: 0;
}
.sidebar-subcat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 0.83rem;
    color: var(--text-secondary);
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}
.sidebar-subcat-item:last-child {
    border-bottom: none;
}
.sidebar-subcat-item:hover {
    color: var(--primary);
    background: #fef2f2;
    padding-left: 16px;
}
.sidebar-subcat-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    transition: var(--transition);
}
.sidebar-subcat-item:hover .sidebar-subcat-badge {
    background: var(--primary);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .dual-news-grid { grid-template-columns: 1fr; }
    .penakita-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .penakita-grid { grid-template-columns: 1fr; }
    .penakita-header { flex-direction: column; align-items: flex-start; }
}
