/* The background and overlay share the original, uncropped 1915 x 821 canvas. */
.tss-home-hero {
  position: relative;
  width: 100%;
  margin: 0;
  isolation: isolate;
  background: #fff;
}
.tss-home-hero__canvas { position: relative; width: 100%; }
.tss-home-hero__image { display: block; width: 100%; height: auto; aspect-ratio: 1915 / 821; }
.tss-home-hero__overlay { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.tss-home-hero__overlay a { cursor: pointer; }
.tss-home-hero__overlay a:focus { outline: none; }
.tss-home-hero__overlay a:focus-visible > g > rect { stroke: #071c3d; stroke-width: 5; }
.tss-home-hero__overlay a:hover > g > rect { stroke: #071c3d; stroke-width: 3; }

/* The same content supplies semantic HTML and the small-screen layout. */
.tss-home-hero__copy h1 { color: var(--tss-hero-heading); }
.tss-home-hero__subheading { color: var(--tss-hero-subheading); }
.tss-home-hero__support { color: var(--tss-hero-support); }
.tss-home-hero__copy h1 span,
.tss-home-hero__support span { display: block; }
.tss-home-hero__actions { display: none; }
.tss-home-hero .tss-hero-carousel-reserve:empty { display: none; }

@media (min-width: 1200px) {
  .tss-home-hero__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .tss-home-hero .tss-hero-carousel-reserve {
    position: absolute;
    left: 56%;
    top: 12%;
    width: 39%;
    height: 80%;
  }
  .tss-home-hero .tssfc { grid-template-rows: auto 292px 44px auto 18px; }
  .tss-home-hero .tssfc__stage { min-height: 292px; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .tss-home-hero:has(.tss-hero-carousel-reserve:not(:empty)) { min-height: 640px; }
  .tss-home-hero .tssfc__header h2 { font-size: 26px; }
}
@media (max-width: 1199px) {
  .tss-home-hero { display: flex; flex-direction: column; }
  .tss-home-hero__canvas { order: 1; }
  .tss-home-hero__overlay { display: none; }
  .tss-home-hero__copy {
    order: 2;
    position: relative;
    width: min(100% - 40px, 620px);
    margin: 0 auto;
    padding: 26px 0 34px;
  }
  .tss-home-hero__copy h1 {
    margin: 0;
    font-family: inherit;
    font-size: clamp(2rem, 5.4vw, 3.14rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: normal;
    overflow-wrap: anywhere;
  }
  .tss-home-hero__subheading { margin: 20px 0 0; font-size: clamp(1.15rem, 3vw, 1.63rem); font-weight: 700; line-height: 1.3; }
  .tss-home-hero__support { margin: 22px 0 0; font-size: 1.125rem; line-height: 1.5; }
  .tss-home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 25px; }
  .tss-home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    padding: 12px 20px;
    border-radius: 7px;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .tss-home-hero__button--primary { color: #fff; background: linear-gradient(#0a6db7, #0863a7); border: 1px solid #3a94ca; }
  .tss-home-hero__button--secondary { color: #111d3e; background: linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.88)); border: 2px solid #f28f61; }
  .tss-home-hero__button--primary:hover { color: #fff; }
  .tss-home-hero__button--secondary:hover { color: #111d3e; }
  .tss-home-hero__button:focus-visible { outline: 3px solid #071c3d; outline-offset: 4px; }
  .tss-home-hero .tss-hero-carousel-reserve { order: 3; position: relative; width: min(100% - 24px, 620px); height: auto; margin: 0 auto; padding: 12px 0 30px; }
  .tss-home-hero .tssfc { grid-template-rows: auto 272px 44px auto 18px; }
  .tss-home-hero .tssfc__stage { min-height: 272px; }
}
