/*
Theme Name: ARMATEXX.EU
Theme URI: https://armatexx.eu
Author: ARMATEXX
Author URI: https://armatexx.eu
Description: Heavy Duty Industrial Brutalist WordPress Theme for armatexx.eu
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://armatexx.eu
Text Domain: armatexx
Tags: dark, industrial, brutalist, heavy-duty, military
*/

/* ============================================================
   ARMATEXX DESIGN SYSTEM — INDUSTRIAL BRUTALIST
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Fira+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --color-bg:         #111827;
  --color-bg-alt:     #1a2333;
  --color-bg-card:    #161e2e;
  --color-text:       #e5e7eb;
  --color-text-muted: #9ca3af;
  --color-heading:    #f3f4f6;
  --color-olive:      #3f6212;
  --color-olive-light:#4d7a17;
  --color-rust:       #c2410c;
  --color-rust-hover: #9a3409;
  --color-yellow-mat: #f59e0b;
  --color-border:     #000000;
  --color-border-subtle: #2d3748;

  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Fira Sans', 'Helvetica Neue', sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23111827'/%3E%3Crect x='0' y='0' width='1' height='1' fill='%23131b28' opacity='0.6'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

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

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-rust);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

.container--narrow {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ============================================================
   HEADER
   ============================================================ */

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0a0f1a;
  border-bottom: 3px solid var(--color-olive);
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-heading);
  line-height: 1;
}

.site-logo__text span {
  color: var(--color-rust);
}

.site-logo__tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-olive-light);
  margin-top: 2px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-xs);
}

.main-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-sm) var(--space-md);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--color-rust);
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--color-heading);
  border-color: var(--color-border-subtle);
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after {
  transform: translateX(-50%) scaleX(1);
}

.header-search {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-search form {
  display: flex;
}

.header-search input[type="search"] {
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border-subtle);
  border-right: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: var(--space-sm) var(--space-md);
  outline: none;
  width: 200px;
  transition: border-color 0.2s;
}

.header-search input[type="search"]:focus {
  border-color: var(--color-olive);
}

.header-search button {
  background: var(--color-olive);
  border: 2px solid var(--color-olive);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.header-search button:hover {
  background: var(--color-olive-light);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-border-subtle);
  color: var(--color-text);
  padding: var(--space-sm);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

/* ============================================================
   FRONT PAGE — SPLIT LAYOUT
   ============================================================ */

#front-page-hero {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: calc(100vh - 72px);
  max-height: 900px;
}

/* ---- Featured Machine (60%) ---- */
.featured-machine {
  position: relative;
  overflow: hidden;
  background-color: #0a0f1a;
}

.featured-machine__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.6);
  transform: scale(1.03);
  transition: transform 8s ease;
}

.featured-machine:hover .featured-machine__bg {
  transform: scale(1.0);
}

.featured-machine__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 15, 26, 0.3) 0%,
    rgba(17, 24, 39, 0.1) 50%,
    rgba(63, 98, 18, 0.15) 100%
  );
}

.featured-machine__overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(10,15,26,0.95) 0%, transparent 100%);
}

.featured-machine__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: var(--space-2xl);
}

.featured-machine__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-olive-light);
  margin-bottom: var(--space-md);
}

.featured-machine__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-olive-light);
}

.featured-machine__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
  line-height: 1.1;
}

.featured-machine__title a {
  color: inherit;
}

.featured-machine__title a:hover {
  color: var(--color-rust);
}

.featured-machine__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.featured-machine__meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.featured-machine__meta .sep {
  color: var(--color-olive);
  font-weight: 700;
}

.featured-machine__excerpt {
  font-size: 1rem;
  line-height: 1.65;
  color: #c9cfd8;
  max-width: 520px;
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* ---- News Column (40%) ---- */
.news-column {
  background-color: var(--color-bg-alt);
  border-left: 4px solid var(--color-border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.news-column__header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  border-bottom: 2px solid var(--color-border-subtle);
  position: sticky;
  top: 0;
  background: var(--color-bg-alt);
  z-index: 5;
}

.news-column__title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.news-column__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border-subtle);
}

