/*
Theme Name: Lex.com.mx — Editorial v2
Theme URI: https://lex.com.mx
Author: Lex.com.mx
Author URI: https://lex.com.mx
Description: Tema editorial híbrido (Atlantic + Wired) para Lex.com.mx — blog de Derecho Digital mexicano. Densidad editorial con aire, jerarquía clara, kickers en cajitas, paleta sobria con acento Verde Digital. Block theme FSE con modo claro/oscuro.
Version: 2.0.4
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lex
Tags: block-theme, full-site-editing, editorial, news, blog, two-columns, three-columns, custom-colors, custom-typography, dark-mode, sticky-post, threaded-comments, translation-ready
*/

/* =========================================================
   Lex.com.mx — Editorial v2
   Atlantic + Wired hybrid · NOT minimalism · Editorial density with air
   ========================================================= */

/* ---------- Fonts (WOFF2 from assets/fonts/) ---------- */

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/Fraunces-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/Fraunces-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/Fraunces-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/Fraunces-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/InterTight-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/InterTight-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/InterTight-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/IBMPlexMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset (mínimo, conservador) ---------- */

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

html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter Tight', -apple-system, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #0A0A0A;
  background: #FFFFFF;
  font-feature-settings: 'kern', 'liga', 'calt';
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

button { font-family: inherit; }

/* ---------- Base bridge to editorial.css ---------- */
/* The full editorial system is enqueued from assets/css/editorial.css.
   This file holds the WP theme header + reset only. */
