/* V33 corrective update — built directly on V31; original hero and three actions retained. */
/* No extra promotional sentence; keep the three actions visible over every slide. */
.md31-hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 27px);
  margin-top: 10px;
  position: relative;
  z-index: 3;
}
.md31-hero-actions > .hero-button,
.md31-hero-actions > .md17-hero-secondary,
.md31-hero-actions > .md31-call-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
  width: auto;
  min-height: 42px;
  padding: 4px 0 !important;
  margin: 0;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(13px, 1.14vw, 16px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .005em;
  text-align: left;
  text-decoration: none !important;
  text-shadow: 0 2px 5px #071820, 0 0 11px #071820, 0 0 2px #071820;
  white-space: normal;
  cursor: pointer;
}
.md31-hero-actions > :is(a,button):hover,
.md31-hero-actions > :is(a,button):focus-visible {
  color: #fff1d9 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}
.md31-hero-actions > :is(a,button):focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: 5px;
}
/* The top 'Request a tailored quote' is also a text link, without a frame. */
.header .header-cta,
.header .header-cta:hover,
.header .header-cta:focus-visible {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
  color: #153e48 !important;
}
.header .header-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .md31-hero-actions { gap: 8px 20px; margin-top: 4px; }
  .md31-hero-actions > .hero-button,
  .md31-hero-actions > .md17-hero-secondary,
  .md31-hero-actions > .md31-call-button {
    min-height: 38px;
    font-size: 14px;
    padding: 5px 0 !important;
  }
}
@media (max-width: 420px) {
  .md31-hero-actions > .md17-hero-secondary { order: initial; width: auto; }
  .md31-hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-content { padding-bottom: 90px; }
}
