/*
Theme Name: DataMine Theme
Theme URI: https://datamine.news
Author: DataMine
Description: Brutalist Editorial / Alert Terminal custom WordPress theme for DataMine (datamine.news). Native dark mode, sharp 1px borders, local WOFF2 typography, zero external CSS/font frameworks.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: datamine-theme
*/

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/SpaceGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('assets/fonts/JetBrainsMono-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-primary: #0B0C0E;
    --bg-card: #14161A;
    --bg-elevated: #1B1E24;
    --border-color: #2A2E35;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --accent-red: #FF2A3C;
    --accent-yellow: #FACC15;
    --accent-green: #34D399;
    --accent-blue: #38BDF8;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --container-max: 1280px;
}

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

html {
    color-scheme: dark;
    background-color: var(--bg-primary);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dm-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}
