/* ==========================================================================
   AsiaSatu.com - Stylesheet Utama (Modern, Elegan, Mobile-First, Dark Mode)
   ========================================================================== */

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #dc2626;
    --accent-hover: #b91c1c;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-subtle: #f1f5f9;
    --border-color: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Georgia", "Cambria", "Times New Roman", Times, serif;
}

[data-theme="dark"] {
    --primary: #090d16;
    --primary-light: #131b2e;
    --bg-body: #0b0f19;
    --bg-card: #111827;
    --bg-card-subtle: #1f2937;
    --border-color: #1f2937;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   Reading Progress Bar
   ========================================================================== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.top-bar {
    background-color: var(--primary);
    color: #e2e8f0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.live-date {
    white-space: nowrap;
    color: #94a3b8;
    font-weight: 500;
}

.divider {
    color: #475569;
}

.breaking-container {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.breaking-badge {
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.breaking-ticker {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.ticker-item {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 480px;
}

.ticker-item:hover {
    color: #f87171;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.top-right a {
    color: #cbd5e1;
    font-size: 12px;
}

.top-right a:hover {
    color: #ffffff;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .light-icon { display: inline-block; }
[data-theme="dark"] .dark-icon { display: none; }
:root:not([data-theme="dark"]) .light-icon { display: none; }
:root:not([data-theme="dark"]) .dark-icon { display: inline-block; }

/* ==========================================================================
   Main Header Branding
   ========================================================================== */
.main-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    transition: background-color 0.3s;
}

.main-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-link {
    display: inline-block;
}

.brand-logo-text {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: var(--text-main);
    line-height: 1;
}

.brand-accent {
    color: var(--accent);
}

.brand-tld {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
}

.brand-tagline {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
    letter-spacing: 0.2px;
    font-weight: 500;
}

.header-ad {
    flex: 1;
    max-width: 728px;
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.main-nav {
    background-color: var(--primary-light);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--shadow-md);
    transition: background-color 0.3s;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
}

.burger-bar {
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-item a {
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 14px;
    display: block;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-item a:hover,
.nav-item.active a {
    background-color: var(--accent);
    color: #ffffff;
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    min-width: 190px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    list-style: none;
    padding: 8px 0;
    z-index: 1000;
}

.dropdown-menu li a {
    color: var(--text-main);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
}

.dropdown-menu li a:hover {
    background: var(--bg-card-subtle);
    color: var(--accent);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 6px 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-search {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3px 10px;
    transition: background 0.2s;
}

.search-form:focus-within {
    background: rgba(255, 255, 255, 0.22);
}

.search-form input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 12.5px;
    padding: 4px 8px;
    outline: none;
    width: 140px;
    transition: width 0.3s;
}

.search-form input::placeholder {
    color: #cbd5e1;
}

.search-form input:focus {
    width: 180px;
}

.search-form button {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
}

/* ==========================================================================
   Main Layout & Grid
   ========================================================================== */
.site-main {
    padding: 28px 0 60px;
}

.main-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    margin-bottom: 8px;
}

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

.hero-main-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 440px;
    box-shadow: var(--shadow-md);
    background: #000;
}

.hero-media {
    width: 100%;
    height: 100%;
}

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

.hero-main-card:hover .hero-media img {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 85%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #ffffff;
}

.category-badge {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.category-badge.sm {
    font-size: 10px;
    padding: 2px 7px;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #ffffff;
}

.hero-title a:hover {
    color: #fca5a5;
}

.hero-excerpt {
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #cbd5e1;
}

.hero-sub-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-sub-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 210px;
    box-shadow: var(--shadow-sm);
    background: #000;
}

.hero-sub-media {
    width: 100%;
    height: 100%;
}

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

.hero-sub-card:hover .hero-sub-media img {
    transform: scale(1.04);
}

.hero-sub-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 90%);
}

.hero-sub-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: #ffffff;
}

.hero-sub-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}

.hero-sub-title a:hover {
    color: #fca5a5;
}

