/* Providers directory */
.providers-page {
  padding: 32px 0 56px;
}
.providers-header {
  text-align: center;
  margin-bottom: 40px;
}
.providers-crumb {
  font-size: 13px;
  color: #99a8b8;
  margin: 0 0 8px;
}
.providers-crumb a {
  color: #99a8b8;
}
h1.providers-title {
  font-size: 32px;
  font-weight: 600;
  color: #001837;
  margin: 0 0 10px;
  text-align: center;
}
.providers-subtitle {
  font-size: 17px;
  color: #667487;
  margin: 0 auto;
  line-height: 1.6;
  max-width: 720px;
}
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
a.providers-cat-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}
a.providers-cat-card:hover {
  box-shadow: 0 2px 12px rgba(45, 156, 219, 0.15);
  transform: translateY(-1px);
  text-decoration: none;
}
.providers-cat-name {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: #1a7ab5;
  line-height: 1.4;
}
.providers-cat-count {
  display: block;
  font-size: 13px;
  color: #99a8b8;
  margin: 2px 0 6px;
}
.providers-cat-desc {
  display: block;
  font-size: 14px;
  color: #667487;
  line-height: 1.55;
}
.providers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
a.provider-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 18px 24px;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}
a.provider-card:hover {
  box-shadow: 0 2px 12px rgba(45, 156, 219, 0.15);
  transform: translateY(-1px);
  text-decoration: none;
}
.provider-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.provider-card-name {
  font-size: 17px;
  font-weight: 500;
  color: #1a7ab5;
}
.provider-card-seals {
  display: flex;
  gap: 6px;
}
.seal {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.seal-verified {
  background: #e7f6f0;
  color: #0e9f6e;
}
.seal-award {
  background: #fdf3dd;
  color: #a86f08;
}
h1.providers-title .seal {
  vertical-align: middle;
  margin-left: 8px;
}
.provider-card-liner {
  display: block;
  font-size: 15px;
  color: #667487;
  line-height: 1.6;
  margin-top: 4px;
}
.provider-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #99a8b8;
  margin-top: 8px;
}
.provider-tracked {
  color: #1fa6a0;
}
.providers-footnote {
  max-width: 800px;
  margin: 32px auto 0;
  font-size: 14px;
  color: #667487;
  line-height: 1.6;
  text-align: center;
}
.provider-detail {
  max-width: 720px;
  margin: 0 auto;
}
table.provider-facts {
  width: 100%;
  table-layout: fixed;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
table.provider-facts th {
  width: 220px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #99a8b8;
  padding: 12px 20px;
  vertical-align: top;
}
table.provider-facts td {
  font-size: 15px;
  color: #1f2933;
  padding: 12px 20px 12px 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
table.provider-facts tr + tr th,
table.provider-facts tr + tr td {
  border-top: 1px solid #eef2f5;
}
.provider-awards {
  margin-top: 28px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
}
.provider-awards-title {
  font-size: 18px;
  font-weight: 600;
  color: #001837;
  margin: 0 0 10px;
}
.provider-awards ul {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
}
.provider-awards-fineprint {
  font-size: 13px;
  color: #99a8b8;
  margin: 0;
}
.providers-sample-note {
  font-size: 13px;
  color: #99a8b8;
  margin-top: 16px;
}
.compare-picker {
  max-width: 800px;
  margin: 0 auto 24px;
  background: #fff;
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
.compare-choice {
  font-size: 14px;
  color: #1f2933;
  margin: 0;
  white-space: nowrap;
}
.providers-btn {
  background: #1fa6a0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
}
.providers-btn:hover {
  background: #178f8a;
  color: #fff;
}
.compare-tablewrap {
  max-width: 960px;
  margin: 0 auto;
  overflow-x: auto;
  background: #fff;
  border-radius: 10px;
}
table.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
table.compare-table th,
table.compare-table td {
  padding: 12px 18px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eef2f5;
  line-height: 1.5;
}
table.compare-table tr:first-child th {
  font-size: 15px;
  color: #001837;
}
table.compare-table tr + tr th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #99a8b8;
  width: 180px;
}
.verified-body {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: #1f2933;
  line-height: 1.7;
}
.intake-sent {
  max-width: 640px;
  margin: 0 auto 20px;
  background: #e7f6f0;
  color: #0e6e4e;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
}
.intake-sent p {
  margin: 0;
}
.intake-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 24px 28px;
}
.intake-audience {
  border: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 15px;
}
.intake-audience ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.intake-row {
  margin-bottom: 14px;
}
.intake-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #99a8b8;
  margin-bottom: 4px;
}
.intake-row input,
.intake-row textarea {
  width: 100%;
  border: 1px solid #dde4ea;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 15px;
  color: #1f2933;
}
.intake-row textarea {
  min-height: 120px;
}
.intake-row .errorlist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: 13px;
  color: #dc6843;
}
/* Directory sub-navigation (every /providers/ page) */
.providers-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
  max-width: 960px;
  margin: -16px auto 32px;
}
.providers-nav-link,
.providers-nav-cat {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  border-radius: 999px;
  padding: 7px 12px;
  text-decoration: none;
  white-space: nowrap;
}
.providers-nav-link {
  font-weight: 600;
  color: #1a7ab5;
  background: #fff;
}
.providers-nav-cat {
  color: #667487;
  background: #eef2f5;
}
.providers-nav-link:hover,
.providers-nav-cat:hover {
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(45, 156, 219, 0.2);
}
.providers-nav-link.active,
.providers-nav-cat.active {
  background: #1a7ab5;
  color: #fff;
}
.providers-nav-count {
  opacity: 0.65;
  margin-left: 2px;
}
.providers-nav-sep {
  flex-basis: 100%;
  height: 0;
}
/* A-Z page */
.az-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 6px;
  font-size: 15px;
  margin: 0 0 20px;
}
.az-index a {
  color: #1a7ab5;
  padding: 2px 4px;
}
.az-list {
  max-width: 800px;
  margin: 0 auto;
}
.az-group {
  background: #fff;
  border-radius: 10px;
  padding: 14px 24px 6px;
  margin-bottom: 12px;
  scroll-margin-top: 16px;
}
.az-letter {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #99a8b8;
  margin: 0 0 6px;
}
.az-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2px 16px;
  padding: 8px 0;
  border-top: 1px solid #eef2f5;
}
.az-name {
  font-size: 15px;
  font-weight: 500;
  color: #1a7ab5;
}
.az-cat {
  font-size: 12px;
  color: #99a8b8;
  grid-column: 1;
}
.az-liner {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 14px;
  color: #667487;
  line-height: 1.5;
}
/* Vendor page: neighbours + siblings */
.provider-prevnext {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 14px;
}
.provider-prevnext a {
  color: #1a7ab5;
}
.provider-up {
  font-weight: 600;
}
.provider-siblings {
  margin-top: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 18px 24px;
}
.provider-siblings-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #99a8b8;
  margin: 0 0 10px;
}
.provider-siblings-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
}
.provider-siblings-list a {
  font-size: 13px;
  color: #1a7ab5;
  background: #eef2f5;
  border-radius: 999px;
  padding: 5px 11px;
  text-decoration: none;
}
.provider-siblings-list a:hover {
  background: #dde9f3;
  text-decoration: none;
}
.provider-siblings-more {
  margin: 12px 0 0;
  font-size: 14px;
}
@media (max-width: 576px) {
  .providers-page {
    padding: 20px 0 32px;
  }
  .providers-crumb {
    overflow-wrap: anywhere;
  }
  /* One scrolling row; the current page's pill leads so it is never off-screen. */
  .providers-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin: -8px -15px 24px;
    padding: 4px 15px;
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  }
  .providers-nav::-webkit-scrollbar {
    display: none;
  }
  .providers-nav-sep {
    display: none;
  }
  .providers-nav-link {
    order: 0;
  }
  .providers-nav-cat {
    order: 1;
  }
  .providers-nav .active {
    order: -1;
  }
  table.compare-table tr + tr th {
    width: 110px;
  }
  table.compare-table th,
  table.compare-table td {
    padding: 10px 12px;
  }
  .providers-header {
    margin-bottom: 24px;
  }
  h1.providers-title {
    font-size: 26px;
  }
  .providers-subtitle {
    font-size: 15px;
  }
  table.provider-facts th {
    width: 130px;
    padding: 10px 12px;
  }
  .az-row {
    grid-template-columns: 1fr;
  }
  .az-liner {
    grid-column: 1;
    grid-row: auto;
  }
  .provider-prevnext {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
