/* Public-facing navigation, shared by fixed-page blocks and the original shortcodes. */
.hb-site .hb-main :is(.hb-visit, .hb-law-links) {
  --visit-ink: #244a39;
  --visit-muted: #465f51;
  --visit-line: #bdcdb4;
  --visit-green: #2c5947;
  --visit-paper: #fffdf5;
  width: 100%;
  max-width: none;
  margin: 0;
}
.hb-site .hb-main .hb-discover .hb-visit {
  margin-top: clamp(35px, 4vw, 64px);
}
.hb-site .hb-main :is(.tkb-section, .hb-section) .hb-visit,
.hb-site .hb-main :is(.tkb-section, .hb-section) .hb-law-links {
  margin-top: clamp(19px, 2.2vw, 34px);
}
.hb-site .hb-main > :is(.hb-visit, .hb-law-links) {
  width: min(100% - 44px, 1120px);
  margin: clamp(28px, 3.5vw, 56px) auto;
}
.hb-site .hb-main .hb-visit :is(.hb-visit-facts, .hb-visit-actions, .hb-visit-more, .hb-visit-fact, .hb-visit-entry),
.hb-site .hb-main .hb-law-links p {
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
}
.hb-site .hb-main :is(.hb-visit, .hb-law-links) .wp-block-group__inner-container {
  display: contents;
}

.hb-site .hb-main .hb-visit-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--visit-line);
  border-radius: 5px 26px 5px 26px;
  background: var(--visit-paper);
  color: var(--visit-ink);
}
.hb-site .hb-main .hb-visit-fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 2.3vw, 34px) clamp(17px, 2.45vw, 38px) clamp(10px, 1.5vw, 20px);
}
.hb-site .hb-main .hb-visit-fact + .hb-visit-fact {
  border-inline-start: 1px solid var(--visit-line);
}
.hb-site .hb-main .hb-visit-fact :is(h3, h4) {
  margin: 0 0 .46em;
  color: var(--visit-ink);
  font: 600 clamp(20px, 1.55vw, 26px)/1.5 var(--serif);
  letter-spacing: .025em;
}
.hb-site .hb-main .hb-visit-fact p {
  margin: 0;
  max-width: 35em;
  color: var(--visit-muted);
  font: 400 clamp(16px, 1.07vw, 18px)/1.8 var(--sans);
  overflow-wrap: anywhere;
}
.hb-site .hb-main .hb-visit .hb-visit-fact p.hb-visit-link {
  margin: auto 0 0;
  padding-top: .5em;
}
.hb-site .hb-main .hb-visit-link :is(a, .hb-pending),
.hb-site .hb-main .hb-visit-more :is(a, .hb-pending) {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-height: 44px;
  color: var(--visit-green);
  font: 600 15px/1.6 var(--sans);
  text-decoration: none;
}
.hb-site .hb-main :is(.hb-visit-link, .hb-visit-more) a[href]::after,
.hb-site .hb-main .hb-law-links a[href]::after {
  content: "";
  width: .47em;
  height: .47em;
  border-block-start: 1.7px solid currentColor;
  border-inline-end: 1.7px solid currentColor;
  transform: rotate(45deg);
  flex: none;
}
.hb-site .hb-main :is(.hb-visit-link, .hb-visit-more) a[href]:hover {
  color: #653e21;
  text-decoration: underline;
  text-underline-offset: .26em;
}

