/*
Theme Name: Bill Split Calculator
Theme URI: https://billsplitcal.local
Author: BillSplitCal
Author URI: https://billsplitcal.local
Description: A fast, SEO-friendly WordPress theme for Bill Split Calculator — split bills fairly and instantly with a premium green-themed design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: billsplit
Tags: calculator, bill-split, green, responsive, accessibility-ready
*/

/* ========================================
   CSS CUSTOM PROPERTIES (GREEN THEME)
======================================== */
:root {
  /* Brand Colors */
  --bs-primary: #16A34A;
  --bs-primary-hover: #15803D;
  --bs-primary-light: #DCFCE7;
  --bs-primary-lighter: #F0FDF4;
  --bs-dark-green: #166534;
  --bs-darkest-green: #14532D;

  /* Neutrals */
  --bs-text: #111827;
  --bs-text-secondary: #374151;
  --bs-text-muted: #6B7280;
  --bs-border: #E5E7EB;
  --bs-border-dark: #D1D5DB;
  --bs-bg: #FFFFFF;
  --bs-bg-alt: #F9FAFB;
  --bs-bg-dark: #F3F4F6;

  /* Shadows */
  --bs-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --bs-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --bs-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --bs-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);

  /* Radius */
  --bs-radius-sm: 6px;
  --bs-radius: 8px;
  --bs-radius-lg: 12px;
  --bs-radius-xl: 16px;

  /* Typography */
  --bs-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;

  /* Spacing */
  --bs-container: 1200px;
  --bs-container-narrow: 800px;

  /* Transitions */
  --bs-transition: 0.2s ease;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--bs-font);
  color: var(--bs-text);
  background: var(--bs-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bs-primary);
  text-decoration: none;
  transition: color var(--bs-transition);
}

a:hover {
  color: var(--bs-primary-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--bs-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* ========================================
   LAYOUT
======================================== */
.bs-container {
  max-width: var(--bs-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bs-container--narrow {
  max-width: var(--bs-container-narrow);
}

.bs-section {
  padding: 4rem 0;
}

.bs-section--alt {
  background: var(--bs-bg-alt);
}

.bs-section--green {
  background: var(--bs-primary-lighter);
}

.bs-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.bs-section__header h2 {
  margin-bottom: 0.75rem;
}

.bs-section__header p {
  color: var(--bs-text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   HEADER / NAV
======================================== */
.bs-header {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--bs-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.bs-header--transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.bs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo area */
.bs-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.bs-logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}

.bs-logo__img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
}

.bs-logo__fallback-icon {
  width: 32px;
  height: 32px;
  color: var(--bs-primary);
}

.bs-logo__text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bs-dark-green);
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color var(--bs-transition);
}

.bs-logo:hover .bs-logo__text {
  color: var(--bs-primary);
}

.bs-logo__tagline {
  font-size: 0.75rem;
  color: var(--bs-text-muted);
  font-weight: 400;
  display: none;
}

@media (min-width: 900px) {
  .bs-logo__tagline {
    display: inline;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid var(--bs-border);
  }
}

/* Navigation wrapper */
.bs-header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bs-nav a {
  display: block;
  position: relative;
  padding: 0.5rem 1rem;
  color: var(--bs-text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--bs-transition);
  text-decoration: none;
  white-space: nowrap;
}

.bs-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--bs-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.bs-nav a:hover,
.bs-nav .current-menu-item a {
  color: var(--bs-primary);
}

.bs-nav a:hover::after,
.bs-nav .current-menu-item a::after {
  transform: scaleX(1);
}

/* CTA button in header */
.bs-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--bs-radius);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--bs-transition);
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.3);
}

.bs-header__cta:hover {
  background: var(--bs-dark-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

/* Mobile toggle — animated hamburger */
.bs-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--bs-radius-sm);
  transition: background var(--bs-transition);
}

.bs-mobile-toggle:hover {
  background: var(--bs-primary-light);
}

.bs-mobile-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bs-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.bs-mobile-toggle.is-active .bs-mobile-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bs-mobile-toggle.is-active .bs-mobile-toggle__bar:nth-child(2) {
  opacity: 0;
}

.bs-mobile-toggle.is-active .bs-mobile-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .bs-mobile-toggle {
    display: flex;
  }

  .bs-header__nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bs-bg);
    border-bottom: 1px solid var(--bs-border);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--bs-shadow-md);
    z-index: 99;
  }

  .bs-header__nav.is-open {
    display: flex;
  }

  .bs-nav {
    flex-direction: column;
    width: 100%;
    gap: 2px;
  }

  .bs-nav a {
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: var(--bs-radius-sm);
  }

  .bs-header__cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem;
  }
}

/* ========================================
   HERO
======================================== */
.bs-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bs-darkest-green) 0%, var(--bs-dark-green) 50%, var(--bs-primary) 100%);
  color: #fff;
  padding: 5rem 0;
  overflow: hidden;
}

.bs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.bs-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bs-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.bs-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.bs-hero h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.bs-hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.bs-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .bs-hero { padding: 3rem 0 4rem; }
  .bs-hero h1 { font-size: 2rem; }
  .bs-hero__subtitle { font-size: 1.05rem; }
}

