/*
Theme Name: Khabar Break Theme Clone
Theme URI: https://rcnepal.com
Author: Antigravity AI
Author URI: https://deepmind.google
Description: A clone of the Khabar Break theme functionality with a fresh, modern frontend.
Version: 1.0.0
Text Domain: khabarbreak-theme-clone
*/

:root {
    --primary-color: #e63946;
    --text-color: #1d3557;
    --bg-color: #f1faee;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header Socials */
.header-socials {
    display: flex;
    gap: 15px;
}

.header-socials a {
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

/* Footer Contact */
.footer-column h3 {
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Page Layout (Sidebar) */
@media (min-width: 900px) {
    .page-layout {
        display: grid;
        grid-template-columns: 3fr 1fr;
        gap: 40px;
    }
}

.sidebar-area {
    margin-top: 20px;
}

.video-widget,
.recent-news-widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Header Search */
.header-search {
    margin-left: 20px;
}

.search-form {
    display: flex;
}

.search-field {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.search-submit {
    padding: 5px 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Grid Layouts */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.news-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.news-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.section-title {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Single Post */
.single-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin-top: 20px;
    max-width: 800px;
    /* Narrower for reading */
}

.entry-header {
    text-align: center;
    margin-bottom: 30px;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
}

.entry-meta span {
    margin: 0 10px;
}

.featured-image {
    margin-bottom: 30px;
}

.featured-image img {
    width: 100%;
    border-radius: 8px;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.category-badge a {
    background: var(--primary-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
}