/* ═══════════════════════════════════════════════════
   California Commercial Eviction Dashboard
   Shared Stylesheet — californiacommercialeviction.com
   ═══════════════════════════════════════════════════ */

:root {
  --blue-dark:   #0a1628;
  --blue-mid:    #0f2142;
  --blue-accent: #1a3a6b;
  --gold:        #c9a227;
  --gold-light:  #f0c84a;
  --white:       #ffffff;
  --gray-light:  #f4f6fa;
  --gray-mid:    #e0e4ed;
  --gray-text:   #6b7280;
  --green:       #16a34a;
  --red:         #dc2626;
  --orange:      #ea580c;
  --yellow-warn: #d97706;
  --border:      #d1d5db;
  --shadow:      0 4px 24px rgba(10,22,40,0.12);
  --shadow-sm:   0 2px 8px  rgba(10,22,40,0.08);
  --radius:      12px;
  --radius-sm:   7px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif; background: var(--gray-light); color: #1a2332; line-height: 1.65; }
a { color: var(--blue-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ══════════════════════════════════
   HEADER / NAV
══════════════════════════════════ */
header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-accent) 100%);
  color: var(--white);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 20px; height: 60px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-badge {
  background: var(--gold); color: var(--blue-dark);
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px; white-space: nowrap;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 0.88rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.logo-sub  { font-size: 0.62rem; color: rgba(255,255,255,0.55); }

.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 2px; justify-content: flex-end; }
.nav-list > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px; padding: 8px 11px;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85);
  border-radius: 6px; transition: background 0.15s, color 0.15s;
  white-space: nowrap; cursor: pointer;
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.12); color: var(--white); text-decoration: none; }
.nav-arrow { font-size: 0.6rem; }

.dropdown {
  display: none; position: absolute; top: calc(100% + 4px); right: 0;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  min-width: 240px; z-index: 200; border: 1px solid var(--border); overflow: hidden;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block; padding: 10px 14px; font-size: 0.78rem; color: var(--blue-dark);
  font-weight: 500; transition: background 0.12s; border-bottom: 1px solid var(--gray-mid);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--gray-light); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 1.2rem; padding: 6px 10px;
  border-radius: 6px; cursor: pointer; margin-left: auto;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .logo-sub { display: none; }
  .main-nav {
    display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--blue-dark); overflow-y: auto; padding: 16px; z-index: 999;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list > li { position: static; }
  .nav-link { justify-content: space-between; padding: 12px 14px; }
  .dropdown {
    display: none; position: static; box-shadow: none; border: none;
    background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); margin: 4px 0;
  }
  .dropdown.mobile-open { display: block; }
  .dropdown a { color: rgba(255,255,255,0.8); border-bottom-color: rgba(255,255,255,0.1); }
  .dropdown a:hover { background: rgba(255,255,255,0.08); }
}

/* ══════════════════════════════════
   AD SLOTS
══════════════════════════════════ */
.ad-banner {
  background: var(--white); border-bottom: 1px solid var(--border);
  text-align: center; padding: 8px; min-height: 90px;
  display: flex; align-items: center; justify-content: center;
}
.ad-label { font-size: 0.6rem; color: var(--gray-text); letter-spacing: 1px; text-transform: uppercase; padding: 4px 0; }
.ad-rect-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px; text-align: center; }
.ad-inline {
  background: var(--white); border-radius: var(--radius); padding: 10px;
  text-align: center; border: 1px solid var(--border);
}

/* ══════════════════════════════════
   BREADCRUMB
══════════════════════════════════ */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 0; }
.breadcrumb-inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.72rem; color: var(--gray-text); }
.breadcrumb a { color: var(--blue-accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-mid); }
.breadcrumb-current { color: var(--blue-dark); font-weight: 600; }

/* ══════════════════════════════════
   PAGE LAYOUTS
══════════════════════════════════ */
.page-wrap {
  max-width: 1400px; margin: 0 auto; padding: 24px 20px;
  display: grid; grid-template-columns: 1fr 300px; gap: 24px;
}
@media (max-width: 1100px) { .page-wrap { grid-template-columns: 1fr; } }
.main-col { display: flex; flex-direction: column; gap: 24px; }
.side-col  { display: flex; flex-direction: column; gap: 20px; }
.page-wrap-wide { max-width: 1400px; margin: 0 auto; padding: 24px 20px; }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-accent) 100%);
  color: var(--white); padding: 40px 20px; text-align: center;
}
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.page-hero h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.page-hero p  { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.hero-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-tag {
  font-size: 0.68rem; font-weight: 700; padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85);
}
@media (max-width: 640px) { .page-hero h1 { font-size: 1.4rem; } .page-hero p { font-size: 0.85rem; } }