/* ========================================
   BUTTONS
======================================== */
.bs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--bs-font);
  border: 2px solid transparent;
  border-radius: var(--bs-radius);
  cursor: pointer;
  transition: all var(--bs-transition);
  text-decoration: none;
  line-height: 1.4;
}

.bs-btn--primary {
  background: var(--bs-primary);
  color: #fff;
}

.bs-btn--primary:hover {
  background: var(--bs-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--bs-shadow-md);
}

.bs-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.bs-btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.bs-btn--outline-green {
  background: transparent;
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.bs-btn--outline-green:hover {
  background: var(--bs-primary);
  color: #fff;
}

.bs-btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.bs-btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

/* ========================================
   CARDS
======================================== */
.bs-card {
  background: var(--bs-bg);
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-lg);
  padding: 1.75rem;
  transition: all var(--bs-transition);
}

.bs-card:hover {
  border-color: var(--bs-primary);
  box-shadow: var(--bs-shadow-lg);
  transform: translateY(-2px);
}

.bs-card__icon {
  width: 48px;
  height: 48px;
  background: var(--bs-primary-light);
  border-radius: var(--bs-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--bs-primary);
  font-size: 1.5rem;
}

.bs-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bs-card__title a {
  color: var(--bs-text);
  text-decoration: none;
}

.bs-card__title a:hover {
  color: var(--bs-primary);
}

