/* ========================================
   Steel Wheel Logistics — Shared Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --steel-blue: #4a90d9;
  --steel-blue-dark: #3a7bc8;
  --steel-grey: #6b7b8d;
  --light-grey: #f4f6f8;
  --border-grey: #dde2e8;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-body: #4a5568;
  --text-light: #718096;
  --success-green: #38a169;
  --error-red: #e53e3e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.3;
}

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

a:hover {
  color: var(--steel-blue-dark);
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.site-header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 11px;
  color: var(--steel-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(74, 144, 217, 0.15);
}

.main-nav a.nav-cta {
  background: var(--steel-blue);
  color: var(--white);
}

.main-nav a.nav-cta:hover {
  background: var(--steel-blue-dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: url('images/hero-railroad.jpg') center center / cover no-repeat;
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 35, 50, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel-blue);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--steel-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--steel-blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 217, 0.35);
}

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

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 80px 20px;
}

.section-alt {
  background: var(--light-grey);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 8px;
}

/* ========================================
   Card Grid
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid var(--border-grey);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(74, 144, 217, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--steel-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   About / Two-Column
   ======================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.two-col-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 28px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--steel-blue);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-visual {
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  min-height: 320px;
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 20px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 30px;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-section {
  padding: 60px 20px 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(74, 144, 217, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--steel-blue);
  fill: none;
  stroke-width: 2;
}

.contact-detail-text {
  font-size: 15px;
}

.contact-detail-text strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--text-light);
  font-style: italic;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--white);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
}

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

/* SMS Consent Checkbox */
.consent-group {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--light-grey);
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  padding: 16px;
}

.consent-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--steel-blue);
}

.consent-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body);
}

.consent-text a {
  color: var(--steel-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-text a:hover {
  color: var(--steel-blue-dark);
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background: var(--steel-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-submit:hover {
  background: var(--steel-blue-dark);
}

.form-success {
  display: none;
  background: rgba(56, 161, 105, 0.1);
  border: 1px solid var(--success-green);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: var(--success-green);
  font-weight: 600;
  margin-top: 16px;
}

.form-success.show {
  display: block;
}

/* ========================================
   Legal / Policy Pages
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light-grey);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.75;
}

.legal-content ul {
  margin-bottom: 14px;
  padding-left: 24px;
}

.legal-content ul li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.legal-highlight {
  background: rgba(74, 144, 217, 0.06);
  border-left: 4px solid var(--steel-blue);
  padding: 20px 24px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.legal-highlight p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 20px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

/* ========================================
   Services Page
   ======================================== */
.services-detail {
  padding: 60px 20px 80px;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-grey);
}

.service-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-block-visual {
  border-radius: 16px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.service-block-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.service-block-visual:hover img {
  transform: scale(1.03);
}

.service-block-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.3) 0%, rgba(36, 48, 68, 0.15) 100%);
  border-radius: 16px;
  z-index: 1;
}

.service-block-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-block-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 12px;
}

.service-block-text ul {
  list-style: none;
  padding: 0;
}

.service-block-text ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 15px;
  color: var(--text-body);
}

.service-block-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--steel-blue);
  border-radius: 50%;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

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

  .main-nav a {
    padding: 12px 16px;
    text-align: center;
  }

  .hero {
    padding: 60px 20px 50px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

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

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

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

  .stats-row {
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 50px 20px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 12px 16px;
  }

  .logo-name {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .contact-form {
    padding: 24px;
  }

  .stats-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* ========================================
   Blog — Listing Page Hero
   ======================================== */
.blog-listing-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-listing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a90d9' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.blog-listing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.blog-listing-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
}

.blog-listing-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ========================================
   Blog — Listing Cards (vertical stack)
   ======================================== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.blog-list-card {
  display: block;
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  border: 1px solid var(--border-grey);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.blog-list-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: var(--steel-blue);
}

.blog-list-card-tag {
  display: inline-block;
  background: rgba(74, 144, 217, 0.08);
  color: var(--steel-blue);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.blog-list-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-list-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-list-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
}

.blog-list-card-date {
  font-weight: 600;
  color: var(--steel-blue);
}

.blog-list-card-read {
  position: relative;
  padding-left: 16px;
}

.blog-list-card-read::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--border-grey);
  border-radius: 50%;
}

/* Legacy grid support (kept for backwards compat) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  display: block;
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border-grey);
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--steel-blue);
}

.blog-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.blog-card .blog-meta {
  font-size: 13px;
  color: var(--steel-blue);
  font-weight: 500;
}

.blog-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 17px;
}

.blog-empty p {
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   Blog — Individual Post Page
   ======================================== */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.blog-post-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--light-grey);
}

.blog-post-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.blog-post-header .blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-meta {
  font-size: 14px;
  color: var(--text-light);
}

.blog-meta .blog-date {
  font-weight: 500;
  color: var(--steel-blue);
}

.blog-meta .blog-tag {
  display: inline-block;
  background: rgba(74, 144, 217, 0.08);
  color: var(--steel-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}

.blog-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light-grey);
}

.blog-post-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-post-content p {
  margin-bottom: 18px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 18px;
  padding-left: 28px;
}

.blog-post-content ul li,
.blog-post-content ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.blog-post-content blockquote {
  background: rgba(74, 144, 217, 0.06);
  border-left: 4px solid var(--steel-blue);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-dark);
}