/* ══════════════════════════════════
   CARDS
══════════════════════════════════ */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header {
  background: linear-gradient(90deg, var(--blue-mid) 0%, var(--blue-accent) 100%);
  color: var(--white); padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
}
.card-header h2 { font-size: 0.95rem; font-weight: 700; }
.card-header h3 { font-size: 0.9rem; font-weight: 700; }
.card-header .icon { font-size: 1.1rem; }
.card-body { padding: 20px; }
@media (max-width: 640px) { .card-body { padding: 14px; } }

/* ══════════════════════════════════
   STAT GRID
══════════════════════════════════ */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
@media (max-width: 800px) { .stat-grid { grid-template-columns: repeat(2,1fr); } }
.stat-box {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-accent));
  border-radius: 10px; padding: 16px; color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.stat-box::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,0.05);
}
.stat-number { font-size: 2rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.stat-sub   { font-size: 0.65rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ══════════════════════════════════
   TIMELINE / PHASE TREE
══════════════════════════════════ */
.timeline { position: relative; }
.phase-header {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  cursor: pointer; border-radius: var(--radius-sm); transition: background 0.18s; user-select: none;
}
.phase-header:hover { background: var(--gray-light); }
.phase-dot {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; flex-shrink: 0; color: white;
}
.phase-info { flex: 1; min-width: 0; }
.phase-title { font-size: 0.9rem; font-weight: 700; color: var(--blue-dark); }
.phase-sub   { font-size: 0.72rem; color: var(--gray-text); }
.phase-tag   { font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; letter-spacing: 0.5px; white-space: nowrap; }
.phase-chevron { font-size: 0.8rem; color: var(--gray-text); transition: transform 0.25s; }
.phase-chevron.open { transform: rotate(90deg); }
.phase-body { display: none; padding: 0 16px 16px 66px; }
.phase-body.open { display: block; }
.timeline-connector { width: 2px; background: linear-gradient(to bottom, var(--gold), transparent); height: 20px; margin-left: 34px; }

.step-list { list-style: none; }
.step-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-mid); }
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--gray-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0; color: var(--blue-dark);
}
.step-content { flex: 1; min-width: 0; }
.step-title { font-size: 0.82rem; font-weight: 600; color: var(--blue-dark); }
.step-desc  { font-size: 0.73rem; color: var(--gray-text); margin-top: 2px; line-height: 1.6; }
.code-chip {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  background: var(--blue-dark); color: var(--gold-light);
  padding: 1px 6px; border-radius: 3px; margin-top: 4px;
  font-family: monospace; letter-spacing: 0.3px;
}
.deadline-chip { display: inline-block; font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 3px; margin-top: 4px; margin-left: 4px; }

