/*
 * File: page_styles/sb-big-accordion.css
 * Version: 1.0 - 2026-11-16
 * Purpose: Sitewide large, clear accordion bars (EZ-Help, Privacy, and later pages).
 * Bill: good / clear / large — easy to tap, title readable, open/close obvious.
 */

details.sb-big-acc {
  margin: 0 0 14px;
  border: 2px solid #c5d0dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

details.sb-big-acc > summary.sb-big-acc__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 18px 20px;
  min-height: 64px;
  background: linear-gradient(180deg, #f4f7fb 0%, #e8eef5 100%);
  border-bottom: 2px solid transparent;
  font-family: inherit;
  color: #1a2b3c;
  user-select: none;
}

details.sb-big-acc > summary.sb-big-acc__summary::-webkit-details-marker {
  display: none;
}

details.sb-big-acc[open] > summary.sb-big-acc__summary {
  border-bottom-color: #c5d0dc;
  background: linear-gradient(180deg, #eaf2fa 0%, #dce8f4 100%);
}

.sb-big-acc__title {
  flex: 1 1 220px;
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.sb-big-acc__title i {
  margin-right: 8px;
  color: #3a6d9a;
}

.sb-big-acc__hint {
  flex: 0 0 auto;
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  font-weight: 800;
  color: #3a6d9a;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sb-big-acc__hint::before {
  content: "▸ ";
  font-weight: 900;
}

details.sb-big-acc[open] > summary .sb-big-acc__hint::before {
  content: "▾ ";
}

details.sb-big-acc[open] > summary .sb-big-acc__hint {
  color: #1f4d73;
}

.sb-big-acc__hint::after {
  content: "Tap to open";
}

details.sb-big-acc[open] > summary .sb-big-acc__hint::after {
  content: "Tap to close";
}

.sb-big-acc__body {
  padding: 18px 20px 22px;
  font-size: clamp(1.02rem, 2.4vw, 1.12rem);
  line-height: 1.6;
  color: #243447;
  background: #fff;
}

.sb-big-acc__body > :first-child {
  margin-top: 0;
}

.sb-big-acc__body h3 {
  margin: 22px 0 10px;
  font-size: clamp(1.08rem, 2.6vw, 1.22rem);
  color: #1a2b3c;
}

.sb-big-acc__body p {
  margin: 0 0 12px;
}

/* Compact page hero (Privacy and similar) */
.sb-page-hero--compact {
  text-align: center;
  margin: 0 0 18px;
  padding: 0;
}

.sb-page-hero--compact img {
  max-width: 88px;
  margin: 0 0 8px;
}

.sb-page-hero--compact h1 {
  font-size: clamp(1.45rem, 4vw, 1.75rem);
  margin: 0 0 6px;
  color: #23364a;
}

.sb-page-hero--compact .tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.45;
  max-width: 640px;
  margin: 0 auto;
  color: #334155;
}

@media (max-width: 600px) {
  details.sb-big-acc > summary.sb-big-acc__summary {
    padding: 16px 14px;
    min-height: 58px;
  }

  .sb-big-acc__body {
    padding: 14px 14px 18px;
  }
}
