/******************************************************************

Stylesheet: Block Style
Block: Cover

******************************************************************/
/******************************************************************

Stylesheet: Variables

Here is where we declare all our variables like colors, fonts,
base values, and defaults. We want to make sure this file ONLY
contains variables that way our files don't get all messy.
No one likes a mess.

******************************************************************/
/*********************
WRAPS
*********************/
/*********************
COLORS
*********************/
/*********************
FONT FAMILY
*********************/
/*********************
FONT SIZES
*********************/
/*********************
PADDINGS
*********************/
/*********************
TRANSITIONS
*********************/
.wp-block-acf-cover {
  position: relative;
}
.wp-block-acf-cover .sp-cover-image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  aspect-ratio: 3/4;
  position: relative;
}
@media (min-width: 540px) {
  .wp-block-acf-cover .sp-cover-image {
    aspect-ratio: 4/3;
  }
}
@media (min-width: 1100px) {
  .wp-block-acf-cover .sp-cover-image {
    height: 100vh;
    min-height: 700px;
    aspect-ratio: auto;
  }
  .admin-bar .wp-block-acf-cover .sp-cover-image {
    height: calc(100vh - var(--admin-bar-height));
  }
}
.wp-block-acf-cover .sp-cover-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.wp-block-acf-cover .cover-content {
  position: absolute;
  top: auto;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  margin-top: 0;
}
@media (min-width: 480px) {
  .wp-block-acf-cover .cover-content {
    bottom: 64px;
  }
}
@media (min-width: 1030px) {
  .wp-block-acf-cover .cover-content {
    bottom: 10vh;
  }
}
@media (min-width: 1100px) {
  .wp-block-acf-cover .cover-content {
    bottom: 14vh;
  }
}
.wp-block-acf-cover .cover-content .cover-text-line {
  color: #f3efec;
}
.wp-block-acf-cover .cover-content .cover-text-line > * {
  font-size: var(--wp--preset--font-size--sp-xxxl);
  line-height: 1.2;
}
.wp-block-acf-cover .wp-block-button .wp-block-button__link {
  padding: 23px;
}
@media (min-width: 768px) {
  .wp-block-acf-cover .wp-block-button .wp-block-button__link {
    padding: 32px 42px;
  }
}
.wp-block-acf-cover .text-slider {
  position: relative;
  visibility: hidden; /* prevent FOUC until GSAP sets it */
  overflow: hidden;
  max-width: 320px;
  color: #f3efec;
}
@media (min-width: 768px) {
  .wp-block-acf-cover .text-slider {
    max-width: 720px;
  }
}
.wp-block-acf-cover .text-slider .sp-line {
  display: block;
  will-change: transform;
}
.wp-block-acf-cover .text-slider .sp-word {
  display: inline-block;
  will-change: transform;
}
.wp-block-acf-cover .text-slider > h2 {
  margin: 0;
}
@media (max-width: 400px) {
  .wp-block-acf-cover .text-slider .text-slide {
    font-size: 32px !important;
  }
}
