/* ============================================
   716 Spotlight - Styles
   Brand colors per 716-spotlight-brand-guide.html
   Navy foundation, gold spotlight beam, clean white space
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1A1A2E;
  line-height: 1.6;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #D4820A;
  color: #1C0A00;
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Header ---------- */
header {
  background: #1C0A00;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Text-based logo */
.mobile-break {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 2.2rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-716 {
  color: #D4820A;
}

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

/* Desktop Nav */
header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

header nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

header nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

header nav a.active {
  color: #ffffff;
}

.nav-cta {
  background: #D4820A !important;
  color: #1C0A00 !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: #C4A600 !important;
  transform: translateY(-1px);
}

/* ---------- Mobile Menu Toggle ---------- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Mobile Navigation ---------- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #1C0A00;
  z-index: 1200;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-logo {
  height: 36px;
  width: auto;
}

.mobile-nav-title {
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
}

.mobile-nav-title .logo-716 {
  color: #D4820A;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.mobile-nav-close:hover {
  color: #ffffff;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.mobile-nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 14px 24px;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-links a:hover {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.mobile-nav-links .mobile-cta {
  margin: 16px 24px 0;
  background: #D4820A;
  color: #1C0A00;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  border-radius: 8px;
}

.mobile-nav-links .mobile-cta:hover {
  background: #C4A600;
}

/* ---------- Hero Section ---------- */
.hero {
  background: linear-gradient(180deg, #1C0A00 0%, #2D1200 40%, #8B2500 100%);
  padding: 80px 24px 60px;
  text-align: center;
  color: #ffffff;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #D4820A;
  margin-bottom: 12px;
}

.hero-logo-wrap {
  display: inline-block;
  margin-bottom: 16px;
}

.hero-logo{
  width: 500px;
  height: auto;
  margin-bottom: 24px;
  border-radius: 0;
  mix-blend-mode: normal;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  background: #D4820A;
  color: #1C0A00;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  border: 2px solid #D4820A;
}

.hero-cta:hover {
  background: #C4A600;
  border-color: #C4A600;
  transform: translateY(-2px);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #1C0A00 0%, #2D1200 40%, #8B2500 100%);
  padding: 60px 24px 50px;
  text-align: center;
  color: #ffffff;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 24px;
}

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #1C0A00;
}

.stat-label {
  font-size: 0.85rem;
  color: #555555;
  font-weight: 500;
}

/* ---------- Search & Filter Bar ---------- */
/* --- Hero Search Bar --- */
.hero-search {
  display: flex;
  gap: 12px;
  max-width: 640px;
  margin: 24px auto 20px;
  width: 100%;
}

.hero-search input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  transition: border-color 0.2s, background 0.2s;
}

.hero-search input::placeholder {
  color: rgba(255,255,255,0.5);
}

.hero-search input:focus {
  outline: none;
  border-color: #D4820A;
  background: rgba(255,255,255,0.15);
}

.hero-search button {
  background: #D4820A;
  color: #1C0A00;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-search button:hover {
  background: #C4A600;
}

/* --- Directory Filters --- */
.directory-filters {
  margin-top: 16px;
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-dropdown {
  position: relative;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #8B2500;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-btn:hover {
  background: #2D1200;
}

.filter-btn .arrow {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.filter-btn.active .arrow {
  transform: rotate(180deg);
}

.filter-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
}

.filter-menu.open {
  display: block;
}

.filter-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.92rem;
  color: #1A1A2E;
  transition: background 0.15s;
}

.filter-menu a:hover,
.filter-menu a.active {
  background: #F4F7FA;
  color: #1C0A00;
}

.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F4F7FA;
  color: #0369a1;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.filter-tag button {
  background: none;
  border: none;
  color: #0369a1;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
}

.filter-tag button:hover {
  color: #ef4444;
}

.results-count {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #555555;
}

/* ---------- Map Section ---------- */
.map-section {
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

#map {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  margin-top: -20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  z-index: 10;
  position: relative;
  border: 3px solid #ffffff;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
  margin: 12px 16px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.popup-name {
  font-weight: 700;
  font-size: 1rem;
  color: #1C0A00;
  margin-bottom: 2px;
}

.popup-category {
  font-size: 0.85rem;
  color: #8B2500;
  font-weight: 500;
  margin-bottom: 4px;
}

.popup-address {
  font-size: 0.85rem;
  color: #555555;
  margin-bottom: 6px;
}

.popup-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8B2500;
}

