/*********************
// core colours
*********************/
/*********************
// secondary
*********************/
/*********************
// Tertiary
*********************/
/*********************
// notifications
*********************/
/*********************
// Legacy
*********************/
/*********************
// Transitions
*********************/
/*********************
// Breakpoints
*********************/
/*********************
// Gaps and sizes
*********************/
/*********************
// Opacity and shadows
*********************/
mimas-block[block-name=cta-squares] .square {
  display: flex;
  flex-direction: column;
}

mimas-block[block-name=cta-squares] .square::after, mimas-block[block-name=cta-squares] .square img {
  position: absolute;
}

mimas-block[block-name=cta-squares] .square::after, mimas-block[block-name=cta-squares] .square img {
  inset: 0;
}

/*
This placeholder is usually added to blocks using the data-type attribute selector
    [data-type="acf/block-name"] {}
*/
:root {
  font-size: var(--root-font-size, 10px);
  --base-font: proxima-nova, Helvetica, Arial, sans-serif;
  --heading-font: effra, proxima-nova, Helvetica, Arial, sans-serif;
  --subheading-font: proxima-nova, Helvetica, Arial, sans-serif;
  --thin-font: proxima-nova-thin, proxima-nova, Helvetica, Arial, sans-serif;
  /*********************
  // Core colours
  *********************/
  --color-lime: #c3d82e;
  --color-magenta: #e52592;
  --color-deep-blue: #5525e5;
  /*********************
  // Secondary
  *********************/
  --white: #fff;
  --black: #000;
  --body-black: #051c2a;
  --black--bg: #1a1a1a;
  --text-color: #4b4b4b;
  --gray: #b3b3b3;
  --gray--light: #e8e8e8;
  --gray--lighter: #f0f0f0;
  --gray--lightest: #f7f7f7;
  --gray--dark: #717171;
  --gray--darker: #4b4b4b;
  --gray--darkest: #303030;
  /*********************
  // Tertiary
  *********************/
  --color-apple: #1de57e;
  --color-apple--light: #e6f9ef;
  --color-banana: #fff3a8;
  --color-banana--light: #fffadc;
  --color-chilli: #f02020;
  --color-deep-blue--light: #f1eefd;
  --color-lime--light: #141605;
  --color-magenta--light: #fdeef7;
  --color-magenta--dark: #ca2381;
  --color-strawberry: #ff615e;
  --color-strawberry--light: #ffefef;
  --color-strawberry--dark: #1f0c0b;
  --error: #ffecec;
  --success: #e9ffd9;
  --primary-color: #051c2a;
  /*********************
  // Gaps and sizes
  *********************/
  --gap: 2.4rem;
  --gap-element: 3.2rem;
  --gap-small: 2rem;
  --gap-smaller: 1.6rem;
  --gap-smallest: 1.2rem;
  --gap-large: 3.2rem;
  --gap-larger: 4rem;
  --gap-largest: 4.8rem;
  --gap-xlarge: 5.6rem;
  --grid-sidebar-w: 28rem;
}
:root {
  --gap-half: 10px;
}
@media screen and (min-width: 500px) {
  :root {
    --gap-half: calc(10px + 10 * (100vw - 500px) / 940);
  }
}
@media screen and (min-width: 1440px) {
  :root {
    --gap-half: 20px;
  }
}
:root {
  --gap: 20px;
}
@media screen and (min-width: 500px) {
  :root {
    --gap: calc(20px + 20 * (100vw - 500px) / 940);
  }
}
@media screen and (min-width: 1440px) {
  :root {
    --gap: 40px;
  }
}
:root {
  --gap-double: 40px;
}
@media screen and (min-width: 500px) {
  :root {
    --gap-double: calc(40px + 40 * (100vw - 500px) / 940);
  }
}
@media screen and (min-width: 1440px) {
  :root {
    --gap-double: 80px;
  }
}
:root {
  --gap-negative: -20px;
}
@media screen and (min-width: 500px) {
  :root {
    --gap-negative: calc(-20px + -20 * (100vw - 500px) / 940);
  }
}
@media screen and (min-width: 1440px) {
  :root {
    --gap-negative: -40px;
  }
}

.wp-block[data-type="acf/cta-squares"] tr.acf-row:nth-child(even) > td.acf-fields,
.wp-block[data-type="acf/cta-squares"] tr.acf-row:nth-child(even) > td.acf-field {
  background-color: #fdf8ee;
}

[data-type="acf/cta-squares"] .acf-block-preview .block.cta-squares h3 {
  color: #fff;
}

mimas-block[block-name=cta-squares] .card-grid {
  --grid-cols: repeat(1, 1fr);
  display: grid;
  grid-gap: 2.4rem;
}
@media (min-width: 48em) {
  mimas-block[block-name=cta-squares] .card-grid {
    --grid-cols: repeat(2, 1fr);
  }
}
@media (min-width: 80em) {
  mimas-block[block-name=cta-squares] .card-grid {
    --grid-cols: repeat(3, 1fr);
  }
}
mimas-block[block-name=cta-squares] .square {
  justify-content: flex-end;
  position: relative;
  padding: 2.4rem;
  color: #fff;
  text-decoration: none;
  aspect-ratio: 1;
  border-radius: 2rem;
  overflow: hidden;
}
mimas-block[block-name=cta-squares] .square:hover img, mimas-block[block-name=cta-squares] .square:active img, mimas-block[block-name=cta-squares] .square.active img, mimas-block[block-name=cta-squares] .square:focus img, mimas-block[block-name=cta-squares] .square:focus-within img, mimas-block[block-name=cta-squares] .square:focus-visible img {
  transform: scale(1.1);
}
mimas-block[block-name=cta-squares] .square::after {
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 16.13%, rgba(0, 0, 0, 0) 89.08%);
  border-radius: 2rem;
}
mimas-block[block-name=cta-squares] .square h3 {
  font-size: 2.4rem;
  margin: 0;
  position: inherit;
  color: inherit;
  z-index: 1;
}
mimas-block[block-name=cta-squares] .square img {
  --img-max-h: 100%;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

/*# sourceMappingURL=cta-squares.css.map*/