/**
 * The site's default content width (--width-content-m, 800px) is too
 * narrow for this page pattern - widen it to 1280px, scoped to the
 * "Case Reference" page template (template-case-reference.php) only.
 */
.page-template-template-case-reference-php .blocks > *,
.page-template-template-case-reference-php .blocks .inner-blocks > * {
  max-width: 1280px;
}

.is-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
}

/**
 * Full-bleed two-tone CTA banner at the end of the main content column -
 * two stacked Group blocks (dark title bar + orange link bar), no gap
 * between them.
 */
.case-reference-banner-title {
  background: #000;
  color: #fff;
  padding: 32px;
}

.case-reference-banner-title :is(h1, h2, h3, h4, h5, h6) {
  color: inherit;
  margin: 0;
  font-size: 32px;
}

.case-reference-banner-title + .case-reference-banner-cta {
  margin-top: 0;
}

.case-reference-banner-cta {
  background: var(--color-primary, #CB7F16);
  padding: 16px 32px;;
}

.case-reference-banner-cta p {
  margin-bottom: 0;
}

.case-reference-banner-cta a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: var(--font-weight-bold, 700);
  text-decoration: none;
  line-height: 150%;
  font-size: 20px;
}

.case-reference-banner-cta a::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M1.99971 13.0001L1.99957 11.0002H18.1715L14.2218 7.05044L15.636 5.63623L22 12.0002L15.636 18.3642L14.2218 16.9499L18.1716 13.0002L1.99971 13.0001Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.blocks .wp-block-quote.case-reference-quote {
  border-left: none;
  padding-left: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #CB7F16;

}

.case-reference-pretitle {
  display: inline-block;
  color: #000;
  font-weight: normal;
  font-size: 20px;
  padding: 2px 12px;
  border-bottom: 1px solid var(--color-primary, #CB7F16);
  border-top: 1px solid var(--color-primary, #CB7F16);
  margin-bottom: 16px;
  line-height: 150%; /* 30px */
}

.case-reference-card {
  padding: 28px;
  border-radius: 8px;
  border: 1px solid #F2F2F2;
  background: #FFF;
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.case-reference-card h3.wp-block-heading {
  color: #000;
font-family: BenchNine;
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: 42px; /* 131.25% */
}

.case-reference-card .wp-block-acf-froggy-button {
  margin: var(--spacing-m, 1.5rem) -28px -28px -28px;
}

.case-reference-card .froggy-button {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: .5rem;
  width: 100%;
  background-color: var(--color-primary, #CB7F16);
  border-color: var(--color-primary, #CB7F16);
  color: var(--color-white, #fff);
  border-radius: 0 0 8px 8px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .04em;
  padding: .875rem 1.5rem;
}

.case-reference-card .froggy-button:hover {
  background-color: var(--color-black, #000);
  border-color: var(--color-black, #000);
  color: var(--color-white, #fff);
}

.case-reference-card .froggy-button::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M1.99971 13.0001L1.99957 11.0002H18.1715L14.2218 7.05044L15.636 5.63623L22 12.0002L15.636 18.3642L14.2218 16.9499L18.1716 13.0002L1.99971 13.0001Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.case-reference-card .froggy-buttons--arrangement-vertical .froggy-buttons__item {
  width: 100%;
}

.case-reference-card .wp-block-group__inner-container .wp-block-heading:first-child {
  margin-top: 0;
}

.case-reference-card + .case-reference-card {
  margin-top: var(--spacing-m, 1.5rem);
}

.case-reference-card > :first-child {
  margin-top: 0;
}

.blocks .case-reference-card .wp-block-table table {
  width: 100%;
  border: none;
  border-collapse: collapse;
}

.blocks .case-reference-card .wp-block-table tr,
.blocks .case-reference-card .wp-block-table tr:nth-child(odd) {
  border: none;
}

.blocks .case-reference-card .wp-block-table tr:last-child {
  border-bottom: none;
}

.blocks .case-reference-card .wp-block-table td {
  border: none;
  min-width: 0;
  padding: .625rem 0;
  vertical-align: top;
}

.blocks .case-reference-card .wp-block-table td:first-child {
  width: 40%;
  padding-right: var(--spacing-s, 1rem);
}

