/*
Theme Name: TL Metal
Theme URI: https://tlmetal.com
Author: TL Metal
Author URI: https://tlmetal.com
Description: Professional B2B metal stamping manufacturer WordPress theme. Red + Black industrial design with full SEO optimization for Google Ads and organic search.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tl-metal
Tags: business, manufacturing, industrial, b2b, custom-menu, custom-logo, featured-images, threaded-comments
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ═══════════ CSS RESET & BASE ═══════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --brand-red: #D32F2F;
  --brand-red-light: #EF5350;
  --brand-red-dark: #C41E24;
  --brand-black: #1A1A2E;
  --brand-black-light: #2D2D3F;
  --foreground: #1A1A2E;
  --foreground-70: rgba(26, 26, 46, 0.7);
  --foreground-60: rgba(26, 26, 46, 0.6);
  --foreground-50: rgba(26, 26, 46, 0.5);
  --background: #FAFAFA;
  --secondary-bg: #F3F3F5;
  --border-color: #E5E5EA;
  --white: #FFFFFF;
  --radius: 0.25rem;
}

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

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--foreground);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

/* ═══════════ CONTAINER ═══════════ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ═══════════ TYPOGRAPHY ═══════════ */
.font-heading {
  font-family: 'Oswald', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.text-red-gradient {
  background: linear-gradient(135deg, #C41E24 0%, #D32F2F 50%, #C41E24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-red-gradient-light {
  background: linear-gradient(135deg, #EF5350 0%, #FF8A80 50%, #EF5350 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-red);
  display: block;
  margin-bottom: 1rem;
}

/* ═══════════ INDUSTRIAL CUT CORNERS ═══════════ */
.cut-corner {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.cut-corner-tr {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.cut-corner-bl {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--brand-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--brand-red-light);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--foreground);
}

.btn-outline-dark:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* ═══════════ TOP BAR ═══════════ */
.top-bar {
  background-color: var(--brand-black);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.top-bar a {
  color: rgba(255,255,255,0.7);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar .icon {
  color: var(--brand-red);
  width: 14px;
  height: 14px;
}

/* ═══════════ HEADER / NAVIGATION ═══════════ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-logo .brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-black);
}

.site-logo .brand-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  display: block;
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.main-nav > li {
  position: relative;
  list-style: none;
}

.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--foreground-70);
  text-transform: uppercase;
  transition: color 0.3s;
}

.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-parent > a {
  color: var(--brand-red);
}

.main-nav > li > a .arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
}

.main-nav > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 200;
}

.main-nav > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu li a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: var(--foreground-70);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.main-nav .sub-menu li a:hover,
.main-nav .sub-menu li.current-menu-item a {
  color: var(--brand-red);
  border-left-color: var(--brand-red);
  background: rgba(211, 47, 47, 0.05);
}

/* Header CTA */
.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground-70);
}

.mobile-menu a:hover {
  color: var(--brand-red);
}

.mobile-menu .sub-menu {
  padding-left: 2rem;
  list-style: none;
}

.mobile-menu .sub-menu a {
  font-size: 0.8125rem;
  color: var(--foreground-60);
}

/* ═══════════ HERO SECTION ═══════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,0.95), rgba(26,26,46,0.8), rgba(26,26,46,0.4));
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--brand-black), transparent, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--brand-red);
  border: 1px solid rgba(211,47,47,0.4);
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats .stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-red);
}

.hero-stats .stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 0.25rem;
}

/* ═══════════ SECTIONS ═══════════ */
.section {
  padding: 6rem 0;
}

.section-gray {
  background: var(--secondary-bg);
}

.section-dark {
  background: var(--brand-black);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--foreground-60);
  max-width: 42rem;
  margin: 0 auto;
}

/* ═══════════ ABOUT SECTION ═══════════ */
.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-stat-card {
  position: absolute;
  bottom: -1.5rem;
  right: 2rem;
  background: var(--brand-red);
  color: var(--white);
  padding: 1.5rem;
}

.about-stat-card .value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
}

.about-stat-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.875rem;
  color: var(--foreground-70);
}