.bs-card__desc {
  color: var(--bs-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.bs-card__link {
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bs-card__link::after {
  content: '→';
  transition: transform var(--bs-transition);
}

.bs-card:hover .bs-card__link::after {
  transform: translateX(3px);
}

/* Card Grid */
.bs-grid {
  display: grid;
  gap: 1.5rem;
}

.bs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bs-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .bs-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .bs-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .bs-grid--4,
  .bs-grid--3,
  .bs-grid--2 { grid-template-columns: 1fr; }
}

/* ========================================
   HOW IT WORKS
======================================== */
.bs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.bs-step {
  text-align: center;
  position: relative;
}

.bs-step__number {
  width: 56px;
  height: 56px;
  background: var(--bs-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.bs-step__icon {
  width: 64px;
  height: 64px;
  background: var(--bs-primary-light);
  color: var(--bs-primary);
  border-radius: var(--bs-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all var(--bs-transition);
}

.bs-step:hover .bs-step__icon {
  background: var(--bs-primary);
  color: #fff;
  transform: scale(1.05);
}

.bs-step__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bs-step__text {
  color: var(--bs-text-muted);
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .bs-steps { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ========================================
   BENEFITS / TRUST
======================================== */
.bs-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bs-benefit {
  text-align: center;
  padding: 2rem 1.5rem;
}

.bs-benefit__icon {
  width: 64px;
  height: 64px;
  background: var(--bs-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--bs-primary);
}

.bs-benefit__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bs-benefit__text {
  color: var(--bs-text-muted);
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .bs-benefits { grid-template-columns: 1fr; }
}

/* ========================================
   FAQ ACCORDION
======================================== */
.bs-faq {
  max-width: 720px;
  margin: 0 auto;
}

.bs-faq__item {
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.bs-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  background: var(--bs-bg);
  border: none;
  cursor: pointer;
  font-family: var(--bs-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bs-text);
  text-align: left;
  transition: background var(--bs-transition);
}

.bs-faq__question:hover {
  background: var(--bs-bg-alt);
}

.bs-faq__question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--bs-text-muted);
  transition: transform var(--bs-transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.bs-faq__item.is-open .bs-faq__question::after {
  content: '−';
}

.bs-faq__answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--bs-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.bs-faq__item.is-open .bs-faq__answer {
  display: block;
}

/* ========================================
   FOOTER
======================================== */
.bs-footer {
  background: var(--bs-text);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.bs-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.bs-footer__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.bs-footer__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 320px;
}

.bs-footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.bs-footer__links {
  list-style: none;
}

.bs-footer__links li {
  margin-bottom: 0.5rem;
}

.bs-footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: color var(--bs-transition);
}

.bs-footer__links a:hover {
  color: var(--bs-primary-light);
}

.bs-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .bs-footer__inner { grid-template-columns: 1fr; }
}

/* ========================================
   FOOTER CTA
======================================== */
.bs-footer-cta {
  background: linear-gradient(135deg, var(--bs-dark-green), var(--bs-primary));
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.bs-footer-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.bs-footer-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.bs-footer-cta .bs-btn--primary {
  background: #fff;
  color: var(--bs-dark-green);
}

.bs-footer-cta .bs-btn--primary:hover {
  background: var(--bs-primary-light);
}

/* ========================================
   SEARCH / FILTER BAR
======================================== */
.bs-search-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.bs-search-bar__input {
  flex: 1;
  min-width: 240px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 2px solid var(--bs-border);
  border-radius: var(--bs-radius);
  font-size: 1rem;
  font-family: var(--bs-font);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.875rem center;
  transition: border-color var(--bs-transition);
}

.bs-search-bar__input:focus {
  border-color: var(--bs-primary);
  outline: none;
}

.bs-search-bar__filter {
  padding: 0.75rem 1rem;
  border: 2px solid var(--bs-border);
  border-radius: var(--bs-radius);
  font-size: 0.9375rem;
  font-family: var(--bs-font);
  background: var(--bs-bg);
  cursor: pointer;
}

/* ========================================
   SINGLE CALCULATOR PAGE
======================================== */
.bs-calc-page {
  padding: 3rem 0;
}

.bs-calc-page__header {
  margin-bottom: 2rem;
}

.bs-calc-page__header h1 {
  margin-bottom: 0.75rem;
}

.bs-calc-page__intro {
  color: var(--bs-text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 720px;
}

.bs-calc-page__layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.bs-calc-page__sidebar .bs-card {
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .bs-calc-page__layout {
    grid-template-columns: 1fr;
  }
}

/* User-written content from page editor */
.bs-user-content {
  margin: 2.5rem 0;
  line-height: 1.8;
  color: var(--bs-text);
}

.bs-user-content h2,
.bs-user-content h3,
.bs-user-content h4 {
  margin: 2rem 0 0.75rem;
  color: var(--bs-primary-dark);
}

.bs-user-content p {
  margin-bottom: 1rem;
}

.bs-user-content ul,
.bs-user-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.bs-user-content li {
  margin-bottom: 0.5rem;
}

.bs-user-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--bs-radius);
}

/* How to use steps on single page */
.bs-how-to {
  margin: 3rem 0;
}

.bs-how-to ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.bs-how-to li {
  margin-bottom: 0.75rem;
  color: var(--bs-text-secondary);
  line-height: 1.6;
}

/* Example scenario */
.bs-example {
  background: var(--bs-primary-lighter);
  border: 1px solid var(--bs-primary-light);
  border-radius: var(--bs-radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
}

.bs-example h3 {
  color: var(--bs-dark-green);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.bs-example p {
  color: var(--bs-text-secondary);
  font-size: 0.9375rem;
}

/* Related calculators */
.bs-related {
  margin: 3rem 0;
}

.bs-related h3 {
  margin-bottom: 1.25rem;
}

/* ========================================
   BREADCRUMB
======================================== */
.bs-breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--bs-text-muted);
}

.bs-breadcrumb a {
  color: var(--bs-text-muted);
}

.bs-breadcrumb a:hover {
  color: var(--bs-primary);
}

.bs-breadcrumb span {
  margin: 0 0.4rem;
}

/* ========================================
   SVG ICON BASE
======================================== */
.bs-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ========================================
   RELATED CALCULATOR ITEMS (sidebar)
======================================== */
.bs-related-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--bs-border);
}

.bs-related-item__icon {
  width: 32px;
  height: 32px;
  background: var(--bs-primary-lighter);
  border-radius: var(--bs-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  flex-shrink: 0;
  transition: all var(--bs-transition);
}

.bs-related-item:hover .bs-related-item__icon {
  background: var(--bs-primary);
  color: #fff;
}

.bs-related-item__link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--bs-text);
  transition: color var(--bs-transition);
}

.bs-related-item__link:hover {
  color: var(--bs-primary);
}

/* ========================================
   TIP CARD VARIANT
======================================== */
.bs-card--tip {
  background: var(--bs-primary-lighter);
  border-color: var(--bs-primary-light);
}

.bs-card__title--tip {
  color: var(--bs-dark-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================================
   SINGLE POST — FEATURED IMAGE (Contained)
======================================== */
.bs-single-featured {
  margin-bottom: 2rem;
  border-radius: var(--bs-radius);
  overflow: hidden;
}

.bs-single-featured img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: var(--bs-radius);
}

@media (max-width: 768px) {
  .bs-single-featured img { max-height: 260px; }
}

/* ========================================
   SINGLE POST LAYOUT
======================================== */
.bs-single-wrap {
  padding: 2.5rem 0 4rem;
}

.bs-single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.bs-single-layout--no-sidebar {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .bs-single-layout {
    grid-template-columns: 1fr;
  }
}

/* ---- Category Badge ---- */
.bs-cat-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--bs-transition);
}

.bs-cat-badge:hover {
  background: var(--bs-primary-hover);
  color: #fff;
}

.bs-cat-badge--light {
  background: rgba(255,255,255,0.95);
  color: var(--bs-primary);
}

.bs-cat-badge--sm {
  padding: 0.2rem 0.6rem;
  font-size: 0.625rem;
}

.bs-single-cats {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* ---- Title ---- */
.bs-single-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--bs-text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .bs-single-title { font-size: 1.625rem; }
}

/* ---- Meta Row (Author + Reviewer + Date) ---- */
.bs-single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bs-border);
}

.bs-single-meta__group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.bs-single-meta__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--bs-primary-light);
}

.bs-single-meta__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.bs-single-meta__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bs-text-muted);
  font-weight: 600;
}

.bs-single-meta__author {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--bs-primary);
  text-decoration: none;
  line-height: 1.2;
}

.bs-single-meta__author:hover {
  color: var(--bs-primary-hover);
  text-decoration: underline;
}

.bs-single-meta__divider {
  width: 1px;
  height: 32px;
  background: var(--bs-border);
}

.bs-single-meta__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bs-single-meta__sep {
  color: var(--bs-text-muted);
}

.bs-single-meta__date,
.bs-single-meta__read {
  font-size: 0.8125rem;
  color: var(--bs-text-muted);
}

@media (max-width: 640px) {
  .bs-single-meta {
    gap: 0.75rem;
  }
  .bs-single-meta__divider {
    display: none;
  }
  .bs-single-meta__info {
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid var(--bs-border);
  }
}

