/* ===== Blocks: 2.4 Hero banner / 2.5 Logo grid / 2.6 Guide ===== */
.page-index-review-sunwin {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

/* ----- Hero ----- */
.page-index-review-sunwin__hero-section {
  padding: 10px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-review-sunwin__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 16px;
}

.page-index-review-sunwin__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.page-index-review-sunwin__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 28px 12px 12px;
}

.page-index-review-sunwin__hero-title {
  color: #2F6BFF;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 680px;
  margin: 0 auto 12px;
}

.page-index-review-sunwin__hero-desc {
  color: #1F2D3D;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto 24px;
}

.page-index-review-sunwin__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index-review-sunwin__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.2s;
  box-sizing: border-box;
  width: auto;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-review-sunwin__btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-index-review-sunwin__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
}

.page-index-review-sunwin__btn--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #D6E2FF;
}

/* ----- Logo grid (Flatsome 4+2) ----- */
.page-index-review-sunwin__logo-section {
  padding: 40px 16px 16px;
}

.page-index-review-sunwin__section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.page-index-review-sunwin__section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #2F6BFF;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.page-index-review-sunwin__section-subtitle {
  color: #1F2D3D;
  font-size: 1rem;
  margin: 0;
}

.page-index-review-sunwin__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-review-sunwin__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  background: #FFFFFF;
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid #D6E2FF;
  box-shadow: 0 4px 12px rgba(165, 196, 255, 0.3);
  box-sizing: border-box;
  transition: transform 0.2s;
}

.page-index-review-sunwin__logo-item:hover {
  transform: translateY(-4px);
}

.page-index-review-sunwin__logo-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 8px;
  background: #F4F7FB;
}

.page-index-review-sunwin__logo-cta {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
  width: auto;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-review-sunwin__logo-cta:hover {
  opacity: 0.9;
}

/* 1st child is naturally column 1; 5th child overlays col 2, 6th child overlays col 3 */
.page-index-review-sunwin__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-index-review-sunwin__logo-item:nth-child(6) {
  grid-column: 3;
}

/* ----- Guide section ----- */
.page-index-review-sunwin__guide-section {
  padding: 16px 0 56px;
  background: #F4F7FB;
}

.page-index-review-sunwin__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-index-review-sunwin__guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.page-index-review-sunwin__guide-step {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(165, 196, 255, 0.3);
}

.page-index-review-sunwin__guide-step-title {
  color: #2F6BFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-index-review-sunwin__guide-step-text {
  color: #1F2D3D;
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-index-review-sunwin__guide-figure {
  margin: 0;
  text-align: center;
}

.page-index-review-sunwin__guide-figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
}

.page-index-review-sunwin__guide-figure figcaption {
  font-size: 0.9rem;
  color: #1F2D3D;
  margin-top: 10px;
  font-style: italic;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-index-review-sunwin__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-index-review-sunwin__logo-item:nth-child(5),
  .page-index-review-sunwin__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-index-review-sunwin__guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-index-review-sunwin__hero-section {
    padding: 10px 12px 0;
  }

  .page-index-review-sunwin__hero-image {
    aspect-ratio: 2 / 1;
    border-radius: 12px;
  }

  .page-index-review-sunwin__hero-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.3px;
  }

  .page-index-review-sunwin__hero-desc {
    font-size: 0.95rem;
  }

  .page-index-review-sunwin__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
  }

  .page-index-review-sunwin__hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page-index-review-sunwin__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .page-index-review-sunwin__logo-item:nth-child(5),
  .page-index-review-sunwin__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-index-review-sunwin__section-title {
    font-size: 1.6rem;
  }

  .page-index-review-sunwin__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-index-review-sunwin__guide-figure img {
    max-width: 100%;
    height: auto;
  }

  /* General img guardrails inside this page on mobile */
  .page-index-review-sunwin img {
    max-width: 100% !important;
    height: auto !important;
  }
}