/* ═══════════ CAPABILITY CARDS ═══════════ */
.cap-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cap-grid { grid-template-columns: 1fr 1fr; }
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cap-card:hover {
  border-color: rgba(211,47,47,0.4);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.cap-card .number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 3.75rem;
  font-weight: 700;
  color: rgba(26,26,46,0.04);
}

.cap-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--brand-red);
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}

.cap-card:hover svg {
  transform: scale(1.1);
}

.cap-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.cap-card:hover h3 {
  color: var(--brand-red);
}

.cap-card p {
  color: var(--foreground-60);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cap-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--brand-red);
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}

.cap-card:hover .learn-more {
  opacity: 1;
}

/* ═══════════ PRODUCTS SHOWCASE ═══════════ */
.products-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
}

.spec-list {
  margin: 2rem 0;
}

.spec-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.spec-item .spec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--brand-red);
  letter-spacing: 0.05em;
  width: 8rem;
  flex-shrink: 0;
  padding-top: 0.125rem;
}

.spec-item .spec-value {
  font-size: 0.875rem;
  color: var(--foreground-70);
}

.product-image {
  position: relative;
}

.product-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(26,26,46,0.9);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(211,47,47,0.3);
}

.product-badge span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--brand-red);
  letter-spacing: 0.1em;
}

/* ═══════════ STATS BAR ═══════════ */
.stats-bar {
  background: var(--brand-black);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(rgba(211,47,47,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(211,47,47,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  background: linear-gradient(135deg, #EF5350 0%, #FF8A80 50%, #EF5350 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
  text-transform: uppercase;
}

/* ═══════════ INDUSTRIES GRID ═══════════ */
.industries-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

.industry-card {
  position: relative;
  height: 16rem;
  overflow: hidden;
  display: block;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.05);
}

.industry-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--brand-black), rgba(26,26,46,0.6), transparent);
}

.industry-card .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.industry-card svg {
  width: 24px;
  height: 24px;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

.industry-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.industry-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* ═══════════ QUALITY SECTION ═══════════ */
.quality-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .quality-grid { grid-template-columns: 1fr 1fr; }
}

.quality-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.quality-item .dot {
  width: 6px;
  height: 6px;
  background: var(--brand-red);
  margin-top: 0.5rem;
  flex-shrink: 0;
  transform: rotate(45deg);
}

.quality-item h4 {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.quality-item p {
  font-size: 0.875rem;
  color: var(--foreground-60);
}

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 2rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.testimonial-card .quote-icon {
  width: 2rem;
  height: 2rem;
  color: rgba(211,47,47,0.2);
  margin-bottom: 1rem;
}

.testimonial-card .text {
  color: var(--foreground-70);
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card .author-info {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.testimonial-card .author-name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-card .author-role {
  font-size: 0.75rem;
  color: var(--brand-red);
}

.testimonial-card .author-company {
  font-size: 0.75rem;
  color: var(--foreground-50);
  margin-top: 0.125rem;
}

/* ═══════════ CTA SECTION ═══════════ */
.cta-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-section .bg {
  position: absolute;
  inset: 0;
}

.cta-section .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section .bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.9);
}

.cta-section .cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  background: var(--brand-black);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--brand-red);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--brand-red);
}

.footer-info-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(211,47,47,0.8);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-info-value {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.footer-info-value a {
  color: rgba(255,255,255,0.6);
}

.footer-info-value a:hover {
  color: var(--brand-red);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--brand-red);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover {
  color: var(--brand-red);
}

/* ═══════════ PAGE HERO (inner pages) ═══════════ */
.page-hero {
  background: var(--brand-black);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(rgba(211,47,47,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(211,47,47,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  max-width: 42rem;
  font-size: 1.125rem;
}

.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.breadcrumb a:hover {
  color: var(--brand-red);
}

.breadcrumb .separator {
  color: rgba(255,255,255,0.3);
  margin: 0 0.5rem;
}

.breadcrumb .current {
  color: var(--brand-red);
}

/* ═══════════ BLOG ═══════════ */
.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: rgba(211,47,47,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.blog-card .thumbnail {
  height: 200px;
  overflow: hidden;
}

.blog-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .thumbnail img {
  transform: scale(1.05);
}

.blog-card .card-body {
  padding: 1.5rem;
}

.blog-card .meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-card .meta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--foreground-50);
  text-transform: uppercase;
}

.blog-card .meta .category {
  color: var(--brand-red);
}

.blog-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.blog-card:hover h3 {
  color: var(--brand-red);
}

.blog-card .excerpt {
  font-size: 0.875rem;
  color: var(--foreground-60);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .read-more {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--brand-red);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Blog Single */
.blog-single {
  max-width: 48rem;
  margin: 0 auto;
}

.blog-single .post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.blog-single .post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--foreground-70);
}

.blog-single .post-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--foreground);
}