.hb-site .hb-main .hb-visit .hb-visit-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.4vw, 22px);
  margin: clamp(20px, 2vw, 32px) 0 0;
}
.hb-site .hb-main .hb-visit-entry {
  --entry-ground: #2d5948;
  --entry-ink: #fffdf3;
  --entry-copy: #eef3e6;
  --entry-arrow: #e8efcf;
  --entry-arrow-ink: #234838;
  position: relative;
  display: grid;
  align-content: center;
  padding: clamp(17px, 1.8vw, 26px) clamp(68px, 6vw, 94px) clamp(17px, 1.8vw, 26px) clamp(19px, 2vw, 32px);
  border-radius: 4px 18px 4px 18px;
  background: var(--entry-ground);
  color: var(--entry-ink);
}
.hb-site .hb-main .hb-visit-entry + .hb-visit-entry {
  --entry-ground: #f5dda0;
  --entry-ink: #4e3f20;
  --entry-copy: #54462b;
  --entry-arrow: #fffae6;
  --entry-arrow-ink: #67502a;
}
.hb-site .hb-main .hb-visit-entry :is(h3, h4) {
  margin: 0;
  color: var(--entry-ink);
  font: 600 clamp(23px, 1.85vw, 31px)/1.4 var(--serif);
  letter-spacing: .025em;
}
.hb-site .hb-main .hb-visit-entry :is(h3, h4) :is(a, .hb-pending) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
/* Keep the explicit line break between the invitation and the telephone number. */
.hb-site .hb-main .hb-visit-entry :is(h3, h4) a[href^="tel:"] {
  display: inline-block;
  font-variant-numeric: lining-nums tabular-nums;
}
.hb-site .hb-main .hb-visit-entry :is(h3, h4) a[href]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px 18px 4px 18px;
}
.hb-site .hb-main .hb-visit-entry :is(h3, h4) a[href]::after {
  content: "→" / "";
  position: absolute;
  top: 50%;
  right: clamp(16px, 1.8vw, 31px);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--entry-arrow);
  color: var(--entry-arrow-ink);
  font: 500 23px/1 var(--sans);
}
.hb-site .hb-main .hb-visit-entry p {
  margin: 0;
  max-width: 38em;
  color: var(--entry-copy);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.7;
}
.hb-site .hb-main .hb-visit-entry :is(h3, h4) a[href]:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.hb-site .hb-main .hb-visit-entry :is(h3, h4) a[href]:focus-visible::before {
  outline: 3px solid #8b471f;
  outline-offset: 3px;
}

.hb-site .hb-main .hb-visit .hb-visit-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: clamp(16px, 2vw, 32px);
  margin: 8px 0 0;
}
.hb-site .hb-main .hb-visit-more p {
  margin: 0;
}
.hb-site .hb-main .hb-visit-more :is(a, .hb-pending) {
  padding: 6px 3px;
}

.hb-site .hb-main .hb-law-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(22px, 4vw, 65px);
  border-block: 2px solid #759477;
  padding: 0 clamp(16px, 2vw, 30px);
  background: linear-gradient(105deg, #f1f6e6, #fffbee 78%);
}
.hb-site .hb-main .hb-law-links p {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--visit-line);
}
.hb-site .hb-main .hb-law-links p:nth-last-of-type(-n+2) {
  border-bottom: 0;
}
.hb-site .hb-main .hb-law-links p > :is(a, .hb-pending, span) {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 66px;
  padding: 10px clamp(6px, 1vw, 17px);
  color: var(--visit-ink);
  text-decoration: none;
  font: 600 clamp(16px, 1.1vw, 18px)/1.65 var(--sans);
}
.hb-site .hb-main .hb-law-links a[href]::after {
  color: #426a47;
}
.hb-site .hb-main .hb-law-links a[href]:hover {
  background: #e6efd7;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.hb-site .hb-main :is(.hb-visit, .hb-law-links) a[href]:focus-visible {
  outline: 3px solid #8b471f;
  outline-offset: 2px;
}
.hb-site .hb-main :is(.hb-visit-link, .hb-visit-more, .hb-law-links) :is(a[aria-disabled=true], .hb-pending) {
  color: #5f695e;
  font-weight: 400;
  cursor: default;
}
.hb-site .hb-main .hb-visit-entry:has(:is(a[aria-disabled=true], .hb-pending)) {
  --entry-ground: #e5e9dc;
  --entry-ink: #495749;
  --entry-copy: #526052;
}

