/*
Theme Name: NovaNews
Theme URI: https://flexithemes.com/novanews-wordpress-theme/
Description: Fully responsive news/magazine WordPress theme
Author: FlexiThemes
Author URI: https://flexithemes.com
Version: 2.0
License: GPL-2.0+
Text Domain: novanews
*/

/* =Base Styles
-------------------------------------------------------------- */
:root {
  --primary: #F41E18;
  --secondary: #000;
  --text: #333;
  --light: #fff;
  --gray: #f5f5f5;
  --border: 1px solid #ddd;
  --shadow: 0 2px 5px rgba(0,0,0,0.1);
  --radius: 4px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* =Header
-------------------------------------------------------------- */
.site-header {
  background: var(--light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.site-branding {
  flex: 0 0 200px;
}

.site-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  margin: 0;
}

.site-title a {
  color: var(--primary);
}

/* =Mobile Menu Toggle
-------------------------------------------------------------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle .icon {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--secondary);
  position: relative;
}

.menu-toggle .icon:before,
.menu-toggle .icon:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--secondary);
  left: 0;
  transition: var(--transition);
}

.menu-toggle .icon:before {
  top: -8px;
}

.menu-toggle .icon:after {
  bottom: -8px;
}

.menu-toggle.active .icon {
  background: transparent;
}

/* =Navigation
-------------------------------------------------------------- */
.main-navigation {
  display: flex;
}

.main-navigation ul {
  display: flex;
  list-style: none;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 10px 15px;
  color: var(--secondary);
  font-weight: 500;
}

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

/* =Content Layout
-------------------------------------------------------------- */
.content-area {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0;
  gap: 30px;
}

.main-content {
  flex: 1 1 70%;
}

.sidebar {
  flex: 1 1 25%;
}

/* =Posts
-------------------------------------------------------------- */
.article {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: var(--border);
}

.entry-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.entry-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.entry-content {
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  padding: 8px 15px;
  background: var(--secondary);
  color: var(--light);
  border-radius: var(--radius);
}

.read-more:hover {
  background: var(--primary);
}

/* =Footer
-------------------------------------------------------------- */
.site-footer {
  background: var(--secondary);
  color: var(--light);
  padding: 30px 0;
  text-align: center;
}

/* Mobile Menu Scroll Lock */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}