/*
 * Десктопный hero тестовой страницы /destinations/los-angeles-summer-games-test.
 * Самодостаточный блок: без переменных, миксинов и наследования общих стилей.
 * Виден только от 768px, ниже работает мобильный hero (hero.less).
 */

.la-hero-d {
  display: none;
}

@media (min-width: 768px) {
  .la-hero-d {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 460px;
    background-color: #1e2440;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: OpenSansRegular, Arial, sans-serif;
  }

  .la-hero-d *,
  .la-hero-d *::before,
  .la-hero-d *::after {
    box-sizing: border-box;
  }

  .la-hero-d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(30, 36, 64, 0) 0%,
      rgba(30, 36, 64, 0.3) 40%,
      rgba(30, 36, 64, 0.82) 62%,
      #1e2440 100%
    );
  }

  .la-hero-d__inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 48px;
  }

  .la-hero-d__tagline {
    position: absolute;
    left: 20px;
    bottom: 48px;
    max-width: none;
    color: #fff;
    font-family: OpenSansBold, Arial, sans-serif;
    font-size: 26px;
    font-style: italic;
    font-weight: normal;
    letter-spacing: 0.3px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
  }

  @media (min-width: 1271px) {
    .la-hero-d__tagline {
      left: 0;
    }
  }

  .la-hero-d__text {
    position: relative;
    z-index: 2;
    max-width: 480px;
    padding: 0;
    text-align: right;
  }

  .la-hero-d__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.75);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
  }

  .la-hero-d__badge svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
  }

  .la-hero-d__title {
    margin: 0 0 10px;
    color: #fff;
    font-family: OpenSansBold, Arial, sans-serif;
    font-size: 32px;
    /* Синтетический жир поверх Bold-начертания — так же выглядят заголовки на остальном сайте. */
    font-weight: 700;
    line-height: 1.2;
  }

  .la-hero-d__dates {
    margin: 0 0 16px;
    color: #fff;
    font-family: OpenSansBold, Arial, sans-serif;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.3;
  }

  .la-hero-d__sub {
    max-width: 440px;
    margin: 0 0 26px auto;
    color: rgba(255, 255, 255, 0.72);
    font-family: inherit;
    font-size: 17px;
    line-height: 1.6;
  }

  .la-hero-d__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 24px;
  }

  .la-hero-d__btn {
    display: inline-block;
    margin: 0;
    padding: 13px 26px;
    border: 0;
    border-radius: 8px;
    font-family: OpenSansBold, Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  .la-hero-d__btn--solid {
    background: #cc6c2b;
    color: #fff;
  }

  .la-hero-d__btn--outline {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
  }

  .la-hero-d__credentials {
    display: none;
    grid-template-columns: auto auto;
    gap: 10px;
    justify-content: end;
  }

  .la-hero-d__credential {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
  }

  .la-hero-d__credential svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
  }

  .la-hero-d__credential a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #a9b9f9;
    text-decoration: none;
  }

  .la-hero-d__credential a:hover {
    text-decoration: underline;
  }
}
