/*
Theme Name: Custom News Portal
Theme URI: https://example.com/custom-news-portal
Author: Custom Dev Team
Author URI: https://example.com
Description: A high-performance, mobile-first, Google Discover optimized WordPress News Homepage theme built with dynamic WP_Query modules, native schema markup, and drag-and-drop section management.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-news-portal
Tags: news, magazine, responsive-layout, grid-layout, custom-menu, sticky-post, theme-options, translation-ready
*/

/* Reset & CSS Custom Variables */
:root {
  --primary-color: #D60000;
  --primary-hover: #b00000;
  --bg-color: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-card: #FFFFFF;
  --text-main: #111111;
  --text-muted: #666666;
  --text-light: #888888;
  --border-color: #E5E7EB;
  --border-dark: #333333;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Georgia', 'Merriweather', serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --header-height: 70px;
}

[data-theme="dark"] {
  --bg-color: #0F172A;
  --bg-secondary: #1E293B;
  --bg-card: #1E293B;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-light: #64748B;
  --border-color: #334155;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
}
