/*
Theme Name:  Heavy Vehicles
Theme URI:   https://heavyvehicles.com.au/
Author:      Heavy Vehicles
Author URI:  https://heavyvehicles.com.au/
Description: Bold industrial automotive magazine WordPress theme for Heavy Vehicles Australia. Elementor-compatible, featuring a dark, high-contrast layout inspired by the heavy vehicle and trucking industry. Covers truck reviews, automotive tips, industry news, and Australian travel.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heavy-vehicles
Tags:        elementor, blog, magazine, custom-logo, custom-menu, featured-images, full-width-template, sticky-header, translation-ready, dark
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
*/

/* =============================================================
   CSS CUSTOM PROPERTIES – Brand palette & design tokens
   ============================================================= */
:root {
  /* --- Core palette --- */
  --hv-black:        #0D0D0D;   /* Near-black — darkest BG             */
  --hv-dark:         #141414;   /* Dark hero / section BG              */
  --hv-dark-mid:     #1F2937;   /* Charcoal — card, header BG          */
  --hv-steel:        #374151;   /* Steel grey — borders, muted areas   */
  --hv-steel-light:  #6B7280;   /* Light steel — muted text            */

  /* --- Accent — industrial orange/amber --- */
  --hv-orange:       #EA580C;   /* Primary accent — CTA, badges        */
  --hv-orange-hover: #C2410C;   /* Darker orange on hover              */
  --hv-orange-light: #FED7AA;   /* Light orange for backgrounds        */
  --hv-yellow:       #F59E0B;   /* Amber yellow — ratings, highlights  */

  /* --- Neutrals / light --- */
  --hv-bg:           #F9FAFB;   /* Off-white page background           */
  --hv-bg-section:   #FFFFFF;   /* White section                       */
  --hv-border:       #E5E7EB;   /* Light border                        */
  --hv-border-dark:  #374151;   /* Dark border                         */

  /* --- Text --- */
  --hv-text:         #1F2937;   /* Dark body text                      */
  --hv-text-muted:   #6B7280;   /* Muted / secondary text              */
  --hv-text-white:   #F9FAFB;   /* White text on dark BGs              */
  --hv-text-dimmed:  rgba(249,250,251,0.7); /* Dimmed white text       */

  /* --- Typography --- */
  --hv-font-head:    'Oswald', 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --hv-font-body:    'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;

  /* --- Spacing --- */
  --hv-space-xs:     0.5rem;
  --hv-space-sm:     1rem;
  --hv-space-md:     2rem;
  --hv-space-lg:     4rem;
  --hv-space-xl:     6rem;

  /* --- Layout --- */
  --hv-max-width:    1280px;
  --hv-content-max:  780px;
  --hv-radius:       4px;
  --hv-radius-lg:    8px;

  /* --- Shadows --- */
  --hv-shadow:       0 2px 12px rgba(0,0,0,0.12);
  --hv-shadow-dark:  0 4px 24px rgba(0,0,0,0.35);
  --hv-shadow-card:  0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --hv-shadow-hover: 0 8px 32px rgba(0,0,0,0.18);
}

/* =============================================================
   RESET / BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--hv-font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--hv-text);
  background: var(--hv-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--hv-orange);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--hv-orange-hover); }
a:focus-visible {
  outline: 2px solid var(--hv-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--hv-font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--hv-dark);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-top: 0;
  margin-bottom: .55em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-top: 0; margin-bottom: 1.25em; }

ul, ol { padding-left: 1.5em; }

blockquote {
  border-left: 4px solid var(--hv-orange);
  padding: 1em 1.5em;
  margin: 1.5em 0;
  background: #FFF7ED;
  border-radius: 0 var(--hv-radius) var(--hv-radius) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--hv-steel);
}

hr {
  border: none;
  border-top: 2px solid var(--hv-border);
  margin: 2rem 0;
}

code, pre {
  font-family: 'Courier New', monospace;
  background: #1F2937;
  color: #F9FAFB;
  border-radius: var(--hv-radius);
}
code { padding: .15em .4em; font-size: .875em; }
pre { padding: 1.25em 1.5em; overflow-x: auto; }
pre code { background: none; padding: 0; }

/* =============================================================
   LAYOUT
   ============================================================= */
.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-main { flex: 1 0 auto; }

.hv-container {
  width: 100%;
  max-width: var(--hv-max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.hv-section { padding-block: var(--hv-space-lg); }

/* Accent line decoration */
.hv-section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--hv-font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hv-orange);
  margin-bottom: 1rem;
}
.hv-section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--hv-orange);
  border-radius: 2px;
}

