/* ═══════════════════════════════════════════════════════════
   Compliance / resources reference pages
   Matches site design system: Poppins headings, lime accents,
   dark hero (shares .products-hub-hero from products.css look)
═══════════════════════════════════════════════════════════ */

/* Dark hero (self-contained so we don't depend on products.css) */
.comp-hero {
  background: #1a1a2e;
  padding: 56px 0 48px;
  text-align: center;
}
.comp-hero .section-pill {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c5d300;
  background: rgba(197, 211, 0, 0.12);
  border: 1px solid rgba(197, 211, 0, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.comp-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.25;
  color: #fff;
  max-width: 860px;
  margin: 0 auto 14px;
}
.comp-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}
.comp-hero-reviewed {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 14px;
}

/* Body layout */
.comp-body { background: #fff; padding: 56px 0 64px; }
.comp-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.comp-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.comp-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }

/* Cards */
.comp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 28px;
}
.comp-card h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a2e;
  margin-bottom: 16px;
}
.comp-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.comp-lede { color: #4b5563; margin-bottom: 14px; }

/* Contact block */
.comp-contact-list { display: flex; flex-direction: column; gap: 0; }
.comp-contact-list > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f2f3;
}
.comp-contact-list > div:last-child { border-bottom: 0; }
.comp-contact-list dt {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  padding-top: 2px;
}
.comp-contact-list dd { color: #1f2937; font-size: 15px; word-break: break-word; }
.comp-contact-list dd a { color: #3f6212; font-weight: 600; text-decoration: none; }
.comp-contact-list dd a:hover { text-decoration: underline; }

.comp-permit-links { margin-top: 18px; padding-top: 16px; border-top: 1px solid #f1f2f3; }
.comp-permit-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.comp-permit-links a { color: #3f6212; font-weight: 600; text-decoration: none; font-size: 15px; }
.comp-permit-links a:hover { text-decoration: underline; }

/* Regulation lists with citations */
.comp-reg-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.comp-reg-list li { padding: 14px 0; border-bottom: 1px solid #f1f2f3; }
.comp-reg-list li:last-child { border-bottom: 0; }
.comp-reg-list p { color: #1f2937; font-size: 15px; line-height: 1.6; margin-bottom: 6px; }
.comp-source {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 3px 12px;
  text-decoration: none;
}
.comp-source:hover { border-color: #c5d300; color: #3f6212; background: #fbfff0; }
.comp-empty { color: #4b5563; font-size: 15px; line-height: 1.65; }
.comp-thin-note {
  margin-top: 14px;
  font-size: 14px;
  color: #92600a;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 12px 14px;
}

/* Disclaimer */
.comp-disclaimer {
  display: flex;
  gap: 12px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #c5d300;
  border-radius: 8px;
  padding: 16px 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}
.comp-disclaimer svg { flex-shrink: 0; margin-top: 2px; color: #6b7280; }
.comp-disclaimer strong { color: #1a1a2e; }
.comp-reviewed {
  display: block;
  margin-top: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

/* Sidebar */
.comp-side-card { padding: 22px; }
.comp-side-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.comp-side-links a { color: #3f6212; font-weight: 600; font-size: 14px; text-decoration: none; line-height: 1.45; }
.comp-side-links a:hover { text-decoration: underline; }
.comp-side-cta { background: #1a1a2e; border-color: #1a1a2e; }
.comp-side-cta h3 { color: #fff; }
.comp-side-cta p { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-bottom: 16px; }
.comp-side-cta .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.comp-side-cta .btn-outline-dark { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.comp-side-cta .btn-outline-dark:hover { border-color: #c5d300; color: #c5d300; }

/* City rental links section */
.comp-cities { background: #f8f9fa; padding: 48px 0; text-align: center; }
.comp-cities h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.comp-cities > .container > p { color: #4b5563; margin-bottom: 20px; }
.comp-cities a { color: #3f6212; }
.comp-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.comp-pills .nearby-pill {
  display: inline-block;
  padding: 8px 18px;
  border: 1.5px solid #d1d5db;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.comp-pills .nearby-pill:hover { border-color: #84cc16; background: #f0fdf4; color: #3f6212; }

/* County directory table (compliance index) */
.comp-directory { background: #fff; padding: 56px 0 64px; }
.comp-directory h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 8px;
  text-align: center;
}
.comp-directory .comp-lede { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.comp-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 24px;
}
.comp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.comp-table th {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  text-align: left;
  background: #f8f9fa;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.comp-table td { padding: 12px 16px; border-bottom: 1px solid #f1f2f3; color: #1f2937; vertical-align: top; }
.comp-table tr:last-child td { border-bottom: 0; }
.comp-table td a { color: #3f6212; font-weight: 600; text-decoration: none; }
.comp-table td a:hover { text-decoration: underline; }
.comp-table td:first-child a { color: #1a1a2e; }
.comp-table td:first-child a:hover { color: #3f6212; }
.comp-table-cta { white-space: nowrap; }

/* Guide cards */
.comp-guides { background: #f8f9fa; padding: 56px 0; }
.comp-guides h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 24px;
  text-align: center;
}
.comp-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.comp-guide-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.comp-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #c5d300;
}
.comp-guide-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.comp-guide-card p { color: #4b5563; font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
.comp-guide-card span {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #3f6212;
}

/* Responsive */
@media (max-width: 900px) {
  .comp-grid { grid-template-columns: 1fr; }
  .comp-side { position: static; }
}
@media (max-width: 560px) {
  .comp-card { padding: 20px; }
  .comp-contact-list > div { grid-template-columns: 1fr; gap: 2px; }
}
