body.leenhoo-solution-page .application-post-main > .container-xl {
  width: 80%;
  max-width: 80%;
  margin-inline: auto;
}

.leenhoo-solution-layout .solar-pq-grid.solar-pq-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.leenhoo-solution-layout .solar-pq-grid.solar-pq-grid>li, .leenhoo-solution-layout .solar-pq-architecture .solar-pq-architecture-copy>p {
  min-width: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #ede3e4;
  border-top: 3px solid #bd071c;
  border-radius: 10px;
  background: #fff;
  overflow-wrap: break-word;
  font-size: 18px;
}

.leenhoo-solution-layout .solar-pq-grid>li::before {
  content: none;
}

.leenhoo-solution-layout .solar-pq-grid .solar-pq-title {
  display: block;
  color: #212122;
  font-size: 18px;
  line-height: 1.32;
}

.leenhoo-solution-layout .solar-pq-grid.solar-pq-grid>li>p {
  margin: 6px 0 0;
  color: #4d4a4c;
  font-size: 18px;
  line-height: 1.55;
}

.leenhoo-solution-layout .solar-pq-grid.solar-pq-numbered {
  list-style: decimal inside;
}

.leenhoo-solution-layout .solar-pq-numbered .solar-pq-title {
  display: inline;
}

.leenhoo-solution-layout .solar-pq-numbered>li::marker {
  color: #bd071c;
  font-weight: 700;
}

.leenhoo-solution-layout .solar-pq-section-title {
  text-align: center;
}

.leenhoo-solution-layout .solar-pq-first-heading {
  padding-block-start: clamp(18px,2.2vw,34px);
}

.leenhoo-solution-layout .solar-pq-architecture {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  row-gap: 20px;
  margin-block: 16px 0;
}

.leenhoo-solution-layout .solar-pq-architecture .solar-pq-architecture-copy {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px clamp(18px,3vw,44px);
}

.leenhoo-solution-layout .solar-pq-architecture .solar-pq-architecture-copy>p {
  color: #4d4a4c;
  line-height: 1.55;
}

.leenhoo-solution-layout .solar-pq-architecture .solar-pq-architecture-copy>p>strong {
  color: #212122;
  line-height: 1.32;
}

.leenhoo-solution-layout .solar-pq-architecture .solar-pq-architecture-image {
  min-width: 0;
  margin: 0;
}

.leenhoo-solution-layout .solar-pq-architecture .solar-pq-architecture-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

@media (max-width: 767px) {
  .leenhoo-solution-layout .solar-pq-grid.solar-pq-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .leenhoo-solution-layout .solar-pq-architecture .solar-pq-architecture-copy {
    grid-template-columns: minmax(0,1fr);
  }
}

.leenhoo-solution-layout .solar-pq-overview-copy {
  text-align: center;
}

.leenhoo-solution-layout .solar-pq-topic-switch {
  display: none;
}

@supports selector(:has(*)) {
  .leenhoo-solution-layout .solar-pq-topic-switch {
    display: flex;
    flex-wrap: nowrap;
    max-width: 720px;
    margin: 0 auto 16px;
    border-bottom: 1px solid #ede3e4;
  }
  .leenhoo-solution-layout .solar-pq-topic-switch>.solar-pq-topic-tab {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }
  .leenhoo-solution-layout .solar-pq-topic-tab>p {
    display: flex;
    flex: 1 1 auto;
    margin: 0;
  }
  .leenhoo-solution-layout .solar-pq-topic-tab label {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  .leenhoo-solution-layout .solar-pq-topic-switch label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 12px;
    border-bottom: 3px solid transparent;
    color: #4d4a4c;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    cursor: pointer;
  }
  .leenhoo-solution-layout .solar-pq-topic-switch input, .leenhoo-solution-layout .solar-pq-topic-panel>h2.solar-pq-section-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .leenhoo-solution-layout .solar-pq-topic-switch label:has(input:checked) {
    color: #bd071c;
    background: #fff3f4;
    border-bottom-color: #bd071c;
  }
  .leenhoo-solution-layout .solar-pq-topic-switch label:has(input:focus-visible) {
    outline: 2px solid #bd071c;
    outline-offset: 2px;
  }
  .leenhoo-solution-layout .solar-pq-topics:has([id$="-solar-pq-choice-problems"]:checked) [id$="-solar-pq-panel-challenges"], .leenhoo-solution-layout .solar-pq-topics:has([id$="-solar-pq-choice-challenges"]:checked) [id$="-solar-pq-panel-problems"] {
    display: none;
  }
}

.leenhoo-solution-layout .junj-cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 26px;
}

.leenhoo-solution-layout .junj-cases__card {
  border: 1px solid #ececec;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .3s ease,transform .3s ease;
}

.leenhoo-solution-layout .junj-cases__card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transform: translateY(-4px);
}

.leenhoo-solution-layout .junj-cases__card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1580/660;
  object-fit: cover;
}

.leenhoo-solution-layout .junj-cases__body {
  padding: 20px 24px 24px;
}

.leenhoo-solution-layout .junj-cases__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
}

.leenhoo-solution-layout .junj-cases__title a {
  color: #232323;
  text-decoration: none;
}

.leenhoo-solution-layout .junj-cases__title a:hover {
  color: #c81920;
}

.leenhoo-solution-layout .junj-cases__more {
  margin: 0;
}

.leenhoo-solution-layout .junj-cases__more a {
  color: #c81920;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.leenhoo-solution-layout .junj-cases {
  margin-top: 90px;
}

.leenhoo-solution-layout .junj-cases-kicker {
  color: #c81920;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.leenhoo-solution-layout .junj-cases-heading {
  font-size: 32px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 14px;
  line-height: 1.3;
}

.leenhoo-solution-layout .junj-cases-intro {
  color: #666;
  font-size: 16px;
  margin: 0 0 36px;
}

/* Topic and Power Quality Solution cards: horizontal swipe + 3.5s autoplay + dots only at ≤767. Tabs still switch the whole group. */
@media (max-width: 767px) {
  .leenhoo-solution-layout .solar-pq-cards-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    cursor: grab;
  }
  .leenhoo-solution-layout .solar-pq-cards-swiper.swiper-grabbing,
  .leenhoo-solution-layout .solar-pq-cards-swiper:active {
    cursor: grabbing;
  }
  .leenhoo-solution-layout .solar-pq-cards-swiper.is-cards-slider .solar-pq-grid.solar-pq-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    grid-template-columns: none;
    width: 100%;
  }
  .leenhoo-solution-layout .solar-pq-cards-swiper.is-cards-slider .solar-pq-grid > li {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 0;
  }
  .leenhoo-solution-layout .solar-pq-cards-pagination {
    display: flex;
    position: static;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0.75rem;
    padding: 1rem 0;
    gap: 1rem;
    text-align: center;
    z-index: 1;
  }
  .leenhoo-solution-layout .solar-pq-cards-pagination .swiper-pagination-bullet {
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 0.4rem !important;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cfcfcf;
    opacity: 1;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    box-sizing: content-box;
  }
  .leenhoo-solution-layout .solar-pq-cards-pagination .swiper-pagination-bullet-active {
    background: #DE0211;
    box-shadow: none;
  }
  .leenhoo-solution-layout .solar-pq-cards-pagination .swiper-pagination-bullet-active::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2rem;
    height: 2rem;
    margin: 0;
    transform: translate(-50%, -50%);
    border: 1px solid #DE0211;
    border-radius: 50%;
    box-sizing: border-box;
    background: transparent;
    pointer-events: none;
  }
}