/* ---- Content ---- */
.bs-single-content {
  margin-bottom: 2rem;
}

/* ---- Tags ---- */
.bs-single-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--bs-border);
  border-bottom: 1px solid var(--bs-border);
  margin-bottom: 2rem;
}

.bs-single-tags__label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bs-text-secondary);
  margin-right: 0.25rem;
}

.bs-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--bs-bg-alt);
  color: var(--bs-text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--bs-border);
  transition: all var(--bs-transition);
}

.bs-tag:hover {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

/* ========================================
   AUTHOR / REVIEWER CREDIT CARDS
======================================== */
.bs-credit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.bs-credit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bs-bg-alt);
  border-radius: var(--bs-radius-lg);
  border: 1px solid var(--bs-border);
}

.bs-credit-card--reviewer {
  background: var(--bs-primary-lighter);
  border-color: var(--bs-primary-light);
}

.bs-credit-card__avatar-link {
  flex-shrink: 0;
}

.bs-credit-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bs-primary-light);
}

.bs-credit-card__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bs-primary);
  font-weight: 700;
}

.bs-credit-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 0.25rem 0 0.25rem;
}

.bs-credit-card__name a {
  color: inherit;
  text-decoration: none;
}

.bs-credit-card__name a:hover {
  color: var(--bs-primary);
}

.bs-credit-card__role {
  display: block;
  font-size: 0.8125rem;
  color: var(--bs-text-muted);
  margin-bottom: 0.375rem;
}

.bs-credit-card__bio {
  font-size: 0.875rem;
  color: var(--bs-text-muted);
  line-height: 1.5;
  margin: 0.375rem 0 0;
}

.bs-credit-card__socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.bs-credit-card__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bs-primary-light);
  color: var(--bs-primary);
  transition: all var(--bs-transition);
}

.bs-credit-card__social:hover {
  background: var(--bs-primary);
  color: #fff;
}

@media (max-width: 768px) {
  .bs-credit-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .bs-credit-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bs-credit-card__socials { justify-content: center; }
  .bs-credit-card__avatar { width: 64px; height: 64px; }
}

/* ========================================
   POST NAVIGATION
======================================== */
.bs-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--bs-border);
}

.bs-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: var(--bs-bg);
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-lg);
  text-decoration: none;
  transition: all var(--bs-transition);
}

.bs-post-nav__link:hover {
  border-color: var(--bs-primary);
  box-shadow: var(--bs-shadow-md);
  transform: translateY(-2px);
}

.bs-post-nav__link--next {
  text-align: right;
  grid-column: 2;
}

.bs-post-nav__label {
  font-size: 0.75rem;
  color: var(--bs-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bs-post-nav__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bs-text);
  line-height: 1.4;
}

.bs-post-nav__link:hover .bs-post-nav__title {
  color: var(--bs-primary);
}

@media (max-width: 640px) {
  .bs-post-nav { grid-template-columns: 1fr; }
  .bs-post-nav__link--next { text-align: left; grid-column: 1; }
}

/* ========================================
   MUST READ — RELATED POSTS
======================================== */
.bs-must-read {
  padding: 2rem 0;
  border-top: 1px solid var(--bs-border);
}

.bs-must-read__heading {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--bs-text);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.bs-must-read__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--bs-primary);
  border-radius: 3px;
}

.bs-must-read__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bs-must-read__card {
  display: block;
  text-decoration: none;
  border-radius: var(--bs-radius-lg);
  overflow: hidden;
  border: 1px solid var(--bs-border);
  transition: all 0.3s ease;
}

.bs-must-read__card:hover {
  border-color: var(--bs-primary);
  box-shadow: var(--bs-shadow-lg);
  transform: translateY(-3px);
}

.bs-must-read__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bs-bg-dark);
}

.bs-must-read__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bs-must-read__card:hover .bs-must-read__thumb img {
  transform: scale(1.05);
}

.bs-must-read__info {
  padding: 1rem 1.25rem;
}

.bs-must-read__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bs-text);
  line-height: 1.4;
  margin-bottom: 0.375rem;
}

.bs-must-read__card:hover .bs-must-read__title {
  color: var(--bs-primary);
}

.bs-must-read__cat {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-primary);
}

@media (max-width: 768px) {
  .bs-must-read__grid { grid-template-columns: 1fr; }
}

/* ========================================
   COMMENTS
======================================== */
.bs-comments-wrap {
  padding: 2rem 0 0;
  border-top: 1px solid var(--bs-border);
  margin-top: 2rem;
}

.bs-comments-wrap .comment-respond {
  margin-top: 1.5rem;
}

.bs-comments-wrap .comment-reply-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bs-comments-wrap .comment-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bs-text-secondary);
  margin-bottom: 0.375rem;
}

.bs-comments-wrap .comment-form input[type="text"],
.bs-comments-wrap .comment-form input[type="email"],
.bs-comments-wrap .comment-form input[type="url"],
.bs-comments-wrap .comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius);
  font-family: var(--bs-font);
  font-size: 0.9375rem;
  transition: border-color var(--bs-transition);
  background: var(--bs-bg);
  color: var(--bs-text);
}

