/* Typography and surfaces for the Local Welcome templates. */
.hb-local-body.hb-reading {
  --hb-ink: #292823;
  --hb-muted: #554f48;
  --hb-wine: #922447;
  --hb-rule: #dfd7ca;
  --hb-tint: #f5efe6;
  --hb-paper: #fffdf9;
  color: var(--hb-ink);
}
.hb-reading .header {
  background: var(--hb-paper);
  border-bottom: 1px solid var(--hb-rule);
  box-shadow: 0 2px 10px rgb(53 39 27 / 4%);
}
.hb-reading .header .navigation :is(a, summary):focus-visible,
.hb-reading #main :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #96552c;
  outline-offset: 3px;
}
.hb-reading #main :is(.page-intro, .article-heading, .quote-heading, .service-hero, .hero-copy, .bp-hero) h1 {
  letter-spacing: -.047em;
  line-height: 1.055;
  overflow-wrap: break-word;
}
.hb-reading #main :is(.page-intro, .quote-heading, .article-heading) {
  padding-block: clamp(2rem, 4.5vw, 4.25rem);
  border-bottom: 1px solid var(--hb-rule);
}
.hb-reading #main :is(.page-intro, .hero-copy, .service-hero, .quote-heading, .article-heading, .section, .section-top) .kicker {
  color: var(--hb-wine);
  font-size: .76rem;
  line-height: 1.5;
  letter-spacing: .1em;
  font-weight: 750;
}
.hb-reading #main :is(.page-intro, .hero-copy, .service-hero, .quote-heading, .article-heading) .kicker::before {
  content: "";
  display: inline-block;
  height: 2px;
  width: 1.7rem;
  margin-inline-end: .65rem;
  background: currentColor;
  vertical-align: .28em;
}
.hb-reading #main :is(.page-intro, .quote-heading, .hero-copy, .service-hero) p:not(.kicker, .small, .hb-plan-price) {
  line-height: 1.7;
  max-width: 66ch;
}
.hb-reading #main :is(h2,h3) { scroll-margin-top: 6rem; }
.hb-reading #main :is(.section, .section-top, .document-prose, .quote-layout) h2 {
  letter-spacing: -.032em;
  line-height: 1.16;
}
.hb-reading #main :is(.section,.section-top) p:not(.kicker,.small) { line-height: 1.7; }
.hb-reading #main .section.tint { background-color: var(--hb-tint); }
.hb-reading #main .section.wrap + .section.wrap { border-top: 1px solid var(--hb-rule); }
.hb-reading #main .bottom-cta h2 { text-wrap: balance; }

/* Each image is decorative; the heading and all links stay in reading order. */
.hb-reading.hb-has-cover #main :is(.page-intro, .article-heading) { position: relative; }
.hb-reading.hb-has-cover #main :is(.page-intro, .article-heading)::after {
  content: "";
  display: block;
  background: var(--hb-rule) var(--hb-cover) center / cover no-repeat;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgb(52 37 20 / 10%);
}
@media (min-width: 860px) {
  .hb-reading.hb-has-cover #main :is(.page-intro,.article-heading) {
    box-sizing: border-box;
    min-height: clamp(20rem,30vw,27rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-inline-end: min(42%,32rem);
  }
  .hb-reading.hb-has-cover #main :is(.page-intro,.article-heading)::after {
    position: absolute;
    inset-block: clamp(1.6rem, 3vw, 3rem);
    inset-inline-end: 0;
    width: 38%;
    max-width: 29rem;
  }
  .hb-reading.hb-has-cover #main :is(.page-intro,.article-heading) h1 {
    font-size: clamp(2.7rem,4.35vw,4.65rem);
    margin-block: .2em .32em;
  }
  .hb-reading.hb-has-cover .page-intro .guide-search { width: min(100%,32rem); margin-inline: 0; }
}
@media (max-width: 859px) {
  .hb-reading.hb-has-cover #main :is(.page-intro,.article-heading)::after {
    margin-top: 1.25rem;
    aspect-ratio: 2.45;
    max-height: 16rem;
  }
}

