/* ============================================================
   ExtraArchery.com — Range Guide Master Template
   Ohio (and future state/city range pages)
   Premium editorial: forest green + charcoal + cream
   ============================================================ */

/* --- LAYOUT CONTAINERS ------------------------------------ */
.container-wide {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- BRAND HERO (range pages) ------------------------------ */
.range-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(20, 80, 48, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(45, 90, 39, 0.35) 0%, transparent 50%),
    linear-gradient(160deg, #0e2418 0%, #143522 55%, #101d16 100%);
  color: var(--text-inverse);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.range-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: url("/assets/images/emblem-extraarchery.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.range-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.range-hero-label {
  display: inline-block;
  background: rgba(20, 80, 48, 0.35);
  border: 1px solid rgba(212, 168, 75, 0.35);
  color: #e8d9b0;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.range-hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.5rem);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.range-hero-sub {
  color: rgba(245, 242, 235, 0.82);
  font-size: var(--text-lg);
  margin: 0 0 var(--space-md) 0;
  line-height: 1.6;
}

.range-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  justify-content: center;
}

.range-hero-meta .meta-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(245, 242, 235, 0.9);
}

/* --- METHODOLOGY ------------------------------------------- */
.method-box {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-sm);
}

.method-box h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.method-box ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.2rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.method-box li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.method-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: 700;
}

.method-note {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* --- KEY TAKEAWAYS ----------------------------------------- */
.take-box {
  background: var(--bg-card);
  border: 1px solid rgba(196, 149, 58, 0.45);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-sm);
}

.take-box h2 {
  font-size: var(--text-lg);
  margin: 0 0 var(--space-sm) 0;
}

.take-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.take-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.take-list li::before {
  content: "🏹";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.75rem;
}

/* --- STATEWIDE MAP ------------------------------------------ */
.map-facade {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 75% 25%, rgba(20, 80, 48, 0.5) 0%, transparent 55%),
    linear-gradient(150deg, #11281a 0%, #1a3524 60%, #0f1d16 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  margin: var(--space-lg) 0 var(--space-sm);
}

.map-facade-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.map-facade h2 {
  color: #fff;
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.map-facade p {
  color: rgba(245, 242, 235, 0.8);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.map-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.map-city-chips span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(245, 242, 235, 0.9);
  font-size: var(--text-xs);
  padding: 0.3em 0.9em;
  border-radius: 9999px;
}

.map-stage {
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-lg) 0 var(--space-sm);
  border: 1px solid rgba(44, 24, 16, 0.1);
  box-shadow: var(--shadow-md);
}

.map-stage .leaflet-popup-content {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
}

.map-stage .leaflet-popup-content a {
  color: var(--green-primary);
  font-weight: 600;
}

.map-fallback {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}

/* --- COMPARISON TABLE --------------------------------------- */
.compare-wrap {
  margin: var(--space-lg) 0;
  border: 1px solid rgba(44, 24, 16, 0.08);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  scrollbar-width: thin;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 0.95rem;
  min-width: 840px;
}

.compare-table thead th {
  background: linear-gradient(135deg, #11281a, #1e4a2a);
  color: #fff;
  padding: 0.9rem 1.1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}

.compare-table tbody td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(44, 24, 16, 0.06);
  vertical-align: top;
  line-height: 1.5;
}

.compare-table tbody tr:nth-child(even) {
  background: #faf8f3;
}

.compare-table td:first-child,
.compare-table th:first-child {
  position: sticky;
  left: 0;
  background: inherit;
  font-weight: 600;
  color: var(--text-primary);
}

.compare-table thead th:first-child {
  background: linear-gradient(135deg, #11281a, #1e4a2a);
}

.compare-table tbody tr:nth-child(even) td:first-child {
  background: #faf8f3;
}

.compare-table tbody tr:nth-child(odd) td:first-child {
  background: #ffffff;
}

.compare-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15em 0.6em;
  border-radius: 9999px;
  white-space: nowrap;
}

