@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap');

/* ==========================================================================
   RED DOOR RECOVERY NETWORK - COMPLETE STYLES
   ========================================================================== */
/* Git test - delete this line */

/* ROOT VARIABLES */
:root {
  --rdr-red: #B11226;
  --rdr-green: #2E7D32;
  --rdr-charcoal: #1F2933;
  --rdr-gold: #C9A227;
  --rdr-white: #FFFFFF;
  --rdr-bg-grey: #F3F4F6;
  --rdr-border-grey: #E0E0E0;
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif; color: var(--rdr-charcoal); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* HEADER */
.site-header { background: var(--rdr-white); border-bottom: 2px solid var(--rdr-border-grey); padding: 20px 0; }
.header-container { max-width: 1400px; margin: 0 auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.rdr-logo-text { font-size: 28px; font-weight: 700; line-height: 1.2; }
.rdr-red { color: var(--rdr-red); }
.rdr-green { color: var(--rdr-green); }
.header-right { display: flex; gap: 20px; align-items: center; }
.header-login { color: var(--rdr-charcoal); font-weight: 600; }
.btn-claim-listing { background: var(--rdr-red); color: var(--rdr-white); padding: 10px 24px; border-radius: 25px; font-weight: 600; transition: all 0.3s; }
.btn-claim-listing:hover { background: #8B0F1F; transform: translateY(-2px); }

/* NAVIGATION */
.main-navigation { background: var(--rdr-charcoal); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 30px; }
.nav-menu { list-style: none; display: flex; gap: 20px; }
.nav-menu li { display: flex; align-items: center; }
.nav-menu li a { color: var(--rdr-white); padding: 18px 0; font-weight: 350; font-size: 14px; transition: color 0.3s; white-space: nowrap; }
.nav-menu li a:hover { color: var(--rdr-gold); }
.nav-menu li:not(:last-child)::after { content: '|'; color: rgba(255,255,255,0.3); padding-left: 20px; }

/* HERO SECTION */
.hero-search-section {
  max-width: 1400px;
  margin: 60px auto 20px;
  padding: 0 30px;
}
.hero-row {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-search-content {
  flex: 1;
  padding-top: 40px;
}
.hero-door-graphic {
  flex-shrink: 0;
}
.hero-door-graphic .door-image {
  width: 275px;
  height: auto;
}
.hero-title { font-size: 64px; font-weight: 700; line-height: 1.1; color: var(--rdr-charcoal); margin-bottom: 30px; }
.hero-location { margin: 30px 0; text-align: center; }
.geolocation-btn-large {
  background: var(--rdr-green);
  color: var(--rdr-white);
  padding: 20px 60px;
  border: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.geolocation-btn-large:hover {
  background: #246a28;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}
.location-help {
  font-size: 16px;
  color: #666;
  margin-top: 15px;
  font-style: italic;
}
.hero-subtitle { font-size: 18px; color: var(--rdr-charcoal); margin-top: 20px; text-align: center; }
.door-logo img { width: 420px; height: auto; }

/* COUNTIES & WIDGET SECTION */
.counties-and-widget-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 60px;
  align-items: start;
}

/* COUNTIES */
.main-content { max-width: 850px; }
.main-content h2 { font-size: 32px; color: var(--rdr-charcoal); margin-bottom: 20px; }
.county-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 40px; }
.county-link { display: block; padding: 12px 16px; background: var(--rdr-white); border: 2px solid var(--rdr-border-grey); border-radius: 8px; text-align: center; font-weight: 600; color: var(--rdr-charcoal); transition: all 0.3s; }
.county-link:hover { border-color: var(--rdr-red); background: #FFF5F7; transform: translateY(-2px); }
.county-count { display: block; font-size: 13px; color: #666; font-weight: 400; margin-top: 4px; }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.city-link { display: block; padding: 10px 14px; background: var(--rdr-white); border: 1px solid var(--rdr-border-grey); border-radius: 6px; font-size: 14px; text-align: center; color: var(--rdr-charcoal); transition: all 0.3s; }
.city-link:hover { background: var(--rdr-green); color: var(--rdr-white); border-color: var(--rdr-green); }

/* DAILY READINGS WIDGET */
.daily-readings-widget {
  background: var(--rdr-white);
  border: 4px solid var(--rdr-red);
  border-radius: 20px;
  overflow: hidden;
  width: 450px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.widget-header img { width: 100%; display: block; }
.widget-content { padding: 30px; }
.day-counter { font-size: 32px; font-weight: 700; color: var(--rdr-red); text-align: center; margin-bottom: 25px; }
.reading-section { background: #F9F9F9; padding: 20px; border-left: 4px solid var(--rdr-red); border-radius: 5px; margin-bottom: 20px; }
.reading-section h4 { font-size: 16px; color: var(--rdr-red); margin-bottom: 8px; font-weight: 700; }
.reading-section p { font-size: 14px; color: var(--rdr-charcoal); line-height: 1.7; }

/* MILESTONE COINS - FIXED SPRITE POSITIONING */

/* Milestone Coins - Sprite Based */
.rdr-milestone-coins {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.rdr-coin {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background-color: #f5f5f5;
    background-size: 500% auto;
    background-position: center;
    position: relative;
    opacity: 0.3;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.rdr-coin.earned {
    opacity: 1;
    filter: grayscale(0%);
    border-color: #C9A227;
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.4);
}

.rdr-coin.earned:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.6);
}

/* Responsive coins */
@media (max-width: 768px) {
    .rdr-milestone-coins { gap: 6px; padding: 10px; }
    .rdr-coin { width: 40px; height: 40px; }
}
.milestone-coins { 
  margin-top: 30px; 
  padding: 20px; 
  background: var(--rdr-white); 
  border-radius: 10px; 
  display: flex;
  justify-content: center;
  gap: 15px;
}
.coin { 
  width: 75px; 
  height: 75px; 
  border-radius: 50%; 
  border: 2px solid var(--rdr-charcoal); 
  display: block;
  opacity: 0.3;
  transition: all 0.3s; 
  cursor: pointer;
  position: relative;
}

/* DEFAULT: Heaven (sprite_3.png, column 1) */
.coin {
  background-image: url("assets/images/coins/sprite_3.png");
  background-size: 500%;
}
.coin-day1 { background-position: 2.75% 1.5%;}
.coin-day7 { background-position: 2.75% 24.5%; }
.coin-day30 { background-position: 2.5% 47% }
.coin-day60 { background-position: 2% 70%; }
.coin-day90 { background-position: 2% 70%; }

/* EARNED STATE */
.coin.earned { 
  opacity: 1; 
  box-shadow: 0 4px 15px rgba(177, 18, 38, 0.4); 
  animation: coinShine 2s infinite;
  border-color: var(--rdr-gold);
  border-width: 3px;
}

@keyframes coinShine {
  0%, 100% { box-shadow: 0 4px 15px rgba(177, 18, 38, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(201, 162, 39, 0.6); }
}

/* sprite_3.png THEMES (3 columns: Heaven, Skull, Underwater) */
.coins-heaven .coin { background-size: 500% auto; }
.coins-heaven .coin-day1 { background-position: 1.25% .75%; }
.coins-heaven .coin-day7 { background-position: 0% 25%; }
.coins-heaven .coin-day30 { background-position: 0% 50%; }
.coins-heaven .coin-day60 { background-position: 0% 75%; }
.coins-heaven .coin-day90 { background-position: 0% 100%; }

.coins-skull .coin { 
  background-image: url("assets/images/coins/sprite_3.png");
  background-size: 500% auto;
}
.coins-skull .coin-day1 { background-position: 50% 0%; }
.coins-skull .coin-day7 { background-position: 50% 25%; }
.coins-skull .coin-day30 { background-position: 50% 50%; }
.coins-skull .coin-day60 { background-position: 50% 75%; }
.coins-skull .coin-day90 { background-position: 50% 100%; }

.coins-underwater .coin { 
  background-image: url("assets/images/coins/sprite_3.png");
  background-size: 500% auto;
}
.coins-underwater .coin-day1 { background-position: 96.5% 0.5%; }
.coins-underwater .coin-day7 { background-position: 100% 25%; }
.coins-underwater .coin-day30 { background-position: 100% 50%; }
.coins-underwater .coin-day60 { background-position: 100% 75%; }
.coins-underwater .coin-day90 { background-position: 100% 100%; }

/* sprite_3 THEMES (2 columns: Lotus, Galaxy) */
/* NOTE: normalized to theme-relative path so it works under /wordpress */
.coins-lotus .coin { 
  background-image: url("assets/images/coins/sprite_3.png"); 
  background-size: 500% auto;
}
.coins-lotus .coin-day1 { background-position: 0% 0%; }
.coins-lotus .coin-day7 { background-position: 0% 25%; }
.coins-lotus .coin-day30 { background-position: 0% 50%; }
.coins-lotus .coin-day60 { background-position: 0% 75%; }
.coins-lotus .coin-day90 { background-position: 0% 100%; }

.coins-galaxy .coin { 
  background-image: url("assets/images/coins/sprite_3.png"); 
  background-size: 500% auto;
}
.coins-galaxy .coin-day1 { background-position: 100% 0%; }
.coins-galaxy .coin-day7 { background-position: 100% 25%; }
.coins-galaxy .coin-day30 { background-position: 100% 50%; }
.coins-galaxy .coin-day60 { background-position: 100% 75%; }
.coins-galaxy .coin-day90 { background-position: 100% 100%; }

/* COIN SELECTOR MODAL */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 500%; height: 500%; overflow: auto; background-color: rgba(0,0,0,0.7); }
.modal.show { display: block; }
.modal-content { background-color: var(--rdr-white); margin: 5% auto; padding: 40px; border-radius: 15px; width: 90%; max-width: 900px; position: relative; }
.close-modal { position: absolute; top: 20px; right: 30px; font-size: 36px; font-weight: bold; color: var(--rdr-charcoal); cursor: pointer; }
.close-modal:hover { color: var(--rdr-red); }

.coin-selector-content h2 { color: var(--rdr-red); margin-bottom: 10px; font-size: 28px; }
.coin-selector-content > p { margin-bottom: 30px; color: var(--rdr-charcoal); }
.coin-sets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; }
.coin-set-option { border: 3px solid var(--rdr-border-grey); border-radius: 15px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s; }
.coin-set-option:hover { border-color: var(--rdr-red); transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.coin-set-option.selected { border-color: var(--rdr-green); background: #f0f8f0; box-shadow: 0 5px 20px rgba(46, 125, 50, 0.2); }
.coin-preview { width: 80px; height: 80px; margin: 0 auto 15px; border-radius: 50%; border: 2px solid var(--rdr-charcoal); }

/* COIN PREVIEWS (Day 30 = middle coin) */
.coin-preview-heaven { 
  background-image: url("assets/images/coins/sprite_3.png");
  background-size: 500% auto;
  background-position: 0% 50%;
}
.coin-preview-skull { 
  background-image: url("assets/images/coins/sprite_3.png");
  background-size: 500% auto;
  background-position: 50% 50%;
}
.coin-preview-underwater { 
  background-image: url("assets/images/coins/sprite_3.png");
  background-size: 500% auto;
  background-position: 100% 50%;
}
.coin-preview-lotus { 
  background-image: url("assets/images/coins/sprite_3.png"); 
  background-size: 500% auto;
  background-position: 0% 50%;
}
.coin-preview-galaxy { 
  background-image: url("assets/images/coins/sprite_3.png"); 
  background-size: 500% auto;
  background-position: 100% 50%;
}

.coin-set-option h3 { font-size: 18px; font-weight: 700; color: var(--rdr-charcoal); margin-bottom: 8px; }
.coin-set-option p { font-size: 13px; color: #666; }

/* WIDGET ACTIONS */
.widget-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; text-align: center; }
.btn-read-full { display: inline-block; background: var(--rdr-red); color: var(--rdr-white); padding: 14px 28px; border-radius: 25px; font-weight: 700; text-decoration: none; transition: all 0.3s; }
.btn-read-full:hover { background: #8B0F1F; transform: translateY(-2px); }
.change-coins-link, .reset-link { display: block; color: var(--rdr-charcoal); font-size: 14px; text-decoration: underline; cursor: pointer; }
.change-coins-link:hover, .reset-link:hover { color: var(--rdr-red); }

/* RESOURCES SECTION */
.resources-section { background: var(--rdr-bg-grey); padding: 80px 20px; text-align: center; }
.resources-section h2 { font-size: 42px; font-weight: 700; color: var(--rdr-charcoal); margin-bottom: 50px; }
.resource-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.resource-card { background: var(--rdr-white); padding: 40px 30px; border-radius: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all 0.3s; display: block; text-decoration: none; }
.resource-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.resource-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 15px; color: var(--rdr-charcoal); }
.resource-card p { font-size: 16px; color: #666; line-height: 1.6; }
.card-stigma:hover { border-top: 5px solid var(--rdr-red); }
.card-trauma:hover { border-top: 5px solid var(--rdr-green); }
.card-about:hover { border-top: 5px solid var(--rdr-charcoal); }
.card-peer:hover { border-top: 5px solid var(--rdr-gold); }

/* FOOTER */
.site-footer { background: var(--rdr-charcoal); color: var(--rdr-white); padding: 40px 20px; text-align: center; }
.site-footer p { font-size: 14px; }

/* ==========================================================================
   MOBILE HAMBURGER MENU
   ========================================================================== */

/* Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--rdr-charcoal);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.mobile-menu-toggle:hover {
  background: var(--rdr-bg-grey);
}

.hamburger-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rdr-charcoal);
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--rdr-charcoal);
  left: 0;
}

.hamburger-icon::before {
  top: -7px;
}

.hamburger-icon::after {
  top: 7px;
}

/* Mobile Navigation Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--rdr-charcoal);
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-header .rdr-logo-text {
  font-size: 20px;
  line-height: 1.2;
}

.mobile-nav-header .rdr-red,
.mobile-nav-header .rdr-green {
  display: block;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  color: var(--rdr-white);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.mobile-nav-close:hover {
  background: rgba(255,255,255,0.2);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 8px;
}

.mobile-nav a {
  display: block;
  color: var(--rdr-white);
  font-size: 18px;
  font-weight: 500;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: all 0.3s;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--rdr-gold);
}

.mobile-nav .harm-reduction-link {
  color: #e91e63;
}

.mobile-nav-cta {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-cta a {
  display: block;
  background: var(--rdr-red);
  color: var(--rdr-white);
  text-align: center;
  padding: 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
}

.mobile-nav-cta a:hover {
  background: #8B0F1F;
}

/* Body lock when menu open */
body.menu-open {
  overflow: hidden;
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
  .hero-row {
    gap: 25px;
  }
  .hero-door-graphic .door-image {
    width: 180px;
  }
  .counties-and-widget-container { grid-template-columns: 1fr; }
  .daily-readings-widget { width: 100%; max-width: 500px; margin: 0 auto; }
  .door-logo { display: none; }
  .county-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .mobile-menu-toggle {
    display: flex;
  }

  .main-navigation {
    display: none;
  }

  .header-right {
    display: none;
  }

  .header-container {
    justify-content: space-between;
  }

  .hero-search-section {
    padding: 0 15px;
    margin: 20px auto 15px;
  }

  /* Stack logo above content on mobile */
  .hero-row {
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
  }

  .hero-door-graphic {
    text-align: center;
  }

  .hero-door-graphic .door-image {
    width: 70px;
  }

  .hero-search-content {
    padding-top: 0;
    text-align: center;
  }

  .hero-title { font-size: 26px; margin-bottom: 15px; }

  .geolocation-btn-large {
    font-size: 14px;
    padding: 12px 20px;
  }

  .hero-location { margin: 15px 0; }
  .hero-subtitle { font-size: 14px; margin-top: 10px; }

  .county-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 22px; }

  .hero-door-graphic .door-image {
    width: 60px;
  }

  .geolocation-btn-large {
    font-size: 12px;
    padding: 10px 15px;
  }
}

/* ==========================================================================
   OVERRIDES (moved from Appearance > Customize > Additional CSS)
   These are intentionally LAST so they override earlier rules on conflict.
   ========================================================================== */

/* ==========================================================================
   VIDEO ALIGNMENT PATCH
   ========================================================================== */
.video-section,
.trauma-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 0;
  max-width: 100%;
  margin: 40px 0;
}

/* Round the iframe corners */
.video-section iframe,
.trauma-videos iframe,
iframe[src*="youtube"] {
  border-radius: 15px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 280px;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .video-section,
  .trauma-videos {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HERO TITLE - FIT ON ONE LINE
   ========================================================================== */

/* Make hero content wider, sidebar narrower */
.hero-search-section {
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

.hero-title, 
.hero-content h1 {
  font-size: 44px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-title,
  .hero-content h1 {
    font-size: 36px;
    white-space: normal;
  }
  
  .hero-search-section {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   COMPREHENSIVE LAYOUT PATCH
   (Replace any previous patches)
   ========================================================================== */

/* ==========================================================================
   1. LOGO - Merriweather, Red Door 2x size, tight line height
   ========================================================================== */
.rdr-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'Merriweather', Georgia, serif;
  line-height: 0.5;
}

.rdr-logo-text .rdr-red {
  color: #B11226;
  font-size: 1.5em;
  font-weight: 700;
  display: block;
}

.rdr-logo-text .rdr-green {
  color: #2E7D32;
  font-size: 1em;
  font-weight: 500;
  display: block;
}

/* ==========================================================================
   2. HERO SECTION - Title on one line, centered, less spacing
   ========================================================================== */
.hero-search-section {
  grid-template-columns: 1fr 380px;
  gap: 30px;
  margin: 20px auto;
  padding: 0 30px;
  align-items: start;
}

.hero-content,
.hero-search-content {
  text-align: center;
}

.hero-title,
.hero-content h1 {
  font-size: 40px;
  white-space: nowrap;
  text-align: center;
  margin-bottom: 20px;
}

.hero-location,
.geolocation-btn,
.geolocation-btn-large {
  margin: 0 auto 10px;
}

.hero-subtitle,
.browse-link {
  margin-top: 8px;
  margin-bottom: 15px;
}

.state-list {
  margin-top: 15px;
}

/* Door logo centered over widget */
.hero-logo,
.hero-door-graphic,
.right-sidebar-top {
  display: flex;
 
}

.hero-logo img,
.hero-door-graphic img {
  max-width: 275px;
  margin: 40px 20px 0 0;
  width: 200px;
}

/* ==========================================================================
   3. REDUCE SPACING THROUGHOUT
   ========================================================================== */
.site-header {
  padding: 15px 0;
}

.main-navigation {
  border-bottom: 1px solid #D1D5DB;
}

.nav-menu li a {
  padding: 12px 0;
}

.main-content,
.content-wrapper {
  margin: 20px auto;
  gap: 40px;
}

.directory-lists h2,
.counties-section h2,
.main-content h2 {
  margin-bottom: 15px;
}

/* ==========================================================================
   4. COUNTY/CITY LISTS - Plain links, no cards (like Psychology Today)
   ========================================================================== */
.county-grid,
.city-grid {
  display: block !important;
  column-count: 4;
  column-gap: 30px;
  margin-bottom: 30px;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.county-grid a,
.city-grid a,
.county-link,
.city-link {
  display: block !important;
  padding: 4px 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #1F2933 !important;
  transform: none !important;
}

.county-grid a:hover,
.city-grid a:hover,
.county-link:hover,
.city-link:hover {
  color: #B11226 !important;
  text-decoration: underline !important;
  background: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   5. BOUNDING BOXES - Around listings and widget
   ========================================================================== */
.directory-lists,
.counties-section,
.listings-container {
  border: 2px solid #D1D5DB;
  border-radius: 15px;
  padding: 25px 30px;
  background: #fff;
}

.daily-reading-widget,
.widget-through-door,
.right-sidebar {
  border: 2px solid #D1D5DB !important;
  border-radius: 15px;
  overflow: hidden;
}

/* ==========================================================================
   6. COINS - Larger size to fill circles
   ========================================================================== */
.milestone-coins {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.coin {
  width: 75px !important;
  height: 75px !important;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  background-color: #F3F4F6;
  background-repeat: no-repeat;
  opacity: 0.4;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.coin.earned {
  opacity: 1;
  border-color: #C9A227;
  box-shadow: 0 2px 8px rgba(177, 18, 38, 0.3);
}

/* Adjust sprite background-size for larger coins */
.coins-heaven .coin,
.coins-skull .coin,
.coins-underwater .coin {
  background-size: 400% auto;
}

.coins-lotus .coin,
.coins-galaxy .coin {
  background-size: 232% auto;
}

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-title,
  .hero-content h1 {
    font-size: 32px;
    white-space: normal;
  }
  
  .hero-search-section {
    grid-template-columns: 1fr;
  }
  
  .county-grid,
  .city-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .county-grid,
  .city-grid {
    column-count: 2;
  }
  
  .main-content,
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .coin {
    width: 75px !important;
    height: 75px !important;
  }
}

@media (max-width: 480px) {
  .county-grid,
  .city-grid {
    column-count: 1;
  }
}

/* ==========================================================================
   8. VIDEO SECTION (Trauma page)
   ========================================================================== */
.video-section,
.trauma-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.video-section iframe,
.trauma-videos iframe,
iframe[src*="youtube"] {
  border-radius: 15px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 280px;
}

@media (max-width: 768px) {
  .video-section,
  .trauma-videos {
    grid-template-columns: 1fr;
  }

  .scott_centered { outline: 4px solid red !important; }
}

.scott_centered,
.scott_centered p {
  text-align: center !important;
}

/* Make both columns same height and align sections */
.quotes-grid {
  align-items: stretch;
}

/* Each quote card becomes a 2-row grid:
   Row 1 = white content (auto height)
   Row 2 = dark box (fills remaining and matches across columns) */
.quote-container {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

/* Ensure both sections participate correctly */
.quote-white-box {
  align-self: start;
}

.quote-dark-box {
  align-self: stretch;
  height: 100%;
}
