.lse-quotes[data-phone-testimonials] {
  padding-block: 4px 4px;
}
.lse-quotes[data-phone-testimonials] .lse-quotes__slide {
  display: none;
}
.lse-quotes[data-phone-testimonials] .lse-quotes__slide[data-active] {
  display: block;
}
.lse-quotes[data-phone-testimonials] blockquote {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.125rem;
  margin: 0;
}
.lse-quotes blockquote:has(.lse-phone-line)::before,
.lse-quotes blockquote:has(.lse-phone-line)::after {
  content: none;
}
.lse-quotes[data-phone-testimonials] .lse-phone-line {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lse-quotes[data-phone-testimonials] .lse-phone-line[data-compact-quote] {
  font-size: 1rem;
}
.lse-quotes .lse-phone-more {
  flex: none;
  min-height: 2.125rem;
  padding: 0 .125rem;
  background: transparent;
  color: inherit;
  border: 0;
  text-decoration: underline;
  text-underline-offset: .18em;
  font: 600 .75rem/1.25 system-ui, sans-serif;
  white-space: nowrap;
}
.lse-quotes[data-phone-testimonials] figcaption {
  align-content: center;
  min-height: 2.125rem;
  font-size: .875rem;
}
.lse-quotes .lse-phone-credit-text {
  white-space: nowrap;
}
.lse-quotes .lse-phone-credit-text[data-small-credit] {
  font-size: .75rem;
}
.lse-quotes .lse-phone-credit-text[data-small-credit="smallest"] {
  font-size: .6875rem;
}
.lse-quotes[data-phone-testimonials]:has(.lse-quotes__controls:not([hidden])) figcaption {
  padding-inline-end: 2.5rem;
}
.lse-quotes[data-phone-testimonials] .lse-quotes__controls {
  position: absolute;
  inset: auto 0 0 auto;
}
.lse-quotes[data-phone-testimonials] .lse-quotes__controls button {
  min-height: 2.375rem;
}
.lse-phone-quote-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  margin: auto;
  padding: 3rem 1.25rem 1.25rem;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--white, #fdfcf6);
  border: 1px solid var(--line, #d6dcd0);
  border-radius: .75rem;
  color: var(--ink, #183e36);
}
.lse-phone-quote-dialog::backdrop {
  background: rgb(20 54 46 / .35);
}
.lse-phone-quote-close {
  position: absolute;
  inset: .25rem .25rem auto auto;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: 400 1.5rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.lse-phone-quote-close:hover {
  background: var(--green, #e9eee1);
}
.lse-phone-quote-dialog .lse-phone-quote-full {
  margin: 0;
  font: italic 400 1.25rem/1.4 Georgia, serif;
  overflow-wrap: anywhere;
}
.lse-phone-quote-dialog .lse-phone-quote-credit {
  margin: .75rem 0 0;
  font: 600 .875rem/1.4 system-ui, sans-serif;
}

.masthead .account-short {
  display: none;
}

@media (max-width: 600px), (max-width: 950px) and (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
  .masthead {
    flex-wrap: nowrap;
    gap: .5rem;
    padding: .375rem var(--masthead-gutter);
  }
  .masthead[data-ogham-type] .brand {
    flex: none;
    gap: clamp(.25rem, 1.2vw, .625rem);
    white-space: nowrap;
  }
  .masthead[data-ogham-type] .brand img {
    width: clamp(1.625rem, 8.25vw, 3.25rem);
  }
  .masthead[data-ogham-type] .brand-name {
    font-size: clamp(1rem, 5.15vw, 1.625rem);
  }
  .masthead[data-ogham-type] .brand small {
    font-size: clamp(.375rem, 1.8vw, .6875rem);
    margin-top: .18rem;
  }
  .masthead .primary-navigation {
    flex: none;
    flex-wrap: nowrap;
    gap: clamp(.125rem, 1vw, .5625rem);
    white-space: nowrap;
  }
  .masthead .account-navigation summary,
  .masthead .nav-call,
  .masthead .mobile-navigation > summary {
    justify-content: center;
    min-height: 44px;
  }
}

.lse-quotes[data-phone-testimonials]:not([hidden]) + main #home-view > .hero {
  padding-block-start: .5rem;
  align-items: start;
}

@media (max-width: 480px) {
  .masthead .account-navigation summary {
    gap: .2rem;
    padding-inline: .2rem;
  }
  .masthead .account-navigation summary svg {
    width: .875rem;
    height: .875rem;
  }
  .masthead .account-navigation summary .account-full {
    display: none;
  }
  .masthead .account-navigation summary .account-short {
    display: inline;
  }
  .masthead .nav-call,
  .masthead .mobile-navigation > summary {
    padding-inline: clamp(.25rem, 1.45vw, .625rem);
  }
  .masthead .mobile-navigation > summary {
    gap: .2rem;
  }
}