@media (max-width: 740px) {
  .hb-site .hb-main .hb-visit-facts,
  .hb-site .hb-main .hb-visit .hb-visit-actions,
  .hb-site .hb-main .hb-law-links {grid-template-columns: minmax(0, 1fr)}
  .hb-site .hb-main .hb-visit-fact {
    padding: 19px 19px 8px;
  }
  .hb-site .hb-main .hb-visit-fact + .hb-visit-fact {
    border-inline-start: 0;
    border-block-start: 1px solid var(--visit-line);
  }
  .hb-site .hb-main .hb-visit-fact :is(h3, h4) {margin-bottom: .17em}
  .hb-site .hb-main .hb-visit .hb-visit-fact p.hb-visit-link {padding: 0}
  .hb-site .hb-main .hb-visit-entry {min-height: 102px}
  .hb-site .hb-main .hb-visit .hb-visit-more {
    display: grid;
    justify-content: stretch;
    gap: 0;
    margin-top: 14px;
  }
  .hb-site .hb-main .hb-visit-more p {border-bottom: 1px solid var(--visit-line)}
  .hb-site .hb-main .hb-visit-more :is(a, .hb-pending) {
    display: flex;
    justify-content: space-between;
    min-height: 47px;
    padding-inline: 5px;
  }
  .hb-site .hb-main .hb-law-links {padding: 0 10px}
  .hb-site .hb-main .hb-law-links p:nth-last-of-type(2) {border-bottom: 1px solid var(--visit-line)}
  .hb-site .hb-main .hb-law-links p > :is(a, .hb-pending, span) {min-height: 58px}
}

@media print {
  .hb-site .hb-main :is(.hb-visit, .hb-law-links) {width: 100%; margin: 8pt 0}
  .hb-site .hb-main :is(.hb-visit-facts, .hb-visit-entry, .hb-law-links) {color: black; background: white; break-inside: avoid}
  .hb-site .hb-main .hb-visit-entry {--entry-ink: black; --entry-copy: black; padding-inline: 0}
  .hb-site .hb-main .hb-visit-entry :is(h3, h4) a[href]::after {display: none}
}

/* The original home has no editorial photograph above its visitor links. */
.hb-site .hb-main .hb-visit-overview {
  width: 100%;
  max-width: none;
  margin: 0;
}
.hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) {
  display: grid;
  grid-template-columns: minmax(0, .38fr) minmax(0, .62fr);
  align-items: stretch;
  gap: clamp(17px, 2.4vw, 40px);
}
.hb-site .hb-main .hb-visit-photo {
  position: relative;
  min-width: 0;
  min-height: 240px;
  width: 100%;
  max-width: none;
  margin: 0;
}
.hb-site .hb-main .hb-visit-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14% 20% 9% 3% / 20% 26% 11% 5%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hb-site .hb-main .hb-visit-photo figcaption {
  position: absolute;
  inset: auto 6% 4% auto;
  margin: 0;
  border-radius: 3px;
  padding: 2px 7px;
  background: #263b2ee6;
  color: #fff;
  font: 400 12px/1.6 var(--sans);
}
.hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) .hb-visit-facts {
  grid-template-columns: minmax(0, 1fr);
  border-radius: 5px 20px 5px 20px;
}
.hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) .hb-visit-fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7em, auto);
  align-content: center;
  column-gap: clamp(9px, 1vw, 16px);
  padding: clamp(13px, 1.25vw, 19px) clamp(14px, 1.65vw, 26px);
}
.hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) .hb-visit-fact + .hb-visit-fact {
  border-inline-start: 0;
  border-block-start: 1px solid var(--visit-line);
}
.hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) .hb-visit-fact :is(h3, h4) {
  grid-column: 1;
  margin: 0 0 2px;
  font-size: clamp(20px, 1.37vw, 24px);
}
.hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) .hb-visit-fact p {grid-column: 1}
.hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) .hb-visit-fact p.hb-visit-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  margin: 0;
  padding: 0;
}
.hb-site .hb-main .hb-visit-entry :is(.hb-phone-number, .hb-visit-phone) {white-space: nowrap}

