/* Business Service Bond page (/bond-your-employees/): hero, steps strip, why section with a small video, price tables, call-to-action band. */
main.bond-service {
  font-size: 1.05rem;
  /* base.css gives every <main> 20px, a white strip between the breadcrumb band and the hero */
  margin-top: 0;
}

main.bond-service > .container:last-child {
  padding-bottom: 56px;
}

main.bond-service :is(h2, h3, p) {
  font-family: inherit;
}

/* Hero */
.bond-hero {
  background: #eef1f4;
  padding: 56px 0 80px;
}

.bond-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.bond-hero h1 {
  font-size: 3rem;
  color: var(--text);
  margin: 0 0 16px !important;
}

.bond-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bond-btn {
  display: inline-block;
  padding: 14px 26px;
}

.bond-logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  justify-self: center;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.bond-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Imagify wraps the image in <picture class="bond-logo"> */
/* Steps (under the hero) */
.bond-steps {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.bond-steps .container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
  padding: 22px 28px;
  width: calc(100% - 30px);
  max-width: 1110px;
}

main.bond-service .bond-steps h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 14px;
  font-family: inherit;
}

.bond-steps ol {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bond-steps li {
  margin: 0;
  counter-increment: s;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 104px;
  background: var(--grey);
  border: 1px solid #dfe2e6;
  border-radius: 12px;
  padding: 18px 20px 18px 88px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.bond-steps li:before {
  content: counter(s);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 52px;
  text-align: center;
}

/* Combined "why" section: copy left, small video right */
.bond-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
  padding: 48px 0 8px;
}

main.bond-service .bond-why h2 {
  margin: 0 0 16px;
}

.bond-why p {
  margin: 0 0 14px;
  max-width: 44em;
}

.bond-why-note {
  margin-top: 18px !important;
}

.bond-video iframe {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

/* Why section without a video */
.bond-why-solo {
  grid-template-columns: minmax(0, 1fr);
}

/* FAQ cards */
.bond-faq {
  padding-top: 56px;
}

main.bond-service .bond-faq > h2 {
  margin: 0 0 20px;
}

.bond-faq-item {
  padding: 24px 28px 26px;
  margin-bottom: 20px;
}

main.bond-service .bond-faq-item h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.bond-faq-item p {
  margin: 0 0 12px;
  max-width: 60em;
}

.bond-faq-item :is(p, ul):last-child {
  margin-bottom: 0;
}

.bond-faq-item ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.bond-faq-item li {
  margin: 0 0 4px;
}

/* Pricing */
.bond-pricing {
  display: grid;
  grid-auto-flow: row dense;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  padding-top: 40px;
}

.bond-pricing > * {
  grid-column: 1 / -1;
}

.bond-pricing > h2:first-child {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 20px;
  border-left: 5px solid var(--orange);
  padding-left: 14px;
}

.bond-pricing > [id="5_or_less"],
.bond-pricing > [id="5_or_less"] + .bond-table {
  grid-column: 1;
}

.bond-pricing > [id="6_or_more"],
.bond-pricing > [id="6_or_more"] + .bond-table {
  grid-column: 2;
}

.bond-pricing > .bond-table,
.bond-pricing > .wp-block-table {
  margin: 0;
}

.bond-pricing > :is([id="5_or_less"], [id="6_or_more"]) {
  scroll-margin-top: var(--anchor-offset);
  font-size: .85rem;
  font-weight: 700;
  margin: 0 0 10px;
  border: 0;
  padding: 0;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.bond-pricing .bond-table {
  overflow: hidden;
}

.bond-pricing .bond-table table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.bond-pricing .bond-table :is(th, td) {
  border: 0;
  padding: 12px 14px;
  text-align: center;
}

.bond-pricing .bond-table thead th {
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bond-pricing .bond-table tbody tr:nth-child(even) td {
  background: #f5f6f8;
}

.bond-pricing .bond-table td:last-child {
  font-weight: 800;
}

.bond-pricing .bond-table a {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: .85rem;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none !important;
}

.bond-pricing .bond-table a:hover {
  background: var(--orange-dark);
}

/* Call to action */
.bond-cta {
  gap: 32px;
  margin-top: 56px;
  padding: 32px 36px;
}

main.bond-service .bond-cta h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  color: inherit;
}

.bond-cta p {
  margin: 0;
  font-size: 1.05rem;
}

.bond-cta .bond-btn {
  flex: none;
  font-size: 1.1rem;
  padding: 16px 32px;
}

@media (max-width: 900px) {
  .bond-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .bond-logo {
    max-width: 300px;
    justify-self: start;
  }
  .bond-steps ol,
  .bond-why {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .bond-pricing {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }
  .bond-pricing > [id="5_or_less"],
  .bond-pricing > [id="5_or_less"] + .bond-table,
  .bond-pricing > [id="6_or_more"],
  .bond-pricing > [id="6_or_more"] + .bond-table {
    grid-column: 1;
  }
  .bond-pricing > [id="6_or_more"] {
    margin-top: 20px;
  }
  .bond-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }
}

@media (max-width: 600px) {
  .bond-hero {
    padding: 36px 0 60px;
  }
  .bond-hero h1 {
    font-size: 2.1rem;
  }
  .bond-btn {
    width: 100%;
    text-align: center;
  }
}

/* Hero with the page's featured photo behind it (bond-service, -license, -article and -contact templates) */
.bond-hero.has-photo {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: 50% 40%;
}

.bond-hero.has-photo:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 22, 26, .9) 0%, rgba(20, 22, 26, .75) 45%, rgba(20, 22, 26, .5) 100%);
}

.bond-hero.has-photo > .container {
  position: relative;
}

.bond-hero.has-photo h1,
.bond-hero.has-photo .bond-lead,
.bond-hero.has-photo .bond-lead a {
  color: #fff;
}

/* The ERISA page's own hero photo is now the background */
.bond-hero.has-photo .bond-hero-photo {
  display: none;
}
