/*
Theme Name: The Ontario Post Media Group
Theme URI: https://ontariopostmediagroup.ca
Author: Solvytech & WP Master Engineering
Author URI: https://solvytech.ma
Description: Thème officiel sur-mesure, ultra-rapide et Zero-Bloat pour le groupe de médias The Ontario Post Media Group (Maison mère d'Ontario Post). Conçu pour la performance, l'accessibilité WCAG 2.1 AA et le référencement naturel.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: ontariopost-group
*/

:root {
  --opmg-primary: #0b1f3a;         /* Bleu marine profond institutionnel */
  --opmg-primary-light: #16365f;
  --opmg-primary-dark: #061325;
  --opmg-accent: #c9933b;          /* Or / Champagne premium statutaire */
  --opmg-accent-hover: #b07f2e;
  --opmg-accent-light: #e6c88b;
  --opmg-dark: #070d17;            /* Fond sombre riche */
  --opmg-dark-card: #0d1726;
  --opmg-light: #f8fafc;           /* Fond clair doux */
  --opmg-gray-100: #f1f5f9;
  --opmg-gray-200: #e2e8f0;
  --opmg-gray-400: #94a3b8;
  --opmg-gray-600: #475569;
  --opmg-gray-800: #1e293b;
  --opmg-white: #ffffff;
  --opmg-radius-sm: 6px;
  --opmg-radius: 8px;
  --opmg-radius-lg: 12px;
  --opmg-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --opmg-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --opmg-shadow-lg: 0 16px 45px rgba(0, 0, 0, 0.12);
  --opmg-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --opmg-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --opmg-font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --opmg-font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
  font-family: var(--opmg-font-sans);
  color: var(--opmg-gray-800);
  background-color: var(--opmg-white);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: clip;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

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

a:hover {
  color: var(--opmg-accent);
}

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