.hb-site .hb-main details.wp-block-details.hb-law-details {
  margin: clamp(17px, 1.7vw, 27px) 0 0;
  padding: 0;
  overflow: visible;
  border: 1px solid #9bb394;
  border-radius: 6px 18px 6px 18px;
  background: #f1f6e8;
  color: #274637;
}
.hb-site .hb-main .hb-law-details > summary {
  position: relative;
  display: block;
  min-height: 56px;
  margin: 0;
  padding: 14px 58px 14px clamp(15px, 1.65vw, 26px);
  list-style: none;
  border-radius: inherit;
  font: 600 clamp(17px, 1.25vw, 21px)/1.65 var(--sans);
  cursor: pointer;
}
.hb-site .hb-main .hb-law-details > summary::-webkit-details-marker {display: none}
.hb-site .hb-main .hb-law-details > summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(14px, 1.65vw, 26px);
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 1px solid #9ab090;
  border-radius: 50%;
  background:
    linear-gradient(#314f39 0 0) center / 12px 2px no-repeat,
    linear-gradient(#314f39 0 0) center / 2px 12px no-repeat,
    #fffdf5;
}
.hb-site .hb-main .hb-law-details[open] > summary::after {
  background: linear-gradient(#314f39 0 0) center / 12px 2px no-repeat, #fffdf5;
}
.hb-site .hb-main .hb-law-details > summary:hover {background-color: #e5efd9}
.hb-site .hb-main .hb-law-details > summary:focus-visible {
  outline: 3px solid #8b471f;
  outline-offset: 3px;
}
.hb-site .hb-main .hb-law-details .hb-law-links {
  width: auto;
  margin: 0 clamp(9px, 1.65vw, 26px) 5px;
  padding: 0;
  border-top: 1px solid var(--visit-line);
  border-bottom: 0;
  background: transparent;
}
.hb-site .hb-main .hb-law-details .hb-law-links p > :is(a, span) {min-height: 53px}
.hb-site .hb-main .hb-law-index,
.hb-site .hb-main .tkb-section p.hb-law-index {
  width: auto;
  max-width: none;
  margin: 8px 0 0;
  text-align: end;
}
.hb-site .hb-main .hb-law-index :is(a, span),
.hb-site .hb-main a.hb-law-index {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-height: 44px;
  color: #315d46;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.hb-site .hb-main .hb-law-index a[href]::after,
.hb-site .hb-main a.hb-law-index[href]::after {
  content: "";
  width: .47em;
  height: .47em;
  flex: none;
  border-block-start: 1.7px solid currentColor;
  border-inline-end: 1.7px solid currentColor;
  transform: rotate(45deg);
}
.hb-site .hb-main .hb-law-index a[href]:hover,
.hb-site .hb-main a.hb-law-index[href]:hover {text-decoration: underline}
.hb-site .hb-main .hb-law-index :is(.hb-pending, a[aria-disabled=true]) {color: #5f695e; font-weight: 400}

@media (max-width: 1000px) {
  .hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) {
    grid-template-columns: minmax(0, .35fr) minmax(0, .65fr);
    gap: 16px;
  }
}
@media (max-width: 740px) {
  .hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) {grid-template-columns: minmax(0, 1fr)}
  .hb-site .hb-main .hb-visit-photo {
    min-height: 0;
    height: auto;
    aspect-ratio: 2.25;
  }
  .hb-site .hb-main .hb-visit-photo img {object-position: 50% 42%}
}
@media (max-width: 520px) {
  .hb-site .hb-main .hb-visit-overview:has(.hb-visit-photo) .hb-visit-fact {
    display: block;
    padding: 14px 17px 4px;
  }
  .hb-site .hb-main .hb-law-index,
  .hb-site .hb-main .tkb-section p.hb-law-index {text-align: start}
}