/* ==========================================================================
   Content With Sidebar Layout
   ========================================================================== */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.content-primary {
    min-width: 0;
}

/* Section Headings */
.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
}

.section-line {
    flex: 1;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Horizontal News Card (Latest News Stream) */
.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-horizontal-card {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.news-media {
    width: 220px;
    height: 140px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.news-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
}

.news-cat {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.news-time {
    color: var(--text-muted);
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text-main);
}

.news-title a:hover {
    color: var(--accent);
}

.news-excerpt {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--text-muted);
}

.bullet {
    color: var(--text-light);
}

.infeed-ad {
    margin: 30px 0;
    position: relative;
}

.ad-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-align: center;
}

/* Category Spotlight Grid */
.category-spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.category-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.cat-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
    margin-bottom: 16px;
}

.cat-box-header h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.cat-box-header a {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.cat-box-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

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

.cat-item-title {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
}

.cat-item-title a:hover {
    color: var(--accent);
}

.cat-item-date {
    font-size: 11.5px;
    color: var(--text-muted);
}

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

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.widget-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 16px;
    position: relative;
}

.widget-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    display: inline-block;
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--accent);
}

.widget-subtitle {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Popular List */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.popular-rank {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1;
    min-width: 24px;
}

.popular-item:nth-child(1) .popular-rank { color: var(--accent); }
.popular-item:nth-child(2) .popular-rank { color: #ea580c; }
.popular-item:nth-child(3) .popular-rank { color: #f59e0b; }

.popular-content {
    flex: 1;
    min-width: 0;
}

.popular-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.popular-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 3px 0 4px;
}

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

.popular-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
}

/* Editors List */
.editors-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.editor-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.editor-info {
    flex: 1;
    min-width: 0;
}

.editor-cat {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.editor-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin: 2px 0;
}

.editor-title a:hover {
    color: var(--accent);
}

.editor-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* Topic Cloud */
.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-tag {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}

.topic-tag:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.topic-count {
    color: var(--text-muted);
    font-size: 11px;
}

.topic-tag:hover .topic-count {
    color: #ffffff;
}

/* Newsletter Widget */
.newsletter-box {
    text-align: center;
}

.newsletter-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.newsletter-box h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.newsletter-box p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.newsletter-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 8px;
    background: var(--bg-body);
    color: var(--text-main);
    outline: none;
}

.newsletter-form button {
    width: 100%;
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

/* ==========================================================================
   Single Article Page Styles
   ========================================================================== */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb-nav a:hover {
    color: var(--accent);
}

.breadcrumb-nav .sep {
    color: var(--text-light);
}

.breadcrumb-nav .current {
    color: var(--text-main);
    font-weight: 600;
}

.single-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 26px;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
    margin: 12px 0 16px;
}

.article-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 400;
    border-left: 3px solid var(--accent);
    padding-left: 14px;
}

.article-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

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

.author-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.author-text {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 13.5px;
    color: var(--text-main);
}

.article-date {
    font-size: 12px;
    color: var(--text-muted);
}

.meta-stats {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

/* Share Bar */
.share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}

.share-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
}