.phase-1 { background: #1e40af; } .phase-2 { background: #7c3aed; }
.phase-3 { background: #b91c1c; } .phase-4 { background: #b45309; }
.phase-5 { background: #065f46; }
.tag-critical { background: #fee2e2; color: #b91c1c; }
.tag-urgent   { background: #fff7ed; color: #c2410c; }
.tag-required { background: #eff6ff; color: #1d4ed8; }
.tag-court    { background: #f5f3ff; color: #6d28d9; }
.tag-post     { background: #ecfdf5; color: #065f46; }

/* ══════════════════════════════════
   ESTIMATOR / FORMS
══════════════════════════════════ */
.estimator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .estimator-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--blue-dark); }
.form-group input, .form-group select {
  padding: 9px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.82rem; color: #1a2332;
  background: var(--white); transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--blue-accent); }
.form-hint { font-size: 0.65rem; color: var(--gray-text); }
.calc-btn {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--blue-dark); border: none; border-radius: var(--radius-sm);
  padding: 13px; font-size: 0.9rem; font-weight: 800; cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
.calc-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.calc-btn:active { transform: translateY(0); }

.results-box { grid-column: 1 / -1; display: none; border: 2px solid var(--gold); border-radius: 10px; overflow: hidden; }
.results-box.visible { display: block; }
.results-header {
  background: var(--blue-dark); color: var(--white); padding: 10px 16px;
  font-size: 0.8rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center;
}
.results-body { padding: 14px 16px; }
.result-line { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--gray-mid); font-size: 0.8rem; }
.result-line:last-child { border-bottom: none; }
.result-label { color: var(--gray-text); }
.result-value { font-weight: 700; color: var(--blue-dark); }
.result-total {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-accent));
  border-radius: 8px; padding: 12px 14px; margin-top: 10px;
  display: flex; justify-content: space-between; align-items: center; color: var(--white);
}
.result-total-label { font-size: 0.8rem; font-weight: 600; }
.result-total-value { font-size: 1.4rem; font-weight: 800; color: var(--gold-light); }

/* ══════════════════════════════════
   TABLES
══════════════════════════════════ */
.ref-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.ref-table thead th {
  background: var(--blue-dark); color: var(--white); padding: 9px 12px;
  text-align: left; font-size: 0.72rem; letter-spacing: 0.5px; text-transform: uppercase;
}
.ref-table tbody tr:nth-child(even) { background: var(--gray-light); }
.ref-table tbody td { padding: 9px 12px; border-bottom: 1px solid var(--gray-mid); vertical-align: top; }
.ref-table tbody tr:hover { background: #e8f0fe; }
.code-ref { font-weight: 700; color: var(--blue-accent); font-family: monospace; font-size: 0.8rem; }
.severity { font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; }
.sev-high   { background: #fee2e2; color: #b91c1c; }
.sev-medium { background: #fff7ed; color: #c2410c; }
.sev-low    { background: #ecfdf5; color: #065f46; }

/* ══════════════════════════════════
   FAQ
══════════════════════════════════ */
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-q {
  width: 100%; text-align: left; padding: 13px 16px;
  background: none; border: none; cursor: pointer; font-size: 0.83rem;
  font-weight: 600; color: var(--blue-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--gray-light); }
.faq-icon { font-size: 1rem; transition: transform 0.25s; color: var(--gold); flex-shrink: 0; }
.faq-icon.open { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 16px 14px; font-size: 0.78rem; color: var(--gray-text); line-height: 1.75; }
.faq-a.open { display: block; }
.faq-a a { color: var(--blue-accent); }

/* ══════════════════════════════════
   SIDEBAR
══════════════════════════════════ */
.side-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.side-card-header { background: var(--blue-dark); color: var(--white); padding: 10px 14px; font-size: 0.82rem; font-weight: 700; }
.side-card-body { padding: 14px; }

.checklist-item { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--gray-mid); font-size: 0.75rem; }
.checklist-item:last-child { border-bottom: none; }
.check-icon { color: var(--green); font-size: 0.85rem; flex-shrink: 0; }
.cross-icon { color: var(--red);   font-size: 0.85rem; flex-shrink: 0; }

.risk-meter { margin: 10px 0; }
.risk-bar { height: 8px; border-radius: 4px; background: var(--gray-mid); overflow: hidden; margin: 4px 0; }
.risk-fill { height: 100%; border-radius: 4px; }
.risk-label { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--gray-text); }

.mini-timeline { display: flex; flex-direction: column; gap: 6px; }
.mini-step { display: flex; gap: 8px; align-items: center; font-size: 0.72rem; }
.mini-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mini-line { width: 2px; height: 14px; background: var(--gray-mid); margin-left: 3px; flex-shrink: 0; }

/* ══════════════════════════════════
   CTA
══════════════════════════════════ */
.cta-box { background: linear-gradient(135deg, var(--blue-dark), var(--blue-accent)); border-radius: 10px; padding: 16px; color: var(--white); text-align: center; }
.cta-box h3 { font-size: 0.9rem; margin-bottom: 6px; }
.cta-box p  { font-size: 0.72rem; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.cta-btn { display: block; background: var(--gold); color: var(--blue-dark); font-size: 0.78rem; font-weight: 800; padding: 10px; border-radius: 6px; transition: background 0.15s; }
.cta-btn:hover { background: var(--gold-light); text-decoration: none; }

.cta-banner { background: linear-gradient(135deg, var(--blue-dark), var(--blue-accent)); border-radius: var(--radius); padding: 36px 24px; color: var(--white); text-align: center; }
.cta-banner h2 { font-size: 1.3rem; margin-bottom: 8px; }
.cta-banner p  { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 20px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner-btn { display: inline-block; background: var(--gold); color: var(--blue-dark); font-size: 0.9rem; font-weight: 800; padding: 12px 28px; border-radius: 8px; transition: background 0.15s; }
.cta-banner-btn:hover { background: var(--gold-light); text-decoration: none; }

/* ══════════════════════════════════
   COUNTY INFO BOXES
══════════════════════════════════ */
.county-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .county-info-grid { grid-template-columns: 1fr; } }
.info-box { background: var(--gray-light); border-radius: var(--radius-sm); padding: 12px 14px; border-left: 3px solid var(--gold); }
.info-box-label { font-size: 0.65rem; font-weight: 700; color: var(--gray-text); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.info-box-value { font-size: 0.82rem; font-weight: 700; color: var(--blue-dark); }
.info-box-sub   { font-size: 0.67rem; color: var(--gray-text); margin-top: 2px; }

/* ══════════════════════════════════
   DISCLAIMER
══════════════════════════════════ */
.disclaimer-box {
  background: #fef3c7; border-left: 4px solid var(--yellow-warn);
  padding: 10px 14px; border-radius: 0 6px 6px 0;
  font-size: 0.7rem; color: #92400e;
}

/* ══════════════════════════════════
   PROSE / ARTICLE BODY
══════════════════════════════════ */
.prose { font-size: 0.85rem; line-height: 1.8; color: #374151; }
.prose h2 { font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); margin: 24px 0 8px; border-left: 4px solid var(--gold); padding-left: 10px; }
.prose h3 { font-size: 0.95rem; font-weight: 700; color: var(--blue-dark); margin: 16px 0 6px; }
.prose p  { margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 18px; margin-bottom: 12px; }
.prose li { list-style: disc; margin-bottom: 4px; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--blue-dark); }
.prose a { color: var(--blue-accent); }
.prose .highlight { background: #eff6ff; border-left: 4px solid var(--blue-accent); padding: 12px 14px; border-radius: 0 7px 7px 0; margin: 14px 0; }
.prose .warning   { background: #fef3c7; border-left: 4px solid var(--yellow-warn);  padding: 12px 14px; border-radius: 0 7px 7px 0; margin: 14px 0; color: #92400e; }

/* ══════════════════════════════════
   BLOG
══════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.blog-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.15s;
  display: flex; flex-direction: column; overflow: hidden;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-img { height: 130px; background: linear-gradient(135deg, var(--blue-dark), var(--blue-accent)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag  { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-accent); margin-bottom: 5px; }
.blog-card h3   { font-size: 0.88rem; font-weight: 700; color: var(--blue-dark); line-height: 1.4; margin-bottom: 6px; }
.blog-card p    { font-size: 0.75rem; color: var(--gray-text); line-height: 1.6; flex: 1; }
.blog-card-footer { padding: 10px 16px; border-top: 1px solid var(--gray-mid); display: flex; justify-content: space-between; align-items: center; font-size: 0.68rem; color: var(--gray-text); }
.blog-card-read { font-size: 0.72rem; font-weight: 700; color: var(--blue-accent); }

.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.72rem; color: var(--gray-text); padding: 14px 0; border-bottom: 1px solid var(--gray-mid); margin-bottom: 24px; }

/* ══════════════════════════════════
   ATTORNEY DIRECTORY
══════════════════════════════════ */
.attorney-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 16px; }
.attorney-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.attorney-card-header { background: linear-gradient(135deg, var(--blue-dark), var(--blue-accent)); color: var(--white); padding: 14px 16px; }
.attorney-card-header h3 { font-size: 0.85rem; font-weight: 700; }
.attorney-card-header p  { font-size: 0.68rem; color: rgba(255,255,255,0.65); margin-top: 2px; }
.attorney-card-body { padding: 14px 16px; }
.attorney-detail { font-size: 0.75rem; color: var(--gray-text); display: flex; gap: 8px; margin-bottom: 6px; }
.attorney-detail strong { color: var(--blue-dark); min-width: 80px; flex-shrink: 0; }

/* ══════════════════════════════════
   INTERNAL LINK GRID
══════════════════════════════════ */
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 500px) { .link-grid { grid-template-columns: 1fr; } }
.link-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: var(--gray-light); border-radius: var(--radius-sm); border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 600; color: var(--blue-dark);
  transition: background 0.15s, border-color 0.15s;
}
.link-item:hover { background: #e8f0fe; border-color: var(--blue-accent); text-decoration: none; }
.link-item-icon { font-size: 1rem; flex-shrink: 0; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer { background: var(--blue-dark); color: rgba(255,255,255,0.55); padding: 36px 20px 20px; font-size: 0.72rem; line-height: 1.9; margin-top: 20px; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 20px; }
@media (max-width: 900px)  { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px)  { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h4 { color: var(--white); font-size: 0.78rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.3px; }
.footer-col p  { font-size: 0.72rem; margin-bottom: 8px; }
.footer-col a  { display: block; color: rgba(255,255,255,0.55); margin-bottom: 5px; transition: color 0.15s; }
.footer-col a:hover { color: var(--gold-light); text-decoration: none; }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.67rem; }
.footer-bottom a { color: var(--gold); }

/* ══════════════════════════════════
   UTILITY
══════════════════════════════════ */
.note { font-size: 0.68rem; color: var(--gray-text); font-style: italic; }
.text-center { text-align: center; }
.overflow-x { overflow-x: auto; }

@media print {
  header, footer, .ad-banner, .ad-inline, .ad-rect-wrap, .side-col, .nav-toggle { display: none !important; }
  .page-wrap { grid-template-columns: 1fr; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
