/* Sky Access Checking product detail — extends checking-account.css */

/*
 * Hero bottom spacing from checking-account.css applies only to copy — not the photo column,
 * so the image can reach the true bottom of `.checking-hero` (hero padding-bottom: 0 here).
 */
.sky-access-checking-page .checking-hero {
  padding-bottom: 0;
}

.sky-access-checking-page .checking-hero__copy {
  box-sizing: border-box;
  padding-bottom: clamp(2.35rem, 4vw, 3.15rem);
  padding-top: 25px;
}

.sky-access-checking-page .checking-hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.sky-access-checking-page .checking-hero__visual {
  justify-self: stretch;
  align-self: stretch;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sky-access-checking-page .checking-hero__photo {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  position: relative;
  overflow: hidden;
}

.sky-access-checking-page .checking-hero__photo img {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  object-fit: cover;
  object-position: center bottom;
}

@media (max-width: 960px) {
  .sky-access-checking-page .checking-hero__visual {
    min-height: clamp(220px, 56vw, 380px);
  }

  .sky-access-checking-page .checking-hero__photo {
    max-width: min(100%, 560px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .sky-access-checking-page .checking-hero__visual {
    min-height: clamp(200px, 58vw, 320px);
  }

  .sky-access-checking-page .checking-hero__photo {
    border-radius: clamp(12px, 3vw, 18px);
  }
}

.sky-access-checking-page .sky-access-cta-row {
  margin: 0 0 1.5rem;
  text-align: center;
}

.sky-access-checking-page .sky-access-footnote-tight {
  margin-top: 1.25rem;
}

/* Bank On certification — two-column band under Features (matches reference layout) */
.sky-access-checking-page .sky-access-bank-on {
  margin-top: clamp(0.5rem, 5vw, 0.75rem);
  padding: clamp(2rem, 4.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
}

.sky-access-checking-page .sky-access-bank-on__inner {
  display: grid;
  grid-template-columns: minmax(0, min(100%, 440px)) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}

.sky-access-checking-page .sky-access-bank-on__media {
  display: flex;
  justify-content: center;
}

.sky-access-checking-page .sky-access-bank-on__card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 0;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.08),
    0 6px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sky-access-checking-page .sky-access-bank-on__card img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
}

.sky-access-checking-page .sky-access-bank-on__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-navy-900);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.sky-access-checking-page .sky-access-bank-on__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(30, 41, 59, 0.88);
  max-width: 38rem;
}

@media (max-width: 768px) {
  .sky-access-checking-page .sky-access-bank-on__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .sky-access-checking-page .sky-access-bank-on__copy {
    text-align: center;
  }

  .sky-access-checking-page .sky-access-bank-on__text {
    margin-left: auto;
    margin-right: auto;
  }
}