.hb-reading #main :is(.hb-plan-card, .service-summary, .bp-card, .hb-four-grid > article) {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid var(--hb-rule);
  border-radius: 14px;
  background-color: var(--hb-paper);
  box-shadow: 0 4px 14px rgb(62 45 26 / 5%);
}
.hb-reading #main :is(.hb-four-grid > article,.hb-plan-card,.bp-card) { padding: clamp(1.1rem,2.2vw,1.8rem); }
.hb-reading #main :is(.service-index,.steps .step-number) { color: var(--hb-wine); }
.hb-reading #main .guide-card { border-radius: 14px; overflow: hidden; }
.hb-reading #main .guide-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.hb-reading #main :is(.guide-card h3,.service-summary h2,.hb-plan-card h3,.bp-card h3) { line-height: 1.24; }
@media (hover: hover) {
  .hb-reading #main :is(a.guide-card, a.service-summary):hover { outline: 1px solid #af9283; outline-offset: 1px; }
}

/* Use the existing sequence and numbers as a visual guide. */
.hb-reading #main .steps > div {
  min-width: 0;
  border-inline-start: 3px solid #aa6f73;
  padding-inline-start: clamp(.9rem, 1.8vw, 1.5rem);
}
.hb-reading.page-id-3879 #main .section.wrap > ol {
  margin-inline: 0;
  padding: 0 0 0 2rem;
  max-width: 73ch;
  border-inline-start: 2px solid #c49d99;
}
.hb-reading.page-id-3879 #main .section.wrap > ol li { padding: .45rem 0 .45rem .35rem; }
.hb-reading.page-id-3879 #main .section.wrap > ol li::marker { color: var(--hb-wine); font-weight: 750; }
.hb-reading #main .prose { min-width: 0; }
.hb-reading #main .prose :is(p,li) { line-height: 1.78; }
.hb-reading #main .prose > p { max-width: 72ch; }
.hb-reading #main .article-aside .contents a { line-height: 1.5; }
.hb-reading #main .prose :is(h2,h3) { overflow-wrap: break-word; }
.hb-reading #main .prose > h2 {
  padding-top: .78em;
  border-top: 1px solid var(--hb-rule);
  line-height: 1.2;
}
.hb-reading #main .document-prose article + article { border-top: 1px solid var(--hb-rule); padding-top: 1.2rem; }
.hb-reading #main :is(.hb-plan-content,.document-prose) table { border-collapse: collapse; }
.hb-reading #main :is(.hb-plan-content,.document-prose) :is(th,td) {
  line-height: 1.55;
  padding: .72em .88em;
  vertical-align: top;
  border-bottom: 1px solid var(--hb-rule);
}
.hb-reading #main :is(.hb-plan-content,.document-prose) thead th { background-color: #eee6d9; color: var(--hb-ink); }
.hb-reading #main :is(.hb-plan-content,.document-prose) tbody tr:nth-child(even) > * { background-color: #faf7f1; }
.hb-reading #qform .field { line-height: 1.55; }
.hb-reading #qform :is(select,textarea,input:not([type=hidden],[type=radio],[type=checkbox])) {
  font-size: 1rem; color: var(--hb-ink); border-color: #aba49a; background: white; border-radius: .55rem;
}
@media (max-width: 700px) {
  .hb-reading #main .steps { grid-template-columns: minmax(0,1fr) !important; }
  .hb-reading #main :is(.page-intro,.quote-heading,.article-heading) { padding-block: 1.7rem; }
  .hb-reading #main :is(.section,.section-top) { padding-block: clamp(2rem,8vw,3.2rem); }
  .hb-reading #main .prose :is(p,li) { line-height: 1.7; }
  .hb-reading #main :is(.hb-plan-content,.document-prose) :is(th,td) { padding: .6em .55em; overflow-wrap: anywhere; }
  .hb-reading #main :is(.guide-categories,.guide-pagination) a { min-height: 40px; align-content: center; }
}
