/*
  Component: Hales Local SEO / Conversion Block (generator-owned)
  
  This styles the HTML injected by local-docker/seo/upgrade_service_pages.py.
  Scoped via `.hales-local-seo-block` so it won’t affect other content.
*/

.hales-local-seo-block {
  margin: var(--push-medium) 0;
  padding: 24px 18px;
  background: var(--light-blue);
  border: 1px solid rgba(4, 36, 82, 0.10);
  border-radius: 16px;
}

.hales-local-seo-block__title {
  margin: 0 0 10px;
  color: var(--dark-blue);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
}

.hales-local-seo-block__lede {
  margin: 0 0 14px;
  color: var(--paragraph-color);
  font-size: 16px;
  line-height: 1.6;
}

.hales-local-seo-block__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.hales-local-seo-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hales-local-seo-block__btn--primary {
  background: linear-gradient(135deg, #d4af37 0%, #f6e27f 50%, #d4af37 100%);
  color: #011635;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.hales-local-seo-block__btn--secondary {
  background: #011635;
  color: #fff;
  border: 2px solid #011635;
  box-shadow: 0 4px 12px rgba(1, 22, 53, 0.15);
}

.hales-local-seo-block__subhead {
  margin: 18px 0 10px;
  color: var(--dark-blue);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.hales-local-seo-block__linkgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hales-local-seo-block__linkgrid li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Theme styles may inject custom bullets via ::before or ::marker; neutralize within the grid. */
.hales-local-seo-block__linkgrid li::before {
  content: none !important;
  display: none !important;
}

.hales-local-seo-block__linkgrid li::marker {
  content: "";
}

.hales-local-seo-block__linkgrid a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(4, 36, 82, 0.12);
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.hales-local-seo-block__linkgrid a:focus,
.hales-local-seo-block__linkgrid a:hover {
  border-color: rgba(4, 36, 82, 0.25);
}

.hales-local-seo-block__all {
  margin: 12px 0 0;
}

.hales-local-seo-block__body {
  margin: 0;
  color: var(--paragraph-color);
  font-size: 16px;
  line-height: 1.6;
}

.hales-local-seo-block__bullets {
  margin: 0;
  padding-left: 20px;
}

.hales-local-seo-block__bullets li + li {
  margin-top: 6px;
}

.hales-local-seo-block__lede a,
.hales-local-seo-block__body a,
.hales-local-seo-block__all a {
  color: var(--primary-color);
  font-weight: 700;
}

@media (max-width: 360px) {
  .hales-local-seo-block__title {
    font-size: 24px;
  }

  .hales-local-seo-block__linkgrid {
    grid-template-columns: 1fr;
  }
}
