.diagonal-bar {
  position: relative;
  width: 100%;
  height: 90px;
  overflow: hidden;
}

.diagonal-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 87%);
}

/* Diagonal bottom light */

.diagonal-bottom-light {
  background: var(--bs-primary);
}

.diagonal-bottom-light::before {
  background: var(--bs-body-bg);
  margin-top: -0.2px;
}

/* Diagonal top light */

.diagonal-top-light {
  background: var(--bs-primary);
}

.diagonal-top-light::before {
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background: var(--bs-body-bg);
  margin-bottom: -0.2px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-family: 'Carter One', serif;
}

/* Event card XS and below */

@media (max-width: 991.98px) {
  .event-stack > .col:nth-of-type(1) {
    border-top-left-radius: var(--bs-border-radius);
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media (max-width: 991.98px) {
  .event-stack > .col:nth-of-type(2) {
    border-radius: 0;
  }
}

@media (max-width: 991.98px) {
  .event-stack > .col:nth-of-type(3) {
    border-bottom-left-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

/* Event card LG and above */

@media (min-width: 992px) {
  .event-stack > .col:nth-of-type(1) {
    border-top-left-radius: var(--bs-border-radius);
    border-bottom-left-radius: var(--bs-border-radius);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media (min-width: 992px) {
  .event-stack > .col:nth-of-type(2) {
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

@media (min-width: 992px) {
  .event-stack > .col:nth-of-type(3) {
    border-bottom-left-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

.title-hr hr {
  color: var(--bs-primary);
  border-top: 3px solid;
  opacity: 1;
}

.placeholder {
  -webkit-animation: placeholder-glow 2s ease-in-out infinite;
  animation: placeholder-glow 2s ease-in-out infinite;
}

.placeholder p {
  filter: blur(5px);
}

.pagination {
  --bs-pagination-color: var(--bs-link-color);
  --bs-pagination-bg: var(--bs-light);
  --bs-pagination-border-width: var(--bs-border-width);
  --bs-pagination-border-color: var(--bs-border-color);
  --bs-pagination-border-radius: var(--bs-border-radius);
  --bs-pagination-hover-color: var(--bs-light);
  --bs-pagination-hover-bg: var(--bs-tertiary-bg);
  --bs-pagination-hover-border-color: var(--bs-border-color);
  --bs-pagination-focus-color: var(--bs-link-hover-color);
  --bs-pagination-focus-bg: var(--bs-secondary-bg);
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  --bs-pagination-active-color: var(--bs-primary);
  --bs-pagination-active-bg: #0d6efd;
  --bs-pagination-active-border-color: #0d6efd;
  --bs-pagination-disabled-color: var(--bs-secondary-color);
  --bs-pagination-disabled-bg: var(--bs-secondary-bg);
  --bs-pagination-disabled-border-color: var(--bs-border-color);
  display: flex;
  padding-left: 0;
  list-style: none;
}

.swiper-horizontal > .swiper-pagination-progressbar, .swiper-pagination-progressbar.swiper-pagination-horizontal, .swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite, .swiper-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
  bottom: 0!important;
  left: auto;
  top: auto;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: var(--bs-primary);
}

.photos .col img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 0px !important;
}

.photos .col img:hover {
  transform: scale(1.1);
}

.photos .col {
  overflow: hidden;
}

.footer-dark ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
}

#event-info img {
    max-width: 100%;
    border-radius: 0.375rem;
}

@media (min-width: 992px) {
  .split-bg {
    background: linear-gradient(to right, var(--bs-secondary-bg) 50%, var(--bs-body-bg) 50%);
  }
}

#qr-reader {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
#qr-reader video,
#qr-reader canvas,
#qr-reader > div {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#baguetteBox-overlay .full-image figcaption {
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.8rem;
  background-color: rgb(0 0 0);
}

#baguetteBox-overlay .full-image img {
  padding-bottom: 38.39px;
}

/* Keep FilePond scroller from blocking step actions */
#photo-upload-actions {
  position: relative;
  z-index: 20;
}

/* Slideshow event picker (deck styles live in assets/css/slideshow-deck.css) */
.slideshow-picker {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, var(--bs-secondary-bg) 50%, var(--bs-body-bg) 50%);
}