.bs-comments-wrap .comment-form input:focus,
.bs-comments-wrap .comment-form textarea:focus {
  border-color: var(--bs-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.bs-comments-wrap .comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.bs-comments-wrap .comment-form .form-submit input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--bs-font);
  border: none;
  border-radius: var(--bs-radius);
  cursor: pointer;
  transition: all var(--bs-transition);
}

.bs-comments-wrap .comment-form .form-submit input:hover {
  background: var(--bs-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--bs-shadow-md);
}

.bs-comments-wrap .comment-form p {
  margin-bottom: 1rem;
}

.bs-comments-wrap .comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bs-comments-wrap .comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--bs-border);
}

.bs-comments-wrap .comment-author img {
  border-radius: 50%;
  margin-right: 0.75rem;
  vertical-align: middle;
}

.bs-comments-wrap .comment-author .fn {
  font-weight: 600;
}

.bs-comments-wrap .comment-metadata {
  font-size: 0.8125rem;
  color: var(--bs-text-muted);
  margin-top: 0.25rem;
}

/* ========================================
   PAGE LAYOUT
======================================== */
.bs-page-wrap {
  padding: 3rem 0 4rem;
}

.bs-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bs-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bs-border);
}

@media (max-width: 640px) {
  .bs-page-title { font-size: 1.75rem; }
  .bs-page-wrap { padding: 2rem 0 3rem; }
}

.bs-page-content {
  margin-bottom: 2rem;
}

/* ========================================
   PROSE — RICH CONTENT STYLING
======================================== */
.bs-prose {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--bs-text);
}

.bs-prose > *:first-child {
  margin-top: 0;
}

.bs-prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 2.5rem 0 0.75rem;
}

.bs-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 2rem 0 0.625rem;
}

.bs-prose h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bs-text);
  margin: 1.75rem 0 0.5rem;
}

.bs-prose p {
  margin-bottom: 1.5rem;
}

.bs-prose a {
  color: var(--bs-primary);
  text-decoration: underline;
  text-decoration-color: rgba(22, 163, 74, 0.3);
  text-underline-offset: 3px;
  transition: all var(--bs-transition);
}

.bs-prose a:hover {
  color: var(--bs-primary-hover);
  text-decoration-color: var(--bs-primary);
}

.bs-prose ul,
.bs-prose ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

.bs-prose li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.bs-prose li::marker {
  color: var(--bs-primary);
}

.bs-prose blockquote {
  margin: 2rem 0;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--bs-primary);
  background: var(--bs-bg-alt);
  border-radius: 0 var(--bs-radius-lg) var(--bs-radius-lg) 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--bs-text-secondary);
  line-height: 1.7;
}

.bs-prose blockquote p:last-child {
  margin-bottom: 0;
}

.bs-prose img {
  border-radius: var(--bs-radius-lg);
  margin: 2rem 0;
  box-shadow: var(--bs-shadow);
}

.bs-prose figure {
  margin: 2rem 0;
}

.bs-prose figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--bs-text-muted);
  text-align: center;
  font-style: italic;
}

.bs-prose pre {
  background: #1a1a2e;
  color: #e5e7eb;
  padding: 1.5rem;
  border-radius: var(--bs-radius-lg);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 2rem 0;
  font-family: var(--bs-font-mono);
}

.bs-prose code {
  background: var(--bs-bg-dark);
  color: var(--bs-text);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: var(--bs-font-mono);
}

.bs-prose pre code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.bs-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.bs-prose th {
  background: var(--bs-bg-alt);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--bs-border);
}

.bs-prose td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bs-border);
}

.bs-prose tr:hover td {
  background: var(--bs-bg-alt);
}

.bs-prose hr {
  border: none;
  height: 1px;
  background: var(--bs-border);
  margin: 3rem 0;
}

/* ========================================
   PAGE LINKS
======================================== */
.bs-page-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--bs-border);
}

.bs-page-links__label {
  font-weight: 600;
  color: var(--bs-text-secondary);
  margin-right: 0.25rem;
}

.bs-page-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  background: var(--bs-bg-alt);
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bs-text-secondary);
  transition: all var(--bs-transition);
}

.bs-page-links__item:hover {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

/* ========================================
   BLOG HERO — FEATURED POST
======================================== */
.bs-blog-hero {
  position: relative;
  overflow: hidden;
}

.bs-blog-hero__link {
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.bs-blog-hero__img {
  height: 520px;
  overflow: hidden;
  background: var(--bs-darkest-green);
}

.bs-blog-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.bs-blog-hero__link:hover .bs-blog-hero__img img {
  transform: scale(1.03);
}

.bs-blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  display: flex;
  align-items: flex-end;
}

.bs-blog-hero__content {
  padding: 3rem 0;
  max-width: 700px;
}

.bs-blog-hero__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.75rem 0;
}

.bs-blog-hero__excerpt {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.bs-blog-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bs-blog-hero__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
}

.bs-blog-hero__author {
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
}

.bs-blog-hero__date {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .bs-blog-hero__img { height: 360px; }
  .bs-blog-hero__title { font-size: 1.5rem; }
  .bs-blog-hero__content { padding: 2rem 0; }
}

@media (max-width: 480px) {
  .bs-blog-hero__img { height: 300px; }
  .bs-blog-hero__title { font-size: 1.25rem; }
  .bs-blog-hero__excerpt { display: none; }
}

/* ========================================
   BLOG LAYOUT — GRID + SIDEBAR
======================================== */
.bs-blog-section {
  padding: 3rem 0 4rem;
}

