/* Base styles */
.page-ban-ca {
  color: #333333;
  background-color: #FFFFFF;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-ban-ca__hero-image {
  width: 100%;
  padding-bottom: 16px;
}

.page-ban-ca__hero-img {
  width: 100%;
  max-width: 1020px;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.page-ban-ca__hero-content {
  text-align: center;
  padding: 8px 16px 24px;
}

.page-ban-ca__hero-title {
  font-weight: 700;
  color: #0f4c81;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 12px;
}

.page-ban-ca__hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 24px;
}

.page-ban-ca__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.page-ban-ca__btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-ban-ca__btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ban-ca__btn--primary {
  background-color: #EA7C07;
  color: #ffffff;
}

.page-ban-ca__btn--secondary {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Providers Section (Logo Grid 4+2) */
.page-ban-ca__providers-section {
  padding: 32px 16px;
}

.page-ban-ca__providers-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-ban-ca__providers-title {
  text-align: center;
  color: #0f4c81;
  font-weight: 700;
  margin-bottom: 32px;
}

.page-ban-ca__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
}

.page-ban-ca__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-ban-ca__logo-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__logo-image {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 2/1;
  object-fit: contain;
  border-radius: 8px;
}

.page-ban-ca__logo-cta {
  padding: 10px 28px;
  border-radius: 999px;
  background-color: #0477db;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.page-ban-ca__logo-cta:hover {
  opacity: 0.85;
}

/* 4+2 Layout: Place items 5 & 6 in columns 2 and 3 */
.page-ban-ca__logo-item:nth-child(5), .page-ban-ca__logo-item:nth-child(6) {
  grid-column: span 1;
}
.page-ban-ca__logo-item:nth-child(5) { grid-column: 2; }
.page-ban-ca__logo-item:nth-child(6) { grid-column: 3; }

/* Guide Section */
.page-ban-ca__guide-section {
  background-color: #f9fafb;
  padding: 16px 16px 48px;
}

.page-ban-ca__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.page-ban-ca__guide-title {
  text-align: center;
  color: #0f4c81;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-ban-ca__guide-intro {
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.page-ban-ca__guide-item {
  margin-bottom: 40px;
}

.page-ban-ca__guide-figure {
  margin: 0 0 16px;
}

.page-ban-ca__guide-img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
}

.page-ban-ca__guide-subtitle {
  color: #0f4c81;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-ban-ca__guide-text {
  line-height: 1.8;
  color: #333333;
}

/* Tablet */
@media (max-width: 1024px) {
  .page-ban-ca__logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-ban-ca__logo-item:nth-child(5),
  .page-ban-ca__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding-top: 8px;
  }

  .page-ban-ca__hero-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 2/1;
  }

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

  .page-ban-ca__hero-desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  .page-ban-ca__hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .page-ban-ca__btn {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 14px 20px;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
  }

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

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

  .page-ban-ca__logo-item {
    max-width: 100%;
    padding: 12px;
  }

  .page-ban-ca__logo-image {
    max-width: 100%;
  }

  .page-ban-ca__logo-cta {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 12px 16px;
    box-sizing: border-box;
    font-size: 0.9375rem;
  }

  .page-ban-ca__guide-title {
    font-size: 1.375rem;
  }

  .page-ban-ca__guide-figure {
    width: 100%;
  }

  .page-ban-ca__guide-img {
    max-width: 100%;
  }

  .page-ban-ca img {
    max-width: 100%;
    height: auto;
  }

  .page-ban-ca {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-ban-ca__hero-actions a,
  .page-ban-ca__btn {
    font-size: 0.9375rem;
    padding: 12px 16px;
  }
}