/*
 * Services introduction (service-intro-bnr): on the darkest teal, the "Services" eyebrow after a short teal rule, "Our HR services" as the page
 * heading in white and a line in light teal, beside the bright teal "Book a free call" button, which sits level
 * with the line. It opens the page strongly above the pale teal cards that follow.
 *
 * Runs across the page with the same side room as the other Services sections. On phones the buttons drop below.
 */

.wp-block-group.service-pattern.service-pattern--intro-bnr {
  margin: 0;
  padding: 0;
  background: #0d3d39;
  color: var(--white);
}

.service-pattern--intro-bnr .wp-block-group__inner-container {
  display: contents;
}

.service-pattern--intro-bnr .service-pattern__intro-bnr-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding: 48px clamp(24px, 5vw, 64px);
}

/* The eyebrow, heading and line */

.service-pattern--intro-bnr .service-pattern__intro-bnr-copy {
  display: flex;
  flex: 1 1 560px;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.service-pattern--intro-bnr .service-pattern__intro-bnr-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-pattern--intro-bnr .service-pattern__intro-bnr-eyebrow::before {
  width: 32px;
  height: 2px;
  background: var(--teal);
  content: "";
}

.service-pattern--intro-bnr .service-pattern__intro-bnr-heading {
  margin: 0;
  color: var(--white);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: none;
}

.service-pattern--intro-bnr .service-pattern__intro-bnr-summary {
  max-width: 600px;
  margin: 0;
  color: var(--teal-light);
  font-size: 17px;
  line-height: 1.55;
}

/* The button: "Book a free call", bright teal, turning white on hover. The comparison sits just below, so there's no button to scroll to it */

.service-pattern--intro-bnr .service-pattern__intro-bnr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.service-pattern--intro-bnr .service-pattern__intro-bnr-actions .wp-block-button__link {
  display: inline-block;
  padding: 14px 22px;
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: #0d3d39;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-pattern--intro-bnr .service-pattern__intro-bnr-button .wp-block-button__link:hover,
.service-pattern--intro-bnr .service-pattern__intro-bnr-button .wp-block-button__link:focus-visible {
  border-color: var(--white);
  background: var(--white);
}

.service-pattern--intro-bnr .service-pattern__intro-bnr-button .wp-block-button__link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Phones */

@media (max-width: 700px) {
  .service-pattern--intro-bnr .service-pattern__intro-bnr-inner {
    padding: 40px 16px;
  }
}
