/*
 * Insights introduction (insight-intro-bnr): on cream, the "Insights" eyebrow, "Employment law and regulation,
 * explained" as the page heading and a line about the April and October changes, beside the deep teal "Next update"
 * box (wpta/insights-next-update). On tablets and phones the box drops below the words.
 */

.wp-block-group.insight-pattern.insight-pattern--intro-bnr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 48px;
  margin: 0;
  padding: 48px clamp(24px, 5vw, 64px);
  background: #f4f3ee;
}

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

/* The words and the box share the row, as in the wireframe, until there's no room for both side by side */

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

.insight-pattern--intro-bnr .insights-next-update {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 520px;
}

/* Tablets and phones: the box runs the width of the words below them */

@media (max-width: 1023px) {
  .insight-pattern--intro-bnr .insights-next-update {
    max-width: none;
  }
}

.insight-pattern--intro-bnr .insight-pattern__intro-bnr-eyebrow {
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

@media (max-width: 700px) {
  .wp-block-group.insight-pattern.insight-pattern--intro-bnr {
    padding: 40px 16px;
  }
}
