/* ==========================================================================
   Nusa Spektra - Modern & Fully Responsive News Portal Stylesheet
   ========================================================================== */

:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #fef2f2;
    --secondary: #0f172a;
    --accent: #2563eb;
    --dark: #0f172a;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-main);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header, .header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Top Bar */
.top-bar, .header-top {
    background: #090d16;
    color: #94a3b8;
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.top-left .current-date, .date-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #cbd5e1;
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #94a3b8;
    font-size: 13px;
    transition: color 0.2s ease;
}

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

.admin-login-btn {
    background: rgba(255,255,255,0.08);
    color: #f1f5f9;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,0.12);
}

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

/* Breaking News Ticker */
.breaking-news-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 13px;
    overflow: hidden;
}

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

.breaking-label {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pulse-icon {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.ticker-content {
    display: inline-flex;
    gap: 30px;
    animation: marquee 30s linear infinite;
    padding-left: 0;
}

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

.ticker-content li a {
    color: var(--dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-content li a .badge-tag {
    color: var(--primary);
    font-weight: 700;
}

.ticker-content li a .ticker-time {
    color: var(--text-muted);
    font-size: 11.5px;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Main Branding Header */
.main-header {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

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

.header-logo-img {
    height: 54px;
    max-height: 54px;
    width: auto;
    object-fit: contain;
}

/* Header Actions & Search */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-form-inline {
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 4px 6px 4px 14px;
    transition: all 0.2s ease;
    width: 240px;
}

.search-form-inline:focus-within {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    width: 270px;
}

.search-form-inline input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
    color: var(--dark);
}

.search-form-inline button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.search-form-inline button:hover {
    background: var(--primary-dark);
}

.mobile-toggle {
    display: none;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    padding: 6px 12px;
}

/* ==========================================================================
   Dedicated Category Navigation Bar
   ========================================================================== */

.category-navbar {
    background: #0f172a;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-nav-container {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.category-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    scrollbar-width: none;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.category-nav-list::-webkit-scrollbar {
    display: none;
}

.category-nav-list li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.category-nav-list li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.category-nav-list li.active a {
    color: #ffffff;
    background: var(--primary);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */

.main-content {
    padding: 30px 0 60px 0;
}

.content-layout, .content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

.main-column, .left-content {
    min-width: 0;
}

/* Category Badges */
.category-badge, span.category {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.category-badge.badge-outline {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary);
}

/* Article Meta */
.article-meta, .meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.article-meta span, .meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   Featured Article (Hero)
   ========================================================================== */

.hero-featured-card, .featured-article {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.hero-featured-card:hover, .featured-article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hero-img-wrapper, .featured-article a {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: block;
}

.hero-img-wrapper img, .featured-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-featured-card:hover img, .featured-article:hover img {
    transform: scale(1.05);
}

.hero-content, .featured-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title, .featured-content h1 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--dark);
    margin: 12px 0;
    letter-spacing: -0.4px;
}

.hero-title a:hover, .featured-content h1 a:hover {
    color: var(--primary);
}

.hero-excerpt, .excerpt {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Article Grid Cards
   ========================================================================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.articles-grid-container, .articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card, .article-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover, .article-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.news-card-img, .article-card a {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: block;
}

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

.news-card:hover img, .article-card:hover img {
    transform: scale(1.06);
}

.news-card-body, .article-card .content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title, .article-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    margin: 10px 0;
}

.news-card-title a:hover, .article-card h3 a:hover {
    color: var(--primary);
}

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

.news-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */

.sidebar-widget, .widget {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

/* Popular News List */
.popular-news-list, .popular-list {
    list-style: none;
    padding: 0;
}

.popular-news-list li, .popular-list li {
    display: flex;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.popular-news-list li:last-child, .popular-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.popular-num, .popular-number {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-content h4, .popular-content h5 {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
}

.popular-content h4 a:hover, .popular-content h5 a:hover {
    color: var(--primary);
}

/* Newsletter Widget */
.widget-newsletter-box {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    text-align: center;
}

.widget-newsletter-box .widget-title {
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,0.15);
}

.widget-newsletter-box .widget-title::after {
    background: var(--primary);
}

.widget-newsletter-box p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
}

/* ==========================================================================
   Article Detail Page
   ========================================================================== */

.article-header {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.article-breadcrumb {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-main-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--dark);
    margin: 14px 0;
    letter-spacing: -0.5px;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 12px;
}

.author-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.author-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}

.article-hero-image {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

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

.article-body-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 30px;
}

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

/* Social Share Bar */
.social-share-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--bg-main);
    border-radius: var(--radius-md);
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-share-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--dark);
    margin-right: 8px;
}

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

.share-btn.btn-wa { background: #25d366; }
.share-btn.btn-fb { background: #1877f2; }
.share-btn.btn-tw { background: #1da1f2; }
.share-btn.btn-copy { background: #64748b; }

/* Comments Section */
.comments-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border);
}

.comment-form {
    margin-bottom: 30px;
    background: var(--bg-main);
    padding: 20px;
    border-radius: var(--radius-md);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: border 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn-submit {
    background: var(--primary);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.comment-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.comment-author {
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
}

.comment-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
}

.comment-text {
    font-size: 14px;
    color: #334155;
    margin-top: 6px;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer, .footer {
    background: #090d16;
    color: #94a3b8;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-logo .logo-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    display: inline-block;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

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

.footer-heading {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    font-size: 13.5px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

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

.newsletter-form input {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    color: #ffffff;
    padding: 11px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-bottom {
    background: #04060a;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12.5px;
}

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

.footer-legal {
    display: flex;
    gap: 10px;
}

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

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

@media (max-width: 992px) {
    .content-layout, .content-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-featured-card, .featured-article {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Top Bar Mobile */
    .top-bar-container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .top-right {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .current-date {
        font-size: 11.5px;
    }

    /* Header & Logo Mobile */
    .main-header {
        padding: 10px 0;
    }
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .header-logo-img {
        height: 42px;
        max-height: 42px;
    }
    .header-actions {
        gap: 8px;
    }
    .search-form-inline {
        width: 160px;
    }
    .search-form-inline:focus-within {
        width: 200px;
    }
    .mobile-toggle {
        display: block;
    }

    /* Category Nav Bar Mobile Drawer */
    .category-navbar {
        position: relative;
    }
    .category-nav-container {
        padding: 0 10px;
    }
    .category-nav-list {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 4px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .category-nav-list::-webkit-scrollbar {
        display: none;
    }
    .category-nav-list.show {
        display: flex !important;
        flex-direction: column !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f172a;
        padding: 10px 0;
        z-index: 1000;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        white-space: normal;
    }
    .category-nav-list.show li {
        width: 100%;
    }
    .category-nav-list.show li a {
        padding: 12px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 14px;
    }

    /* Main Content Mobile */
    .main-content {
        padding: 16px 0 40px 0;
    }
    .hero-featured-card, .featured-article {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
        border-radius: var(--radius-md);
    }
    .hero-img-wrapper, .featured-article a {
        min-height: 200px;
        max-height: 240px;
    }
    .hero-content, .featured-content {
        padding: 18px;
    }
    .hero-title, .featured-content h1 {
        font-size: 19px;
        line-height: 1.35;
        margin: 8px 0;
    }
    .hero-excerpt, .excerpt {
        font-size: 13px;
        margin-bottom: 14px;
        -webkit-line-clamp: 2;
    }
    .articles-grid-container, .articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .news-card-body {
        padding: 14px;
    }
    .news-card-title {
        font-size: 15px;
        margin: 6px 0;
    }

    /* Article Detail Mobile */
    .article-header {
        padding: 18px;
        margin-bottom: 16px;
        border-radius: var(--radius-md);
    }
    .article-main-title {
        font-size: 22px;
        margin: 10px 0;
    }
    .article-body-content {
        padding: 20px;
        font-size: 15px;
        line-height: 1.7;
    }
    .social-share-box {
        padding: 12px;
        gap: 8px;
    }
    .share-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    .comments-section {
        padding: 20px;
    }
    .sidebar-widget {
        padding: 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
    .header-logo-img {
        height: 36px;
        max-height: 36px;
    }
    .search-form-inline {
        width: 130px;
        padding: 2px 4px 2px 10px;
    }
    .search-form-inline input {
        font-size: 11px;
    }
    .search-form-inline button {
        width: 26px;
        height: 26px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}