.bs-blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .bs-blog-layout { grid-template-columns: 1fr; }
}

.bs-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (max-width: 640px) {
  .bs-blog-grid { grid-template-columns: 1fr; }
}

/* ---- Blog Card ---- */
.bs-blog-card {
  background: var(--bs-bg);
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.bs-blog-card:hover {
  border-color: var(--bs-primary);
  box-shadow: var(--bs-shadow-lg);
  transform: translateY(-3px);
}

.bs-blog-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bs-bg-dark);
  text-decoration: none;
}

.bs-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bs-blog-card:hover .bs-blog-card__thumb img {
  transform: scale(1.05);
}

.bs-blog-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-border-dark);
}

.bs-blog-card__thumb-placeholder svg {
  width: 48px;
  height: 48px;
}

.bs-blog-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.bs-blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.625rem 0 0.5rem;
}

.bs-blog-card__title a {
  color: var(--bs-text);
  text-decoration: none;
  transition: color var(--bs-transition);
}

.bs-blog-card__title a:hover {
  color: var(--bs-primary);
}

.bs-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--bs-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.bs-blog-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--bs-text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--bs-border);
}

.bs-blog-card__author {
  font-weight: 600;
  color: var(--bs-text-secondary);
}

/* ========================================
   SIDEBAR
======================================== */
.bs-single-sidebar,
.bs-blog-sidebar {
  position: sticky;
  top: 90px;
}

.bs-sidebar-widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bs-bg);
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-lg);
}

.bs-sidebar-widget__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--bs-text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bs-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
}

.bs-sidebar-widget__desc {
  font-size: 0.875rem;
  color: var(--bs-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.bs-sidebar-widget--cta {
  background: linear-gradient(135deg, var(--bs-primary-lighter), var(--bs-bg));
  border-color: var(--bs-primary-light);
}

/* ---- Sidebar Post (numbered) ---- */
.bs-sidebar-post {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--bs-border);
  text-decoration: none;
  transition: all var(--bs-transition);
}

.bs-sidebar-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bs-sidebar-post:first-child {
  padding-top: 0;
}

.bs-sidebar-post__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--bs-bg-dark);
  border-radius: var(--bs-radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--bs-text-muted);
  flex-shrink: 0;
  transition: all var(--bs-transition);
}

.bs-sidebar-post:hover .bs-sidebar-post__num {
  background: var(--bs-primary);
  color: #fff;
}

.bs-sidebar-post__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bs-text);
  line-height: 1.4;
  margin: 0;
  transition: color var(--bs-transition);
}

.bs-sidebar-post:hover .bs-sidebar-post__title {
  color: var(--bs-primary);
}

.bs-sidebar-post__date {
  font-size: 0.75rem;
  color: var(--bs-text-muted);
  margin-top: 0.125rem;
}

/* ---- Sidebar Card (thumbnail) ---- */
.bs-sidebar-card {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--bs-border);
  text-decoration: none;
  transition: all var(--bs-transition);
}

.bs-sidebar-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bs-sidebar-card:first-child {
  padding-top: 0;
}

.bs-sidebar-card__thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--bs-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bs-bg-dark);
}

.bs-sidebar-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-sidebar-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bs-text);
  line-height: 1.4;
  margin: 0;
  transition: color var(--bs-transition);
}

.bs-sidebar-card:hover .bs-sidebar-card__title {
  color: var(--bs-primary);
}

.bs-sidebar-card__date {
  font-size: 0.6875rem;
  color: var(--bs-text-muted);
  margin-top: 0.25rem;
}

/* ---- Sidebar Categories ---- */
.bs-sidebar-cats__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--bs-border);
  text-decoration: none;
  color: var(--bs-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--bs-transition);
}

.bs-sidebar-cats__item:last-child {
  border-bottom: none;
}

.bs-sidebar-cats__item:hover {
  color: var(--bs-primary);
}

.bs-sidebar-cats__count {
  background: var(--bs-bg-dark);
  color: var(--bs-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  min-width: 24px;
  text-align: center;
  transition: all var(--bs-transition);
}

.bs-sidebar-cats__item:hover .bs-sidebar-cats__count {
  background: var(--bs-primary);
  color: #fff;
}

/* ========================================
   PAGINATION
======================================== */
.bs-pagination {
  margin-top: 2.5rem;
  text-align: center;
}

.bs-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.bs-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--bs-text-secondary);
  text-decoration: none;
  background: var(--bs-bg);
  transition: all var(--bs-transition);
}

.bs-pagination .page-numbers:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
  background: var(--bs-primary-lighter);
}

.bs-pagination .page-numbers.current {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
  font-weight: 600;
}

.bs-pagination .prev,
.bs-pagination .next {
  font-weight: 600;
  color: var(--bs-primary);
}

/* ========================================
   EMPTY STATE
======================================== */
.bs-empty-state {
  text-align: center;
  padding: 5rem 2rem;
}

.bs-empty-state svg {
  margin: 0 auto 1.5rem;
  opacity: 0.5;
}

.bs-empty-state h2 {
  margin-bottom: 0.5rem;
  color: var(--bs-text);
}

