/* Editorial layout for public pages presented as clean CMS content. */
.atbank-content {
  width: min(calc(100% - 48px), 1040px);
  margin: clamp(48px, 7vw, 88px) auto;
  color: #192b26;
}

.atbank-content > :first-child { margin-top: 0; }
.atbank-content > :last-child { margin-bottom: 0; }

.atbank-content .pre-title-text {
  margin: 0 0 14px;
  color: #164537;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.atbank-content h1 {
  max-width: 820px;
  margin: 0 0 22px;
  color: #192b26;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.atbank-content h2 {
  margin: 34px 0 12px;
  color: #192b26;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.atbank-content p,
.atbank-content li {
  max-width: 820px;
  color: #61736d;
  font-size: 1.05rem;
  line-height: 1.75;
}

.atbank-content ul { padding-left: 1.3rem; }
.atbank-content li + li { margin-top: 8px; }
.atbank-content .btn-primary { margin-top: 10px; }

.atbank-content .atbank-content-intro {
  max-width: 820px;
  margin: 0 0 30px;
  color: #61736d;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.atbank-content .atbank-content-panel {
  margin: 28px 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #d9e2dd;
  border-radius: 18px;
  background: #f1f6f2;
}

.atbank-content .atbank-content-panel h2 { margin-top: 0; }
.atbank-content .atbank-content-panel p:last-child { margin-bottom: 0; }

.atbank-content .atbank-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
}

.atbank-content .atbank-link-card {
  display: block;
  min-height: 100%;
  padding: 20px 22px;
  border: 1px solid #d9e2dd;
  border-radius: 14px;
  background: #fff;
  color: #192b26;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.atbank-content .atbank-link-card:hover,
.atbank-content .atbank-link-card:focus-visible {
  border-color: #123c32;
  box-shadow: 0 10px 24px rgb(18 60 50 / 9%);
  color: #192b26;
  text-decoration: none;
  transform: translateY(-2px);
}

.atbank-content .atbank-link-card strong {
  display: block;
  margin-bottom: 6px;
  color: #192b26;
  font-size: 1.05rem;
}

.atbank-content .atbank-link-card span {
  display: block;
  color: #61736d;
  font-size: .96rem;
  line-height: 1.55;
}

.atbank-content .atbank-content-note {
  padding: 18px 20px;
  border-left: 4px solid #123c32;
  background: #edf3ef;
}

/* CMS blog posts still contain imported article markup. Give it a consistent
   editorial presentation without changing article content. */
body.site-post #header-image.header-image--blog {
  overflow: hidden;
  padding: clamp(36px, 6vw, 68px) 0 30px;
  border: 0;
  background: #f5f7f4;
  color: #192b26;
}

body.site-post #header-image.header-image--blog::before,
body.site-post #header-image.header-image--blog::after {
  display: none;
}

body.site-post #header-image.header-image--blog .container-fluid {
  width: min(calc(100% - 48px), 1040px);
  max-width: 1040px;
  padding: 0 !important;
}

body.site-post #header-image.header-image--blog .col--text {
  flex: 0 0 100%;
  max-width: 100%;
  margin-left: 0;
  color: #192b26;
}

body.site-post #header-image.header-image--blog .back {
  margin-bottom: 24px;
}

body.site-post #header-image.header-image--blog .back a {
  color: #164537;
  font-size: .95rem;
  letter-spacing: 0;
}

body.site-post #header-image.header-image--blog .back a::before {
  color: #123c32;
}

body.site-post #header-image.header-image--blog .back a::after {
  background: #123c32;
}

body.site-post #header-image.header-image--blog .col--text h1 {
  max-width: 860px;
  margin: 0 0 24px;
  color: #192b26;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.06;
  text-wrap: balance;
}

body.site-post #header-image.header-image--blog .meta {
  max-width: 860px;
  border-top-color: #d9e2dd;
  color: #61736d;
  padding-top: 12px;
}

body.site-post #header-image.header-image--blog .meta__cats::before {
  background: #d9e2dd;
}

body.site-post #header-image.header-image--blog .meta__cats a {
  color: #164537;
}

body.site-post > .container-fluid {
  width: min(calc(100% - 48px), 1040px);
  max-width: 1040px;
  padding: 0 !important;
}

body.site-post .row--content {
  margin: 0;
}

body.site-post .col--content {
  padding: 0;
}

body.site-post .content--post.content--card {
  margin: 0 auto clamp(48px, 7vw, 88px);
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid #eee4db;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgb(18 60 50 / 7%);
  color: #61736d;
  font-size: 1.05rem;
  line-height: 1.75;
}

body.site-post .content--post.content--slide-up {
  margin-top: 0;
}

body.site-post .content--post > * {
  max-width: none;
}

body.site-post .content--post h2,
body.site-post .content--post h3,
body.site-post .content--post h4 {
  margin: 34px 0 12px;
  color: #192b26;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}

body.site-post .content--post p,
body.site-post .content--post li {
  color: #61736d;
}

body.site-post .content--post a {
  color: #164537;
  text-decoration-color: #7fa58f;
  text-underline-offset: 3px;
}

body.site-post .content--post img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

body.site-post .content--post .thumbnail.alignright,
body.site-post .content--post .thumbnail.alignleft {
  float: none;
  width: min(100%, 720px);
  margin: 0 0 28px;
}

@media (max-width: 575.98px) {
  body.site-post #header-image.header-image--blog .container-fluid,
  body.site-post > .container-fluid {
    width: calc(100% - 36px);
  }

  body.site-post .content--post.content--card {
    margin-bottom: 48px;
    padding: 22px 18px;
    font-size: 1rem;
  }
}

.business-credit-page .business-credit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(38px, 6vw, 68px);
}

.business-credit-page .business-credit-hero h1 { margin-bottom: 18px; }
.business-credit-page .business-credit-hero .atbank-content-intro { margin-bottom: 22px; }

.business-credit-page .business-credit-hero figure {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: #edf3ef;
  box-shadow: 0 18px 44px rgb(18 60 50 / 12%);
}

.business-credit-page .business-credit-hero img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.business-credit-page .business-credit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.business-credit-page .business-credit-columns .atbank-content-panel { margin: 0; }
.business-credit-page .business-credit-faq h3 { margin: 24px 0 6px; color: #192b26; font-size: 1.08rem; }
.business-credit-page .business-credit-faq h3 + p { margin-top: 0; }

@media (max-width: 760px) {
  .business-credit-page .business-credit-hero,
  .business-credit-page .business-credit-columns { grid-template-columns: 1fr; }
  .business-credit-page .business-credit-hero figure { grid-row: 1; }
}

@media (max-width: 575.98px) {
  .atbank-content .atbank-link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .atbank-content {
    width: calc(100% - 36px);
    margin: 40px auto 52px;
  }

  .atbank-content p,
  .atbank-content li { font-size: 1rem; }
}
