/*
Theme Name: Wheels.mobi
Theme URI: https://wheels.mobi
Author: Wheels.mobi Digital Product & Editorial Engineering
Author URI: https://wheels.mobi
Description: A bright, high-contrast international automotive journalism, vehicle intelligence, and marketplace-ready WordPress theme engineered for Core Web Vitals, Google Discover (1200x675), structured vehicle specifications, expert reviews, comparisons, and scalable automotive publishing.
Version: 1.0.2
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wheels-mobi
Domain Path: /languages
Tags: news, blog, automotive, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, rtl-language-support, theme-options, translation-ready
*/

:root {
  --wm-color-primary: #0F172A;
  --wm-color-secondary: #334155;
  --wm-color-surface-dark: #1E293B;
  --wm-color-accent: #E63946;
  --wm-color-accent-hover: #C81D2B;
  --wm-color-electric: #0077FF;
  --wm-color-bg: #FFFFFF;
  --wm-color-bg-alt: #F8FAFC;
  --wm-color-bg-soft: #F1F5F9;
  --wm-color-text: #1E293B;
  --wm-color-text-muted: #64748B;
  --wm-color-border: #E2E8F0;
  --wm-color-border-strong: #CBD5E1;
  --wm-color-border-dark: #334155;
  --wm-color-success: #16A34A;
  --wm-color-warning: #D97706;

  --wm-font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wm-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wm-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --wm-container-max: 1320px;
  --wm-reading-max: 780px;
  --wm-radius-sm: 5px;
  --wm-radius-md: 8px;
  --wm-radius-lg: 12px;
  --wm-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --wm-shadow-md: 0 6px 20px rgba(15, 23, 42, 0.06);
  --wm-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.10);
  --wm-transition: 180ms cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--wm-font-body);
  color: var(--wm-color-text);
  background-color: var(--wm-color-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--wm-transition); }
h1, h2, h3, h4, h5, h6 { font-family: var(--wm-font-heading); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em; margin-top: 0; color: var(--wm-color-primary); }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--wm-color-primary); border-radius: var(--wm-radius-sm);
  box-shadow: var(--wm-shadow-lg); clip: auto !important; clip-path: none;
  color: #FFFFFF; display: block; font-size: 0.875rem; font-weight: 700;
  height: auto; left: 12px; line-height: normal; padding: 14px 20px;
  text-decoration: none; top: 12px; width: auto; z-index: 100000;
}
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: var(--wm-color-text-muted); margin-top: 0.5rem; }
.sticky, .bypostauthor { position: relative; }
.gallery-caption { font-size: 0.8125rem; color: var(--wm-color-text-muted); }
