/*
Theme Name: Super-Theme
Theme URI: https://yourwebsite.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A custom theme with widget-based layout, Nepali date, and multisite support
Version: 1.0
License: GPL v2 or later
Text Domain: super-theme
*/

/* === Global Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

a {
    color: #0073aa;
    text-decoration: none;
}
a:hover {
    color: #004466;
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* === Header === */
.site-header {
    background: #E3F2FD; /* हल्का नीलो */
    border-bottom: 2px solid #BBDEFB;
    padding: 10px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-logo {
    flex: 1;
    min-width: 200px;
}
.header-logo h1 {
    font-size: 28px;
    margin: 0;
}
.header-logo p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.header-info {
    flex: 1;
    text-align: right;
    min-width: 200px;
}

/* === Menus === */
.top-menu {
    background: #BBDEFB;
    padding: 8px 0;
    margin: 5px 0;
}
.top-menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.top-menu ul li a {
    color: #333;
    font-weight: bold;
    padding: 5px 10px;
}
.top-menu ul li a:hover {
    background: #90CAF9;
    border-radius: 3px;
}

.main-menu {
    background: #E3F2FD;
    padding: 8px 0;
    border-top: 1px solid #BBDEFB;
    border-bottom: 1px solid #BBDEFB;
    margin: 5px 0;
}
.main-menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.main-menu ul li a {
    color: #333;
    padding: 5px 10px;
}
.main-menu ul li a:hover {
    background: #90CAF9;
    border-radius: 3px;
}

/* === Flash News === */
.flash-news {
    background: #FFF9C4;
    padding: 8px 15px;
    margin: 5px 0;
    border-left: 5px solid #FDD835;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}
.flash-news .flash-label {
    font-weight: bold;
    color: #D32F2F;
    white-space: nowrap;
}
.flash-news .flash-content {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* === Hero Section === */
.hero-section {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.hero-slider {
    flex: 2;
    min-width: 300px;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.hero-sidebar {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* === Category Wise Content === */
.category-section {
    margin: 20px 0;
}
.category-section .widget-title {
    background: #E3F2FD;
    padding: 10px 15px;
    border-left: 5px solid #2196F3;
    margin-bottom: 15px;
}
.category-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.category-posts .post-item {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.category-posts .post-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 3px;
}
.category-posts .post-item h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}
.category-posts .post-item .post-date {
    font-size: 12px;
    color: #777;
}

/* === Sidebar === */
.sidebar-area {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sidebar-area .widget {
    margin-bottom: 20px;
}
.sidebar-area .widget-title {
    background: #E3F2FD;
    padding: 8px 12px;
    border-left: 4px solid #2196F3;
    font-size: 16px;
}

/* === Footer === */
.site-footer {
    background: #E3F2FD; /* हल्का नीलो */
    border-top: 2px solid #BBDEFB;
    padding: 30px 0 10px;
    margin-top: 30px;
}
.footer-top {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-widget-1 {
    flex: 1;
    min-width: 200px;
}
.footer-widget-4 {
    flex: 4;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.footer-widget-4 .widget {
    margin-bottom: 20px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #BBDEFB;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

/* === Widget Areas === */
.widget-area {
    padding: 5px 0;
}
.widget-area .widget {
    margin-bottom: 10px;
}
.widget-area .widget-title {
    display: none; /* Hidden for menu widgets */
}

/* === Responsive === */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    .header-info {
        text-align: center;
        margin-top: 10px;
    }
    .top-menu ul, .main-menu ul {
        justify-content: center;
    }
    .hero-section {
        flex-direction: column;
    }
    .footer-widget-4 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .footer-widget-4 {
        grid-template-columns: 1fr;
    }
}