.page-index__hero-section,
.page-index__logo-grid-section,
.page-index__guide-section {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Modul 0: Hero banner */
.page-index__hero-section {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.page-index__hero-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-index__hero-link {
  display: block;
  width: 100%;
}

.page-index__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
}

/* Modul 1: Logo grid (6 items, 4+2 layout) */
.page-index__logo-grid-section {
  max-width: 1200px;
  margin: 16px auto 32px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  justify-items: center;
  align-items: start;
}

.page-index__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 270px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

.page-index__logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.page-index__logo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
}

.page-index__logo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #0477db;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(4, 119, 219, 0.35);
  transition: background .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

.page-index__logo-cta:hover {
  background: #0361b5;
  box-shadow: 0 6px 16px rgba(4, 119, 219, 0.45);
}

/* Place item 5 on the second row, col 2 and item 6 on the second row, col 3 */
.page-index__logo-item:nth-child(5) {
  grid-column: 2;
}

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

/* Modul 2: Guide SEO content */
.page-index__guide-section {
  background: #ffffff;
  padding: 10px 0 60px;
}

.page-index__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index__guide-title {
  margin: 0 0 10px;
  padding: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #0477db;
}

.page-index__guide-inner h2 {
  margin: 2rem 0 1rem;
  color: #0477db;
  font-size: 1.6rem;
  border-bottom: 2px solid #e8e8e8;
  padding-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.page-index__guide-inner h3 {
  margin: 1.75rem 0 0.75rem;
  color: #333333;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.page-index__guide-inner p {
  color: #444444;
  line-height: 1.8;
  font-size: 1rem;
  text-align: justify;
  margin-bottom: 1rem;
}

.page-index__guide-inner ul,
.page-index__guide-inner ol {
  margin: 0.5rem 0 1.25rem 2rem;
  color: #444444;
  line-height: 1.8;
  padding-left: 0.25rem;
}

.page-index__guide-inner ul li,
.page-index__guide-inner ol li {
  margin-bottom: 0.35rem;
}

.page-index__guide-inner li::marker {
  color: #E53935;
}

.page-index__guide-inner ol li::marker {
  color: #E53935;
  font-weight: 600;
}

.page-index__guide-inner a {
  color: #0477db;
}

.page-index__guide-inner a:hover {
  text-decoration: underline;
}

.page-index__guide-inner strong {
  color: #222;
}

.page-index__guide-figure {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 25px auto;
  padding: 0;
  text-align: center;
}

.page-index__guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: #f5f5f5;
}

.page-index__guide-figure figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
}

/* FAQ */
.page-index__faq-item {
  display: block;
  margin: 8px 0;
  background: #f8f9fc;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}

.page-index__faq-item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  color: #333333;
  font-size: 1rem;
  background: transparent;
  list-style: none;
  transition: background .15s ease;
  position: relative;
  padding-right: 40px;
}

.page-index__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index__faq-item summary::after {
  content: '+ ';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: #E53935;
  transition: transform .2s ease;
}

.page-index__faq-item[open] summary::after {
  content: '− ';
  transform: translateY(-50%);
}

.page-index__faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: #444;
  line-height: 1.7;
}

/* Tab / responsive 768 */
@media (max-width: 1024px) {
  .page-index__guide-title {
    font-size: 1.75rem;
  }
  .page-index__guide-inner h2 {
    font-size: 1.5rem;
  }
  .page-index__guide-inner h3 {
    font-size: 1.2rem;
  }
  .page-index__logo-cta {
    min-width: 110px;
    padding: 9px 16px;
    font-size: 14px;
  }
  .page-index__logo-grid {
    gap: 18px 14px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-image {
    width: 100%;
    height: auto;
    max-width: 100% !important;
    aspect-ratio: 2 / 1;
    object-fit: cover;
  }

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

  .page-index__logo-item {
    max-width: 180px;
    padding: 8px;
  }

  .page-index__logo-image {
    width: 100%;
    max-width: 100% !important;
    height: auto;
  }

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

  .page-index__logo-cta {
    min-width: 90px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .page-index__guide-inner {
    padding: 0 12px;
    overflow-wrap: break-word;
  }

  .page-index__guide-title {
    font-size: 1.5rem;
  }

  .page-index__guide-inner h2 {
    font-size: 1.35rem;
  }

  .page-index__guide-inner h3 {
    font-size: 1.1rem;
  }

  .page-index__guide-inner p {
    font-size: 0.97rem;
    text-align: left;
  }

  .page-index__guide-figure {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
  }

  .page-index__guide-figure img {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 1;
  }

  .page-index__guide-figure figcaption {
    font-size: 0.85rem;
  }

  .page-index__logo-grid-section {
    margin: 10px auto 24px;
    padding: 0 10px;
  }

  /* general image safe guards */
  .page-index img {
    max-width: 100%;
    height: auto;
  }

  .page-index__logo-cta {
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-index__guide-inner ol,
  .page-index__guide-inner ul {
    margin-left: 1rem;
    padding-left: 0.25rem;
    overflow-wrap: break-word;
  }
}

@media (max-width: 380px) {
  .page-index__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
  }

  .page-index__logo-item {
    max-width: 150px;
  }

  .page-index__logo-cta {
    font-size: 12px;
    padding: 8px 10px;
    min-width: 70px;
  }
}