/* Scoped to the reviewed homepage price disclosure. */
.template-homepage .home-price-directory { margin-top: 1.75rem; border: 1px solid var(--hp-line); border-radius: 12px; background: #fff; }
.template-homepage .home-price-directory > summary { padding: 1.1rem 1.25rem; min-height: 56px; cursor: pointer; color: var(--hp-teal); font-size: 1.05rem; font-weight: 700; line-height: 1.5; }
.template-homepage .home-price-directory > summary:hover { background: var(--hp-soft); border-radius: 12px; }
.template-homepage .home-price-directory__count { display: inline-block; margin-left: .6rem; font-size: .875rem; color: var(--hp-ink); }
.template-homepage .home-price-directory__hide, .template-homepage .home-price-directory[open] .home-price-directory__show { display: none; }
.template-homepage .home-price-directory[open] .home-price-directory__hide { display: inline; }
.template-homepage .home-price-directory__content { border-top: 1px solid var(--hp-line); padding: 1.25rem; }
.template-homepage .home-price-directory__intro { max-width: 80ch; font-size: 1rem; line-height: 1.65; margin: 0 0 1.5rem; }
.template-homepage .home-price-directory__search { padding: 1rem; margin-bottom: 1.75rem; border-radius: 8px; background: var(--hp-soft); }
.template-homepage .home-price-directory__search label { display: block; margin-bottom: .55rem; font-size: 1rem; font-weight: 700; }
.template-homepage .home-price-directory__search > div { display: flex; gap: .75rem; }
.template-homepage .home-price-directory__search input { min-width: 0; flex: 1; min-height: 48px; padding: .7rem .85rem; border: 1px solid var(--hp-line); border-radius: 6px; font: inherit; font-size: 1rem; background: #fff; color: var(--hp-ink); }
.template-homepage .home-price-directory__search button { min-height: 48px; padding: .7rem 1rem; border: 1px solid var(--hp-teal); border-radius: 6px; font: inherit; font-size: 1rem; font-weight: 600; color: var(--hp-teal); background: #fff; cursor: pointer; }
.template-homepage .home-price-directory__status { margin: .6rem 0 0; font-size: .875rem; }
.template-homepage .home-price-directory__group + .home-price-directory__group { margin-top: 1.8rem; }
.template-homepage .home-price-directory__group h3 { margin: 0 0 .8rem; font-size: 1.25rem; line-height: 1.4; letter-spacing: 0; }
.template-homepage .home-price-directory table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 1rem; }
.template-homepage .home-price-directory thead th { background: var(--hp-soft); padding: .65rem .8rem; text-align: left; font-size: .875rem; font-weight: 600; }
.template-homepage .home-price-directory thead th:last-child { width: 22%; text-align: right; }
.template-homepage .home-price-directory tbody th, .template-homepage .home-price-directory td { padding: 1rem .8rem; border-bottom: 1px solid var(--hp-line); vertical-align: top; text-align: left; font-weight: 400; overflow-wrap: anywhere; }
.template-homepage .home-price-directory td { text-align: right; }
.template-homepage .home-price-directory td strong { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.5; }
.template-homepage .home-price-directory td > span { display: block; margin-top: .25rem; font-size: .875rem; }
.template-homepage .home-price-label { display: block; font-weight: 650; line-height: 1.5; }
.template-homepage .home-price-label a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding-block: .4rem; color: var(--hp-teal); text-decoration: underline; text-underline-offset: .2em; }
.template-homepage .home-price-directory__scope, .template-homepage .home-price-directory__alternative { display: block; margin-top: .35rem; max-width: 80ch; font-size: .9375rem; line-height: 1.6; }
.template-homepage .home-price-directory__alternative { color: var(--hp-teal); }
.template-homepage .home-price-directory [hidden] { display: none !important; }
.template-homepage .home-price-directory .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.template-homepage .home-price-directory :is(summary,a,input,button):focus-visible { outline: 3px solid var(--hp-teal); outline-offset: 3px; }
@media (max-width: 600px) {
  .template-homepage .home-price-directory__content { padding: 1rem .75rem; }
  .template-homepage .home-price-directory__search { padding: .85rem; }
  .template-homepage .home-price-directory__search > div { flex-direction: column; }
  .template-homepage .home-price-directory thead th:last-child { width: 30%; }
  .template-homepage .home-price-directory tbody th, .template-homepage .home-price-directory td, .template-homepage .home-price-directory thead th { padding-inline: .35rem; }
  .template-homepage .home-price-directory td strong { font-size: 1rem; }
}
