.evh-gallery,
.evh-gallery * {
  box-sizing: border-box;
}

.evh-gallery {
  --evh-accent: #111;
  --evh-text: inherit;
  --evh-bg: transparent;
  --evh-card-bg: transparent;
  background: var(--evh-bg);
  color: var(--evh-text);
  position: relative;
  width: 100%;
}

.evh-gallery .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.evh-filters,
.evh-filter-select-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 calc(var(--evh-gap) * 0.9);
}

.evh-filter-align-left .evh-filters,
.evh-filter-align-left .evh-filter-select-wrap {
  justify-content: flex-start;
}

.evh-filter-align-center .evh-filters,
.evh-filter-align-center .evh-filter-select-wrap {
  justify-content: center;
}

.evh-filter-align-right .evh-filters,
.evh-filter-align-right .evh-filter-select-wrap {
  justify-content: flex-end;
}

.evh-filter-align-stretch .evh-filters {
  align-items: stretch;
}

.evh-filter-align-stretch .evh-filter {
  flex: 1 1 auto;
}

.evh-filter,
.evh-load-more,
.evh-cta,
.evh-filter-select {
  font: inherit;
}

.evh-filter,
.evh-load-more,
.evh-cta {
  appearance: none;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  min-height: 38px;
  padding: 9px 16px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.evh-filter:hover,
.evh-filter.is-active,
.evh-load-more:hover,
.evh-cta:hover {
  background: var(--evh-accent);
  border-color: var(--evh-accent);
  color: #fff;
}

.evh-filter-style-pills .evh-filter {
  border-radius: 999px;
}

.evh-filter-style-underline .evh-filter {
  border-color: transparent;
  border-bottom-color: currentColor;
  min-height: 0;
  padding: 5px 0;
}

.evh-filter-style-underline .evh-filter:hover,
.evh-filter-style-underline .evh-filter.is-active {
  background: transparent;
  border-bottom-color: var(--evh-accent);
  color: var(--evh-accent);
}

.evh-filter-select {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.24);
  color: #111;
  min-height: 42px;
  min-width: min(320px, 100%);
  padding: 8px 14px;
}

.evh-grid {
  display: grid;
  gap: var(--evh-gap);
  grid-template-columns: repeat(var(--evh-cols-desktop), minmax(0, 1fr));
}

.evh-layout-masonry .evh-grid {
  column-count: var(--evh-cols-desktop);
  column-gap: var(--evh-gap);
  display: block;
}

.evh-layout-masonry .evh-card {
  break-inside: avoid;
  display: inline-block;
  margin: 0 0 var(--evh-gap);
  width: 100%;
}

.evh-layout-list .evh-grid {
  grid-template-columns: 1fr;
}

.evh-layout-list .evh-card {
  display: grid;
  gap: var(--evh-gap);
  grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
  align-items: center;
}

.evh-layout-list .evh-card-body {
  padding-top: 0;
}

.evh-card {
  background: var(--evh-card-bg);
  border-radius: var(--evh-radius);
  color: inherit;
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition: box-shadow 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.evh-card.is-filter-hidden,
.evh-card.is-page-hidden {
  display: none !important;
}

.evh-card-style-boxed .evh-card {
  background: var(--evh-card-bg, #fff);
  border: 1px solid rgba(0, 0, 0, 0.10);
  padding: 12px;
}

.evh-card-style-boxed .evh-card-body,
.evh-card-style-glass .evh-card-body {
  padding: 16px 4px 2px;
}

.evh-card-style-glass .evh-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  padding: 12px;
}

.evh-card-style-minimal .evh-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.evh-card-style-media-only .evh-card-body {
  display: none;
}

.evh-card-style-overlay .evh-card {
  background: #111;
}

.evh-card-style-overlay .evh-media {
  border-radius: var(--evh-radius);
}

.evh-card-style-overlay .evh-card-body {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18), transparent);
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 52px 18px 18px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.evh-card-style-overlay .evh-card-categories span {
  border-color: rgba(255, 255, 255, 0.72);
}

.evh-card.is-featured::after {
  border: 1px solid var(--evh-accent);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.evh-media {
  appearance: none;
  background: #111;
  border: 0;
  border-radius: var(--evh-radius);
  color: #fff;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
  aspect-ratio: var(--evh-ratio);
}

.evh-media:disabled {
  cursor: default;
}

.evh-poster,
.evh-video,
.evh-modal-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evh-fit-contain .evh-poster,
.evh-fit-contain .evh-video {
  object-fit: contain;
}

.evh-poster {
  transform: scale(1);
  transition: transform 420ms ease, opacity 260ms ease, filter 260ms ease;
}

.evh-hover-zoom .evh-media:hover .evh-poster {
  transform: scale(1.045);
}

.evh-hover-lift .evh-card:hover {
  transform: translateY(-5px);
}

.evh-hover-fade .evh-media:hover .evh-poster {
  opacity: 0.72;
}

.evh-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #191919, #414141);
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 180px;
  padding: 24px;
  text-align: center;
  width: 100%;
}

