.we-event-single {
  padding: clamp(40px, 4vw, 70px) 0;
  background: #fff;
}

.we-event-single__inner {
  width: var(--container);
  margin: 0 auto;
}

.we-event-single__back {
  margin-bottom: 14px;
}

.we-event-single__back-link {
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: inherit;
  opacity: .85;
}

.we-event-single__back-link:hover {
  text-decoration: underline;
  opacity: 1;
}

.we-event-single__title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.we-event-single .event-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
  min-height: calc(1.4em * 2 + 6px);
}

.we-event-single .event-card__meta-item {
  display: flex;
  align-items: center;
}

.we-event-single .event-card__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 8px;
}

.we-event-single__featured {
  margin: 18px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
  background: #f3f4f6;
}

.we-event-single__featured-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.we-event-single__content {
  margin-top: 26px;
  line-height: 1.8;
  color: #222;
  max-width: 980px;
}

.we-event-single__content p { margin: 0 0 14px; }

.we-event-single__content h2,
.we-event-single__content h3 {
  margin: 24px 0 12px;
  line-height: 1.25;
}

.we-event-single__media {
  margin-top: 60px;
}

.we-event-single__gallery-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 800;
}

.we-carousel {
  position: relative;
  padding-inline: 52px;
}

.we-carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px 0 14px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;

  scrollbar-width: none;
  -ms-overflow-style: none;
}
.we-carousel__track::-webkit-scrollbar { display: none; }

.we-carousel__slide {
  position: relative;
  flex: 0 0 auto;
  height: clamp(160px, 18vw, 220px);
  width: 260px; 
  max-width: min(70vw, 560px);

  border-radius: 12px;
  overflow: hidden;

  background: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  scroll-snap-align: start;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0; 
  padding: 0;
}

.we-lightbox__open {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: zoom-in;

  display: flex;
  align-items: center;
  justify-content: center;
}

.we-carousel__slide img {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.we-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .14);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  z-index: 10;
  transition: transform .15s, box-shadow .15s;
}

.we-carousel__btn--prev { left: 4px; }
.we-carousel__btn--next { right: 4px; }

.we-carousel__btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

body.we-lightbox-open {
  overflow: hidden;
}

.we-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.we-lightbox.is-open {
  display: flex; 
}

.we-lightbox__img {
  display: block;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  background: #111;
  object-fit: contain;
}


.we-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(0, 0, 0, .40);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .15s;
}

.we-lightbox__close:hover {
  background: rgba(0, 0, 0, .65);
}

.we-event-single__nav-sep {
  margin: 70px 0 18px;
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, .12);
}

.we-event-single__nav-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
}

.we-event-single__nav-top-col--prev { text-align: left; }
.we-event-single__nav-top-col--next { text-align: right; }

.we-event-single__nav-top-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  opacity: .85;
}

.we-event-single__nav-top-link:hover {
  text-decoration: underline;
  opacity: 1;
}

@media (max-width: 700px) {
  .we-carousel {
    padding-inline: 44px;
  }

  .we-carousel__slide {
    max-width: 82vw;
  }

  .we-lightbox {
    padding: 12px;
  }

  .we-lightbox__close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .we-event-single__nav-top {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: start;
  }

  .we-event-single__nav-top-col--prev {
    text-align: left;
  }

  .we-event-single__nav-top-col--next {
    text-align: right;
  }

  .we-event-single__nav-top-link {
    font-size: 13px;
  }
}

a{
	font-weight: bold;
}

a:hover{
	font-weight: bold;
	text-decoration: underline;
}
.site-nav__menu a:hover{
	font-weight: 600;
	text-decoration: none;
}

.we-event-single__featured {
  max-width: 450px;
  margin: 20px auto;
}
