/*
  Solution detail layout override, 2026-08-09.
  This file owns only solution detail background/sticky behavior.
*/

body.page-solutions main > article {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: #fff;
}

body.page-solutions main > article::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: clamp(330px, 26vw, 430px);
  right: 0;
  left: 0;
  height: clamp(760px, 62vw, 960px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .24) 30%, rgba(255, 255, 255, .14) 56%, rgba(255, 255, 255, .42) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .42) 16%, rgba(255, 255, 255, .06) 56%, rgba(246, 249, 251, .88) 100%),
    url("/assets/images/banners/solution-equipment-bridge.png") left 42% / cover no-repeat;
  filter: blur(.45px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .32) 8%, #000 18%, #000 78%, rgba(0, 0, 0, .28) 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .32) 8%, #000 18%, #000 78%, rgba(0, 0, 0, .28) 91%, transparent 100%);
}

body.page-solutions main > article > * {
  position: relative;
  z-index: 1;
}

body.page-solutions main > article > .section-soft {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
  background: transparent !important;
  background-image: none !important;
  background-attachment: scroll !important;
}

body.page-solutions main > article > .section-soft::before {
  content: none;
  position: absolute;
  z-index: 0;
  top: -96px;
  right: 0;
  left: 0;
  height: clamp(620px, 52vw, 780px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .22) 30%, rgba(255, 255, 255, .14) 56%, rgba(255, 255, 255, .38) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .18) 22%, rgba(255, 255, 255, .06) 58%, rgba(246, 249, 251, .88) 100%);
  filter: blur(.45px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .42) 11%, #000 23%, #000 76%, rgba(0, 0, 0, .36) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .42) 11%, #000 23%, #000 76%, rgba(0, 0, 0, .36) 88%, transparent 100%);
}

body.page-solutions main > article > .section-soft > * {
  position: relative;
  z-index: 1;
}

body.page-solutions .solution-detail-hero {
  position: relative;
  z-index: 3;
  overflow: visible;
  padding-top: clamp(18px, 2.4vw, 34px);
  padding-bottom: clamp(42px, 4.5vw, 72px);
  background: transparent !important;
}

body.page-solutions .solution-detail-hero::before {
  content: none;
}

body.page-solutions .solution-detail-hero::after {
  content: none;
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: clamp(-270px, -18vw, -210px);
  left: 0;
  height: clamp(560px, 46vw, 760px);
  pointer-events: none;
  background:
    linear-gradient(120deg, #fff 0%, rgba(255, 255, 255, .98) 29%, rgba(255, 255, 255, .62) 43%, rgba(255, 255, 255, .18) 66%, rgba(255, 255, 255, .46) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .72) 20%, rgba(255, 255, 255, .08) 56%, rgba(246, 249, 251, .78) 100%);
  filter: blur(.45px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .28) 10%, #000 24%, #000 76%, rgba(0, 0, 0, .28) 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .28) 10%, #000 24%, #000 76%, rgba(0, 0, 0, .28) 90%, transparent 100%);
}

body.page-solutions .solution-detail-hero > .container {
  position: relative;
  z-index: 4;
}

body.page-solutions .solution-back {
  margin-bottom: 20px;
}

body.page-solutions .solution-equipment-bridge {
  --bridge-height: clamp(440px, 39vw, 640px);
  --bridge-visible: clamp(500px, 43vw, 700px);
  --bridge-flow-gap: clamp(2px, .7vw, 12px);
  position: relative;
  z-index: 0;
  display: block;
  height: var(--bridge-height);
  margin: 0 0 calc((var(--bridge-height) - var(--bridge-flow-gap)) * -1);
  overflow: hidden;
  pointer-events: none;
}

body.page-solutions .solution-equipment-bridge::before {
  content: none;
}

body.page-solutions .solution-equipment-bridge::after {
  content: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 68%, rgba(246, 249, 251, .9) 92%, #f6f9fb 100%);
}

body.page-solutions .solution-trust-section {
  position: relative;
  z-index: 2;
  padding-top: clamp(14px, 1.6vw, 24px);
  background: transparent !important;
}

body.page-solutions .solution-trust-grid {
  align-items: start;
  gap: clamp(20px, 2vw, 28px);
}

body.page-solutions .solution-author-card {
  position: relative;
  top: auto;
}

body.page-solutions .solution-author-card,
body.page-solutions .solution-faq-panel {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 54px rgba(10, 31, 48, .12);
  backdrop-filter: blur(3px);
}

body.page-solutions .solution-article-shell {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(246, 249, 251, .9) 0%, rgba(246, 249, 251, .18) 120px, rgba(246, 249, 251, .18) calc(100% - 160px), rgba(246, 249, 251, .95) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, .54) 0%, rgba(255, 255, 255, .34) 28%, rgba(255, 255, 255, .16) 56%, rgba(255, 255, 255, .54) 100%),
    url("/assets/images/solutions/solution-article-fixed-bg.webp") center center / cover no-repeat;
  background-attachment: scroll, scroll, fixed;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% 100%, 100% 100%, cover;
}

body.page-solutions .solution-article-shell::before {
  content: none;
}

body.page-solutions .solution-article,
body.page-solutions .solution-side {
  position: relative;
  z-index: 1;
}

body.page-solutions .solution-article {
  background: rgba(255, 255, 255, .95) !important;
  backdrop-filter: blur(2px);
}

body.page-solutions .solution-side {
  position: sticky;
  top: calc(var(--header) + 34px);
  max-height: none;
  padding: 28px 0 clamp(150px, 12vw, 210px);
  margin-bottom: clamp(90px, 8vw, 150px);
  overflow: visible;
}

body.page-solutions .solution-side-card {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(2px);
}

@media (max-width: 1080px) {
  body.page-solutions .solution-side {
    position: static;
    top: auto;
    max-height: none;
    padding: 0 0 64px;
    margin-bottom: 0;
    overflow: visible;
  }
}

@media (max-width: 900px) {
  body.page-solutions .solution-detail-hero {
    padding-top: 12px;
    padding-bottom: 42px;
  }

  body.page-solutions .solution-equipment-bridge {
    --bridge-height: clamp(360px, 82vw, 580px);
    --bridge-visible: clamp(420px, 92vw, 620px);
    --bridge-flow-gap: 8px;
    opacity: .92;
  }

  body.page-solutions .solution-equipment-bridge::before {
    top: -88px;
    height: var(--bridge-visible);
    background-position: 22% center;
  }

  body.page-solutions .solution-article-shell {
    background-size: auto, auto, cover;
    background-position: 0% 0%, 0% 0%, center center;
  }
}

@media (max-width: 620px) {
  body.page-solutions .solution-equipment-bridge {
    --bridge-height: 500px;
    --bridge-visible: 520px;
    --bridge-flow-gap: 6px;
  }

  body.page-solutions .solution-equipment-bridge::before {
    top: -70px;
    height: var(--bridge-visible);
    background-position: 20% center;
  }

  body.page-solutions .solution-author-card,
  body.page-solutions .solution-faq-panel {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: none;
  }
}