.popup-link:hover {
  color: #2D1200;
}

/* ---------- Business Directory Grid ---------- */
.directory-section {
  padding: 48px 24px 60px;
  background: #F4F7FA;
  scroll-margin-top: 80px;
}

.directory-container {
  max-width: 1200px;
  margin: 0 auto;
}

.directory-header {
  text-align: center;
  margin-bottom: 36px;
}

.directory-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1C0A00;
  margin-bottom: 8px;
}

.directory-header p {
  color: #555555;
  font-size: 1rem;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.business-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.business-card-logo {
  flex-shrink: 0;
  width: 100%;
  max-width: 50%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}

.business-card-logo img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* --- Featured Business Cards (horizontal layout) --- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.featured-card {
  background: #ffffff;
  border: 2px solid #D4820A;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(240,220,40,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(240,220,40,0.18);
}

.featured-card-logo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}

.featured-card-logo img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.featured-card-body {
  flex: 1;
  min-width: 0;
}

.featured-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C0A00;
  margin: 4px 0 2px;
}

.featured-card-body p {
  font-size: 0.88rem;
  color: #555555;
  line-height: 1.5;
  margin: 8px 0;
}

.business-card-avatar {
  background: #F4F7FA;
  border: 2px solid #e2e8f0;
}

.business-card-avatar svg {
  width: 48px;
  height: 48px;
  fill: #F5E6D0;
}

.business-card-body {
  width: 100%;
}

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

.business-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
  gap: 8px;
}

.business-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1C0A00;
  line-height: 1.3;
}

.business-category-tag {
  display: inline-block;
  background: #F4F7FA;
  color: #2D1200;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.business-card-town {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 4px;
}

.business-card-town::before {
  content: '\1F4CD ';
  font-size: 0.75rem;
}

.business-card p {
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 8px;
}

.business-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
}

.business-card-footer a,
.business-card-footer span {
  color: #555555;
  display: flex;
  align-items: center;
  gap: 4px;
}

.business-card-footer a:hover {
  color: #8B2500;
}

.business-card-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.business-card-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F4F7FA;
  color: #555555;
  transition: background 0.2s, color 0.2s;
}

.business-card-social a:hover {
  background: #e0f2fe;
  color: #1C0A00;
}

.business-card-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.featured-badge {
  display: inline-block;
  background: #FFF5CC;
  color: #5A4E00;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: #555555;
}