.share-btn {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn.wa { background-color: #25d366; }
.share-btn.fb { background-color: #1877f2; }
.share-btn.x { background-color: #000000; }
.share-btn.tg { background-color: #229ed9; }
.share-btn.copy { background-color: #64748b; color: #fff; }

.copy-toast {
    display: none;
    position: absolute;
    bottom: -32px;
    left: 200px;
    background: #0f172a;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.copy-toast.show {
    display: block;
}

.article-featured-image {
    margin: 24px 0 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.image-caption {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
    text-align: center;
}

/* Article Body Typography */
.article-body {
    font-size: 17.5px;
    line-height: 1.85;
    color: var(--text-main);
    word-break: break-word;
}

.article-body p {
    margin-bottom: 22px;
}

.article-body h2, .article-body h3 {
    margin: 32px 0 14px;
    font-weight: 800;
    line-height: 1.35;
}

.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 12px 20px;
    margin: 24px 0;
    font-style: italic;
    background: var(--bg-card-subtle);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body ul, .article-body ol {
    margin: 16px 0 22px 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-ad {
    margin: 30px 0;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    font-size: 13px;
    font-weight: 700;
}

.tag-pill {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.tag-pill:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* Author Bio Card */
.author-bio-card {
    display: flex;
    gap: 18px;
    background: var(--bg-card-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 32px 0;
    align-items: center;
}

.bio-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.bio-info h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.bio-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Related News */
.related-news-section {
    margin-top: 40px;
}

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

.related-card {
    display: flex;
    flex-direction: column;
}

.related-thumb {
    height: 130px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 8px;
}

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

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

.related-cat {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.related-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 3px 0 6px;
}

.related-title a:hover {
    color: var(--accent);
}

.related-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: auto;
}

/* Comments Section */
.comments-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.comment-form {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.col-half {
    flex: 1;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

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

.comment-author-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.comment-author-name {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0;
}

.comment-date {
    font-size: 11px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.5;
}

/* ==========================================================================
   Category Page & Archive Grid
   ========================================================================== */
.category-header-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    margin-bottom: 24px;
}

.cat-page-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 6px;
}

.cat-page-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.cat-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.category-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.cat-card-thumb {
    height: 170px;
    overflow: hidden;
}

.cat-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.cat-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cat-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.cat-card-title a:hover {
    color: var(--accent);
}

.cat-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-meta {
    margin-top: auto;
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

/* Pagination */
.pagination-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0;
}

.page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-link:hover,
.page-link.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* ==========================================================================
   Search Page Styles
   ========================================================================== */
.search-header-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 24px;
    text-align: center;
}

.search-header-box h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
}

.search-big-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-big-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    background: var(--bg-body);
    color: var(--text-main);
}

.search-result-info {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 14px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   Static Pages (Tentang Kami, Redaksi, dll)
   ========================================================================== */
.static-page-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
}

.page-main-title {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.page-body-text {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--text-main);
}

.page-body-text h2, .page-body-text h3 {
    margin: 28px 0 12px;
}

.page-body-text p {
    margin-bottom: 18px;
}

.page-body-text ul, .page-body-text ol {
    margin: 14px 0 20px 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--primary);
    color: #cbd5e1;
    padding: 50px 0 20px;
    font-size: 13.5px;
    margin-top: auto;
    border-top: 3px solid var(--accent);
}

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

.footer-brand .brand-logo-text {
    color: #ffffff;
    font-size: 28px;
}

.footer-desc {
    margin: 14px 0;
    line-height: 1.6;
    color: #94a3b8;
    font-size: 13px;
}

.press-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    gap: 8px;
    line-height: 1.4;
}

.badge-icon {
    color: #10b981;
    font-weight: 800;
}

.footer-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.contact-info {
    line-height: 1.5;
    color: #94a3b8;
    font-size: 12.5px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 12px;
    color: #64748b;
}

.back-to-top {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.back-to-top:hover {
    background: var(--accent);
    color: #ffffff;
}

/* ==========================================================================
   Mobile Bottom Navigation Bar
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    height: 56px;
    justify-content: space-around;
    align-items: center;
}

.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 12px;
}

.mob-nav-item.active,
.mob-nav-item:hover {
    color: var(--accent);
}

.mob-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-left .live-date,
    .top-left .divider {
        display: none;
    }
    .header-ad {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 15px 0;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open {
        display: flex;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-main-card {
        height: 360px;
    }
    .hero-title {
        font-size: 20px;
    }
    .news-horizontal-card {
        flex-direction: column;
    }
    .news-media {
        width: 100%;
        height: 190px;
    }
    .category-spotlight-grid {
        grid-template-columns: 1fr;
    }
    .category-articles-grid {
        grid-template-columns: 1fr;
    }
    .single-article {
        padding: 20px 16px;
    }
    .article-title {
        font-size: 24px;
    }
    .article-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-bottom: 60px; /* Clearance for mobile bottom nav */
    }
    .mobile-bottom-nav {
        display: flex;
    }
}
