*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  --img-gap: 0.25rem;
  --carousel-vertical-offset: 50px;
  --carousel-aspect-ratio: 16/9;
  --category-slots: 0;
  --carousel-calculated-height: auto;
}

body {
  margin: 0;
}

.dau-carousel-row {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--img-gap);
  align-items: stretch;
  overflow: visible;
  /* Prevent flex stretching from altering aspect-ratio heights */
  align-items: flex-start;
}

.dau-carousel-container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: clip;
  overflow-y: visible;
  gap: 0;
  position: relative;
}

.dau-carousel-slider {
  --slider-index: 0;
  --items-per-row: var(--items-per-screen);
  display: flex;
  flex: 1 1 100%;
  min-width: 0;
  width: 100%;
  margin: 0 3rem;
  transform: translateX(calc(var(--slider-index) * -100%));
  transition: transform 250ms ease-in-out;
}

/* Order from largest to smallest breakpoint */
@media (min-width: 1921px) {
  .dau-carousel-slider {
    --items-per-screen: var(--items-widescreen);
  }
}
@media (max-width: 1920px) {
  .dau-carousel-slider {
    --items-per-screen: var(--items-desktop);
  }
}
@media (max-width: 1366px) {
  .dau-carousel-slider {
    --items-per-screen: var(--items-laptop);
  }
}
@media (max-width: 1024px) {
  .dau-carousel-slider {
    --items-per-screen: var(--items-tablet-landscape);
  }
}
@media (max-width: 768px) {
  .dau-carousel-slider {
    --items-per-screen: var(--items-tablet);
  }
}
@media (max-width: 480px) {
  .dau-carousel-slider {
    --items-per-screen: var(--items-mobile);
  }
}
.dau-carousel-slider > .dau-carousel-img-container {
  flex: 0 0 auto;
  width: calc(100% / var(--items-per-row) - var(--img-gap) * 2);
  margin: var(--img-gap);
  border-radius: 0.25rem;
  overflow: visible;
  position: relative;
  aspect-ratio: var(--carousel-aspect-ratio);
  background-color: #f5f0f4;
}

.dau-carousel-slider > .dau-carousel-img-container > a > .dau-carousel-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease-in-out;
  pointer-events: none;
}

.dau-carousel-slider > .dau-carousel-img-container:hover > a > .dau-carousel-img-wrapper::after {
  background-color: rgba(255, 255, 255, 0);
}

.dau-carousel-slider > .dau-carousel-img-container > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.dau-carousel-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: var(--carousel-aspect-ratio);
  overflow: hidden;
  border-radius: 0.25rem;
}

.dau-carousel-img-wrapper > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.dau-carousel-img-container > a > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.dau-carousel-img-container:hover .dau-carousel-img-wrapper > img {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.dau-carousel-handle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background-color: rgba(172, 134, 166, 0.5) !important;
  color: white;
  font-size: 1.5rem;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms ease-in-out, opacity 150ms ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.dau-carousel-left-handle {
  left: 0.5rem;
}

.dau-carousel-right-handle {
  right: 0.5rem;
}

.dau-carousel-handle:hover {
  background-color: rgba(172, 134, 166, 0.85) !important;
}

.dau-carousel-container:hover .dau-carousel-handle:not([disabled]) {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: none) and (pointer: coarse) {
  .dau-carousel-handle:not([disabled]) {
    opacity: 1;
    pointer-events: auto;
  }
}
.dau-carousel-handle[disabled] {
  opacity: 0 !important;
  pointer-events: none !important;
  cursor: default;
}

.dau-carousel-text {
  transition: transform 150ms ease-in-out;
}

.dau-carousel-handle:hover .dau-carousel-text {
  transform: scale(1.2);
}

.dau-carousel-header {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 3rem;
  align-items: center;
}

.dau-carousel-wrapper, .dau-carousel-wrapper-page-template {
  --carousel-aspect-ratio: 16/9;
  --items-per-screen: var(--items-desktop);
  overflow: visible;
  position: relative;
}

.dau-carousel-wrapper:has(.dau-carousel-img-container:hover), .dau-carousel-wrapper-page-template:has(.dau-carousel-img-container:hover),
.dau-carousel-wrapper:has(.dau-card-expanded),
.dau-carousel-wrapper-page-template:has(.dau-card-expanded) {
  z-index: 100;
}

.dau-carousel-wrapper-page-template {
  /* Responsive design for carousel */
}
@media (max-width: 767px) {
  .dau-carousel-wrapper-page-template {
    /* Calculate height from the actual aspect ratio; JS writes px fallback into --carousel-calculated-height */
    --carousel-calculated-height: calc((100vw / (var(--carousel-aspect-ratio))) - var(--carousel-vertical-offset));
    height: var(--carousel-calculated-height);
    max-width: 100%;
  }
}
.dau-carousel-wrapper-page-template {
  /* Default height for larger screens */
}
@media (min-width: 768px) {
  .dau-carousel-wrapper-page-template {
    --carousel-calculated-height: auto;
    height: auto;
  }
}

@media (max-width: 767px) {
  .dau-carousel-wrapper-page-template .dau-carousel-row,
  .dau-carousel-wrapper-page-template .dau-carousel-container {
    height: var(--carousel-calculated-height);
    max-width: 100%;
  }
}

.dau-carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  pointer-events: none;
}