.bs-empty-state p {
  color: var(--bs-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

/* ========================================
   AUTHOR PROFILE PAGE
======================================== */

/* ---- Hero Section ---- */
.bs-author-hero {
  background: linear-gradient(135deg, var(--bs-darkest-green) 0%, var(--bs-dark-green) 50%, var(--bs-primary) 100%);
  padding: 3.5rem 0;
  color: #fff;
}

.bs-author-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.bs-author-hero__avatar-wrap {
  flex-shrink: 0;
}

.bs-author-hero__avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.bs-author-hero__content {
  flex: 1;
}

.bs-author-hero__role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.bs-author-hero__name {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bs-author-hero__section {
  margin-bottom: 1rem;
}

.bs-author-hero__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.bs-author-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bs-author-hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.bs-author-hero__value {
  font-size: 0.9375rem;
  margin: 0;
  opacity: 0.9;
}

.bs-author-hero__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.bs-author-hero__social {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.875rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--bs-transition);
}

.bs-author-hero__social:hover {
  background: rgba(255,255,255,0.3);
  color: #fff;
}

@media (max-width: 768px) {
  .bs-author-hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bs-author-hero__avatar { width: 140px; height: 140px; }
  .bs-author-hero__name { font-size: 1.75rem; }
  .bs-author-hero__tags { justify-content: center; }
  .bs-author-hero__socials { justify-content: center; }
}

/* ---- Details Section ---- */
.bs-author-details {
  padding: 3rem 0;
}

.bs-author-details__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.bs-author-details__card {
  background: #fff;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.bs-author-details__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bs-primary);
}

.bs-author-details__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bs-author-details__list li {
  position: relative;
  padding: 0.625rem 0 0.625rem 1.5rem;
  border-bottom: 1px solid var(--bs-border);
  font-size: 0.9375rem;
  color: var(--bs-text-secondary);
  line-height: 1.5;
}

.bs-author-details__list li:last-child {
  border-bottom: none;
}

.bs-author-details__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bs-primary);
}

.bs-author-details__bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--bs-text-secondary);
}

/* Quick Stats */
.bs-author-stats {
  display: flex;
  gap: 1.5rem;
}

.bs-author-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 1rem;
  background: var(--bs-primary-lighter);
  border-radius: var(--bs-radius);
}

.bs-author-stats__num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bs-primary);
  line-height: 1;
}

.bs-author-stats__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bs-text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .bs-author-details__inner {
    grid-template-columns: 1fr;
  }
}

/* ---- Articles Section ---- */
.bs-author-articles {
  padding: 0 0 4rem;
}

.bs-author-articles__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bs-primary);
}

.bs-author-articles__heading--reviewed {
  margin-top: 3rem;
}

.bs-author-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .bs-author-articles__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .bs-author-articles__grid { grid-template-columns: 1fr; }
}

.bs-blog-card__reviewed {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bs-primary);
}

/* ========================================
   CONTACT PAGE
======================================== */

/* ---- Contact Hero ---- */
.bs-contact-hero {
  background: linear-gradient(135deg, var(--bs-darkest-green) 0%, var(--bs-dark-green) 40%, var(--bs-primary) 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bs-contact-hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bs-contact-hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: #fff;
}

.bs-contact-hero__shape--1 {
  width: 300px; height: 300px;
  top: -80px; right: -60px;
  animation: contactFloat 8s ease-in-out infinite;
}

.bs-contact-hero__shape--2 {
  width: 200px; height: 200px;
  bottom: -60px; left: 10%;
  animation: contactFloat 10s ease-in-out infinite reverse;
}

.bs-contact-hero__shape--3 {
  width: 120px; height: 120px;
  top: 30%; left: 5%;
  animation: contactFloat 6s ease-in-out infinite 1s;
}

@keyframes contactFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.bs-contact-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bs-contact-hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  position: relative;
}

.bs-contact-hero__desc {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .bs-contact-hero { padding: 3rem 0 3.5rem; }
  .bs-contact-hero__title { font-size: 1.875rem; }
  .bs-contact-hero__desc { font-size: 1rem; }
}

/* ---- Contact Info Bar ---- */
.bs-contact-bar {
  background: #fff;
  border-bottom: 1px solid var(--bs-border);
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.bs-contact-bar .bs-container {
  max-width: var(--bs-container);
}

.bs-contact-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: var(--bs-radius-xl);
  box-shadow: var(--bs-shadow-lg);
  overflow: hidden;
  margin-top: -1.5rem;
}

.bs-contact-bar__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: var(--bs-text);
  transition: background var(--bs-transition);
  border-right: 1px solid var(--bs-border);
}

.bs-contact-bar__item:last-child {
  border-right: none;
}

.bs-contact-bar__item:hover {
  background: var(--bs-primary-lighter);
  color: var(--bs-text);
}

.bs-contact-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bs-primary-lighter);
  color: var(--bs-primary);
  border-radius: var(--bs-radius);
  flex-shrink: 0;
  transition: all var(--bs-transition);
}

.bs-contact-bar__item:hover .bs-contact-bar__icon {
  background: var(--bs-primary);
  color: #fff;
}

.bs-contact-bar__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.bs-contact-bar__value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bs-text);
}

@media (max-width: 768px) {
  .bs-contact-bar__grid {
    grid-template-columns: 1fr;
    margin-top: -1rem;
  }
  .bs-contact-bar__item {
    border-right: none;
    border-bottom: 1px solid var(--bs-border);
    padding: 1.125rem 1.5rem;
  }
  .bs-contact-bar__item:last-child { border-bottom: none; }
}

