/* =====================================================
   location.css — shared styles for county detail pages
   ===================================================== */

/* BREADCRUMB */
.breadcrumb-bar {
  background: var(--gray-100); border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
}
.breadcrumb-bar nav { font-size: .84rem; color: var(--text-muted); }
.breadcrumb-bar a { color: var(--sky); }
.breadcrumb-bar a:hover { text-decoration: underline; }

/* PAGE HERO */
.page-hero {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.ky-hero { background: linear-gradient(135deg, #001a4d 0%, #003087 60%, #1a2e4a 100%); }
.oh-hero { background: linear-gradient(135deg, #6b0000 0%, #bb0000 60%, #1a2e4a 100%); }

.page-hero-inner {
  display: flex; gap: 24px; align-items: flex-start;
}
.state-badge.large {
  width: 64px; height: 64px; font-size: 1.1rem; flex-shrink: 0;
  border-radius: 12px; border: 2px solid rgba(255,255,255,.3);
}
.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 10px; line-height: 1.2;
}
.page-hero p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 14px; max-width: 580px; }
.page-hero-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.page-hero-meta span { font-size: .82rem; color: rgba(255,255,255,.75); }

/* LAYOUT */
.page-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 40px;
  padding: 48px 20px; align-items: start;
}

/* MAIN CONTENT */
.page-main { min-width: 0; }

.info-section {
  margin-bottom: 52px; padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}
.info-section:last-child { border-bottom: none; }
.info-section h2 {
  font-size: 1.45rem; color: var(--navy); font-weight: 800; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 3px solid var(--sky);
}
.info-section h3 { font-size: 1.1rem; color: var(--navy); font-weight: 700; margin: 20px 0 10px; }

/* QUICK FACTS GRID */
.quick-facts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden;
}
.qf-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 16px; background: var(--white);
}
.qf-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.qf-val { font-size: .92rem; color: var(--text); font-weight: 500; }

/* OFFICE DETAIL CARDS */
.office-detail-card {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 20px;
}
.office-detail-header {
  background: var(--navy); color: var(--white); padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.office-detail-header h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin: 0; }
.office-role { font-size: .78rem; color: rgba(255,255,255,.7); }
.office-detail-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.office-col { padding: 20px; }
.office-col:first-child { border-right: 1px solid var(--gray-200); }
.office-col p { font-size: .88rem; margin-bottom: 6px; }
.office-col address { font-style: normal; font-size: .9rem; margin-bottom: 8px; line-height: 1.5; }
.office-col a { color: var(--sky); }
.office-col h4 { font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.office-col ul { padding-left: 18px; }
.office-col li { font-size: .85rem; color: var(--text); margin-bottom: 4px; }
.office-note {
  margin-top: 12px; padding: 10px 12px; background: var(--gold-light);
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .82rem; color: var(--gray-800);
}

/* STEPS */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--sky); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 800; margin-top: 2px;
}
.step-content h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.step-content p { font-size: .88rem; color: var(--text); margin-bottom: 6px; line-height: 1.6; }

/* EXEMPTION DETAIL */
.exemption-detail {
  background: var(--green-light); border: 1px solid #b3d9c2;
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}
.exemption-detail h3 { font-size: 1.05rem; color: var(--green); margin-bottom: 10px; }
.exemption-detail p { font-size: .9rem; color: var(--text); margin-bottom: 10px; line-height: 1.6; }
.exemption-detail h4 { font-size: .88rem; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.exemption-detail ol { padding-left: 20px; }
.exemption-detail li { font-size: .88rem; color: var(--text); margin-bottom: 5px; line-height: 1.5; }

/* TIMELINE */
.timeline { position: relative; padding-left: 24px; margin: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-200);
}
.timeline-item { position: relative; padding: 0 0 20px 24px; }
.timeline-item::before {
  content: ''; position: absolute; left: -24px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--red);
}
.timeline-date { font-size: .82rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.timeline-content { font-size: .88rem; color: var(--text); line-height: 1.6; }

/* SIDEBAR */
.page-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .07em; color: var(--navy); font-weight: 800; margin-bottom: 14px; }

.contact-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 0; border-bottom: 1px solid var(--gray-100);
}
.contact-item:last-child { border-bottom: none; }
.contact-item strong { font-size: .85rem; color: var(--navy); }
.contact-item a { font-size: 1rem; font-weight: 700; color: var(--sky); }
.contact-item span { font-size: .78rem; color: var(--text-muted); }

.deadline-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 12px; border-radius: var(--radius); margin-bottom: 6px;
}
.dl-date { font-size: .82rem; font-weight: 800; }
.dl-desc { font-size: .82rem; }
.deadline-item.discount { background: var(--green-light); }
.deadline-item.discount .dl-date { color: var(--green); }
.deadline-item.standard { background: var(--sky-light); }
.deadline-item.standard .dl-date { color: var(--blue); }
.deadline-item.penalty { background: var(--red-light); }
.deadline-item.penalty .dl-date { color: var(--red); }
.deadline-item.appeal { background: var(--gold-light); }
.deadline-item.appeal .dl-date { color: #8a6020; }

.nav-card ul { list-style: none; }
.nav-card li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.nav-card li:last-child { border-bottom: none; }
.nav-card a { font-size: .9rem; font-weight: 600; color: var(--sky); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .quick-facts-grid { grid-template-columns: 1fr; }
  .office-detail-body { grid-template-columns: 1fr; }
  .office-col:first-child { border-right: none; border-bottom: 1px solid var(--gray-200); }
}
@media (max-width: 600px) {
  .page-hero-inner { flex-direction: column; gap: 16px; }
}