.compare-tag.indoor { background: rgba(45, 90, 39, 0.1); color: var(--green-primary); }
.compare-tag.outdoor { background: rgba(139, 69, 19, 0.1); color: var(--brown); }
.compare-tag.both { background: rgba(196, 149, 58, 0.12); color: #8a6420; }
.compare-tag.free { background: rgba(45, 90, 39, 0.12); color: var(--green-primary); }

.compare-scroll-hint {
  display: none;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  padding: 0.4rem;
  border-top: 1px dashed rgba(44, 24, 16, 0.12);
}

/* --- DECISION SUPPORT ---------------------------------------- */
.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.decision-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.decision-card h3 {
  font-size: 1.06rem;
  margin-bottom: var(--space-2xs);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.decision-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.decision-card p a {
  font-weight: 600;
}

/* --- RANGE PROFILES ------------------------------------------ */
.range-profile {
  background: var(--bg-card);
  border: 1px solid rgba(44, 24, 16, 0.08);
  border-left: 4px solid var(--green-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 2.5rem 0;
  padding: var(--space-lg);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.range-profile-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.range-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px var(--green-glow);
}

.range-profile-head h2 {
  font-size: var(--text-xl);
  margin: 0 0 0.15rem 0;
  line-height: 1.3;
}

.range-loc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.range-best-for {
  display: inline-block;
  margin-top: 0.4rem;
  background: rgba(196, 149, 58, 0.12);
  color: #8a6420;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.25em 0.8em;
  border-radius: 9999px;
}

.range-body-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-lg);
}

.range-facts {
  background: #faf8f3;
  border: 1px solid rgba(44, 24, 16, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  align-self: start;
}

.range-facts h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 var(--space-xs) 0;
}

.range-fact-row {
  display: flex;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(44, 24, 16, 0.06);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.range-fact-row:last-child { border-bottom: none; }

.range-fact-icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.range-fact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.range-fact-val {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.range-fact-val a {
  color: var(--green-primary);
  font-weight: 600;
}

.range-fact-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.range-editorial h3 {
  font-size: 1.06rem;
  margin: var(--space-md) 0 var(--space-2xs) 0;
  color: var(--text-primary);
}

.range-editorial h3:first-child {
  margin-top: 0;
}

.range-editorial p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.good-to-know {
  background: #fdf8ec;
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-sm) 0;
}

.good-to-know p {
  margin: 0;
  font-size: 0.95rem;
}

.range-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-md);
}

.range-ctas .btn {
  font-size: var(--text-sm);
}

/* --- HONORABLE MENTIONS -------------------------------------- */
.honor-list {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-sm);
}

.honor-list h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.honor-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.honor-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(44, 24, 16, 0.05);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

.honor-list li:last-child { border-bottom: none; }

.honor-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: 700;
}

/* --- SOURCES -------------------------------------------------- */
.sources-box {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-sm);
}

.sources-box h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.sources-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2.5rem;
}

.sources-box li {
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0.4rem 0;
  break-inside: avoid;
  border-bottom: 1px solid rgba(44, 24, 16, 0.05);
  color: var(--text-secondary);
}

.sources-box li:last-child { border-bottom: none; }

.sources-box .src-date {
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* --- RESPONSIVE ------------------------------------------------ */
@media (max-width: 768px) {
  .range-hero {
    padding: var(--space-lg) var(--space-sm);
    border-radius: 0;
  }

  .range-hero::before {
    width: 200px;
    height: 200px;
    right: -60px;
  }

  .take-list {
    grid-template-columns: 1fr;
  }

  .map-facade {
    min-height: 340px;
    border-radius: var(--radius-md);
  }

  .map-stage {
    height: 360px;
  }

  .range-profile {
    padding: var(--space-md);
  }

  .range-body-grid {
    grid-template-columns: 1fr;
  }

  .range-ctas .btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.9em 1em;
    min-height: 46px;
  }

  .compare-scroll-hint {
    display: block;
  }

  .sources-box ul {
    columns: 1;
  }
}

/* ─────────────────────────────────────────────────────────────
   OHIO: one-rail VISUAL geometry (2026-09-21)
   Prose sections render as full-rail editorial panels so their
   VISIBLE painted edge matches every other module (profiles,
   map, table, FAQ, Sources, closing). Text keeps a ~760px
   reading measure, centered inside the panel — no naked
   narrow columns, no unexplained blank space.
   Scoped to Ohio only; CA/UT untouched.
   ───────────────────────────────────────────────────────────── */
.page-ohio-ranges .article-content {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-lg);
}

.page-ohio-ranges .article-content > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Also Worth Knowing: same full-rail panel rhythm, measured list */
.page-ohio-ranges .honor-list {
  padding: var(--space-lg) var(--space-xl);
}

.page-ohio-ranges .honor-list h2,
.page-ohio-ranges .honor-list ul {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.page-ohio-ranges .honor-list h2 {
  margin-bottom: var(--space-md);
}
