.cta.js-category-target {
  transition: all 0.3s ease-out;
}

.cta.theme--image:after, .cta img, .cta {
  transition: all 1s cubic-bezier(0.59, 0, 0.06, 1);
}

.cta-blocks {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--gutter-standard);
}
.cta-blocks .cta {
  padding: var(--space-m);
  display: flex;
  align-items: stretch;
}
.cta-blocks .cta .cta-wrapper {
  position: relative;
  width: 100%;
  height: unset;
}
.cta-blocks .cta .cta-wrapper .buttons {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: -moz-fit-content;
  width: fit-content;
  padding: unset;
}
.cta-blocks .cta .cta-wrapper .buttons .button {
  padding: var(--space-s);
  min-height: unset;
  position: relative;
  border: unset;
}
.cta-blocks .cta .cta-wrapper .buttons .button svg {
  width: var(--size-m-5);
  height: var(--size-m-5);
  position: absolute;
}
.cta-blocks .cta .cta-wrapper .buttons .button:hover {
  background-color: unset;
  border-color: transparent;
}
.cta-blocks .cta .cta-wrapper .cta-content p {
  font-family: var(--font-family-subtitle);
  font-weight: var(--font-weight-subtitle);
  text-transform: var(--text-transform-subtitle);
  font-size: var(--font-size-subtitle-2);
  line-height: var(--line-height-subtitle-2);
  letter-spacing: var(--letter-spacing-subtitle-2);
  font-style: var(--font-style-subtitle);
}

.cta {
  min-height: var(--size-2xl-4);
  flex-grow: 1;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  text-align: center;
  will-change: transform;
  background-color: var(--card-color-background);
  border-radius: 8px;
  overflow: hidden;
}
.cta .cta-inner {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  text-align: left;
  justify-content: end;
}
.cta .cta-inner p:last-child {
  margin-bottom: 0;
}
.cta h2,
.cta h3,
.cta h4,
.cta h5 {
  width: 100%;
}
.cta header,
.cta div {
  width: 100%;
}
.cta p {
  max-width: 36rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.cta .buttons {
  padding-top: var(--space-m);
}
@media only screen and (max-width: 64rem) {
  .cta .buttons {
    margin-top: 0;
  }
}
@media only screen and (max-width: 48rem) {
  .cta .buttons {
    margin-top: var(--space-s);
  }
}
.cta img {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.cta.not-square {
  padding: 0;
  height: auto;
  min-height: 0;
}
.cta.not-square .cta-inner {
  position: static;
}
@media only screen and (max-width: 40rem) {
  .cta.xs\:not-square {
    padding: 0;
    height: auto;
    min-height: 0;
  }
  .cta.xs\:not-square .cta-inner {
    position: static;
  }
}
.cta.theme--image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: var(--color-black);
  mix-blend-mode: multiply;
  opacity: 0.4;
}
.cta:hover {
  transform: translateY(-0.25rem);
}
.cta.no-hover:hover {
  transform: translateY(0);
}
.cta .cta-location {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2xs);
}
.cta .cta-location span {
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-body);
  text-transform: var(--text-transform-body);
  font-size: var(--font-size-body-s);
  line-height: var(--line-height-body-s);
  letter-spacing: var(--letter-spacing-body-s);
  font-style: var(--font-style-body);
  color: var(--color-body);
}
.cta .cta-location svg {
  width: var(--size-m-3);
  height: var(--size-m-3);
  color: var(--color-body);
}

.cta-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media only screen and (max-width: 40rem) {
  .cta-grid {
    margin-left: 0;
    margin-right: 0;
  }
}
.cta-grid .cta {
  flex-grow: 0;
}
@media only screen and (max-width: 64rem) {
  .cta-grid .cta {
    min-height: 22em;
  }
}
.cta-grid .cta .cta-inner {
  width: 100%;
}

.events-grid .cta {
  flex-grow: 0;
}

@media only screen and (max-width: 48rem) {
  .mobile-scroll .cta {
    width: var(--width-content);
  }
  .mobile-scroll .cta:hover {
    transform: unset;
  }
}

@media only screen and (max-width: 48rem) {
  .latest-offers-container .block-header {
    padding-inline: var(--container-standard);
  }
  .latest-offers-container {
    padding-inline: unset;
  }
}

