/* business/checking/elite-business-checking/disclosures-and-fees.html */

.checking-page.biz-chk-fees-page #biz-main {
  text-align: left;
}

.checking-page.biz-chk-fees-page main > section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.checking-page.biz-chk-fees-page .biz-chk-fees-tables > .container,
.checking-page.biz-chk-fees-page .biz-chk-fees-legal > .container {
  width: min(1220px, 100% - 2rem);
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

/* Hero — centered disclosure banner (screenshot layout) */
.checking-page.biz-chk-fees-page
  .checking-hero.biz-chk-detail-hero
  > .checking-breadcrumb {
  background: transparent;
}

.checking-page.biz-chk-fees-page .checking-hero.biz-chk-detail-hero--copy-only {
  display: flex;
  flex-direction: column;
  min-height: clamp(15rem, 32vh, 21rem);
  padding: 0;
  overflow: hidden;
  background: #1a2b4b;
  color: var(--color-white);
}

.checking-page.biz-chk-fees-page
  .biz-chk-detail-hero--copy-only
  > .checking-breadcrumb {
  box-sizing: border-box;
  align-self: flex-start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1.5rem, 3vw, 2.25rem) 0;
  text-align: left;
}

.checking-page.biz-chk-fees-page
  .biz-chk-detail-hero--copy-only
  .checking-hero__inner.biz-chk-detail-hero__split {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
}

.checking-page.biz-chk-fees-page
  .biz-chk-detail-hero--copy-only
  .checking-hero__copy.biz-chk-detail-hero__copy {
  box-sizing: border-box;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.checking-page.biz-chk-fees-page
  .biz-chk-detail-hero--copy-only
  .checking-hero__title {
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  text-align: center;
  color: var(--color-white);
}

.checking-page.biz-chk-fees-page
  .biz-chk-detail-hero--copy-only
  .checking-hero__actions {
  display: flex;
  justify-content: center;
  margin: 0;
}

.checking-page.biz-chk-fees-page .biz-chk-fees-hero__product-btn {
  padding: 0.55rem 1.35rem;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.35;
  color: #c5a059;
  background: transparent;
  border: 1px solid #c5a059;
  border-radius: var(--radius-sm);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.checking-hero__actions .btn::after {
  right: 0.5rem;
}

.checking-page.biz-chk-fees-page .biz-chk-fees-hero__product-btn:hover {
  color: #d4b96a;
  background: rgba(197, 160, 89, 0.14);
  border-color: #d4b96a;
}

.checking-page.biz-chk-fees-page .biz-chk-fees-hero__product-btn:focus-visible {
  outline: 2px solid #c5a059;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .checking-page.biz-chk-fees-page
    .checking-hero.biz-chk-detail-hero--copy-only {
    min-height: clamp(13rem, 38vw, 17rem);
  }

  .checking-page.biz-chk-fees-page
    .biz-chk-detail-hero--copy-only
    > .checking-breadcrumb {
    padding: 0.85rem 1.25rem 0;
    font-size: 0.875rem;
  }

  .checking-page.biz-chk-fees-page
    .biz-chk-detail-hero--copy-only
    .checking-hero__inner.biz-chk-detail-hero__split {
    padding: 1.25rem 1.25rem 1.75rem;
  }
}

/* Fee tables */
.biz-chk-fees-tables {
  background: linear-gradient(180deg, #f7f8fa 0%, var(--color-page) 100%);
}

.biz-chk-fees-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.biz-chk-fees-table-wrap:last-child {
  margin-bottom: 0;
}

.biz-chk-fees-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  background: var(--color-white);
}

.biz-chk-fees-table__banner {
  padding: 0.9375rem 1.5rem;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: var(--color-white);
  background: #111316;
  font-family: var(--font-serif);
}

.biz-chk-fees-table tbody th,
.biz-chk-fees-table tbody td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid #d1d5db;
}

.biz-chk-fees-table tbody th {
  width: 32%;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-navy-950);
  background: var(--color-white);
}

.biz-chk-fees-table tbody td {
  width: 68%;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: #333333;
}

.biz-chk-fees-table__row-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-slate-600);
}

.biz-chk-fees-table__detail,
.biz-chk-fees-table__example {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-slate-600);
}

.biz-chk-fees-table__follow,
.biz-chk-fees-table__example {
  margin-top: 0.65rem;
}

.biz-chk-fees-table__follow {
  display: block;
}

.biz-chk-fees-table tbody td strong {
  font-weight: 700;
  color: var(--color-navy-950);
}

@media (max-width: 640px) {
  .biz-chk-fees-table {
    min-width: 28rem;
  }

  .biz-chk-fees-table__banner,
  .biz-chk-fees-table tbody th,
  .biz-chk-fees-table tbody td {
    padding: 1rem 1.125rem;
  }
}

/* Legal disclosures — collapsible (matches biz-open-disc on opening-requirements) */
.biz-chk-fees-legal {
  background: #f7f8fa;
}

.biz-chk-fees-legal__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  overflow: hidden;
}

.biz-chk-fees-legal__heading {
  margin: 0;
}

.biz-chk-fees-legal__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1.15rem, 2.5vw, 1.35rem);
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background-color 0.2s ease;
}

.biz-chk-fees-legal__trigger:hover {
  background: rgba(248, 250, 252, 0.9);
}

.biz-chk-fees-legal__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.biz-chk-fees-legal.is-open .biz-chk-fees-legal__trigger {
  background: rgba(248, 250, 252, 0.65);
  border-bottom: 1px solid var(--color-mega-rule);
}

.biz-chk-fees-legal__title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-navy-950);
}

.biz-chk-fees-legal__chevron {
  display: block;
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.41rem;
  border-right: 2px solid var(--color-navy-900);
  border-bottom: 2px solid var(--color-navy-900);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  opacity: 0.85;
}

.biz-chk-fees-legal.is-open .biz-chk-fees-legal__chevron {
  transform: rotate(-135deg);
  margin-top: 0.41rem;
}

.biz-chk-fees-legal__panel[hidden] {
  display: none;
}

.biz-chk-fees-legal__content {
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1.15rem, 2.5vw, 1.35rem)
    clamp(1.15rem, 2.5vw, 1.35rem);
}

.biz-chk-fees-legal__p {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--color-slate-600);
}

.biz-chk-fees-legal__p:last-child {
  margin-bottom: 0;
}

.biz-chk-fees-legal__p--note {
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-mega-rule);
}

.biz-chk-fees-legal__p a {
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.biz-chk-fees-legal__p a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