/* =============================================================
   SKIP LINK
   ============================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: .75rem 1.5rem;
  background: var(--hv-orange);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* =============================================================
   HEADER — dark bar, bold logo, condensed nav
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--hv-dark);
  border-bottom: 3px solid var(--hv-orange);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

/* Logo */
.site-branding a {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.site-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--hv-orange);
  border-radius: var(--hv-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-title-text {
  font-family: var(--hv-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.1;
}
.site-title-text span { color: var(--hv-orange); }
.custom-logo { height: 48px; width: auto; }

/* Primary Nav */
.primary-navigation { display: flex; align-items: center; }

.primary-navigation .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.primary-navigation .nav-menu a {
  display: block;
  padding: .5rem 1.1rem;
  font-family: var(--hv-font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--hv-text-white);
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.primary-navigation .nav-menu a:hover,
.primary-navigation .nav-menu .current-menu-item > a,
.primary-navigation .nav-menu .current-page-ancestor > a {
  color: var(--hv-orange);
  border-bottom-color: var(--hv-orange);
}

/* Dropdown */
.primary-navigation .nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  min-width: 220px;
  background: var(--hv-dark-mid);
  border-top: 3px solid var(--hv-orange);
  padding: .5rem 0;
  display: none;
  list-style: none;
  z-index: 100;
  box-shadow: var(--hv-shadow-dark);
}
.primary-navigation .nav-menu li {
  position: relative;
}
.primary-navigation .nav-menu li:hover > .sub-menu { display: block; }
.primary-navigation .nav-menu .sub-menu a {
  border-bottom: none;
  font-size: .85rem;
  padding: .5rem 1.25rem;
  color: var(--hv-text-white);
}
.primary-navigation .nav-menu .sub-menu a:hover { color: var(--hv-orange); background: rgba(255,255,255,.05); }

/* Search icon in header */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.header-search-btn {
  background: none;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--hv-radius);
  color: rgba(255,255,255,.75);
  padding: .4rem .6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: border-color .2s, color .2s;
}
.header-search-btn:hover { border-color: var(--hv-orange); color: var(--hv-orange); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--hv-radius);
  cursor: pointer;
  padding: .4rem .55rem;
  color: #fff;
}
.menu-toggle svg { display: block; width: 22px; height: 22px; }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .7em 1.75em;
  border-radius: var(--hv-radius);
  font-family: var(--hv-font-head);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  line-height: 1;
}

.btn-primary,
button[type="submit"],
input[type="submit"] {
  background: var(--hv-orange);
  color: #fff;
  border-color: var(--hv-orange);
}
.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--hv-orange-hover);
  border-color: var(--hv-orange-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234,88,12,.35);
}

.btn-outline {
  background: transparent;
  color: var(--hv-orange);
  border-color: var(--hv-orange);
}
.btn-outline:hover {
  background: var(--hv-orange);
  color: #fff;
}

.btn-dark {
  background: var(--hv-dark-mid);
  color: #fff;
  border-color: var(--hv-dark-mid);
}
.btn-dark:hover {
  background: var(--hv-steel);
  border-color: var(--hv-steel);
  color: #fff;
}

.btn-white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-white-outline:hover {
  background: var(--hv-orange);
  border-color: var(--hv-orange);
  color: #fff;
}

/* =============================================================
   CATEGORY BADGE
   ============================================================= */
.hv-cat-badge {
  display: inline-block;
  background: var(--hv-orange);
  color: #fff;
  font-family: var(--hv-font-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2em .65em;
  border-radius: 2px;
  line-height: 1.4;
}
.hv-cat-badge:hover { background: var(--hv-orange-hover); color: #fff; }
.hv-cat-badge.cat-industry  { background: var(--hv-dark-mid); }
.hv-cat-badge.cat-travel    { background: #0369A1; }
.hv-cat-badge.cat-automotive { background: var(--hv-orange); }

/* =============================================================
   MAGAZINE-STYLE POST CARDS
   ============================================================= */

/* Standard card */
.hv-card {
  background: #fff;
  border-radius: var(--hv-radius-lg);
  overflow: hidden;
  box-shadow: var(--hv-shadow-card);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.hv-card:hover {
  box-shadow: var(--hv-shadow-hover);
  transform: translateY(-4px);
}

.hv-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--hv-dark-mid);
}
.hv-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hv-card:hover .hv-card-thumb img { transform: scale(1.06); }

/* Category badge overlay on thumb */
.hv-card-thumb .hv-cat-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 1;
}

.hv-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hv-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  color: var(--hv-text-muted);
  margin-bottom: .6rem;
}
.hv-card-title {
  font-family: var(--hv-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--hv-dark);
  margin-bottom: .6rem;
}
.hv-card-title a { color: inherit; }
.hv-card-title a:hover { color: var(--hv-orange); }
.hv-card-excerpt {
  font-size: .875rem;
  color: var(--hv-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}
.hv-read-more {
  font-family: var(--hv-font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hv-orange);
  display: inline-flex;
  align-items: center;
  gap: .3em;
}
.hv-read-more:hover { color: var(--hv-orange-hover); }

/* Featured/hero card (horizontal large) */
.hv-card-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: var(--hv-radius-lg);
  overflow: hidden;
  box-shadow: var(--hv-shadow-card);
  background: #fff;
  transition: box-shadow .25s, transform .25s;
  min-height: 360px;
}
.hv-card-hero:hover { box-shadow: var(--hv-shadow-hover); transform: translateY(-3px); }
.hv-card-hero .hv-card-thumb { aspect-ratio: unset; height: 100%; }
.hv-card-hero .hv-card-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hv-card-hero .hv-card-title { font-size: clamp(1.4rem, 2vw, 1.9rem); }