.evh-placeholder span {
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evh-play {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  display: flex;
  height: 54px;
  justify-content: center;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
  width: 54px;
  z-index: 3;
}

.evh-play::before {
  border-bottom: 10px solid transparent;
  border-left: 16px solid #111;
  border-top: 10px solid transparent;
  content: "";
  display: block;
  margin-left: 4px;
}

.evh-media:hover .evh-play {
  transform: translate(-50%, -50%) scale(1.06);
}

.evh-media.is-video-loaded .evh-play {
  opacity: 0;
}

.evh-duration {
  background: rgba(0, 0, 0, 0.72);
  bottom: 10px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 6px 8px;
  position: absolute;
  right: 10px;
  z-index: 4;
}

.evh-card-body {
  padding-top: 14px;
}

.evh-text-align-left .evh-card-body {
  text-align: left;
}

.evh-text-align-center .evh-card-body {
  text-align: center;
}

.evh-text-align-right .evh-card-body {
  text-align: right;
}

.evh-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.evh-text-align-center .evh-card-categories {
  justify-content: center;
}

.evh-text-align-right .evh-card-categories {
  justify-content: flex-end;
}

.evh-card-categories span {
  border: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0.78;
  padding: 5px 7px;
  text-transform: uppercase;
}

.evh-card-title {
  color: inherit;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.15;
  margin: 0 0 8px;
}

.evh-card-text {
  font-size: inherit;
  line-height: 1.55;
  opacity: 0.86;
}

.evh-card-text p {
  margin: 0 0 0.75em;
}

.evh-card-text p:last-child {
  margin-bottom: 0;
}

.evh-cta {
  margin-top: 14px;
}

.evh-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: calc(var(--evh-gap) * 1.25);
}

.evh-layout-carousel .evh-carousel {
  align-items: center;
  display: flex;
  gap: 14px;
  position: relative;
  width: 100%;
}

.evh-layout-carousel .evh-carousel-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  scroll-behavior: smooth;
  touch-action: pan-y;
  width: 100%;
}

.evh-layout-carousel .evh-carousel-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.evh-layout-carousel .evh-grid {
  display: flex;
  gap: var(--evh-gap);
  grid-template-columns: none;
  width: 100%;
}

.evh-layout-carousel .evh-card {
  flex: 0 0 var(--evh-basis-desktop);
  min-width: 0;
}

.evh-carousel-arrow {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  color: #111;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 32px;
  height: 46px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  width: 46px;
  z-index: 5;
}

.evh-carousel-arrow:hover {
  transform: scale(1.04);
}

.evh-carousel-arrow:disabled {
  cursor: default;
  opacity: 0.35;
  transform: none;
}

.evh-arrows-inside .evh-carousel {
  display: block;
}

.evh-arrows-inside .evh-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.evh-arrows-inside .evh-carousel-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.evh-arrows-inside .evh-carousel-prev {
  left: 12px;
}

.evh-arrows-inside .evh-carousel-next {
  right: 12px;
}

.evh-arrows-bottom .evh-carousel {
  display: block;
}

.evh-carousel-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.evh-carousel-dots {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.evh-carousel-dot {
  appearance: none;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  height: 10px;
  opacity: 0.42;
  padding: 0;
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease, width 180ms ease;
  width: 10px;
}

.evh-carousel-dot.is-active {
  background: currentColor;
  opacity: 1;
  transform: scale(1.12);
  width: 24px;
}

.evh-dots-inside .evh-carousel-dots {
  bottom: 14px;
  left: 50%;
  margin-top: 0;
  position: absolute;
  transform: translateX(-50%);
  z-index: 6;
}

.evh-dots-inside .evh-carousel-dot {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.evh-dots-inside .evh-carousel-dot.is-active {
  background: #fff;
}

.evh-empty {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 16px;
}

.evh-error {
  border-color: #b32d2e;
  color: #b32d2e;
}

.evh-modal-open {
  overflow: hidden;
}

.evh-modal {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 999999;
}

.evh-modal.is-open {
  display: flex;
}

.evh-modal-backdrop {
  background: rgba(0, 0, 0, 0.78);
  inset: 0;
  position: absolute;
}

.evh-modal-dialog {
  background: #000;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  max-height: min(90vh, 900px);
  max-width: min(1120px, 94vw);
  position: relative;
  width: 100%;
  z-index: 1;
}

.evh-modal-content {
  aspect-ratio: 16 / 9;
  background: #000;
  width: 100%;
}

.evh-modal-close {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 999px;
  color: #111;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: -14px;
  top: -14px;
  width: 42px;
  z-index: 2;
}

@media (max-width: 1024px) {
  .evh-is-responsive .evh-grid {
    grid-template-columns: repeat(var(--evh-cols-tablet), minmax(0, 1fr));
  }

  .evh-is-responsive.evh-layout-masonry .evh-grid {
    column-count: var(--evh-cols-tablet);
  }

  .evh-is-responsive.evh-layout-carousel .evh-card {
    flex-basis: var(--evh-basis-tablet);
  }
}

@media (max-width: 767px) {
  .evh-is-responsive .evh-grid {
    grid-template-columns: repeat(var(--evh-cols-mobile), minmax(0, 1fr));
  }

  .evh-is-responsive.evh-layout-masonry .evh-grid {
    column-count: var(--evh-cols-mobile);
  }

  .evh-is-responsive.evh-layout-list .evh-card {
    grid-template-columns: 1fr;
  }

  .evh-is-responsive.evh-layout-carousel .evh-card {
    flex-basis: var(--evh-basis-mobile);
  }

  .evh-filters {
    gap: 8px;
  }

  .evh-filter,
  .evh-load-more,
  .evh-cta {
    min-height: 34px;
    padding: 7px 12px;
  }

  .evh-play {
    height: 46px;
    width: 46px;
  }

  .evh-arrows-outside .evh-carousel {
    gap: 8px;
  }

  .evh-carousel-arrow {
    font-size: 26px;
    height: 38px;
    width: 38px;
  }

  .evh-modal {
    padding: 12px;
  }

  .evh-modal-close {
    right: 8px;
    top: 8px;
  }
}