.no-results h3 {
  font-size: 1.3rem;
  color: #1A1A2E;
  margin-bottom: 8px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(180deg, #1C0A00 0%, #2D1200 40%, #8B2500 100%);
  padding: 64px 24px;
  text-align: center;
  color: #ffffff;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: #D4820A;
  color: #1C0A00;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 36px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.cta-button:hover {
  background: #C4A600;
  transform: translateY(-2px);
}

/* ---------- About Page ---------- */
.about-section {
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1C0A00;
  margin-bottom: 16px;
}

.about-section p {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-section .highlight {
  background: #FFF5CC;
  border-left: 4px solid #D4820A;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}

.about-section .highlight p {
  color: #5A4E00;
  margin-bottom: 0;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 36px 0;
}

.how-card {
  background: #F4F7FA;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.how-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.how-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C0A00;
  margin-bottom: 8px;
}

.how-card p {
  font-size: 0.92rem;
  color: #555555;
  margin-bottom: 0;
}

/* ---------- Get Featured Page ---------- */
.featured-section {
  padding: 60px 24px;
}

.featured-container {
  max-width: 900px;
  margin: 0 auto;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.value-card {
  background: #F4F7FA;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.value-card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1C0A00;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.88rem;
  color: #555555;
}

/* ---------- Forms ---------- */
.form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1C0A00;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8B2500;
}

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

.submit-button {
  display: block;
  width: 100%;
  background: #D4820A;
  color: #1C0A00;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.submit-button:hover {
  background: #C4A600;
  transform: translateY(-1px);
}

.form-note {
  margin-top: 16px;
  padding: 16px;
  background: #F4F7FA;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
footer {
  background: #1C0A00;
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-section h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-section a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #D4820A;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: #D4820A;
  color: #1C0A00;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: #D4820A;
}

/* ---------- Blog Listing ---------- */
.blog-section {
  padding: 48px 24px 60px;
  background: #F4F7FA;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #F4F7FA;
}

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

.blog-card-placeholder {
  background: linear-gradient(180deg, #1C0A00 0%, #2D1200 40%, #8B2500 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-placeholder span {
  color: #D4820A;
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.3;
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C0A00;
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
}

/* Blog card tags */
.blog-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-tag-latest {
  background: #D4820A;
  color: #1C0A00;
}

.blog-tag-category {
  background: #e2e8f0;
  color: #475569;
}

/* Excerpt truncation */
.blog-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #C4A600;
}

/* Dark bg for placeholder/logo images */
.blog-card-image {
  background: #1C0A00;
}

/* Featured first post — overlay style */
.blog-card-featured {
  grid-column: 1 / -1;
  position: relative;
  border: none;
  border-radius: 16px;
  min-height: 360px;
}

.blog-card-featured .blog-card-image {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 16px;
}

.blog-card-featured .blog-card-image img {
  border-radius: 16px;
}

.blog-card-featured .blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,16,48,0.92) 0%, rgba(0,16,48,0.7) 50%, rgba(0,16,48,0.3) 100%);
  border-radius: 16px;
}

.blog-card-featured .blog-card-body {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  justify-content: center;
  max-width: 55%;
}

.blog-card-featured .blog-card-tags .blog-tag-category {
  background: rgba(255,255,255,0.15);
  color: #e2e8f0;
}

.blog-card-featured .blog-card-date {
  color: #D4820A;
  font-weight: 600;
}

.blog-card-featured .blog-card-body h3 {
  font-size: 1.65rem;
  color: #ffffff;
  line-height: 1.3;
}

.blog-card-featured .blog-card-body p {
  font-size: 1rem;
  color: #cbd5e1;
  -webkit-line-clamp: 4;
}

.blog-card-featured .blog-card-link {
  color: #D4820A;
  font-size: 1rem;
}

.blog-card-featured:hover {
  transform: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* ---------- Single Post ---------- */
.post-loading {
  text-align: center;
  padding: 80px 24px;
  color: #555555;
}

.post-loading h2 {
  font-size: 1.5rem;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.post-hero {
  background: linear-gradient(180deg, #1C0A00 0%, #2D1200 40%, #8B2500 100%);
  padding: 40px 24px 50px;
  color: #ffffff;
}

.post-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.post-back-link {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.post-back-link:hover {
  color: #ffffff;
}

.post-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.post-meta {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
}

.post-meta-sep {
  margin: 0 8px;
}

.post-cover {
  max-width: 800px;
  margin: -20px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.post-cover img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1A1A2E;
}

.post-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1C0A00;
  margin: 32px 0 12px;
}

.post-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1C0A00;
  margin: 24px 0 10px;
}

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

.post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}

.post-content blockquote {
  border-left: 4px solid #D4820A;
  padding: 16px 20px;
  margin: 20px 0;
  background: #FFF5CC;
  border-radius: 0 8px 8px 0;
  color: #5A4E00;
}

.post-content ul, .post-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.post-content li {
  margin-bottom: 6px;
}

.post-content a {
  color: #8B2500;
  text-decoration: underline;
}

/* ---------- Post End CTA ---------- */
.post-cta-share {
  margin-top: 48px;
  padding: 24px 28px;
  background: #F4F7FA;
  border-left: 4px solid #D4820A;
  border-radius: 0 8px 8px 0;
  font-size: 1.05rem;
  color: #1C0A00;
}

/* ---------- Share Bar ---------- */
.post-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.share-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
  font-family: inherit;
}

.share-btn:hover {
  transform: translateY(-1px);
}

.share-btn svg {
  fill: currentColor;
  flex-shrink: 0;
}

.share-facebook {
  background: #1877f2;
  color: #fff;
}
.share-facebook:hover {
  background: #0d65d9;
}

.share-twitter {
  background: #0f1419;
  color: #fff;
}
.share-twitter:hover {
  background: #272c30;
}

.share-copy {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.share-copy:hover {
  background: rgba(255,255,255,0.25);
}

/* ---------- Comments Section ---------- */
.comments-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 60px;
  border-top: 2px solid #e2e8f0;
  padding-top: 40px;
}

.comments-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1C0A00;
  margin-bottom: 24px;
}

.comments-list {
  margin-bottom: 40px;
}

