/* Solution secondary page redesign v2
   Scope: only solution sub/category ajax page. */
.gsee-solution-sub-page,
.gsee-solution-sub-page * {
  box-sizing: border-box;
}

.gsee-solution-sub-page {
  --gsee-red: #e60033;
  --gsee-blue: #1f5ab8;
  --gsee-navy: #061b49;
  --gsee-text: #202833;
  --gsee-muted: #687485;
  --gsee-line: #e2e9f3;
  background:
    radial-gradient(circle at 92% 2%, rgba(31, 90, 184, .08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 48%, #ffffff 100%);
  padding: 36px 0 76px;
  overflow: hidden;
}

.gsee-solution-sub-page a {
  color: inherit;
  text-decoration: none;
}

.gsee-solution-sub-page img {
  display: block;
  max-width: 100%;
}

.gsee-solution-sub-container {
  width: min(1360px, calc(100vw - 72px));
 margin: 100px auto 0 auto;
}

.gsee-solution-sub-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #7a8493;
  font-size: 14px;
}

.gsee-solution-sub-breadcrumb a {
  color: #687485;
  transition: color .18s ease;
}

.gsee-solution-sub-breadcrumb a:hover,
.gsee-solution-sub-breadcrumb a:last-child {
  color: var(--gsee-red);
}

.gsee-solution-sub-breadcrumb span {
  color: #b3bdca;
}

.gsee-solution-sub-hero {
  position: relative;
  min-height: 230px;
  margin-bottom: 28px;
  padding: 48px 54px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(6, 27, 73, .94), rgba(25, 56, 108, .92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 48px);
  box-shadow: 0 22px 58px rgba(6, 27, 73, .16);
  overflow: hidden;
}

.gsee-solution-sub-hero::before {
  content: "";
  position: absolute;
  left: 54px;
  top: 38px;
  width: 58px;
  height: 4px;
  border-radius: 99px;
  background: var(--gsee-red);
}

.gsee-solution-sub-kicker {
  margin-top: 26px;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}

.gsee-solution-sub-hero h1 {
  max-width: 860px;
  margin: 14px 0 0;
  color: #fff;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.gsee-solution-sub-desc {
  margin-top: 18px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.85;
}

.gsee-solution-sub-desc,
.gsee-solution-sub-desc * {
  color: rgba(255,255,255,.82) !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

.gsee-solution-sub-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.gsee-solution-sub-sidebar {
  position: sticky;
  top: 92px;
  z-index: 4;
  border: 1px solid rgba(6, 27, 73, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.gsee-solution-sidebar-title {
  padding: 22px 24px;
  border-bottom: 1px solid var(--gsee-line);
  color: var(--gsee-navy);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.solutionHyL.gsee-solution-category-list {
  display: flex;
  flex-direction: column;
}

.gsee-solution-category-item {
  position: relative;
  min-height: 54px;
  padding: 15px 46px 15px 24px;
  border-bottom: 1px solid #edf2f8;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.gsee-solution-category-item:last-child {
  border-bottom: 0;
}

.gsee-solution-category-item span {
  display: block;
  min-width: 0;
}

.gsee-solution-category-item i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gsee-red);
  font-style: normal;
  transition: transform .18s ease;
}

.gsee-solution-category-item:hover,
.gsee-solution-category-item.active {
  background: #f8fbff;
  color: var(--gsee-red);
}

.gsee-solution-category-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gsee-red);
}

.gsee-solution-category-item:hover i {
  transform: translate(4px, -50%);
}

.gsee-solution-sub-main {
  min-width: 0;
}

.gsee-solution-ajax-list,
.gsee-solution-ajax-detail {
  min-height: 460px;
  border: 1px solid rgba(6, 27, 73, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.gsee-solution-loading,
.gsee-solution-empty {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  color: #687485;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.gsee-solution-empty {
  background: #fff;
}

/* Ajax list content compatibility */
.gsee-solution-sub-page .solutionContentL > *,
.gsee-solution-sub-page .solutionContentL2 > * {
  max-width: 100%;
}

.gsee-solution-sub-page .HyDetailL,
.gsee-solution-sub-page .HyDetailL2,
.gsee-solution-sub-page .solutionContentL .solutionL,
.gsee-solution-sub-page .solutionContentL .caseItem,
.gsee-solution-sub-page .solutionContentL .newL {
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}

.gsee-solution-sub-page .HyDetailL2,
.gsee-solution-sub-page .solutionContentL .solutionL,
.gsee-solution-sub-page .gsee-solution-dynamic-card {
  cursor: pointer;
}

.gsee-solution-sub-page .HyDetailL2:hover,
.gsee-solution-sub-page .solutionContentL .solutionL:hover,
.gsee-solution-sub-page .solutionContentL .caseItem:hover,
.gsee-solution-sub-page .solutionContentL .newL:hover {
  transform: translateY(-2px);
}

/* General images from ajax */
.gsee-solution-sub-page .solutionContentL img,
.gsee-solution-sub-page .solutionContentL2 img {
  max-width: 100%;
  object-fit: cover;
}

/* Pagination */
.gsee-solution-sub-page .page,
.gsee-solution-sub-page .gsee-solution-pagebar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 16px 28px;
  background: #fff;
}

.gsee-solution-sub-page .page a,
.gsee-solution-sub-page .page span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--gsee-line);
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.gsee-solution-sub-page .page .active,
.gsee-solution-sub-page .page a:hover {
  color: #fff;
  border-color: var(--gsee-red);
  background: var(--gsee-red);
}

/* Detail content from ajax */
.gsee-solution-sub-page .solutionContentL2 {
  padding: 34px;
}

.gsee-solution-sub-page .solutionContentL2 h1,
.gsee-solution-sub-page .solutionContentL2 h2,
.gsee-solution-sub-page .solutionContentL2 h3 {
  color: var(--gsee-navy);
  line-height: 1.35;
}

.gsee-solution-sub-page .solutionContentL2 p,
.gsee-solution-sub-page .solutionContentL2 li {
  color: #4d5870;
  font-size: 15px;
  line-height: 1.85;
}

.gsee-solution-sub-page .otheralPer,
.gsee-solution-sub-page .otheralNext {
  cursor: pointer;
}

@media (max-width: 1180px) {
  .gsee-solution-sub-container {
    width: min(1120px, calc(100vw - 40px));
  }

  .gsee-solution-sub-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .gsee-solution-sub-layout {
    grid-template-columns: 1fr;
  }

  .gsee-solution-sub-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .gsee-solution-sub-page {
    padding: 24px 0 50px;
  }

  .gsee-solution-sub-container {
    width: calc(100vw - 28px);
  }

  .gsee-solution-sub-hero {
    min-height: 210px;
    padding: 38px 24px 30px;
    border-radius: 22px;
  }

  .gsee-solution-sub-hero::before {
    left: 24px;
    top: 28px;
  }

  .gsee-solution-sub-hero h1 {
    font-size: 32px;
  }

  .gsee-solution-ajax-list,
  .gsee-solution-ajax-detail,
  .gsee-solution-sub-sidebar {
    border-radius: 20px;
  }

  .gsee-solution-sub-page .solutionContentL2 {
    padding: 24px;
  }
}


/* v3: layout fix for /getsolution returned HTML
   Returned structure:
   .solutionHyDetail > .HyTitle + .HyText + .HyDetailL > .HyDetailL2
*/
.gsee-solution-sub-page .solutionHyDetail {
  width: 100%;
  padding: 36px;
  background: #fff;
}

.gsee-solution-sub-page .solutionHyDetail .HyTitle {
  position: relative;
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--gsee-navy);
  font-size: 34px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.gsee-solution-sub-page .solutionHyDetail .HyTitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 28px;
  border-radius: 99px;
  background: var(--gsee-red);
}

