@charset "utf-8";
/* CSS Document */

.container {
  width: 700px;
  height: 400px;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
}

.venue-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.venue-title-H2 {
  margin: 50px 0 30px;
}

.venue-title-H3 {
  margin: 0 0 20px;
}

.venue-title-H4 {
  margin: 0 0 10px;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  /*aspect-ratio: 16 / 9; 
  /*height: 300px; /* or aspect-ratio */
  column-gap: 30px;
}

.venue-sidebar {
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

/* Carousel v1 */
.venue-carousel1 {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.venue-slides1 {
  display: flex;
  height: 100%;
}

.venue-slides1 img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.venue-slides1 img.active {
  opacity: 1;
}

/* Buttons */
.venue-prev, .venue-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.venue-prev { left: 10px; }
.venue-next { right: 10px; }

/* Dots */
.venue-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.venue-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: gray;
  border-radius: 50%;
  cursor: pointer;
}

.venue-dots .active {
  background: white;
}

/* Carousel v2 */
.venue-carousel2 {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.venue-slides2 {
  display: flex;
  height: 100%;
  /* transition: transform 0.5s ease; */
  
  /* similar line in JavaScript must also be updated */
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.venue-slides2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Corner borders */
.venue-image-container {
  position: relative;
  display: inline-block;
}

.venue-image-container img {
  display: block;
}

/* Top-left corner */
.venue-image-container::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 80px;
  height: 80px;
  pointer-events: none;

  background:
    linear-gradient(to right, rgba(0,0,0,0.8), transparent),
    linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);

  background-size: 100% 2px, 2px 100%;
  background-repeat: no-repeat;
  background-position: top left, top left;
}

/* Bottom-right corner */
.venue-image-container::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 80px;
  height: 80px;
  pointer-events: none;

  background:
    linear-gradient(to left, rgba(0,0,0,0.8), transparent),
    linear-gradient(to top, rgba(0,0,0,0.8), transparent);

  background-size: 100% 2px, 2px 100%;
  background-repeat: no-repeat;

  /* change the anchor point */
  background-position: bottom right, bottom right;
}

/* Modify general list */
.venue-list {
  padding-left: 50px;
}

.venue-list li {
  margin-bottom: 0px;
}
