/* Bond Article template (e.g. the ERISA page): hero with a photo, "on this page" links, the state
   picker, the sections as cards and a closing band. Builds on bond-service.css. */
main.bond-article > .container:last-child {
  padding-bottom: 24px;
}

main.bond-article .bond-hero {
  padding: 40px 0;
}

@media (max-width: 600px) {
  main.bond-article .bond-hero {
    padding: 28px 0;
  }
}

.bond-lead p {
  margin: 0 0 10px;
}

.bond-btn-secondary {
  padding: 12px 24px;
}

.bond-hero-photo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: 320px;
  object-fit: cover;
  object-position: 50% 35%;
  justify-self: center;
  overflow: hidden;
}

/* Imagify wraps the image as <picture class="bond-hero-photo">, so the cropping has to reach the inner <img> too. */
.bond-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 35%;
}

/* "On this page" */
.art-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 28px 0 0;
}

.art-nav span {
  font-weight: 800;
  margin-right: 6px;
}

.art-nav a {
  background: var(--grey);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .92rem;
  color: var(--ink) !important;
  text-decoration: none !important;
}

.art-nav a:hover {
  background: var(--ink);
  color: #fff !important;
}

/* State picker */
.art-map {
  padding-top: 44px;
  scroll-margin-top: var(--anchor-offset);
}

main.bond-article .art-map > h2 {
  margin: 0 0 20px;
}

.art-map-body {
  padding: 20px 24px;
}

/* Section cards */
.art-card {
  padding: 28px 32px 30px;
  margin-top: 28px;
  scroll-margin-top: var(--anchor-offset);
}

main.bond-article .art-card > h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 16px;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 5px solid var(--orange);
}

main.bond-article .art-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 22px 0 8px;
}

.art-card p {
  margin: 0 0 14px;
  max-width: 62em;
}

.art-card ul {
  margin: 0 0 14px;
  padding-left: 22px;
  max-width: 62em;
}

.art-card li {
  margin-bottom: 6px;
}

.art-card a.button {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  line-height: 1.35;
}

.art-card a.button:hover {
  background: var(--orange-dark);
}

.art-card > :last-child {
  margin-bottom: 0;
}

/* Closing band */
.art-close {
  margin-top: 36px;
}

.art-close .bond-cta-copy p {
  margin: 0;
  max-width: 40em;
}

.art-close a:not(.bond-btn) {
  color: #fff;
  font-weight: 700;
}

.art-note {
  font-size: .9rem;
  color: #555;
  margin: 14px 0 0;
}

/* Ask a question */
main.bond-article .contact {
  margin-top: 44px;
}

@media (max-width: 900px) {
  .bond-hero-photo {
    max-width: 100%;
    height: 240px;
    justify-self: stretch;
  }
  .art-card {
    padding: 22px 20px 24px;
  }
}

/* Hero buttons: a card to the right of the intro text */
.bond-hero-cta {
  justify-self: center;
  width: 100%;
  max-width: 340px;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bond-hero-cta p {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.bond-hero-cta .bond-btn {
  text-align: center;
}
