.hpd-choice-directory-body {
  --hpd-blue-50: #fff8eb;
  --hpd-blue-100: #ffe8bd;
  --hpd-blue-700: #f2a536;
  --hpd-blue-800: #d68600;
  --hpd-blue-900: #b96500;
  --hpd-green-50: #edf8f2;
  --hpd-green-700: #007a5a;
  --hpd-orange-50: #fff4e1;
  --hpd-orange-700: #b96500;
}

.hpd-choice-directory-body .hpd-dir-header__actions a:first-child,
.hpd-choice-directory-body .hpd-dir-chip.is-active,
.hpd-choice-directory-body .hpd-dir-primary-cta {
  background: #f2a536;
  border-color: #f2a536;
  color: #171b26;
}

.hpd-choice-directory-body .hpd-dir-primary-cta span {
  color: #171b26;
}

.hpd-choice-directory-body .hpd-dir-region,
.hpd-choice-directory-body .hpd-dir-list-head p,
.hpd-choice-directory-body .hpd-dir-side-box strong,
.hpd-choice-directory-body .hpd-dir-feature-row span {
  color: #007a5a;
}

.hpd-choice-directory-body .hpd-dir-region {
  color: #fff;
}

.hpd-choice-directory-body .hpd-dir-card__badges span:not(.hpd-dir-pr),
.hpd-choice-directory-body .hpd-dir-feature-row span {
  background: #fff8eb;
  border-color: #ffe0a3;
}

.hpd-choice-directory-body .hpd-dir-card__media--glyph {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background:
    linear-gradient(135deg, rgba(242, 165, 54, .18), rgba(0, 122, 90, .12)),
    #fff;
}

.hpd-choice-directory-body .hpd-dir-card__glyph {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--hpd-gray-300);
  color: var(--hpd-gray-900);
  font-size: 2.25rem;
  font-weight: 900;
  box-shadow: var(--hpd-shadow);
}

.hpd-choice-directory-body .choice-footer {
  margin-top: 0;
}

.hpd-dir-intro,
.hpd-dir-compare,
.hpd-dir-area-index,
.hpd-dir-related {
  background: #fff;
  border-top: 1px solid var(--hpd-gray-200);
  padding: 32px 0;
}

.hpd-dir-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.hpd-dir-intro-card,
.hpd-dir-area-card,
.hpd-dir-related__box {
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: #fff;
  padding: 24px;
}

.hpd-dir-intro-card {
  max-width: 920px;
}

.hpd-dir-intro-card h2,
.hpd-dir-area-card h3,
.hpd-dir-related__box h2 {
  margin: 0 0 12px;
  color: var(--hpd-gray-900);
  letter-spacing: 0;
}

.hpd-dir-intro-card p,
.hpd-dir-area-card p {
  margin: 0;
  color: var(--hpd-gray-700);
  font-weight: 700;
  line-height: 1.9;
}

.hpd-dir-intro-card p + p {
  margin-top: 12px;
}

.hpd-dir-intro-card--compact dl,
.hpd-dir-area-card dl {
  display: grid;
  gap: 0;
  margin: 12px 0 16px;
  border: 1px solid var(--hpd-gray-300);
  border-radius: 8px;
  overflow: hidden;
}

.hpd-dir-intro-card--compact dl div,
.hpd-dir-area-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid var(--hpd-gray-300);
}

.hpd-dir-intro-card--compact dl div:last-child,
.hpd-dir-area-card dl div:last-child {
  border-bottom: 0;
}

.hpd-dir-intro-card--compact dt,
.hpd-dir-area-card dt {
  padding: 10px 12px;
  background: var(--hpd-gray-50);
  font-weight: 900;
}

.hpd-dir-intro-card--compact dd,
.hpd-dir-area-card dd {
  margin: 0;
  padding: 10px 12px;
  font-weight: 800;
  color: var(--hpd-gray-700);
}

.hpd-dir-area-pills,
.hpd-dir-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hpd-dir-area-pills a,
.hpd-dir-related-links a,
.hpd-dir-area-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffe0a3;
  border-radius: 999px;
  background: #fff8eb;
  color: #b96500;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
}

.hpd-dir-area-pills span {
  color: #007a5a;
}

.hpd-dir-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: #fff;
}

.hpd-dir-compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.hpd-dir-compare-table th,
.hpd-dir-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hpd-gray-200);
  text-align: left;
  vertical-align: top;
  font-weight: 800;
}

.hpd-dir-compare-table th {
  background: #f6f8fb;
  color: var(--hpd-gray-900);
  white-space: nowrap;
}

.hpd-dir-compare-table td {
  color: var(--hpd-gray-700);
}

.hpd-dir-compare-table a {
  color: #005bac;
  font-weight: 900;
}

.hpd-dir-mini-pr {
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  min-width: 32px;
  height: 28px;
  border-radius: 6px;
  background: #171b26;
  color: #fff;
  font-size: .8rem;
}

.hpd-dir-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hpd-dir-area-card a {
  margin-top: 16px;
  border-radius: 8px;
}

.hpd-dir-related__box {
  display: grid;
  gap: 16px;
}

.hpd-dir-related-links {
  align-items: center;
}

.hpd-dir-related-links span {
  flex: 0 0 160px;
  color: var(--hpd-gray-900);
  font-weight: 900;
}

@media (max-width: 760px) {
  .hpd-dir-intro,
  .hpd-dir-compare,
  .hpd-dir-area-index,
  .hpd-dir-related {
    padding: 24px 0;
  }

  .hpd-dir-intro__grid,
  .hpd-dir-area-grid {
    grid-template-columns: 1fr;
  }

  .hpd-dir-intro-card,
  .hpd-dir-area-card,
  .hpd-dir-related__box {
    padding: 18px;
  }

  .hpd-dir-intro-card--compact dl div,
  .hpd-dir-area-card dl div {
    grid-template-columns: 96px 1fr;
  }

  .hpd-dir-related-links span {
    flex-basis: 100%;
  }
}