.block-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: end;
  gap: var(--gutter-standard);
}
@media only screen and (max-width: 48rem) {
  .block-header {
    flex-direction: column;
    align-items: start;
  }
}
.block-header .header-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}
.block-header .header-content p {
  font-family: var(--font-family-overline);
  font-weight: var(--font-weight-overline);
  text-transform: var(--text-transform-overline);
  font-size: var(--font-size-overline-1);
  line-height: var(--line-height-overline-1);
  letter-spacing: var(--letter-spacing-overline-1);
  font-style: var(--font-style-overline);
  margin: unset;
}
.block-header .header-content h2 {
  font-family: var(--font-family-large-heading);
  font-weight: var(--font-weight-large-heading);
  text-transform: var(--text-transform-large-heading);
  font-size: var(--font-size-large-heading-1);
  line-height: var(--line-height-large-heading-1);
  letter-spacing: var(--letter-spacing-large-heading-1);
  font-style: var(--font-style-large-heading);
  margin: unset;
  display: inline-block;
  color: var(--color-accent-primary-dark);
}
.block-header .header-content h2 span {
  color: var(--color-accent-primary);
}

.offers-listing {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter-standard);
  width: 100%;
  margin-top: var(--row-m);
}
@media only screen and (max-width: 64rem) {
  .offers-listing {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 48rem) {
  .offers-listing {
    grid-template-columns: 1fr;
  }
}
.offers-listing .cta .cta-location svg {
  width: var(--size-m-1);
  height: var(--size-m-1);
}
.offers-listing.no-margin {
  margin-top: unset;
}
@media only screen and (min-width: calc(64rem + 1px)) {
  .offers-listing.has-featured .cta:first-of-type {
    grid-column: span 3;
    padding: unset;
    padding-right: var(--space-xl);
    aspect-ratio: unset;
    display: flex;
    flex-direction: row;
    gap: var(--gutter-loose);
    background-color: white;
    margin-bottom: calc(var(--row-m) * 2 - var(--gutter-standard));
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: unset;
  }
  .offers-listing.has-featured .cta:first-of-type p {
    margin: unset;
  }
  .offers-listing.has-featured .cta:first-of-type .secondary-offer-button {
    display: none;
  }
  .offers-listing.has-featured .cta:first-of-type .main-offer-button {
    display: flex;
    position: relative;
    left: unset;
    right: unset;
    top: unset;
    margin-top: calc(var(--space-l) - var(--space-m));
  }
  .offers-listing.has-featured .cta:first-of-type::after {
    display: none;
  }
  .offers-listing.has-featured .cta:first-of-type img {
    position: relative;
    aspect-ratio: 1/1;
    height: unset;
    flex: 1;
    --image-mask: url("/wp-content/themes/st-christophers-inns/assets/masks/cta-blocks-img-mask.svg");
    -webkit-mask-box-image: var(--image-mask) 1 1;
            mask-border: var(--image-mask) 1 1;
    -webkit-mask-box-image-slice: 33.333 fill;
            mask-border-slice: 33.333 fill;
    width: 50%;
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper {
    flex: 1;
    height: unset;
    padding-block: var(--space-m);
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-inner {
    position: relative;
    color: var(--color-background);
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    align-items: start;
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-inner header .overline-1 {
    display: flex;
    margin-bottom: var(--space-s);
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-inner header p, .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-inner header .overline-1 {
    color: var(--color-background);
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-inner header h3 {
    color: var(--color-primary);
    font-family: var(--font-family-large-heading);
    font-weight: var(--font-weight-large-heading);
    text-transform: var(--text-transform-large-heading);
    font-size: var(--font-size-large-heading-2);
    line-height: var(--line-height-large-heading-2);
    letter-spacing: var(--letter-spacing-large-heading-2);
    font-style: var(--font-style-large-heading);
    margin-bottom: var(--space-3xs);
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-content {
    display: flex;
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-content p {
    color: var(--color-background);
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-location {
    margin: unset;
  }
  .offers-listing.has-featured .cta:first-of-type .cta-wrapper .cta-location * {
    color: var(--color-background);
  }
}
.offers-listing .cta .cta-wrapper header .subtitle-1 {
  font-family: var(--font-family-subtitle);
  font-weight: var(--font-weight-subtitle);
  text-transform: var(--text-transform-subtitle);
  font-size: var(--font-size-subtitle-2);
  line-height: var(--line-height-subtitle-2);
  letter-spacing: var(--letter-spacing-subtitle-2);
  font-style: var(--font-style-subtitle);
}
.offers-listing .cta .cta-wrapper header .overline-1 {
  display: none;
}
.offers-listing .cta .cta-wrapper .cta-content {
  display: none;
}
.offers-listing .cta .cta-wrapper .secondary-offer-button {
  display: flex;
}
.offers-listing .cta .cta-wrapper .main-offer-button {
  display: none;
}

.latest-offers-listing-container {
  padding-top: var(--row-m);
}
/*# sourceMappingURL=cta_blocks.css.map */