.dau-carousel-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.dau-carousel-title {
  position: absolute;
  margin: 0;
  left: 50%;
  top: 85%;
  /* background-color: rgba(200, 200, 200, 0.75); */
  transform: translate(-50%, -50%);
  color: white;
  /* color: #303030; */
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.5rem;
  width: 100%;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.dau-carousel-category {
  background-color: var(--color-gray-dark);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  z-index: 1;
}

.dau-carousel-disruptor-green {
  background-color: var(--color-lila);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  z-index: 1;
}

.dau-carousel-disruptor-red {
  background-color: var(--color-red-dark);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  z-index: 1;
}

.dau-carousel-img-container {
  position: relative;
}

.dau-carousel-progress-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  z-index: 2;
}

.dau-carousel-progress-bar-inner {
  height: 100%;
  background: var(--color-lila);
  transition: width 0.3s;
}

.dau-carousel-category-card {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
  aspect-ratio: var(--carousel-aspect-ratio);
  background-color: transparent;
}

.dau-carousel-category-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.dau-inline-category .dau-carousel-row {
  flex-direction: row;
  gap: calc(var(--img-gap) * 2);
}

.dau-inline-category {
  --category-width-fallback: calc(var(--category-slots) / var(--items-per-screen) * 100%);
}

.dau-inline-category .dau-carousel-category-card {
  --category-width: var(--category-width-percent, var(--category-width-fallback));
  flex: 0 0 var(--category-width);
  max-width: var(--category-width);
  min-width: var(--category-width);
  min-height: 0;
  margin: var(--img-gap);
  margin-left: calc(var(--img-gap) * 2) !important;
  /* Keep full height but preserve native aspect ratio inside */
}
.dau-inline-category .dau-carousel-category-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.dau-inline-category .dau-carousel-container {
  flex: 1 1 0;
  min-width: 0;
}

.dau-inline-category .dau-carousel-slider {
  margin-left: 0;
  margin-right: 0;
}

.dau-stacked-category .dau-carousel-category-card {
  margin: 0;
}

@media (min-width: 1024px) {
  .dau-has-category-image:not(.dau-stacked-category) .dau-carousel-row {
    flex-direction: row;
    gap: calc(var(--img-gap) * 2);
  }
  .dau-has-category-image:not(.dau-stacked-category) .dau-carousel-category-card {
    flex: 0 0 calc(2 / var(--items-per-screen) * 100%);
    max-width: calc(2 / var(--items-per-screen) * 100%);
    margin: var(--img-gap);
  }
  .dau-has-category-image:not(.dau-stacked-category) .dau-carousel-container {
    flex: 1 1 0;
    min-width: 0;
  }
  .dau-has-category-image:not(.dau-stacked-category) .dau-carousel-slider {
    margin-left: 0;
    margin-right: 0;
    --items-per-row: calc(var(--items-per-screen) - 2);
  }
}
/* Mirror items-per-screen onto the wrapper so category card width can use it */
@media (min-width: 1921px) {
  .dau-carousel-wrapper, .dau-carousel-wrapper-page-template {
    --items-per-screen: var(--items-widescreen);
  }
}
@media (max-width: 1920px) {
  .dau-carousel-wrapper, .dau-carousel-wrapper-page-template {
    --items-per-screen: var(--items-desktop);
  }
}
@media (max-width: 1366px) {
  .dau-carousel-wrapper, .dau-carousel-wrapper-page-template {
    --items-per-screen: var(--items-laptop);
  }
}
@media (max-width: 1024px) {
  .dau-carousel-wrapper, .dau-carousel-wrapper-page-template {
    --items-per-screen: var(--items-tablet-landscape);
  }
}
@media (max-width: 768px) {
  .dau-carousel-wrapper, .dau-carousel-wrapper-page-template {
    --items-per-screen: var(--items-tablet);
  }
}
@media (max-width: 480px) {
  .dau-carousel-wrapper, .dau-carousel-wrapper-page-template {
    --items-per-screen: var(--items-mobile);
  }
}
/* Force landscape aspect for inline category layout */
.dau-inline-category .dau-carousel-category-card,
.dau-inline-category .dau-carousel-img-container {
  aspect-ratio: 16/9;
}

