/*
  Jouet live patch v100
  Purpose: keep the homepage hero CTA buttons visible on first load for common laptop
  and short mobile screens.
*/

@media (min-width: 901px) and (max-height: 820px) {
  .jouet-prototype-entry,
  .jouet-prototype-entry__content {
    min-height: calc(100svh - 136px);
  }

  .jouet-prototype-entry__content {
    padding: 14px 20px 12px;
  }

  .jouet-prototype-entry__content-shell {
    transform: translateY(-1vh) scale(.88);
    transform-origin: center center;
  }

  .jouet-prototype-entry__logo-wrap {
    margin-bottom: 8px;
  }

  .jouet-prototype-entry__logo {
    width: min(100%, 340px);
  }

  .jouet-prototype-entry__eyebrow {
    margin-bottom: 6px;
    font-size: clamp(.86rem, 1.1vw, 1rem);
  }

  .jouet-prototype-entry__title {
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    line-height: .9;
  }

  .jouet-prototype-entry__description {
    max-width: 26ch;
    margin-top: 10px;
    font-size: clamp(.95rem, 1.1vw, 1.05rem);
    line-height: 1.35;
  }

  .jouet-prototype-entry__actions {
    margin-top: 16px;
  }

  .jouet-prototype-entry__primary,
  .jouet-prototype-entry__secondary {
    min-height: 50px;
    padding-inline: 24px;
  }
}

@media (min-width: 901px) and (max-height: 740px) {
  .jouet-prototype-entry__content-shell {
    transform: translateY(-2vh) scale(.82);
  }

  .jouet-prototype-entry__logo {
    width: min(100%, 300px);
  }

  .jouet-prototype-entry__title {
    font-size: clamp(2.45rem, 4vw, 3.45rem);
  }

  .jouet-prototype-entry__description {
    margin-top: 8px;
    font-size: .92rem;
  }

  .jouet-prototype-entry__actions {
    margin-top: 12px;
  }
}

@media (max-width: 900px) and (max-height: 760px) {
  .jouet-prototype-entry__content {
    padding: 10px 14px 12px;
  }

  .jouet-prototype-entry__logo-wrap {
    margin-bottom: 8px;
  }

  .jouet-prototype-entry__logo {
    width: min(100%, 190px);
  }

  .jouet-prototype-entry__eyebrow {
    margin-bottom: 5px;
    font-size: .82rem;
  }

  .jouet-prototype-entry__title {
    font-size: clamp(1.85rem, 8vw, 2.65rem);
    line-height: .92;
  }

  .jouet-prototype-entry__description {
    max-width: 24ch;
    margin-top: 8px;
    font-size: .88rem;
    line-height: 1.3;
  }

  .jouet-prototype-entry__actions {
    max-width: 300px;
    margin-top: 12px;
    gap: 10px;
  }

  .jouet-prototype-entry__primary,
  .jouet-prototype-entry__secondary {
    min-height: 48px;
    padding-inline: 20px;
  }
}

@media (max-width: 900px) and (max-height: 700px) {
  .jouet-prototype-entry__glyph {
    display: none;
  }

  .jouet-prototype-entry__logo {
    width: min(100%, 160px);
  }

  .jouet-prototype-entry__title {
    font-size: clamp(1.75rem, 7.2vw, 2.35rem);
  }

  .jouet-prototype-entry__description {
    max-width: 25ch;
    font-size: .82rem;
    line-height: 1.25;
  }

  .jouet-prototype-entry__primary,
  .jouet-prototype-entry__secondary {
    min-height: 44px;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .jouet-prototype-entry,
  .jouet-prototype-entry__content {
    min-height: calc(100svh - 112px);
  }

  .jouet-prototype-entry__content {
    padding-block: 8px;
  }

  .jouet-prototype-entry__content-shell {
    transform: translateY(-1vh) scale(.72);
    transform-origin: center center;
  }

  .jouet-prototype-entry__logo-wrap {
    margin-bottom: 6px;
  }

  .jouet-prototype-entry__logo {
    width: min(100%, 130px);
  }

  .jouet-prototype-entry__eyebrow {
    display: none;
  }

  .jouet-prototype-entry__title {
    max-width: 16ch;
    font-size: clamp(1.75rem, 4.2vw, 2.15rem);
    line-height: .9;
  }

  .jouet-prototype-entry__description {
    display: none;
  }

  .jouet-prototype-entry__actions {
    margin-top: 10px;
  }
}
