/* Frontend block styles: image_text. */
.block-image-text {
  --image-text-section-space: clamp(1.25rem, 4vw, 6rem);
  --image-text-flow-space: clamp(1.25rem, 3.4vw, 3rem);
  --image-text-content-padding: clamp(1.25rem, 6vw, 6rem);
  margin-block: 0;
}

.site-main > .block-image-text:not(.block-hero) {
  padding-block: var(--image-text-section-space);
}

.image-text-layout {
  display: grid;
  gap: 0;
  align-items: center;
  /* background: var(--color-surface);
  box-shadow: 0 1rem 1rem -1rem rgba(0,0,0,.22); */
}

@media (min-width: 720px) {
  .image-text-content {
    max-width: 48rem;
  }

  .image-text-layout {
    grid-template-columns: 60% 40%;
  }

  .image-text-image-left .image-text-layout {
    grid-template-columns: 40% 60%;
  }

  .image-text-image-left .image-text-media {
    order: -1;
  }
}

.image-text-no-media .image-text-layout {
  grid-template-columns: minmax(0, 42rem);
}

.image-text-media img {
  display: block;
  width: 100%;
  aspect-ratio: 616 / 737;
  object-fit: cover;
  border-radius: .4rem;
  box-shadow: -7px 2rem 2rem -1rem rgba(0,0,0,.3);
}

.image-text-content {
  display: grid;
  gap: var(--image-text-flow-space);
  width: 100%;
  padding: var(--image-text-content-padding);
}

.image-text-heading {
  display: grid;
  gap: clamp(.35rem, .7vw, .65rem);
}

@media (max-width: 719.98px) {
  .image-text-layout {
    gap: var(--image-text-flow-space);
  }

  .image-text-content {
    padding-block: var(--image-text-flow-space);
    padding-inline: 0;
  }

  .image-text-media {
    order: -1;
  }

  .image-text-copy p {
    line-height: 1.55;
  }
}

.image-text-eyebrow {
  margin: 0;
}

.image-text-eyebrow i {
  margin-right: 0;
}

.image-text-content h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: .85;
  text-transform: uppercase;
  letter-spacing: .2rem;
}

.image-text-content h2::after {
  /* content: "";
  display: block;
  width: min(100%, 18rem);
  height: .1rem;
  margin-top: 1.4rem;
  background: var(--color-accent); */
}

.image-text-copy {
  display: grid;
  gap: .75rem;
  margin-bottom: 0;
}

.image-text-copy p {
  margin: 0;
  font-weight: 300;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.image-text-btn {
  margin-left: 0;
}

@media (min-width: 500.02px) and (max-width: 639.98px) {
  .image-text-btn {
    width: fit-content;
  }
}

h2.block__title {
  font-weight: 800 !important;
}

body.theme-felix-arba .block-image-text.felix-guest-note,
body.theme-felix-arba .block-image-text.felix-sync {
  background: #ffffff;
  border-block: .01rem solid var(--color-border);
}

body.theme-felix-arba .block-image-text.felix-guest-note .image-text-layout,
body.theme-felix-arba .block-image-text.felix-sync .image-text-layout {
  grid-template-columns: minmax(0, 56rem);
}

body.theme-felix-arba .block-image-text.felix-guest-note .block__title,
body.theme-felix-arba .block-image-text.felix-sync .block__title {
  color: #101614;
  font-size: clamp(2.1rem, 4.4vw, 4.75rem);
  font-weight: 900 !important;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

body.theme-felix-arba .block-image-text.felix-guest-note .image-text-copy p,
body.theme-felix-arba .block-image-text.felix-sync .image-text-copy p {
  color: rgba(16, 22, 20, .7);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 400;
}

body.theme-felix-arba .block-image-text.felix-guest-note .image-text-content::after {
  content: "Za goste: dostupnost / cijena / rezervacija";
  display: block;
  width: fit-content;
  margin-top: 1rem;
  padding: .55rem .7rem;
  background: #1c6965;
  color: #ffffff;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08rem;
  text-transform: uppercase;
}

body.theme-felix-arba .block-image-text.felix-sync .image-text-content::after {
  content: "Airbnb / Booking.com / iCal";
  display: block;
  width: fit-content;
  margin-top: 1rem;
  padding: .55rem .7rem;
  background: #101614;
  color: #cfff4d;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08rem;
  text-transform: uppercase;
}