.blog-single .post-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--foreground);
}

.blog-single .post-content p {
  margin-bottom: 1.25rem;
}

.blog-single .post-content ul,
.blog-single .post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-single .post-content li {
  margin-bottom: 0.5rem;
}

.blog-single .post-content img {
  margin: 2rem 0;
  border: 1px solid var(--border-color);
}

/* Blog Sidebar */
.blog-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .blog-layout { grid-template-columns: 2fr 1fr; }
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--brand-red);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

/* ═══════════ CONTACT PAGE ═══════════ */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1.5fr 1fr; }
}

.contact-form label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground-70);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-red);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}

.contact-info-card {
  background: var(--brand-black);
  color: var(--white);
  padding: 2.5rem;
}

.contact-info-item {
  margin-bottom: 2rem;
}

.contact-info-item .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

.contact-info-item .value {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}

.contact-info-item .value a {
  color: rgba(255,255,255,0.8);
}

.contact-info-item .value a:hover {
  color: var(--brand-red);
}

/* ═══════════ PAGINATION ═══════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.pagination a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.pagination .current {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
}

/* ═══════════ RESPONSIVE UTILITIES ═══════════ */
.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile { display: block; }
}

.hidden-desktop {
  display: block;
}

@media (min-width: 1024px) {
  .hidden-desktop { display: none; }
}

/* ═══════════ WORDPRESS SPECIFIC ═══════════ */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.8125rem;
  color: var(--foreground-50);
  font-style: italic;
  margin-top: 0.5rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* WordPress comment form */
.comment-form label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--brand-red);
}

/* ═══════════ CUSTOM SCROLLBAR ═══════════ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #F0F0F0;
}

::-webkit-scrollbar-thumb {
  background: #BFBFBF;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

/* ═══════════ ADDITIONAL STYLES (v1.0.1 fixes) ═══════════ */

/* Blog Card Image & Content */
.blog-card .card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .card-image img {
  transform: scale(1.05);
}

.blog-card .card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-bg);
}

.blog-card .card-image.placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--foreground-50);
}

.blog-card .card-content {
  padding: 1.5rem;
}

.blog-card .card-category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--brand-red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.blog-card .card-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.blog-card:hover .card-content h3 {
  color: var(--brand-red);
}

.blog-card .card-content p {
  font-size: 0.875rem;
  color: var(--foreground-60);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .post-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.blog-card .post-meta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--foreground-50);
}

/* Blog Categories */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cat-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-color);
  color: var(--foreground-70);
  transition: all 0.3s;
}

.cat-tag:hover,
.cat-tag.active {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(211,47,47,0.05);
}

/* Featured Post */
.featured-post {
  display: grid;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .featured-post { grid-template-columns: 1fr 1fr; }
}

.featured-post:hover {
  border-color: rgba(211,47,47,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.featured-post .featured-image {
  height: 300px;
  overflow: hidden;
}

.featured-post .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post .featured-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post .featured-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.featured-post:hover .featured-content h2 {
  color: var(--brand-red);
}

.featured-post .featured-content p {
  color: var(--foreground-60);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.featured-post .post-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.featured-post .post-meta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--foreground-50);
}

/* Contact Form Enhancements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.phone-input {
  display: flex;
  gap: 0;
}

.phone-input select {
  width: auto;
  min-width: 110px;
  border-right: none;
  flex-shrink: 0;
}

.phone-input input {
  flex: 1;
}

/* Contact Info Card Enhancements */
.contact-info-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-item .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-red);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
}

