/* Mobile home carousel. The shared stage fits the longest translated offer. */
@media (max-width: 767px) {
  body#index .sv-home .sv-slides {
    --hero-inset: clamp(15px, 4.2vw, 23px);
    margin: 0 var(--sv-home-edge);
    width: auto;
  }
  body#index .sv-slides .sv-offer-stage > .sv-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(clamp(142px, 45vw, 224px), 1fr) max-content;
    align-content: stretch;
    align-items: stretch;
    min-height: 0;
    height: auto;
    gap: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--sv-line);
    border-radius: 18px;
    background: var(--sv-surface);
  }
  body#index .sv-slides .sv-offer-stage > [hidden] { display: none !important; }
  body#index .sv-offer-stage .sv-hero .sv-hero-visual {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    mask-image: none;
    background: #101e34;
  }
  body#index .sv-offer-stage .sv-hero .sv-hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center 62%;
  }
  body#index .sv-offer-stage :is(.gd2-offer,.sv-iptv-offer) .sv-hero-visual {
    background: radial-gradient(ellipse at 50% 115%, #42658c 0%, #1e3555 48%, #0b182b 92%);
  }
  body#index .sv-offer-stage :is(.gd2-offer,.sv-iptv-offer) .sv-hero-visual img {
    object-fit: contain;
    object-position: center;
    padding: 6px;
    box-sizing: border-box;
  }
  body#index .sv-offer-stage .sv-hero .sv-hero-copy {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-row: 2;
    grid-column: 1;
    width: auto;
    max-width: none;
    min-width: 0;
    gap: 7px;
    padding: 16px var(--hero-inset);
    color: var(--sv-ink);
  }
  body#index .sv-offer-stage .sv-hero .sv-eyebrow { display: none; }
  body#index .sv-offer-stage .sv-hero .sv-slide-title {
    margin: 0;
    font-size: clamp(23px, 5.8vw, 31px);
    line-height: 1.09;
    letter-spacing: -.035em;
    text-wrap: balance;
    max-width: none;
  }
  body#index .sv-offer-stage .sv-hero .sv-hero-intro,
  body#index .sv-offer-stage .sv-hero .sv-hero-intro p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.43;
  }
  body#index .sv-offer-stage .sv-hero .sv-source { margin-top: 4px; font-size: .84rem; }
  body#index .sv-offer-stage .sv-brand,
  body#index .sv-offer-stage .gd2-logo {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    margin: 0;
  }
  body#index .sv-offer-stage .sv-brand { padding: 4px 7px; border-radius: 7px; }
  body#index .sv-offer-stage .sv-brand img { width: auto; max-width: 102px; height: 18px; object-fit: contain; }
  body#index .sv-offer-stage .sv-brand-tod { padding: 0; }
  body#index .sv-offer-stage .sv-brand-tod img { height: 30px; }
  body#index .sv-offer-stage .gd2-logo { width: 70px; height: auto; padding: 4px 6px; border-radius: 7px; background: #fff; }
  body#index .sv-offer-stage .gd2-cert { font-size: .87rem; margin: 0; gap: 6px; }
  body#index .sv-offer-stage .gd2-price { gap: 9px; margin: 0; font-size: .82rem; }
  body#index .sv-offer-stage .gd2-price strong { font-size: 1.45rem; }
  body#index .sv-offer-stage .iptv-devices { margin: 0; font-size: .82rem; gap: 4px 12px; }
  body#index .sv-offer-stage .sv-hero .sv-hero-actions {
    width: 100%;
    margin: auto 0 0;
    padding-top: 5px;
  }
  body#index .sv-offer-stage .sv-hero .sv-button {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: .93rem;
    line-height: 1.25;
  }
  body#index .sv-home .sv-slide-controls { display: none; }
}
