/*
Theme Name: FanTactics Dynamic Balancing
Theme URI: https://www.fantactics.ca/
Author: FanTactics
Description: A professional industrial theme for FanTactics Dynamic Balancing, modeled after Clarke Roller's clean corporate style.
Version: 1.0
*/

/* ========================================
   CSS VARIABLES & RESET
======================================== */
:root {

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --header-height: 135px;
  --topbar-height: 40px;
  /*--primary: #c8161d;*/
  --primary: #44a9bc;
  /*--primary-dark: #9e0d13;*/
  --primary-dark: #9e9d9d;
  --secondary: #1a2b3c;
  /*--secondary-light: #253d52;*/
  --secondary-light: #acaaaa;
  --accent: #e8a020;
  --text: #333333;
  --text-light: #333333;
  --bg: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #1a2b3c;
  --border: #dddddd;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

h2 { margin-top: 40px !important; }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200,22,29,0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--secondary);
}

.section-title {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 20px;
  margin-top: 20px;
}
.section-title.centered { text-align: center; }
.section-title.centered::after { left: 50%; transform: translateX(-50%); }

/* ========================================
   TOP BAR
======================================== */
#topbar {
  background: var(--secondary);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  z-index: 100;
  border-bottom: 2px solid silver;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar-contact {
  display: flex;
  gap: 20px;
  list-style: none;
}

.topbar-contact li  {
  color: #aac0d0;
}

.topbar-contact li a {
  color: #aac0d0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.topbar-contact li a:hover { color: #fff; }
.topbar-contact li a::before {
  margin-right: 5px;
  opacity: 0.7;
}

.topbar-cta .btn {
  padding: 6px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* ========================================
   HEADER / NAVIGATION
======================================== */
#site-header {
  position: relative;
  top: 0;
  background: #fff;
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 999;
  transition: box-shadow 0.3s;
}

#site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  /*max-width: 1200px;*/
  margin: 0;
  padding: 0 20px;
}

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

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}
.site-logo .logo-text span {
  display: block;
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 0.15em;
  font-weight: 400;
  margin-top: 3px;
}

/* Primary Nav */
#primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin-left: auto;
}

#primary-nav > li {
  position: relative;
}

#primary-nav > li > a {
  display: block;
  padding: 28px 16px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--secondary);
  transition: color 0.2s;
  white-space: nowrap;
}

#primary-nav > li > a:hover,
#primary-nav > li.current-menu-item > a {
  color: var(--primary);
}

#primary-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s;
}
#primary-nav > li > a:hover::after,
#primary-nav > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Dropdown */
#primary-nav > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary);
  min-width: 220px;
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 1000;
}

.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.87rem;
  color: #c8d8e8;
  transition: all 0.18s;
  border-left: 3px solid transparent;
}
.sub-menu li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-left-color: var(--primary);
  padding-left: 24px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: all 0.3s;
}

/* ========================================
   HERO
======================================== */
#hero {
  position: relative;
  background: var(--secondary);
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 2px solid silver;
  border-bottom: 2px solid silver;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(26,43,60,0.95) 0%, rgba(26,43,60,0.75) 20%, rgba(26,43,60,0.55) 100%),
    url('/images/hero-bg.jpg') center/cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.hero-title {
  color: #fff;
  margin-bottom: 20px;
  max-width: 680px;
}

.hero-subtitle {
  color: #c8d8e8;
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
  font-style: italic;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========================================
   INTRO STRIP (red bar)
======================================== */
#intro-strip {
  background: var(--primary);
  padding: 22px 0;
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.intro-strip-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   ABOUT SECTION
======================================== */
#about {
  padding: 20px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content .section-title { margin-bottom: 20px; }
.about-content p { color: var(--text-light); font-size: 1.05rem; line-height: 1.75; margin-bottom: 16px; }
.about-content .tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--secondary);
  padding: 12px 18px;
  border-left: 4px solid var(--primary);
  background: var(--bg-light);
  margin: 20px 0;
  font-style: italic;
}

.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-image::before {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary);
  z-index: -1;
}

/* ========================================
   SERVICES SECTION
======================================== */
#services {
  padding: 10px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon {
  width: 100%;
  height: 180px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.service-card-body {
  padding: 24px;
  border-top: 4px solid var(--primary);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-card-link:hover { gap: 10px; }
.service-card-link::after { content: '→'; }

/* ========================================
   CAPABILITIES / FEATURES SECTION
======================================== */
#capabilities {
  padding: 30px 0;
  background: var(--secondary);
  color: #fff;
}

#capabilities .section-title { color: #fff; }

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cap-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.cap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cap-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cap-item:first-child { padding-top: 0; }

.cap-item-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.cap-item-text h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.cap-item-text p {
  color: #8aaabf;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   TESTIMONIALS
======================================== */
#testimonials {
  padding: 20px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.testimonial-card {
  background: #fff;
  padding: 28px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 0;
  left: 16px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========================================
   INDUSTRIES / MARKETS SECTION
======================================== */
#industries {
  padding: 20px 0;
  background: #fff;
}

.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.industry-tag {
  padding: 10px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--secondary);
  transition: all 0.2s;
}
.industry-tag:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.industries-note {
  margin-top: 30px;
  padding: 20px 24px;
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  font-size: 0.95rem;
  color: var(--text-light);
}
.industries-note strong { color: var(--secondary); }

/* ========================================
   ISO STANDARDS SECTION
======================================== */
#standards {
  padding: 20px 0;
  background: var(--secondary);
}