.dau-card-text-block {
  padding: 8px 4px;
  color: #dadada;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
  font-family: "LeniaSans Regular", sans-serif;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, opacity 0.15s ease-in-out, max-height 0.15s ease-in-out, padding 0.15s ease-in-out;
}

.dau-card-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dau-card-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.dau-card-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.dau-card-pill-green {
  background-color: #ac86a6;
}

.dau-card-pill-gray {
  background-color: #585857;
}

.dau-card-pill-red {
  background-color: #c3213a;
}

.dau-card-mode-image-only .dau-card-text-block {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.dau-card-mode-text-always .dau-carousel-slider > .dau-carousel-img-container {
  background-color: transparent;
  margin-bottom: 5rem;
}

.dau-card-mode-text-always .dau-card-text-block {
  opacity: 1;
  max-height: none;
  pointer-events: auto;
  color: #fff;
}

.dau-card-mode-text-always .dau-card-pill {
  color: #fff;
}

.dau-card-mode-text-always .dau-carousel-overlay {
  display: none;
}

.dau-carousel-img-container {
  transition: transform 0.15s ease-in-out, z-index 0s linear 0.15s;
  z-index: 1;
  will-change: transform;
}

.dau-carousel-img-container:hover {
  z-index: 10;
  transform: scale(1.25);
  transition: transform 0.3s ease-in-out 0.4s, z-index 0s linear 0s;
}

.dau-carousel-img-container:hover .dau-card-text-block {
  background: #ac86a6;
  color: #fff;
  border-radius: 0 0 0.25rem 0.25rem;
  padding: 10px;
  pointer-events: auto;
  transition: opacity 0.3s ease-in-out 0.4s, max-height 0.3s ease-in-out 0.4s, background-color 0.3s ease-in-out 0.4s, padding 0.3s ease-in-out 0.4s;
}

.dau-card-mode-image-only .dau-carousel-img-container:hover .dau-card-text-block {
  opacity: 1;
  max-height: 200px;
  overflow: visible;
  visibility: visible;
}

.dau-card-mode-image-only .dau-carousel-img-container:hover .dau-carousel-overlay {
  opacity: 0;
  transition: opacity 0.2s ease-in-out 0.3s;
}

.dau-carousel-img-container:hover .dau-card-pill {
  background: #ffee90;
  color: #3d3d3c;
  transition: background-color 0.3s ease-in-out 0.4s, color 0.3s ease-in-out 0.4s;
}

.dau-carousel-img-container.dau-card-edge-left {
  transform-origin: left center;
}

.dau-carousel-img-container.dau-card-edge-right {
  transform-origin: right center;
}

.dau-carousel-img-container.dau-card-edge-center {
  transform-origin: center center;
}

@media (hover: none) and (pointer: coarse) {
  .dau-carousel-img-container:hover {
    transform: none;
    z-index: 1;
  }
  .dau-card-mode-image-only .dau-carousel-img-container:hover .dau-card-text-block {
    opacity: 0;
    max-height: 0;
  }
  .dau-card-mode-image-only .dau-carousel-img-container:hover .dau-carousel-overlay {
    opacity: 1;
  }
  .dau-carousel-img-container.dau-card-expanded {
    z-index: 10;
    transform: scale(1.25);
  }
  .dau-carousel-img-container.dau-card-expanded .dau-card-text-block {
    background: #ac86a6;
    color: #fff;
    border-radius: 0 0 0.25rem 0.25rem;
    padding: 10px;
    pointer-events: auto;
    opacity: 1;
    max-height: 200px;
    overflow: visible;
    visibility: visible;
  }
  .dau-card-mode-image-only .dau-carousel-img-container.dau-card-expanded .dau-card-text-block {
    opacity: 1;
    max-height: 200px;
    overflow: visible;
    visibility: visible;
  }
  .dau-card-mode-image-only .dau-carousel-img-container.dau-card-expanded .dau-carousel-overlay {
    opacity: 0;
  }
  .dau-carousel-img-container.dau-card-expanded .dau-card-pill {
    background: #ffee90;
    color: #3d3d3c;
  }
  .dau-carousel-img-container.dau-card-expanded .dau-carousel-img-wrapper > img {
    transform: scale(1.05);
  }
}/*# sourceMappingURL=carousel.css.map */