/* Final desktop treatment for the homepage industry-application scenes. */
@media (min-width: 761px) {
  .home-page #home-scenes .section-heading {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 30px;
  }

  .home-page #home-scenes .section-heading h2 {
    width: auto;
    margin: 0;
    padding-left: 18px;
    border-left-width: 4px;
    font-size: clamp(42px, 3.2vw, 56px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.035em;
  }

  .home-page #home-scenes .section-heading p {
    max-width: 600px;
    margin: 12px 0 0 22px;
    color: #506983;
    font-size: clamp(15px, 1vw, 17px);
    font-weight: 500;
    line-height: 1.7;
  }

  .home-page #home-scenes .scene-panorama {
    min-height: clamp(400px, 46vh, 430px);
    grid-template-columns: repeat(5, minmax(0, 1fr)) 40px;
    gap: 10px;
  }

  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) > span {
    box-sizing: border-box;
    height: 82px;
    min-height: 82px;
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
    border-top: 1px solid rgba(167, 205, 238, 0.2);
    background: rgba(3, 15, 33, 0.82);
    transition: height 0.32s ease, min-height 0.32s ease, background-color 0.32s ease, padding 0.32s ease;
  }

  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical):hover > span,
  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical):focus-visible > span {
    height: 152px;
    min-height: 152px;
    padding-top: 22px;
    background: rgba(3, 15, 33, 0.95);
  }

  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) strong {
    width: 100%;
    min-height: 0;
    display: block;
    color: #ffffff;
    font-size: clamp(18px, 1.1vw, 20px);
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
  }

  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) small {
    width: 100%;
    max-width: none;
    max-height: 0;
    margin-top: 0;
    display: block;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(12px, 0.76vw, 13px);
    font-weight: 520;
    line-height: 1.6;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: max-height 0.32s ease, margin-top 0.32s ease, opacity 0.22s ease 0.04s, transform 0.3s ease;
  }

  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical):hover small,
  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical):focus-visible small {
    max-height: 52px;
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
  }

  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) small > span {
    min-width: 0;
    display: block;
    text-align: center;
    white-space: normal;
  }

  .home-page #home-scenes .scene-all-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: auto;
    gap: 12px;
    border-color: transparent;
    color: #4d759d;
    background: transparent url("home-generated-v4/scene-all-button-image2.webp") center / 100% 107% no-repeat;
    box-shadow: none;
    backdrop-filter: none;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .home-page #home-scenes .scene-all-vertical:hover,
  .home-page #home-scenes .scene-all-vertical:focus-visible {
    color: #175d9f;
    background: transparent url("home-generated-v4/scene-all-button-image2.webp") center / 100% 107% no-repeat;
    box-shadow: none;
    transform: translateX(2px);
  }

  .home-page #home-scenes .scene-all-vertical > span {
    position: static;
    inset: auto;
    min-height: 0;
    padding: 0;
    display: block;
    color: currentColor;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }

  .home-page #home-scenes .scene-all-vertical > .ti {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: currentColor;
    background: transparent;
    font-size: 18px;
    line-height: 1;
  }

  .home-page #home-scenes .scene-more-links a:last-child {
    margin-left: 0;
    border-color: #c6d8ec;
    color: #38536f;
    background: #ffffff;
  }
}

@media (min-width: 761px) and (hover: none) {
  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) > span {
    height: 152px;
    min-height: 152px;
    padding-top: 22px;
    background: rgba(3, 15, 33, 0.95);
  }

  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) small {
    max-height: 52px;
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) > span,
  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) small {
    transition: none;
  }
}

@media (min-width: 1181px) {
  .home-page #home-scenes > .container {
    width: min(1380px, calc(100% - 48px)) !important;
  }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .home-page #home-scenes > .container {
    box-sizing: border-box;
    padding-right: 24px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .home-page #home-scenes .scene-panorama {
    min-height: 720px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-page #home-scenes .scene-panorama > a:last-child {
    grid-column: auto;
  }

  .home-page #home-scenes .scene-all-vertical > span {
    font-size: 16px;
    letter-spacing: 0.08em;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .home-page #home-scenes .scene-all-vertical > .ti {
    transform: none;
  }

  .home-page #home-scenes .scene-all-vertical {
    border-color: rgba(53, 122, 190, 0.2);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 28px rgba(35, 74, 116, 0.08);
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .home-page #home-scenes .scene-panorama {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .home-page #home-scenes .scene-panorama > a:not(.scene-all-vertical) > span {
    padding-inline: 22px;
  }
}
