/*
Theme Name: News21 Fast Light Theme
Theme URI: https://example.com/
Author: AI Developer
Description: A lightweight, mobile-first, ultra-fast news magazine theme inspired by news21.lk.
Version: 1.0
Text Domain: news21-light
*/

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Noto Sans Tamil', 'Inter', sans-serif;
    background-color: #F8F9FA;
    color: #1A1A1A;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #F3F4F6;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: #D32F2F;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}
nav ul li a {
    font-weight: 600;
    color: #374151;
    transition: color 0.2s;
}
nav ul li a:hover {
    color: #D32F2F;
}

/* Breaking News Ticker */
.breaking-ticker {
    background: #D32F2F;
    color: #FFFFFF;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
}

/* Main Layout Grid */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    nav ul {
        display: none;
    }
}

/* Post Cards */
.post-card {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.post-content {
    padding: 15px;
}
.post-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.post-content h3 a:hover {
    color: #D32F2F;
}

/* Footer */
footer {
    background: #111827;
    color: #9CA3AF;
    padding: 40px 0 20px;
    margin-top: 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-grid h4 {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 16px;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #1F2937;
    padding-top: 20px;
    font-size: 13px;
}
