.market-guide {
  background: #fff;
}

.market-guide .hero h1 {
  max-width: 15ch;
}

.market-guide .hero-copy {
  width: min(100%, 660px);
}

.area-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.area-entry {
  padding-top: 18px;
  border-top: 3px solid #087da0;
}

.area-entry-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.area-entry-heading h3,
.budget-entry h3,
.ownership-costs h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.25;
}

.guide-index {
  color: #b78120;
  font-size: 13px;
  font-weight: 850;
}

.area-locations {
  color: #087da0;
  font-size: 13px;
  font-weight: 750;
}

.area-entry > p:not(.area-locations) {
  color: var(--muted);
}

.area-check strong {
  color: var(--ink);
}

.guide-project-links,
.guide-inline-projects {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  list-style: none;
}

.guide-project-links li,
.guide-inline-projects li {
  min-width: 0;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.guide-project-links a,
.guide-inline-projects a {
  display: block;
  color: var(--blue);
  font-weight: 750;
  line-height: 1.35;
}

.guide-project-links span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.guide-summary dd {
  font-size: 16px;
}

.budget-section {
  background: #f3f7f9;
}

.budget-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
}

.budget-entry {
  padding-top: 16px;
  border-top: 2px solid #16969d;
}

.budget-entry p {
  color: var(--muted);
}

.budget-entry .guide-inline-projects {
  margin-top: 8px;
}

.ownership-costs {
  margin-top: 52px;
  padding: 28px 0 0;
  border-top: 1px solid #cbd9e1;
}

.ownership-costs > p {
  color: var(--muted);
}

.ownership-costs ul {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  list-style: none;
}

.ownership-costs li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid #cbd9e1;
}

.ownership-costs li::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16969d;
  content: "";
}

.market-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.market-steps li {
  padding-top: 12px;
  border-top: 2px solid #16969d;
}

.market-steps p {
  margin: 7px 0 0;
}

.guide-hub-link {
  padding: 26px max(22px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  background: #eaf2f5;
}

.guide-hub-link a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.guide-hub-link span {
  max-width: 74ch;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .area-entries {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .market-guide .hero-copy {
    width: 100%;
  }

  .market-guide .hero h1 {
    max-width: 18ch;
  }

  .guide-project-links,
  .guide-inline-projects,
  .budget-list,
  .ownership-costs ul,
  .market-steps {
    grid-template-columns: 1fr;
  }

  .guide-hub-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