.blog-post-content a {
  color: var(--steel-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-content a:hover {
  color: var(--steel-blue-dark);
}

.blog-post-content img {
  border-radius: 12px;
  margin: 24px 0;
}

.blog-post-content strong {
  color: var(--text-dark);
}

/* Blog lead paragraph */
.blog-lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 400;
}

/* Blog table of contents */
.blog-toc {
  background: var(--light-grey);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0 40px;
  border: 1px solid var(--border-grey);
}

.blog-toc-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.blog-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.blog-toc ol li {
  counter-increment: toc-counter;
  margin-bottom: 6px;
}

.blog-toc ol li a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  color: var(--text-body);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.blog-toc ol li a::before {
  content: counter(toc-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--steel-blue);
  color: var(--white);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.blog-toc ol li a:hover {
  color: var(--steel-blue);
}

/* Blog author section */
.blog-author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  margin-top: 48px;
  border-top: 2px solid var(--light-grey);
}

.blog-author-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-author-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--steel-blue);
}

.blog-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.blog-author-bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-light);
}

/* Blog CTA box at end of posts */
.blog-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  padding: 40px 36px;
  margin-top: 48px;
  text-align: center;
}

.blog-cta h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
  margin-top: 0;
}

.blog-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  font-size: 16px;
}

.blog-cta .btn {
  display: inline-flex;
}

.blog-course-cta {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
  border: 2px solid var(--steel);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 32px;
}

.blog-course-cta h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 0 0 8px 0;
}

.blog-course-cta p {
  color: var(--text);
  font-size: 15px;
  margin: 0 0 16px 0;
}

.blog-course-cta .course-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-course-cta .course-links a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.blog-course-cta .course-links a:hover {
  text-decoration: underline;
  color: var(--steel);
}

.blog-video {
  margin-top: 40px;
  padding: 24px;
  background: var(--light);
  border-radius: 8px;
  border-left: 4px solid var(--steel);
}

.blog-video h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 12px;
}

.blog-video .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 12px;
}

.blog-video .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.blog-related {
  margin-top: 32px;
}

.blog-related h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 12px;
}

.blog-related ul {
  list-style: none;
  padding: 0;
}

.blog-related li {
  margin-bottom: 8px;
}

.blog-related a {
  color: var(--steel);
  text-decoration: none;
  font-size: 15px;
}

.blog-related a:hover {
  text-decoration: underline;
}

/* ========================================
   Blog — Hero Section (for individual posts)
   ======================================== */
.blog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 20px 52px;
  text-align: center;
  position: relative;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a90d9' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.blog-hero > * {
  position: relative;
  z-index: 1;
}

.blog-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.blog-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
  color: var(--steel-blue);
}

.blog-breadcrumb .separator {
  margin: 0 8px;
  opacity: 0.6;
}

.blog-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 20px;
}

.blog-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.blog-hero-meta .blog-tag {
  display: inline-block;
  background: rgba(74, 144, 217, 0.15);
  color: var(--steel-blue);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-hero-meta .dot {
  opacity: 0.4;
}

/* ========================================
   Blog — Content Enhancements
   ======================================== */

/* Key stat / highlight box */
.blog-highlight {
  background: rgba(74, 144, 217, 0.06);
  border-left: 4px solid var(--steel-blue);
  padding: 20px 24px;
  margin: 0 0 32px 0;
  border-radius: 0 10px 10px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.blog-highlight strong {
  color: var(--steel-blue);
}

/* Process steps */
.blog-steps {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-step {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.2s ease;
}

.blog-step:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--steel-blue);
}

.blog-step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--steel-blue);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.blog-step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  margin-top: 0;
}

.blog-step-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 10px;
}

.blog-step-content p:last-child {
  margin-bottom: 0;
}

.blog-step-content ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.blog-step-content ul li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 4px;
  color: var(--text-body);
}

.blog-step-content ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.blog-step-content ol li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 4px;
  color: var(--text-body);
}

/* Comparison grid */
.blog-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 32px;
}

.blog-comparison-item {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.2s ease;
}

.blog-comparison-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.blog-comparison-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--steel-blue);
}

.blog-comparison-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 0;
}

/* Stats strip (inline stats within content) */
.blog-stats-strip {
  display: flex;
  gap: 20px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.blog-stat {
  flex: 1;
  min-width: 140px;
  background: var(--light-grey);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.blog-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--steel-blue);
  line-height: 1;
  margin-bottom: 4px;
}

.blog-stat-label {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Back to blog nav */
.blog-back {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-grey);
}

.blog-back a {
  font-size: 15px;
  font-weight: 600;
  color: var(--steel-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-back a:hover {
  color: var(--steel-blue-dark);
}

/* Blog responsive */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-listing-hero {
    padding: 48px 20px 40px;
  }

  .blog-listing-hero h1 {
    font-size: 30px;
  }

  .blog-list-card {
    padding: 28px 24px;
  }

  .blog-list-card h2 {
    font-size: 19px;
  }

  .blog-hero h1 {
    font-size: 28px;
  }

  .blog-hero {
    padding: 36px 20px 40px;
  }

  .blog-post-header h1 {
    font-size: 28px;
  }

  .blog-post-content h2 {
    font-size: 20px;
  }

  .blog-post {
    padding: 40px 20px 60px;
  }

  .blog-lead {
    font-size: 16px;
  }

  .blog-toc {
    padding: 22px 24px;
  }

  .blog-cta {
    padding: 28px 24px;
  }

  .blog-step {
    flex-direction: column;
    gap: 12px;
  }

  .blog-comparison {
    grid-template-columns: 1fr;
  }

  .blog-stats-strip {
    flex-direction: column;
  }

  .blog-author {
    flex-direction: column;
    gap: 14px;
  }
}