.news-list {
  list-style: none;
  padding: 0;
  flex: 1;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */

.news-card {
  position: relative;
  display: flex;
  border-bottom: 2px solid var(--color-border);
  background: var(--color-bg-card);
  transition: background 0.2s ease;
}

.news-card:hover {
  background: #1d2535;
}

/* Yellow mat brutalist effect */
.news-card__thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  margin: var(--space-lg);
  margin-right: var(--space-md);
}

.news-card__thumb-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-yellow-mat);
  transform: translate(5px, -5px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
}

.news-card:hover .news-card__thumb-wrap::before {
  transform: translate(-5px, 5px);
}

.news-card__thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--color-border);
  filter: saturate(0.7);
  transition: filter 0.3s ease;
}

.news-card:hover .news-card__thumb {
  filter: saturate(1);
}

.news-card__body {
  flex: 1;
  padding: var(--space-lg) var(--space-lg) var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card__cat {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-olive-light);
  margin-bottom: var(--space-xs);
  border-left: 3px solid var(--color-olive);
  padding-left: var(--space-sm);
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-heading);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.news-card__title a {
  color: inherit;
  transition: color 0.2s;
}

.news-card__title a:hover {
  color: var(--color-rust);
}

.news-card__excerpt {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__date {
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

/* ============================================================
   BUTTONS (CTA)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.2s;
}

.btn:hover::before {
  background: rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--color-rust);
  color: #000;
  padding: 14px 32px;
}

.btn-primary:hover {
  background: var(--color-rust-hover);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--color-heading);
  padding: 12px 28px;
  border: 2px solid var(--color-heading);
}

.btn-outline:hover {
  background: var(--color-heading);
  color: var(--color-bg);
}

.btn-olive {
  background: var(--color-olive);
  color: #fff;
  padding: 12px 28px;
}

.btn-olive:hover {
  background: var(--color-olive-light);
  color: #fff;
}

.btn-arrow::after {
  content: '→';
  font-size: 1.1em;
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin: var(--space-2xl) 0 var(--space-xl);
}

.section-divider__title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--color-border-subtle), transparent);
}

.section-divider::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-rust);
  flex-shrink: 0;
}

/* ============================================================
   ARCHIVE / BLOG LISTING
   ============================================================ */

.archive-layout {
  padding: var(--space-2xl) 0;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

/* Post card for archive */
.post-card {
  background: var(--color-bg-card);
  border: 4px solid var(--color-border);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--color-olive);
}

.post-card__thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-card__thumb-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--color-bg-card), transparent);
}

.post-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.9);
  transition: filter 0.3s, transform 0.4s;
}

.post-card:hover .post-card__thumb {
  filter: saturate(0.9) brightness(1);
  transform: scale(1.05);
}

.post-card__body {
  padding: var(--space-xl);
}

.post-card__cat {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.post-card__cat::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--color-rust);
}

.post-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.post-card__title a {
  color: var(--color-heading);
}

.post-card__title a:hover {
  color: var(--color-rust);
}

.post-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-subtle);
}

.post-card__meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

/* ============================================================
   SINGLE POST
   ============================================================ */

.single-post {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.single-post__hero {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-2xl);
  border-bottom: 4px solid var(--color-olive);
}

.single-post__hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.single-post__hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.7);
}

.single-post__wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.single-post__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.single-post__breadcrumb a { color: var(--color-olive-light); }
.single-post__breadcrumb span { color: var(--color-border-subtle); }

.single-post__cat {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.single-post__cat::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--color-rust);
}

.single-post__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: var(--space-lg);
}

.single-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 2px solid var(--color-border-subtle);
  border-bottom: 2px solid var(--color-border-subtle);
  margin-bottom: var(--space-2xl);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.single-post__meta strong { color: var(--color-text); }

.single-post__content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.single-post__content h2 {
  font-size: 1.6rem;
  margin: var(--space-2xl) 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border-subtle);
}

.single-post__content h3 {
  font-size: 1.25rem;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--color-olive-light);
}

.single-post__content p {
  margin-bottom: var(--space-lg);
}

.single-post__content ul,
.single-post__content ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.single-post__content li {
  margin-bottom: var(--space-sm);
}

