/* Font and base */
.page-ban-ca { font-family: 'Segoe UI', system-ui, sans-serif; background-color: #140C0C; color: #FFF1E8; line-height: 1.55; }
.page-ban-ca * { box-sizing: border-box; }
.page-ban-ca img { max-width: 100%; height: auto; display: block; border-radius: 10px; }

/* Hero Section */
.page-ban-ca__hero-section { display: flex; flex-direction: column; align-items: center; padding: 10px 0 20px; }
.page-ban-ca__hero-image { width: 100%; max-width: 1200px; }
.page-ban-ca__hero-image img { width: 100%; aspect-ratio: 17 / 5; object-fit: cover; display: block; }
.page-ban-ca__hero-content { text-align: center; padding: 12px 20px 0; }
.page-ban-ca__hero-content h1 { font-size: clamp(1.5rem, 4.5vw, 2.6rem); font-weight: 800; color: #FFF1E8; margin: 0 0 8px; line-height: 1.15; letter-spacing: 0.5px; max-width: 900px; }
.page-ban-ca__hero-content p { font-size: clamp(0.9rem, 2vw, 1.05rem); color: #FFF1E8; max-width: 760px; margin: 0 auto 16px; opacity: 0.92; }
.page-ban-ca__hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; max-width: 100%; overflow: hidden; }
.page-ban-ca__cta-button { display: inline-block; padding: 12px 30px; border-radius: 50px; background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; max-width: 100%; white-space: normal; word-break: break-word; text-align: center; transition: transform .2s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); }
.page-ban-ca__cta-button:hover { transform: translateY(-2px); }
.page-ban-ca__cta-button:first-child { background: linear-gradient(180deg, #C61F1F, #7E0D0D); border: 1px solid #6A1E1E; }

/* Logo Grid Section - Flatsome, 4 + 2 layout */
.page-ban-ca__logo-grid-section { padding: 20px 16px 20px; }
.page-ban-ca__logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; justify-items: center; max-width: 1200px; margin: 0 auto; }
.page-ban-ca__logo-item { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 280px; background-color: #2A1212; border: 1px solid #6A1E1E; padding: 18px 18px 24px; border-radius: 18px; transition: 0.3s; }
.page-ban-ca__logo-item:hover { transform: translateY(-8px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); border-color: #F3C54D; }
.page-ban-ca__logo-image, .page-ban-ca__logo-item img { border-radius: 10px; width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background-color: #140C0C; padding: 4px; }
.page-ban-ca__logo-cta { display: inline-block; padding: 9px 26px; border-radius: 30px; background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); color: #fff; font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: .2s; border: 1px solid #6A1E1E; max-width: 100%; white-space: normal; word-break: break-word; text-align: center; }
.page-ban-ca__logo-cta:hover { filter: brightness(1.1); }
.page-ban-ca__logo-grid .page-ban-ca__logo-item:nth-child(5) { grid-column: 2 / 3; }
.page-ban-ca__logo-grid .page-ban-ca__logo-item:nth-child(6) { grid-column: 3 / 4; }

/* Guide Section (FAQ) */
.page-ban-ca__guide-section { padding: 20px 16px 30px; }
.page-ban-ca__guide-inner { max-width: 1000px; margin: 0 auto; 
  background-color: #2A1212; border: 1px solid #6A1E1E; border-radius: 20px; padding: 44px 40px; }
.page-ban-ca__guide-section h2 { text-align: center; font-size: clamp(1.2rem, 3vw, 2.2rem); font-weight: 750; margin-bottom: 4px; line-height: 1.25; letter-spacing: 0.3px; }
.page-ban-ca__guide-inner>p { text-align: center; max-width: 800px; margin: 0 auto 28px; opacity: 0.9; font-size: 0.98rem; }
.page-ban-ca__guide-section details { border-top: 1px solid #3b1b1b; padding: 10px 0 16px; }
.page-ban-ca__guide-section details:last-child { border-bottom: 1px solid #3b1b1b; }
.page-ban-ca__guide-section summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.2rem; padding: 6px 0; color: #FFF1E8; }
.page-ban-ca__guide-section summary::-webkit-details-marker { display: none; }
.page-ban-ca__faq-icon { font-size: 1.8rem; line-height: 1; color: #F3C54D; padding-left: 18px; font-weight: 600; }
.page-ban-ca__guide-figure { margin: 18px 0 12px; }
.page-ban-ca__guide-figure img { width: 100%; max-width: 800px; aspect-ratio: 2 / 1; object-fit: cover; margin: 0 auto; }
.page-ban-ca__guide-section details p { padding: 4px 30px 6px; margin: 0; opacity: 0.95; font-size: 0.98rem; }

/* Blog Section */
.page-ban-ca__blog-section { background-color: #140C0C; padding: 30px 16px 44px; text-align: center; }
.page-ban-ca__blog-section h2 { font-size: clamp(1.3rem, 3vw, 2rem); color: #FFF1E8; margin: 0 0 24px; }
.page-ban-ca__blog-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; text-align: left; }
.page-ban-ca__blog-card { background-color: #2A1212; border: 1px solid #6A1E1E; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.page-ban-ca__blog-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.page-ban-ca__blog-card a { display: block; padding: 14px 14px 18px; color: #FFF1E8; font-weight: 650; text-decoration: none; font-size: 1rem; line-height: 1.4; }
.page-ban-ca__blog-card a:hover { color: #F3C54D; }

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .page-ban-ca__logo-grid { grid-template-columns: repeat(2, 1fr); }
  .page-ban-ca__logo-grid .page-ban-ca__logo-item:nth-child(5), .page-ban-ca__logo-grid .page-ban-ca__logo-item:nth-child(6) { grid-column: auto; }
  .page-ban-ca__blog-list { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 700px; }
  .page-ban-ca__guide-inner { padding: 32px 26px; }
}

/* Mobile */
@media (max-width: 768px) {
  .page-ban-ca { max-width: 100%; overflow-x: hidden; }
  .page-ban-ca__hero-section { padding-top: 8px; }
  .page-ban-ca__hero-image img { aspect-ratio: 2 / 1; }
  .page-ban-ca__logo-grid { grid-template-columns: repeat(2, 1fr); }
  .page-ban-ca__guide-section h2 { font-size: 1.3rem; }
  .page-ban-ca__guide-figure { margin-right: 0; margin-left: 0; }
  .page-ban-ca__guide-figure img { aspect-ratio: 2 / 1; }
  .page-ban-ca__guide-inner { padding: 24px 14px; }
  .page-ban-ca__guide-section summary { font-size: 1rem; }
  .page-ban-ca img { max-width: 100% !important; height: auto !important; }
  .page-ban-ca__cta-button, .page-ban-ca__logo-cta { max-width: 100%; box-sizing: border-box; white-space: normal; word-break: break-word; }
  .page-ban-ca__hero-actions { width: 100%; max-width: 100%; overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .page-ban-ca__hero-actions .page-ban-ca__cta-button { width: 90%; text-align: center; }
  .page-ban-ca__logo-grid-section { padding-left: 12px; padding-right: 12px; }
  .page-ban-ca__blog-list { grid-template-columns: 1fr; }
  .page-ban-ca__logo-item { max-width: 100%; }
}