.no-comments {
  color: #94a3b8;
  font-size: 0.95rem;
}

.comment-item {
  padding: 16px 0;
  border-bottom: 1px solid #F4F7FA;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-author {
  font-size: 0.95rem;
  color: #1C0A00;
}

.comment-date {
  font-size: 0.82rem;
  color: #94a3b8;
}

.comment-text {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
}

.comment-form-wrapper {
  background: #F4F7FA;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e2e8f0;
}

.comment-form-wrapper h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C0A00;
  margin-bottom: 20px;
}

.comment-form .form-group {
  margin-bottom: 16px;
}

.comment-form label {
  display: block;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.comment-form label small {
  font-weight: 400;
  color: #94a3b8;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #8B2500;
}

.comment-form textarea {
  resize: vertical;
  min-height: 80px;
}

.form-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.success {
  background: #dcfce7;
  color: #166534;
}

.form-status.error {
  background: #fee2e2;
  color: #991b1b;
}

/* ---------- Business Detail Page ---------- */
.biz-detail-hero {
  background: linear-gradient(180deg, #1C0A00 0%, #2D1200 40%, #8B2500 100%);
  padding: 40px 24px 50px;
  color: #ffffff;
}

.biz-detail-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.biz-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.biz-detail-avatar {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.biz-detail-avatar-fallback {
  background: linear-gradient(135deg, #8B2500 0%, #1C0A00 100%);
  border: 2px solid rgba(240,220,40,0.3);
}

.biz-detail-avatar-fallback span {
  color: #D4820A;
  font-size: 2.2rem;
  font-weight: 800;
}

.biz-detail-info .business-category-tag {
  margin-bottom: 8px;
}

.biz-detail-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.biz-detail-town {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.biz-detail-town::before {
  content: '\1F4CD ';
}

.biz-detail-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.biz-detail-description {
  margin-bottom: 24px;
}

.biz-detail-description p {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.8;
}

.biz-detail-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.biz-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F4F7FA;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 0.92rem;
  color: #1A1A2E;
  transition: border-color 0.2s;
}

a.biz-contact-item:hover {
  border-color: #8B2500;
  color: #8B2500;
}

.biz-detail-map-wrapper {
  margin-bottom: 40px;
}

.biz-detail-map-wrapper h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C0A00;
  margin-bottom: 12px;
}

/* ---------- Star Ratings ---------- */
.star {
  font-size: 1.1rem;
  line-height: 1;
}

.star-filled {
  color: #D4820A;
}

.star-empty {
  color: #94a3b8;
}

.stars-display {
  display: inline-flex;
  gap: 2px;
}

.review-avg {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1C0A00;
  margin-left: 6px;
}

.review-count {
  color: #555555;
  font-size: 0.9rem;
}

/* Star rating input */
.star-rating-input {
  display: inline-flex;
  gap: 4px;
  cursor: pointer;
}

.star-input {
  font-size: 1.8rem;
  color: #94a3b8;
  transition: color 0.15s;
  cursor: pointer;
  line-height: 1;
}

.star-input.active,
.star-input:hover {
  color: #D4820A;
}

/* ---------- Reviews Section ---------- */
.reviews-section {
  border-top: 2px solid #e2e8f0;
  padding-top: 40px;
  margin-top: 40px;
  padding-bottom: 60px;
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.reviews-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1C0A00;
  margin: 0;
}

.reviews-list {
  margin-bottom: 40px;
}

.review-item {
  padding: 16px 0;
  border-bottom: 1px solid #F4F7FA;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

/* ---------- View Details link on business cards ---------- */
.business-card-details {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8B2500;
  margin-top: 8px;
  transition: color 0.2s;
}

.business-card-details:hover {
  color: #2D1200;
}

/* ---------- Newsletter Section (above CTA) ---------- */
.newsletter-section {
  background: linear-gradient(180deg, #1C0A00 0%, #2D1200 40%, #8B2500 100%);
  padding: 64px 24px;
  text-align: center;
  border: none;
}

.newsletter-section-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.newsletter-section p {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.6;
}

.newsletter-section-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-section-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.newsletter-section-form input::placeholder {
  color: #555555;
}

.newsletter-section-form input:focus {
  outline: none;
  border-color: #D4820A;
}

.newsletter-section-form button {
  background: #D4820A;
  color: #1C0A00;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-section-form button:hover {
  background: #C4A600;
}

.newsletter-section-status {
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.4em;
  color: #94a3b8;
}

.newsletter-section-status.success {
  color: #4ade80;
}

.newsletter-section-status.error {
  color: #f87171;
}

/* ---------- Footer Newsletter Band ---------- */
.footer-newsletter {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-newsletter h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: #D4820A;
}

.footer-newsletter-form button {
  background: #D4820A;
  color: #1C0A00;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background: #C4A600;
}

.footer-newsletter-status {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.4em;
}

.footer-newsletter-status.success {
  color: #4ade80;
}

.footer-newsletter-status.error {
  color: #f87171;
}

/* ---------- Sponsored Inline Mention (mid-article) ---------- */
.sponsor-inline {
  max-width: 800px;
  margin: 28px auto;
  padding: 0 24px;
}
.sponsor-inline-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin-bottom: 6px;
}
.sponsor-inline-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #FFFCE8;
  border: 1px solid #D4820A;
  border-radius: 8px;
  text-decoration: none;
  color: #1C0A00;
  transition: background 0.2s, box-shadow 0.2s;
}
.sponsor-inline-link:hover {
  background: #FFF5CC;
  box-shadow: 0 2px 8px rgba(240, 220, 40, 0.2);
}
.sponsor-inline-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.sponsor-inline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #1C0A00;
  color: #D4820A;
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sponsor-inline-link strong {
  font-size: 0.9rem;
  font-weight: 700;
}
.sponsor-inline-town {
  font-size: 0.8rem;
  color: #777;
  margin-left: -4px;
}
.sponsor-inline-town::before {
  content: "\00b7";
  margin-right: 4px;
}
.sponsor-inline-arrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: #C4A600;
  margin-left: auto;
  white-space: nowrap;
}

/* ---------- Sponsored Business Card ---------- */
.sponsored-card-wrapper {
  max-width: 800px;
  margin: 32px auto;
  padding: 0 24px;
}

.sponsored-card {
  border: 2px solid #D4820A;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF5CC 0%, #FFF5CC 100%);
  box-shadow: 0 4px 16px rgba(240, 220, 40, 0.12);
}

.sponsored-card-label {
  background: linear-gradient(90deg, #D4820A 0%, #C4A600 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 20px;
}

.sponsored-card-body {
  display: flex;
  gap: 20px;
  padding: 24px;
  align-items: flex-start;
}

.sponsored-card-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #FFF5CC;
}

.sponsored-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsored-card-avatar {
  background: linear-gradient(135deg, #8B2500 0%, #1C0A00 100%);
  border: 2px solid #D4820A;
}

.sponsored-card-avatar span {
  color: #D4820A;
  font-size: 1.6rem;
  font-weight: 800;
}

.sponsored-card-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C0A00;
  margin-bottom: 2px;
}

.sponsored-card-town {
  font-size: 0.82rem;
  color: #5A4E00;
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.sponsored-card-info p {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.55;
  margin-bottom: 12px;
}

.sponsored-card-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sponsored-card-links a {
  font-size: 0.85rem;
  color: #1A1A2E;
  text-decoration: none;
  transition: color 0.2s;
}

.sponsored-card-links a:hover {
  color: #D4820A;
}

.sponsored-card-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #D4820A 0%, #C4A600 100%);
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(240, 220, 40, 0.25);
}

.sponsored-card-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240, 220, 40, 0.35);
}

