﻿/* carousel Block Styles */

/* Carousel fade */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: block;
  position: absolute;
  inset: 0;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  position: relative;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  opacity: 0;
}

@media (max-width: 767.98px) {
  .hero-carousel-block .carousel-item .hero-block--split {
    min-height: clamp(240px, 52vw, 380px);
  }

  .hero-carousel-block .carousel-control-prev,
  .hero-carousel-block .carousel-control-next {
    width: 36px;
    height: 36px;
    margin: 0 0.5rem;
  }
}

/* Text / prose */
.prose-block__inner {
  width: 100%;
  max-width: 100%;
  background: transparent;
  padding: 0;
  border-radius: var(--app-radius);
  box-shadow: none;
  border: 0;
  font-size: 1.05rem;
}

.prose-block__inner .lead p:last-child {
  margin-bottom: 0;
}

.prose-block__actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.prose-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.95rem 2.35rem;
  border-radius: 999px;
  background: #f5f2ec;
  color: #1c2230;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.prose-block__btn:hover,
.prose-block__btn:focus-visible {
  color: #111827;
  background: #ffffff;
  transform: translateY(-2px);
}

/* Media */
img:not(.card-img-top) {
  border-radius: var(--app-radius);
  box-shadow: var(--shadow-xs);
}

figure {
  margin: 0;
}

.ratio {
  border-radius: var(--app-radius);
  overflow: hidden;
  background: #040b1a;
}

.ratio iframe {
  border-radius: inherit;
}


/* carousel Block Styles */

/* Carousel */
.carousel,
.carousel-inner {
  border-radius: var(--app-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.carousel-item {
  position: relative;
  z-index: 0;
}

.carousel-item img {
  border-radius: 0;
}

.carousel .carousel-caption {
  background: rgba(15, 23, 42, 0.55);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  padding: 1rem 1.5rem;
}

.carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.75);
  width: 14px;
  height: 14px;
  margin: 0 6px;
}