/* =============================================================
   HERO — Dark, full-bleed, industrial
   ============================================================= */
.hv-hero {
  background: var(--hv-dark);
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,.9) 40%, rgba(13,13,13,.3) 100%);
  z-index: 1;
}
.hv-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .45;
}
.hv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-block: 5rem;
}
.hv-hero-content h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; }
.hv-hero-content h1 span { color: var(--hv-orange); }
.hv-hero-content p { color: var(--hv-text-dimmed); font-size: 1.1rem; max-width: 560px; }
.hv-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* =============================================================
   POST HEADER (single post / page header)
   ============================================================= */
.hv-post-header {
  background: var(--hv-dark);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.hv-post-header::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--hv-orange);
}
.hv-post-header h1 { color: #fff; max-width: 900px; }
.hv-post-header .hv-breadcrumbs { margin-bottom: 1.25rem; }
.hv-post-header .hv-cat-badge { margin-bottom: 1rem; }

/* =============================================================
   FEATURED IMAGE STRIP
   ============================================================= */
.hv-featured-image {
  background: var(--hv-dark);
}
.hv-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* =============================================================
   BREADCRUMBS
   ============================================================= */
.hv-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.hv-breadcrumbs a { color: rgba(255,255,255,.65); }
.hv-breadcrumbs a:hover { color: var(--hv-orange); }
.hv-breadcrumbs .sep { color: rgba(255,255,255,.3); }
/* Light version for white backgrounds */
.hv-breadcrumbs.light { color: var(--hv-text-muted); }
.hv-breadcrumbs.light a { color: var(--hv-steel); }

/* =============================================================
   BLOG / ARCHIVE GRID
   ============================================================= */
.hv-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.hv-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* =============================================================
   DARK SECTION (stats, CTA, etc.)
   ============================================================= */
.hv-dark-section {
  background: var(--hv-dark);
  color: var(--hv-text-white);
}
.hv-dark-section h2,
.hv-dark-section h3 { color: #fff; }

/* =============================================================
   TICKER / TAG CLOUD
   ============================================================= */
.hv-tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hv-tag {
  display: inline-block;
  padding: .25em .75em;
  background: var(--hv-bg);
  border: 1.5px solid var(--hv-border);
  border-radius: var(--hv-radius);
  font-size: .75rem;
  font-weight: 600;
  color: var(--hv-steel);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: background .2s, color .2s, border-color .2s;
}
.hv-tag:hover {
  background: var(--hv-orange);
  border-color: var(--hv-orange);
  color: #fff;
}

/* =============================================================
   SIDEBAR
   ============================================================= */
.hv-sidebar-widget {
  background: #fff;
  border-radius: var(--hv-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--hv-shadow-card);
}
.hv-sidebar-title {
  font-family: var(--hv-font-head);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hv-dark);
  padding-bottom: .75rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--hv-orange);
}

/* =============================================================
   FORMS
   ============================================================= */