.sponsored-card-details {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #C4A600;
  text-decoration: none;
  transition: color 0.2s;
}

.sponsored-card-details:hover {
  color: #8B2500;
}

/* ---------- Post Newsletter CTA ---------- */
.post-newsletter-cta {
  margin-top: 32px;
  padding: 28px;
  background: #F4F7FA;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.post-newsletter-cta h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C0A00;
  margin-bottom: 8px;
}

.post-newsletter-cta p {
  font-size: 0.92rem;
  color: #555555;
  margin-bottom: 16px;
}

.post-newsletter-cta form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.post-newsletter-cta form input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

.post-newsletter-cta form input:focus {
  outline: none;
  border-color: #8B2500;
}

.post-newsletter-cta form button {
  background: #D4820A;
  color: #1C0A00;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.post-newsletter-cta form button:hover {
  background: #C4A600;
}

.post-newsletter-cta .footer-newsletter-status {
  color: #1A1A2E;
}

.post-newsletter-cta .footer-newsletter-status.success {
  color: #166534;
}

.post-newsletter-cta .footer-newsletter-status.error {
  color: #991b1b;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: #1C0A00;
  color: #D4820A;
  border: 2px solid rgba(240,220,40,0.3);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  background: #D4820A;
  color: #1C0A00;
  transform: translateY(-2px);
}