/* ---- Contact Layout ---- */
.bs-contact-section {
  padding: 3.5rem 0 5rem;
  background: var(--bs-bg-alt);
}

.bs-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
  gap: 2.5rem;
  align-items: start;
}

/* ---- Contact Form ---- */
.bs-contact-form {
  background: #fff;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--bs-shadow);
  position: relative;
  overflow: hidden;
}

.bs-contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-dark-green));
}

.bs-contact-form__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bs-border);
}

.bs-contact-form__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-dark-green));
  color: #fff;
  border-radius: var(--bs-radius-lg);
  flex-shrink: 0;
}

.bs-contact-form__heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.bs-contact-form__subheading {
  font-size: 0.875rem;
  color: var(--bs-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Form elements */
.bs-form__row {
  margin-bottom: 1.25rem;
}

.bs-form__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 480px) {
  .bs-form__row--2col { grid-template-columns: 1fr; }
}

.bs-form__field {
  margin-bottom: 1.25rem;
}

.bs-form__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bs-text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.bs-form__label svg {
  color: var(--bs-text-muted);
  opacity: 0.7;
}

.bs-form__label span {
  color: #EF4444;
}

.bs-form__input,
.bs-form__textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-size: 0.9375rem;
  color: var(--bs-text);
  background: var(--bs-bg-alt);
  border: 1.5px solid var(--bs-border);
  border-radius: var(--bs-radius);
  transition: all var(--bs-transition);
  font-family: inherit;
}

.bs-form__input:hover,
.bs-form__textarea:hover {
  border-color: var(--bs-border-dark);
}

.bs-form__input:focus,
.bs-form__textarea:focus {
  outline: none;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
  background: #fff;
}

.bs-form__input::placeholder,
.bs-form__textarea::placeholder {
  color: var(--bs-text-muted);
  opacity: 0.7;
}

.bs-form__textarea {
  resize: vertical;
  min-height: 130px;
}

.bs-form__footer {
  margin-top: 0.5rem;
}

.bs-form .bs-btn,
.bs-form__footer .bs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bs-btn--glow {
  position: relative;
  overflow: hidden;
}

.bs-btn--glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.bs-btn--glow:hover::after {
  width: 300px;
  height: 300px;
}

.bs-form__privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--bs-text-muted);
  margin: 1rem 0 0;
}

.bs-form__privacy svg {
  flex-shrink: 0;
}

/* ---- Contact Info Cards ---- */
.bs-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bs-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bs-contact-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--bs-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bs-contact-card:hover {
  border-color: var(--bs-primary-light);
  box-shadow: var(--bs-shadow-md);
  transform: translateY(-2px);
}

.bs-contact-card:hover::before {
  opacity: 1;
}

.bs-contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bs-primary-lighter);
  color: var(--bs-primary);
  border-radius: var(--bs-radius-lg);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.bs-contact-card:hover .bs-contact-card__icon {
  background: var(--bs-primary);
  color: #fff;
  transform: scale(1.05);
}

.bs-contact-card__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bs-contact-card__text {
  font-size: 0.875rem;
  color: var(--bs-text-muted);
  margin: 0;
  line-height: 1.5;
}

.bs-contact-card__text a {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 500;
}

.bs-contact-card__text a:hover {
  text-decoration: underline;
}

/* ---- Contact Social Links ---- */
.bs-contact-socials {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--bs-primary-light);
  border-radius: var(--bs-radius-xl);
  position: relative;
  overflow: hidden;
}

.bs-contact-socials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-dark-green));
}

.bs-contact-socials__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bs-contact-socials__list {
  display: flex;
  gap: 0.625rem;
}

.bs-contact-socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--bs-radius-lg);
  background: var(--bs-primary-lighter);
  color: var(--bs-primary);
  border: 1px solid var(--bs-primary-light);
  transition: all 0.3s ease;
}

.bs-contact-socials__link:hover {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* ---- FAQ Teaser Card ---- */
.bs-contact-faq-teaser {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--bs-primary-lighter) 0%, #fff 100%);
  border: 1px dashed var(--bs-primary-light);
  border-radius: var(--bs-radius-xl);
  text-align: center;
}

.bs-contact-faq-teaser__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  color: var(--bs-primary);
  border-radius: 50%;
  border: 1px solid var(--bs-primary-light);
  margin-bottom: 0.75rem;
}

.bs-contact-faq-teaser__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bs-text);
  margin: 0 0 0.375rem;
}

.bs-contact-faq-teaser__text {
  font-size: 0.8125rem;
  color: var(--bs-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ---- Contact Success Message ---- */
.bs-contact-success {
  text-align: center;
  padding: 2.5rem 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--bs-primary-lighter) 0%, #fff 100%);
  border: 1px solid var(--bs-primary-light);
  border-radius: var(--bs-radius-xl);
  position: relative;
  overflow: hidden;
}

.bs-contact-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-dark-green));
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
}

.bs-contact-success h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--bs-dark-green);
  margin: 0 0 0.5rem;
}

.bs-contact-success p {
  font-size: 0.9375rem;
  color: var(--bs-text-muted);
  margin: 0;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ========================================
   UTILITIES
======================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