.hv-form input[type="text"],
.hv-form input[type="email"],
.hv-form input[type="tel"],
.hv-form select,
.hv-form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--hv-border);
  border-radius: var(--hv-radius);
  font-family: var(--hv-font-body);
  font-size: .95rem;
  color: var(--hv-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.hv-form input:focus,
.hv-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--hv-orange);
  box-shadow: 0 0 0 3px rgba(234,88,12,.12);
}
.hv-form label, .wpcf7 label {
  display: block;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--hv-dark-mid);
  margin-bottom: .35rem;
}
.wpcf7-submit {
  background: var(--hv-orange);
  color: #fff;
  border: 2px solid var(--hv-orange);
  border-radius: var(--hv-radius);
  padding: .75em 2em;
  font-family: var(--hv-font-head);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.wpcf7-submit:hover {
  background: var(--hv-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234,88,12,.35);
}

/* =============================================================
   PAGINATION
   ============================================================= */
.hv-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hv-pagination a,
.hv-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--hv-radius);
  font-family: var(--hv-font-head);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 2px solid var(--hv-border);
  color: var(--hv-dark-mid);
  transition: background .2s, color .2s, border-color .2s;
}
.hv-pagination a:hover,
.hv-pagination span.current {
  background: var(--hv-orange);
  color: #fff;
  border-color: var(--hv-orange);
}

/* =============================================================
   ARTICLE / ENTRY CONTENT
   ============================================================= */
.entry-content {
  max-width: var(--hv-content-max);
}
.entry-content h2 { margin-top: 2.5rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content img { border-radius: var(--hv-radius); margin-block: 1.5rem; }
.entry-content ul li, .entry-content ol li { margin-bottom: .4rem; }

/* Share / post meta bar */
.hv-post-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 2px solid var(--hv-border);
  border-bottom: 2px solid var(--hv-border);
  margin-block: 2rem;
  font-size: .85rem;
  color: var(--hv-text-muted);
}
.hv-post-meta-bar strong { color: var(--hv-dark); }

/* Author box */
.hv-author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--hv-dark);
  border-left: 4px solid var(--hv-orange);
  border-radius: 0 var(--hv-radius-lg) var(--hv-radius-lg) 0;
  padding: 1.5rem;
  margin-top: 2.5rem;
  color: var(--hv-text-white);
}
.hv-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--hv-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hv-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.hv-author-name { font-weight: 700; color: #fff; }
.hv-author-bio  { font-size: .875rem; color: var(--hv-text-dimmed); margin: .25rem 0 0; }

/* =============================================================
   FOOTER — dark, industrial
   ============================================================= */
.site-footer { background: var(--hv-black); color: var(--hv-text-dimmed); }

.footer-top {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 3.5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-top: .75rem;
  max-width: 300px;
}
.footer-heading {
  font-family: var(--hv-font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hv-orange);
  margin-bottom: 1rem;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav ul li { margin-bottom: .5rem; }
.footer-nav a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--hv-orange); }

.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 2rem;
  height: 2rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--hv-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--hv-orange); color: #fff; }

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal a {
  color: rgba(255,255,255,.4);
  font-size: .78rem;
  margin-left: 1.25rem;
}
.footer-legal a:hover { color: var(--hv-orange); }

/* =============================================================
   404 / SEARCH
   ============================================================= */
.error-404 { padding: 6rem 0; text-align: center; }
.error-code {
  font-family: var(--hv-font-head);
  font-size: 10rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hv-orange);
  opacity: .15;
  display: block;
}

/* =============================================================
   ELEMENTOR OVERRIDES
   ============================================================= */
.elementor-section-wrap,
.elementor-widget-container { font-family: var(--hv-font-body); }
.elementor-template-full-width .site-main { padding: 0; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .hv-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hv-card-hero { grid-template-columns: 1fr; }
  .hv-card-hero .hv-card-thumb { height: 280px; }
}

@media (max-width: 768px) {
  :root {
    --hv-space-lg: 3rem;
    --hv-space-xl: 4rem;
  }
  .header-inner { height: 60px; }

  .primary-navigation {
    position: fixed;
    top: 63px;
    left: 0; right: 0;
    background: var(--hv-dark-mid);
    border-top: 2px solid var(--hv-orange);
    padding: 1.25rem 1.5rem;
    transform: translateY(-120%);
    transition: transform .3s ease;
    z-index: 999;
  }
  .primary-navigation.is-open { transform: translateY(0); }
  .primary-navigation .nav-menu { flex-direction: column; gap: 0; }
  .primary-navigation .nav-menu a { padding: .7rem 0; border-bottom: none; border-top: 1px solid rgba(255,255,255,.07); }
  .primary-navigation .nav-menu .sub-menu { position: static; box-shadow: none; padding-left: 1rem; display: block; border-top: none; }
  .menu-toggle { display: flex; }
  .header-search-btn { display: none; }

  .hv-grid-3,
  .hv-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal a { margin-left: 0; margin-right: .75rem; }
}

@media (max-width: 480px) {
  .hv-hero-content h1 { font-size: 2.4rem; }
  .error-code { font-size: 7rem; }
}