/* ---------- Bottom Nav (Mobile) ---------- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1C0A00;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 1200;
  justify-content: space-around;
  align-items: center;
  height: 64px;
  padding: 4px 0 env(safe-area-inset-bottom, 0);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #F5E6D0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  color: #D4820A;
}

.bottom-nav a svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.bottom-nav a.bottom-nav-cta {
  color: #D4820A;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  /* Header */
  header nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-nav,
  .mobile-nav-overlay {
    display: none !important;
  }

  .bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 64px;
  }

  .header-container {
    height: 64px;
    justify-content: center;
  }

  .mobile-break {
    display: inline;
  }

  /* Hero */
  .hero {
    padding: 56px 20px 44px;
  }

  .hero-logo-wrap {
    padding: 16px 20px 8px;
  }

  .hero-logo {
    width: 320px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .page-hero {
    padding: 44px 20px 36px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  /* Stats */
  .stats-bar-inner {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  /* Hero Search */
  .hero-search {
    flex-direction: column;
  }

  .hero-search button {
    width: 100%;
  }

  /* Map */
  #map {
    height: 300px;
    margin-top: -12px;
  }

  /* Featured grid */
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .featured-card {
    padding: 20px;
  }

  .featured-card-logo {
    width: 100px;
    height: 100px;
  }

  .featured-card-logo img {
    max-height: 100px;
  }

  /* Directory */
  .business-grid {
    gap: 16px;
  }

  .directory-section {
    padding: 36px 20px 48px;
  }

  /* CTA */
  .cta-section {
    padding: 48px 20px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  /* Newsletter section */
  .newsletter-section {
    padding: 40px 20px;
  }

  .newsletter-section h2 {
    font-size: 1.4rem;
  }

  .newsletter-section-form {
    flex-direction: column;
  }

  /* Footer */
  .footer-newsletter-form {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Sponsored card */
  .sponsored-card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sponsored-card-links {
    justify-content: center;
  }

  .sponsored-card-wrapper {
    padding: 0 20px;
  }

  /* Post Newsletter CTA */
  .post-newsletter-cta form {
    flex-direction: column;
  }

  /* About */
  .about-section {
    padding: 40px 20px;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  /* Get Featured */
  .featured-section {
    padding: 40px 20px;
  }

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

  .form-card {
    padding: 24px;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .blog-card-featured .blog-card-body {
    max-width: 65%;
    padding: 32px;
  }

  .blog-card-featured .blog-card-body h3 {
    font-size: 1.35rem;
  }

  .blog-section {
    padding: 36px 20px 48px;
  }

  /* Single Post */
  .post-hero h1 {
    font-size: 1.6rem;
  }

  .post-content {
    padding: 28px 20px;
    font-size: 1rem;
  }

  .comments-section {
    padding: 28px 20px 40px;
  }

  /* Business Detail */
  .biz-detail-header {
    flex-direction: column;
    text-align: center;
  }

  .biz-detail-info h1 {
    font-size: 1.5rem;
  }

  .biz-detail-contact {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .featured-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  .featured-card-logo {
    width: 120px;
    height: 120px;
  }

  .featured-card-logo img {
    max-height: 120px;
  }

  .featured-card-body .business-card-footer {
    justify-content: center;
  }

  .business-card {
    padding: 16px;
  }

  .filter-row {
    flex-direction: column;
  }

  .filter-dropdown {
    width: 100%;
  }

  .filter-btn {
    width: 100%;
    justify-content: space-between;
  }

  .filter-menu {
    width: 100%;
  }

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

  .blog-card-featured {
    min-height: 280px;
  }

  .blog-card-featured .blog-card-image::after {
    background: linear-gradient(to top, rgba(0,16,48,0.95) 0%, rgba(0,16,48,0.6) 50%, rgba(0,16,48,0.2) 100%);
  }

  .blog-card-featured .blog-card-body {
    max-width: 100%;
    padding: 24px;
    justify-content: flex-end;
  }

  .blog-card-featured .blog-card-body h3 {
    font-size: 1.2rem;
  }
}