.single-post__content blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-olive);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.single-post__content img {
  width: 100%;
  margin: var(--space-xl) 0;
  border: 3px solid var(--color-border);
}

.single-post__content a {
  color: var(--color-olive-light);
  border-bottom: 1px solid var(--color-olive);
}

.single-post__content a:hover {
  color: var(--color-rust);
  border-color: var(--color-rust);
}

.single-post__tags {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--color-border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.single-post__tags strong {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-right: var(--space-sm);
}

.tag-pill {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 4px 12px;
  border: 1px solid var(--color-border-subtle);
  transition: all 0.2s;
}

.tag-pill:hover {
  border-color: var(--color-rust);
  color: var(--color-rust);
}

/* Related posts */
.related-posts {
  background: var(--color-bg-alt);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-2xl);
  border-top: 4px solid var(--color-border);
}

/* ============================================================
   FOOTER
   ============================================================ */

#site-footer {
  background: #07090f;
  border-top: 4px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col__brand {
  /* first col */
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: brightness(0.85);
}

.footer-logo__text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #6b7280;
  max-width: 320px;
  margin-bottom: var(--space-lg);
}

.footer-col__title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border-subtle);
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: var(--space-sm);
}

.footer-nav a {
  font-size: 0.88rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-nav a::before {
  content: '▸';
  color: var(--color-olive);
  font-size: 0.7em;
}

.footer-nav a:hover {
  color: var(--color-text);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-bottom: var(--space-md);
  font-size: 0.88rem;
  color: #6b7280;
}

.footer-contact-item strong {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 2px solid var(--color-border-subtle);
  padding: var(--space-lg) var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-rust);
}

.footer-legal {
  font-size: 0.72rem;
  color: #4b5563;
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: #4b5563;
}

.footer-legal a:hover {
  color: var(--color-text-muted);
}

/* Status indicator */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #10b981;
}

.status-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   CATEGORY HEADER
   ============================================================ */

.category-header {
  background: var(--color-bg-alt);
  border-bottom: 4px solid var(--color-border);
  padding: var(--space-2xl) 0;
  margin-bottom: var(--space-2xl);
}

.category-header .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
}

.category-header__count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-2xl) 0;
  justify-content: center;
}

.pagination a,
.pagination span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-border-subtle);
  color: var(--color-text-muted);
  transition: all 0.2s;
  min-width: 44px;
  text-align: center;
}

.pagination a:hover {
  background: var(--color-rust);
  border-color: var(--color-rust);
  color: #000;
}

.pagination .current {
  background: var(--color-olive);
  border-color: var(--color-olive);
  color: #fff;
}

/* ============================================================
   WIDGETS / SIDEBAR
   ============================================================ */

.widget {
  margin-bottom: var(--space-2xl);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-olive);
  display: inline-block;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-rust    { color: var(--color-rust); }
.text-olive   { color: var(--color-olive-light); }
.text-muted   { color: var(--color-text-muted); }
.text-upper   { text-transform: uppercase; letter-spacing: 0.1em; }
.text-mono    { font-family: 'Fira Mono', monospace; }

.border-olive { border-color: var(--color-olive) !important; }
.border-rust  { border-color: var(--color-rust) !important; }

.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;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  #front-page-hero {
    grid-template-columns: 55fr 45fr;
  }
}

@media (max-width: 960px) {
  #front-page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }

  .featured-machine {
    min-height: 60vw;
  }

  .news-column {
    border-left: none;
    border-top: 4px solid var(--color-border);
    max-height: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container,
  .container--narrow {
    padding: 0 var(--space-lg);
  }

  .header-inner {
    padding: 0 var(--space-lg);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0a0f1a;
    border-top: 2px solid var(--color-border-subtle);
    border-bottom: 2px solid var(--color-border-subtle);
    padding: var(--space-md) 0;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 var(--space-md);
  }

  .menu-toggle {
    display: block;
  }

  .header-search {
    display: none;
  }

  .news-card__thumb-wrap {
    width: 100px;
    height: 100px;
    margin: var(--space-md);
    margin-right: var(--space-sm);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }
}
