.edities-page {
  background: var(--cream);
}

.edities-main {
  min-width: 0;
  overflow: visible;
}

.edities-content {
  max-width: 1280px;
  margin: 0;
  padding: 32px max(7vw, 48px) 96px calc(var(--sidebar-width) + 48px);
}

.edities-kicker {
  margin: 0 0 28px;
  color: var(--coral);
  font-family: var(--heading-font);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: .96;
}

.edities-section {
  max-width: 920px;
}

.edities-section + .edities-section {
  margin-top: 56px;
}

.edities-section h1,
.edities-section h2 {
  margin: 0 0 16px;
  color: var(--coral);
  font-family: var(--heading-font);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.edities-copy {
  margin: 0 0 12px;
  max-width: 820px;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.5;
}

.edities-copy:last-of-type {
  margin-bottom: 0;
}

.edities-media {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

.edities-placeholder {
  margin: 0;
  padding: 28px 20px;
  border: 1px dashed rgba(240, 101, 79, .45);
  color: #7a7f7e;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.edities-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.edities-gallery__item {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.edities-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.edities-gallery__item:hover img,
.edities-gallery__item:focus-visible img {
  transform: scale(1.03);
}

.edities-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  overflow: hidden;
}

.edities-video iframe,
.edities-video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.edities-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  margin-top: 24px;
  padding: 9px 15px;
  border: 1px solid var(--coral);
  color: var(--cream) !important;
  background: var(--coral);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.edities-cta:hover,
.edities-cta:focus-visible {
  color: var(--coral) !important;
  background: transparent;
  text-decoration: none !important;
}

.edities-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background: rgba(20, 24, 23, .88);
}

.edities-lightbox[hidden] {
  display: none !important;
}

.edities-lightbox img {
  max-width: min(1100px, 100%);
  max-height: min(85vh, 100%);
  object-fit: contain;
}

.edities-lightbox__close,
.edities-lightbox__prev,
.edities-lightbox__next {
  position: absolute;
  border: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.edities-lightbox__close {
  top: 18px;
  right: 22px;
}

.edities-lightbox__prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.edities-lightbox__next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  .edities-content {
    padding: 96px 28px 82px;
  }

  .edities-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .edities-content {
    padding: 96px 18px 72px;
  }

  .edities-gallery {
    grid-template-columns: 1fr;
  }
}