.standards-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.standards-text {
  flex: 1;
  min-width: 280px;
  color: #c8d8e8;
}
.standards-text h3 { color: #fff; margin-bottom: 12px; }
.standards-text p { font-size: 0.95rem; line-height: 1.7; }

.standards-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.std-badge {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  padding: 16px 24px;
  text-align: center;
  color: #fff;
  font-family: var(--font-heading);
  min-width: 100px;
  transition: all 0.2s;
}
.std-badge:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.std-badge .std-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.std-badge .std-desc {
  font-size: 0.7rem;
  opacity: 0.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ========================================
   CTA BANNER
======================================== */
#cta-banner {
  padding: 70px 0;
  background: var(--primary);
}

.cta-banner-inner {
  text-align: center;
}

.cta-banner-inner h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.cta-banner-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* ========================================
   FOOTER
======================================== */
#site-footer {
  background: var(--secondary);
  color: #8aaabf;
  padding: 60px 0 0;
  border-top: 2px solid silver;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-brand .logo-text span {
  display: block;
  color: var(--primary);
  letter-spacing: 0.15em;
  font-weight: 400;
  margin-top: 2px;
}

.footer-brand p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.footer-contact-item .label {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-width: 56px;
  margin-top: 2px;
}
.footer-contact-item a { color: #8aaabf; }
.footer-contact-item a:hover { color: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links li {
  color: #8aaabf;
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a {
  color: #8aaabf;
}

.footer-links li a:hover {
  color: #fff;
}

.footer-links li::before {
  content: '»';
  color: var(--primary);
  font-size: 0.8rem;
}
.footer-links li:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: #8aaabf; }
.footer-bottom a:hover { color: #fff; }

/* ========================================
   INNER PAGE STYLES
======================================== */
.page-banner {
  background: var(--secondary);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-top: 2px solid silver;
  border-bottom: 2px solid silver;
}

.page-banner h1 { color: #fff; }
.page-banner .breadcrumb {
  color: #8aaabf;
  font-size: 0.85rem;
  margin-top: 8px;
}
.page-banner .breadcrumb a { color: var(--primary); }

.page-content {
  padding: 0;
}

/* ========================================
   FORMS
======================================== */
.contact-form {
  display:grid;grid-template-columns:2fr 1fr;gap:20px;align-items:start;
}
.contact-form .full-width { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,22,29,0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --topbar-height: auto;
    --header-height: 150px;
  }

  body {
    overflow-x: hidden;
  }

  #topbar { display: none; }

  #site-header {
    clip-path: inset(0 0 -100vh 0); /* clips below header without affecting layout */
  }

  .topbar-contact { display: none; }
  .topbar-inner { justify-content: center; }

  .nav-toggle { display: flex; }

  #primary-nav {
    position: absolute;              /* CHANGE: absolute, not fixed */
    top: 100%;                       /* sits just below the header */
    left: 0;
    right: 0;
    background: var(--secondary);
    flex-direction: column;
    padding: 0;
    gap: 0;
    max-height: 0;                   /* CHANGE: collapsed by default */
    overflow: hidden;                /* CHANGE: clips content when collapsed */
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 998;
  }

  #primary-nav.open {
    max-height: 500px;               /* tall enough to show all items */
    padding: 20px 0;
  }

  #primary-nav > li > a {
    color: #fff;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  #primary-nav > li > a::after { display: none; }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0,0,0,0.2);
    box-shadow: none;
    padding: 0;
    display: none;
  }
  .sub-menu.open { display: block; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image::before { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full-width { grid-column: 1; }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }

  .industries-list { flex-direction: column; }
  .industry-tag { text-align: center; }

  .intro-strip-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  #topbar { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .standards-badges { justify-content: center; }
}

/* ========================================
   PAGE INNER LAYOUT (content + sidebar)
======================================== */
.page-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.content-body p { color: var(--text-light); line-height: 1.75; margin-bottom: 1em; }
.content-body h2, .content-body h3 { margin: 0.2em 0 0.6em; }
.content-body ul, .content-body ol { margin: 0 0 1em 1.5em; }
.content-body li { color: var(--text-light); line-height: 1.7; margin-bottom: 4px; }
.content-body img { margin: 1.5em 0; max-width: 100%; }
.content-body strong { color: var(--secondary); }

@media (max-width: 768px) {
  .page-content-grid { grid-template-columns: 1fr; }
  .page-sidebar { order: -1; }
}

/* ========================================
   FOOTER BOTTOM BAR
======================================== */
#footer-bottom-bar {
  background: rgba(0,0,0,0.25);
  border-top: 2px solid silver;
  border-bottom: 2px solid silver;
}

/* ========================================
   SCROLLBAR (optional cosmetic)
======================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ========================================
   PRINT STYLES
======================================== */
@media print {
  #topbar, #site-header, #site-footer, .btn, #cta-banner { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

