/* =============================================================================
   i-need-help.css
   Source: frontend-nextjs/src/views/pages/More/IneedHelpPage/IneedHelpBanner/_need-help-banner.scss
   Generated by Claude Code Phase 2B — Developer review required
   ============================================================================= */

/* ── Banner wrapper ─────────────────────────────────────────────────────────── */
/* Source: .need-help-banner in _need-help-banner.scss */
.need-help-banner {
  position: relative;
  height: 527px;
}
.need-help-category .swiper{
overflow: hidden;
}
@media (max-width: 767px) {
  .need-help-banner {
    height: auto;
    padding: 70px 0;
  }
}

/* Dark gradient overlay */
.need-help-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #323031 11.63%,
    rgba(50, 48, 49, 0.69) 58.72%,
    rgba(50, 48, 49, 0) 102.15%
  );
  opacity: 0.9;
  z-index: 1;
}

/* Full-bleed background image */
.need-help-banner > .help-banner-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Container sits above overlay */
.need-help-banner .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.need-help-banner .category-wrap {
  width: 100%;
}

/* ── Select-category rows ───────────────────────────────────────────────────── */
/* Source: .select-category in _need-help-banner.scss */
.need-help-banner .select-category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 30px;
}

.need-help-banner .select-category:last-child {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .need-help-banner .select-category {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

/* Label: "I need help to" / "where I can" */
.need-help-banner .select-category > span {
  font-size: 32px;
  line-height: 115%;
  color: #ffffff;
  font-weight: 600;
  margin-right: 20px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .need-help-banner .select-category > span {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .need-help-banner .select-category > span {
    font-size: 18px;
    width: 100%;
    text-align: center;
    margin-right: 0;
    padding-bottom: 15px;
  }
}

/* Wrapper div around the select — constrains max width */
.need-help-banner .select-category > .gp-select-wrap {
  max-width: 600px;
  min-width: 280px;
}

@media (max-width: 767px) {
  .need-help-banner .select-category > .gp-select-wrap {
    max-width: 320px;
    min-width: 200px;
  }
}

/* ── Native <select> replacing react-select ─────────────────────────────────── */
/* Source: .select__control / .select__single-value / .select__indicator        */
/* in _need-help-banner.scss — applied to react-select; here replaced by        */
/* a plain <select> with a CSS chevron overlay (.gp-select-chevron).             */

/* ── Custom Select Dropdown ────────────────────────────────────────────────── */
.gp-custom-select {
  position: relative;
  width: auto;
  cursor: pointer;
  z-index: 100;
  max-width: 600px;
}

.need-help-banner .select-category.gp-row-open {
  position: relative;
  z-index: 10001;
}

.gp-select-selected {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px 65px 16px 40px;
  font-size: 32px;
  line-height: 1;
  color: #e78125;
  font-family: "DM Serif Display", serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
  font-weight: 400;
}

.gp-custom-select .gp-select-chevron {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: #e78125;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  stroke-width: 3px;
}

.gp-custom-select.open .gp-select-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.gp-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.15);
  display: none;
  max-height: 350px;
  overflow-y: auto;
  z-index: 9999;
  padding: 12px 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gp-custom-select.open .gp-select-options {
  display: block;
}

.gp-select-option {
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 17px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  color: #232528;
}
.gp-select-option:hover {
  background: rgba(231, 129, 37, 0.15);
}

.gp-select-option.active {
  background-color: #e78125;
  color: #ffffff;
}

/* Custom Scrollbar for Options */
.gp-select-options::-webkit-scrollbar {
  width: 8px;
}
.gp-select-options::-webkit-scrollbar-track {
  background: #f8f8f8;
  border-radius: 10px;
}
.gp-select-options::-webkit-scrollbar-thumb {
  background: #0e3043; /* Match the dark scrollbar in screenshot */
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .gp-select-selected {
    font-size: 26px;
    padding: 10px 44px 10px 24px;
  }
}

@media (max-width: 767px) {
  .gp-select-selected {
    font-size: 16px;
    padding: 8px 40px 8px 20px;
  }
  .gp-custom-select .gp-select-chevron {
    width: 20px;
    height: 20px;
    right: 10px;
  }
  .gp-select-option {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* ── Override blog.css global .full-slider-wrap .swiper-slide { max-width:222px } ── */
/* blog.css scopes this to thumbnail home-design sliders; need-help slides must    */
/* stretch to match Swiper's slidesPerView:3 / 2 / auto calculations.             */
.need-help-page-wrap .need-help-category .full-slider-wrap .swiper-slide {
  max-width: none;
}

/* ── Swiper CSS-only fallback for .gp-need-help-cat-swiper ─────────────────── */
/* Before Swiper JS initialises, show a horizontal scroll on mobile,            */
/* a 2-col grid on tablet, and a 3-col grid on desktop.                         */

@media (max-width: 767px) {
  .need-help-category .slider-block-wrap .swiper:not(.swiper-initialized) {
    overflow-x: auto;
  }

  .need-help-category
    .slider-block-wrap
    .swiper:not(.swiper-initialized)
    .swiper-wrapper {
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin-bottom: -10px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }

  .need-help-category
    .slider-block-wrap
    .swiper:not(.swiper-initialized)
    .swiper-slide {
    width: 280px !important;
    max-width: none;
    scroll-snap-align: start;
  }
}

@media (min-width: 768px) {
  .need-help-category .slider-block-wrap .swiper:not(.swiper-initialized) {
    overflow: visible;
  }

  .need-help-category
    .slider-block-wrap
    .swiper:not(.swiper-initialized)
    .swiper-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow: visible;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .need-help-category
    .slider-block-wrap
    .swiper:not(.swiper-initialized)
    .swiper-slide {
    width: auto !important;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .need-help-category
    .slider-block-wrap
    .swiper:not(.swiper-initialized)
    .swiper-wrapper {
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.need-help-category
  .slider-block-wrap
  .swiper:not(.swiper-initialized)
  .swiper-slide {
  opacity: 1 !important;
  -webkit-transform: none !important;
  transform: none !important;
  -webkit-transition: none !important;
  transition: none !important;
}
.blog-cta-wrap {
  padding-top: 70px;
}
.blog-cta-box {
  margin-top: 0;
}

