/*
Theme Name: AVJThemes Mag
Theme URI: https://avjthemes.com/mag
Author: AVJTHEMES
Author URI: https://avjthemes.com
Description: High-performance, modern magazine and tool review WordPress Full Site Editing (FSE) theme. Engineered for web design, frontend development, and digital tools updates with zero-plugin native functionality, built-in multi-criteria review scoring, affiliate monetization compliance, dynamic theme control panel with dropdown category & menu selectors, customizable homepage grids, and AEO/SEO schema optimization.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avjthemes-mag
Tags: block-theme, full-site-editing, news, blog, magazine, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, rtl-language-support
*/

/* -------------------------------------------------------------
 * Foundational CSS Reset & FSE Variables Fallback
 * ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--wp--preset--font-family--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  background-color: var(--wp--preset--color--surface, #0b0f19);
  color: var(--wp--preset--color--foreground, #f3f4f6);
  line-height: 1.65;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--wp--preset--color--primary, #6366f1);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover, a:focus {
  color: var(--wp--preset--color--accent, #06b6d4);
  text-decoration: underline;
}

pre, code, kbd, samp {
  font-family: var(--wp--preset--font-family--mono, "JetBrains Mono", "Fira Code", monospace);
}