.contact-item a:hover {
  color: var(--brand-red);
}

/* Why Choose List */
.why-list {
  list-style: none;
  padding: 0;
}

.why-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--brand-red);
  transform: rotate(45deg);
}

/* Alert Messages */
.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.alert-success {
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  color: #2e7d32;
}

.alert-error {
  background: rgba(211,47,47,0.1);
  border: 1px solid rgba(211,47,47,0.3);
  color: var(--brand-red);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2rem 2rem;
}

.timeline-item.left {
  left: 0;
  text-align: right;
  padding-right: 3rem;
}

.timeline-item.right {
  left: 50%;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--brand-red);
  border: 2px solid var(--white);
  transform: rotate(45deg);
  z-index: 1;
}

.timeline-item.left .timeline-dot {
  right: -6px;
}

.timeline-item.right .timeline-dot {
  left: -6px;
}

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.timeline-content .year {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-red);
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--foreground-70);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem;
  }
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
  }
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 5px;
    right: auto;
  }
}

/* Certification Grid */
.cert-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cert-grid { grid-template-columns: repeat(4, 1fr); }
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.cert-card:hover {
  border-color: rgba(211,47,47,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.cert-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Capability Detail & Industry Detail */
.capability-detail,
.industry-detail {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .capability-detail,
  .industry-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.capability-detail.reverse > :first-child,
.industry-detail.reverse > :first-child {
  order: 2;
}

.capability-detail.reverse > :last-child,
.industry-detail.reverse > :last-child {
  order: 1;
}

@media (max-width: 767px) {
  .capability-detail.reverse > :first-child,
  .industry-detail.reverse > :first-child,
  .capability-detail.reverse > :last-child,
  .industry-detail.reverse > :last-child {
    order: unset;
  }
}

/* Material Detail */
.material-detail {
  background: var(--white);
}

/* Article Layout (Single Post) */
.article-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 2fr 1fr; }
}

.article-content .prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--foreground-70);
}

.article-content .prose h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--foreground);
}

.article-content .prose h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--foreground);
}

.article-content .prose p {
  margin-bottom: 1.25rem;
}

.article-content .prose ul,
.article-content .prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content .prose li {
  margin-bottom: 0.5rem;
}

.article-content .prose img {
  margin: 2rem 0;
  max-width: 100%;
  border: 1px solid var(--border-color);
}

.article-featured-image {
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
}

/* Sidebar CTA */
.sidebar-cta {
  background: var(--brand-black);
  color: var(--white);
  padding: 2rem;
}

.sidebar-cta h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.sidebar-cta p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Related Posts */
.sidebar-related {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
}

.related-post-link {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: color 0.3s;
}

.related-post-link:last-child {
  border-bottom: none;
}

.related-post-link:hover {
  color: var(--brand-red);
}

.related-title {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.related-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--foreground-50);
}

/* Post Meta (page-hero) */
.page-hero .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.page-hero .post-meta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.page-hero .post-meta .cat-link {
  color: var(--brand-red);
}

/* Post Navigation */
.nav-link {
  display: block;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--brand-red);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--brand-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  border: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--brand-red-light);
}

/* 404 Page */
.error-404 {
  text-align: center;
  padding: 6rem 0;
}

.error-404 h1 {
  font-size: 8rem;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404 h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.error-404 p {
  color: var(--foreground-60);
  margin-bottom: 2rem;
}

/* Search Page */
.search-results-list {
  list-style: none;
  padding: 0;
}

.search-results-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.search-results-list li:last-child {
  border-bottom: none;
}

.search-results-list h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.search-results-list h3 a:hover {
  color: var(--brand-red);
}

.search-results-list p {
  font-size: 0.875rem;
  color: var(--foreground-60);
}

/* WordPress Navigation Pagination */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.nav-links a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.nav-links span.current {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
}

/* Surface color variable */
:root {
  --surface: var(--white);
  --border: var(--border-color);
}