.gsee-solution-sub-page .solutionHyDetail .HyText {
  margin: 0 0 30px;
  max-width: 920px;
  color: #4d5870;
  font-size: 15px;
  line-height: 1.85;
}

.gsee-solution-sub-page .solutionHyDetail .HyText,
.gsee-solution-sub-page .solutionHyDetail .HyText * {
  color: #4d5870 !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL2 {
  position: relative;
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 24px;
  min-height: 168px;
  padding: 18px 20px;
  border: 1px solid #e3eaf3;
  border-radius: 18px;
  background: #f9fbfd;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gsee-red), var(--gsee-blue));
  opacity: 0;
  transition: opacity .2s ease;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL2:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 0, 51, .22);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .09);
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL2:hover::before {
  opacity: 1;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailLeft {
  width: 250px;
  height: 136px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8edf5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailLeft img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailRight {
  min-width: 0;
  padding-right: 8px;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailRTitle {
  margin: 0;
  color: var(--gsee-navy);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 900;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: initial !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailRContent {
  margin-top: 10px;
  color: #657083;
  font-size: 14px;
  line-height: 1.7;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: initial !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL2 .more {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(230, 0, 51, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  transition: background .2s ease, transform .2s ease;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL2:hover .more {
  background: var(--gsee-red);
  transform: translateX(3px);
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL2 .more img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.gsee-solution-sub-page .solutionHyDetail .HyDetailL2:hover .more img {
  filter: brightness(0) invert(1);
}

.gsee-solution-sub-page .solutionHyDetail .page:empty,
.gsee-solution-sub-page .solutionHyDetail .page:has(:not(a):not(span):not(div)) {
  display: none;
}

/* If browser does not support :has, this keeps empty pagination visually small. */
.gsee-solution-sub-page .solutionHyDetail .page {
  margin-top: 22px;
  min-height: 0;
}

/* Prevent old global line utility styles from breaking ajax cards */
.gsee-solution-sub-page .solutionHyDetail .line1,
.gsee-solution-sub-page .solutionHyDetail .line2 {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .gsee-solution-sub-page .solutionHyDetail {
    padding: 28px;
  }

  .gsee-solution-sub-page .solutionHyDetail .HyDetailL2 {
    grid-template-columns: 220px minmax(0, 1fr) 48px;
    gap: 18px;
  }

  .gsee-solution-sub-page .solutionHyDetail .HyDetailLeft {
    width: 220px;
    height: 128px;
  }
}

@media (max-width: 760px) {
  .gsee-solution-sub-page .solutionHyDetail {
    padding: 22px;
  }

  .gsee-solution-sub-page .solutionHyDetail .HyTitle {
    font-size: 26px;
  }

  .gsee-solution-sub-page .solutionHyDetail .HyDetailL2 {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .gsee-solution-sub-page .solutionHyDetail .HyDetailLeft {
    width: 100%;
    height: 180px;
  }

  .gsee-solution-sub-page .solutionHyDetail .HyDetailL2 .more {
    justify-self: start;
  }

  .gsee-solution-sub-page .solutionHyDetail .HyDetailRTitle {
    font-size: 18px;
  }
}
