html {
  --sticky-header-height: 80px;
  scroll-padding-top: calc(var(--sticky-header-height) + 12px);
}
.with-calc-entry {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #f6f2e9;
  column-gap: clamp(12px, 1.4vw, 24px);
}
.with-calc-entry #mobile-menu {
  max-height: calc(100vh - var(--sticky-header-height));
  max-height: calc(100dvh - var(--sticky-header-height));
  overscroll-behavior: contain;
}
@media (min-width: 601px) {
  .with-calc-entry + main .hero {
    margin-top: calc(-1 * var(--sticky-header-height));
    padding-top: var(--sticky-header-height);
  }
}
.calc-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 15px;
  margin-left: auto;
  border: 1px solid #859781;
  border-radius: 999px;
  background: #dce6d6;
  color: #213e33;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}
.calc-entry:hover { background: #cfdcc8; }
.calc-entry:focus-visible { outline: 2px solid #284d3d; outline-offset: 3px; }
.with-calc-entry .tel { margin-left: 0; }
.calc-qualifier { display: none; }
.calc-glyph {
  display: inline-block;
  flex: none;
  width: 15px;
  height: 18px;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(currentColor, currentColor) center 3px / 8px 2px no-repeat,
    radial-gradient(circle, currentColor 1px, transparent 1.3px) center 7px / 4px 4px repeat-x,
    radial-gradient(circle, currentColor 1px, transparent 1.3px) center 11px / 4px 4px repeat-x;
}
@media (min-width: 1121px) and (max-width: 1260px) {
  .with-calc-entry { column-gap: 12px; padding-inline: 24px; }
  .with-calc-entry .topnav { gap: 10px; }
  .with-calc-entry .brand img { width: 145px; }
}
@media (max-width: 650px) {
  html { --sticky-header-height: 110px; }
  .with-calc-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand phone menu" "calculator calculator calculator";
    gap: 8px;
  }
  .with-calc-entry .brand { grid-area: brand; justify-self: start; }
  .with-calc-entry .tel { grid-area: phone; }
  .with-calc-entry .menu { grid-area: menu; }
  .calc-entry {
    grid-area: calculator;
    justify-content: flex-start;
    margin: 0;
    border-radius: 5px;
  }
  .calc-qualifier { display: inline; }
}
@media print {
  .with-calc-entry { position: static; }
  .with-calc-entry + main .hero { margin-top: 0; padding-top: 0; }
}
