.case-studies #contact {
  display: none;
}
.case-studies .entry-content p,
.case-studies .entry-content ul {
  font-size: var(--wp--custom--min-18-max-20);
  line-height: 1.5;
  max-width: 1200px;
  margin: 0px auto;
}
.case-studies .entry-content p a {
  padding-bottom: 20px;
  display: block;
}
.case-studies .has-large-font-size {
  line-height: 1.5 !important;
  font-size: var(--wp--custom--min-18-max-20) !important;
  letter-spacing: clamp(-0.026rem, calc(-0.024vw + -0.004rem), -0.01rem);
}
.case-studies .has-xlg-font-size {
  font-size: var(--wp--custom--min-36-max-64);
  line-height: 64px;
  max-width: 760px;
}
.case-studies .has-64-font-size,
.case-studies
  h2.wp-block-heading.has-brand-600-color.has-text-color.has-2-xl-font-size {
  line-height: var(--wp--custom--min-36-max-64);
  letter-spacing: clamp(-0.24rem, -0.158vw - 0.098rem, -0.135rem);
  font-size: var(--wp--custom--min-36-max-64) !important;
}
.case-studies .wp-block-quote p {
  padding-bottom: var(--wp--custom--min-16-max-24);
  padding-left: 40px;
  line-height: var(--wp--custom--min-24-max-40) !important;
  font-size: var(--wp--custom--min-18-max-20);
}
.case-studies .wp-block-quote .has-huge-font-size {
  font-size: var(--wp--custom--min-18-max-24);
}
.case-studies .wp-block-quote::before {
  background-image: url("/wp-content/themes/Tipalti-Synergy/resources/icons/decorative/icon-quote.svg");
  position: absolute;
  content: "";
  background-repeat: no-repeat;
  width: 55px;
  height: 55px;
  margin-top: -20px;
  margin-left: -20px;
}
.case-studies .wp-block-quote cite {
  font-size: var(--wp--custom--min-14-max-16);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.25px;
  color: #a8a8a8;
  padding-left: 40px;
  font-style: normal;
  padding-bottom: 0px;
  display: inline-block;
  line-height: 22px;
}
.case-studies figure:has(iframe) {
  padding-top: var(--wp--custom--min-24-max-80);
  max-width: calc(1440px - 200px) !important;
}
.case-studies .tcb-cta-pattern {
  box-shadow: none;
}
.case-studies .has-card-box-shadow,
.case-studies blockquote.wp-block-quote.is-style-has-shadow-border-radius {
  border-radius: var(--wp--custom--min-32-max-40);
  box-shadow: 0px 16px 24px 0px rgba(0, 0, 0, 0.05) !important;
  background-color: var(--wp--preset--color--synergy-white);
  padding: var(--wp--custom--min-24-max-40);
  margin: 0px;
}
.case-studies .has-neutral-100-color {
  color: var(--wp--preset--color--synergy-white);
}
.case-studies .has-brand-500-color {
  color: var(--wp--preset--color--synergy-gold) !important;
}
.case-studies .has-brand-600-color {
  color: var(--wp--preset--color--synergy-onyx);
}
.case-studies .has-brand-100-background-color {
  background-color: none;
}
.case-studies .has-brand-600-background-color,
.case-studies .has-bg-dark-background-color {
  background-color: var(--wp--preset--color--synergy-onyx);
}
.case-studies .pt-48 {
  padding-top: var(--wp--custom--min-24-max-48);
}
.case-studies .pb-48 {
  padding-bottom: var(--wp--custom--min-24-max-48);
}
.case-studies .pr-20 {
  padding-right: var(--wp--custom--min-12-max-20);
}
.case-studies .entry-content .wp-block-columns-is-layout-flex {
  gap: var(--wp--custom--min-24-max-80);
}
.case-studies
  .entry-content
  .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-1 {
  padding: 0px var(--wp--custom--min-24-max-100);
}
.case-studies .wp-block-cover {
  min-height: 0px;
  padding: var(--wp--custom--min-24-max-80) var(--wp--custom--min-24-max-100);
  border-radius: 64px;
  max-width: 1440px;
  margin: 0px auto;
}
/* remove left and right padding on 1st hero block */
.case-studies .wp-block-cover:first-of-type {
  padding: var(--wp--custom--min-24-max-100) var(--wp--custom--min-18-max-24);
}
.case-studies .wp-block-cover:first-of-type h1 {
  line-height: var(--wp--custom--min-36-max-64);
}
.case-studies .wp-block-cover:first-of-type li {
  line-height: var(--wp--custom--min-24-max-40);
  font-size: var(--wp--custom--min-18-max-24);
}
.case-studies .wp-block-cover:first-of-type li strong,
.case-studies strong {
  font-weight: 400 !important;
}
.case-studies .wp-block-cover .wp-block-cover__background {
  opacity: 0.4;
}
.case-studies .wp-block-button.is-style-outline a.wp-block-button__link {
  background-color: var(--wp--preset--color--synergy-gold);
  border-color: var(--wp--preset--color--synergy-gold);
  color: var(--wp--preset--color--synergy-onyx);
  font-size: 16px !important;
  border-radius: var(--wp--custom--min-16-max-20) !important;
}
.case-studies .entry-content .spacing-xxx-lg {
  height: var(--wp--custom--min-24-max-80) !important;
}
/* Quote section in yellow  2nd last block-cover block */
.wp-block-cover:nth-last-of-type(2) {
  background-color: var(--wp--preset--color--synergy-melon) !important;
}
.wp-block-cover:nth-last-of-type(2) h2 {
  padding-bottom: var(--wp--custom--min-24-max-80);
}
.wp-block-cover:nth-last-of-type(2) p {
  font-size: var(--wp--custom--min-18-max-24);
}
.case-studies
  .wp-block-cover:nth-last-of-type(2)
  p.has-brand-600-color.has-text-color.has-huge-font-size {
  color: var(--wp--preset--color--synergy-onyx);
}
blockquote.wp-block-quote.is-style-has-shadow-border-radius.pt-40.pl-40.pr-40.pb-40.has-brand-600-color {
  box-shadow: none !important;
  background-color: transparent !important;
}
/* Reset .wp-cover-block if it contains a blockquote and add styles to block quote directly as not all of them are in cover blocks */
.wp-block-cover:has(blockquote.wp-block-quote.has-neutral-100-color) {
  padding: 0px !important;
  max-width: calc(1440px - 200px) !important;
}
.case-studies blockquote {
  padding: 36px var(--wp--custom--min-24-max-100);
  background-color: var(--wp--preset--color--synergy-onyx);
  border-radius: 64px;
  max-width: calc(1440px - 200px) !important;
}
p + blockquote {
  margin-top: var(--wp--custom--min-24-max-80);
}
blockquote + p {
  margin-top: var(--wp--custom--min-24-max-80) !important;
}
.case-studies blockquote.wp-block-quote p.has-huge-font-size {
  color: var(--wp--preset--color--synergy-white);
}
.case-studies .wp-block-cover.alignfull.is-light {
  min-height: auto !important;
}
.case-studies figure + blockquote {
  margin-top: var(--wp--custom--min-24-max-80);
}
.case-studies h2.wp-block-heading.has-xlg-font-size {
  font-size: var(--wp--custom--min-24-max-40);
  line-height: var(--wp--custom--min-24-max-48);
}
@media screen and (max-width: 782px) {
  .case-studies .wp-block-quote p {
    padding-left: 0px;
    padding-top: 40px;
  }
  .case-studies .wp-block-quote cite {
    padding-left: 0px;
  }
}
/* Temp Reset copy in bottom row cta pattern on case studies to remain uneffected */
.wp-block-cover.bottom-row-cta {
  border-radius: var(--wp--custom--min-32-max-64);
}
.wp-block-cover.bottom-row-cta p {
  font-size: var(--wp--preset--font-size--large) !important;
  padding-bottom: var(--wp--custom--min-24-max-24) !important;
  line-height: var(--wp--custom--min-24-max-40) !important;
  letter-spacing: clamp(-0.075rem, -0.098vw + 0.013rem, -0.01rem) !important;
  max-width: 410px !important;
}

.wp-block-cover.bottom-row-cta .spacing-xxx-lg {
  height: 260px !important;
}
