/* =========================================
   INDIVIDUAL HIGHLIGHT PAGE

   Used for pages such as:
   /media/highlights/sosc-2024/

   PAGE FLOW
   -----------------------------------------
   1. Intro
   2. Video Highlights
   3. Photo Gallery
   4. Media Coverage
   5. Optional VIP Launch Party
========================================= */


/* =========================================
   PAGE
========================================= */

.individual-highlight-page {
  width: 100%;
}

body.lightbox-open {
  overflow: hidden;
}


/* =========================================
   INTRO
========================================= */

#page-intro {
  max-width: 1100px;
  margin: 0 auto;

  text-align: center;
}

#pageTitle {
  margin-bottom: var(--space-2);

  color: var(--color-text);

  text-align: center;
}

#pageDescription {
  max-width: 800px;
  margin: 0 auto;

  color: var(--color-text);

  line-height: 1.65;

  opacity: 0.85;
}


/* =========================================
   SHARED SECTION TITLES
========================================= */

.section-title {
  display: inline-block;

  margin: 0 auto var(--space-3);

  padding-bottom: 3px;

  border-bottom: 4px solid;

  color: var(--color-text);

  text-align: center;
}


/* =========================================
   FADE IN
========================================= */

.fade-in-on-scroll {
  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in-on-scroll.fade-in-visible {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================
   BACK TO PREVIOUS YEARS
   Matches parent Highlights page
========================================= */

.highlight-back-nav {
  text-align: center;
}

.individual-highlight-page .gallery-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin: 0 auto var(--space-3);
  padding: 8px 16px;

  border-radius: 6px;

  background: var(--btn-tertiary-bg);
  color: var(--btn-tertiary-text);

  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;

  letter-spacing: 0.05em;
  text-transform: uppercase;

  text-decoration: none;

  transition: all 0.2s ease;
}

.individual-highlight-page .gallery-btn::before {
  content: "←";
}

.individual-highlight-page .gallery-btn:hover {
  background: var(--btn-tertiary-bg-hover);
  color: var(--btn-tertiary-text);
  opacity: 1;
}

/* ============================================================
   VIDEO HIGHLIGHTS
============================================================ */

#video-section {
  display: none;

  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;
  padding:
    var(--space-5)
    var(--space-4);

  text-align: center;
}

#video-section.is-visible {
  display: block;
}

#videoHighlightsTitle {
  border-color: var(--color-primary);
}


/* =========================================
   VIDEO LAYOUT

   Desktop:
   Player | Playlist

   Mobile:
   Player
   Playlist
========================================= */

.video-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(380px, 1fr);

  gap: var(--space-3);

  align-items: stretch;

  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
}


/* =========================================
   MAIN VIDEO PLAYER
========================================= */

#video-background {
  position: relative;

  width: 100%;
  min-width: 0;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #000000;

  border: 3px solid var(--color-primary);
  border-radius: 18px;

  box-shadow: var(--shadow-md);
}

#salsa-video-player {
  position: relative;

  width: 100% !important;
  height: 100% !important;

  margin: 0;
}

#salsa-video-player > div,
#salsa-video-player .jwplayer,
#salsa-video-player .jw-wrapper,
#salsa-video-player video {
  width: 100% !important;
  height: 100% !important;
}
/* =========================================
   YOUTUBE VIDEO MODE
========================================= */

#video-section.is-youtube .video-layout {
  grid-template-columns: minmax(0, 1fr);

  max-width: 1180px;
  margin: 0 auto;
}

#video-section.is-youtube #video-background {
  aspect-ratio: 16 / 9;
}

#video-section.is-youtube #salsa-video-player {
  display: none !important;
}

#video-section.is-youtube #videoHighlights {
  display: block;

  width: 100%;
  height: 100%;
}

.youtube-playlist-container {
  width: 100%;
  height: 100%;
}

.youtube-playlist-iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* =========================================
   LEGACY DIRECT EMBEDS
========================================= */

#videoHighlights {
  width: 100%;
  height: 100%;
}

#videoHighlights:empty {
  display: none;
}

#videoHighlights iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* =========================================
   PLAYLIST PANEL
========================================= */

#video-container {
  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;
  min-height: 0;

  /*
   * Stretch with the video column.
   * Content scrolls inside instead of
   * making the playlist taller.
   */
  height: 100%;
  max-height: 430px;

  overflow: hidden;

  background: var(--color-surface);

  border:
    1px solid
    rgba(42, 0, 115, 0.1);

  border-radius: 18px;

  box-shadow: var(--shadow-sm);

  text-align: left;
}


/* =========================================
   PLAYLIST HEADER
========================================= */

.video-playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  flex: 0 0 auto;

  padding:
    12px
    12px
    8px;
}

.video-playlist-label {
  color: var(--purple-800);

  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;

  line-height: 1;
  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.video-playlist-count {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 28px;
  height: 28px;

  padding: 0 8px;

  border-radius: 999px;

  background:
    rgba(42, 0, 115, 0.07);

  color: var(--purple-800);

  font-size: 0.75rem;
  font-weight: 800;
}


/* =========================================
   PLAYLIST SCROLL AREA
========================================= */

#salsa-video-playlist-wrapper {
  flex: 1 1 auto;

  width: 100%;
  min-height: 0;

  margin: 0;

  padding:
    0
    8px
    8px;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;

  scroll-behavior: smooth;

  scrollbar-width: thin;

  scrollbar-color:
    rgba(42, 0, 115, 0.3)
    transparent;
}

#salsa-video-playlist-wrapper::-webkit-scrollbar {
  width: 6px;
}

#salsa-video-playlist-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

#salsa-video-playlist-wrapper::-webkit-scrollbar-thumb {
  border-radius: 999px;

  background:
    rgba(42, 0, 115, 0.22);
}


/* =========================================
   PLAYLIST LIST
========================================= */

#salsa-video-playlist {
  display: grid;

  overflow: hidden;

  border:
    1px solid
    rgba(42, 0, 115, 0.08);

  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.65);
}


/* =========================================
   PLAYLIST ROW
========================================= */

.video-playlist-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: stretch;
}

.video-playlist-row +
.video-playlist-row {
  border-top:
    1px solid
    rgba(42, 0, 115, 0.08);
}


/* =========================================
   PLAYLIST MAIN BUTTON
========================================= */

#salsa-video-playlist .playlist-link {
  appearance: none;
  -webkit-appearance: none;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 10px;

  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 10px;

  border: 0;
  border-radius: 0;

  background: transparent;

  color: var(--purple-800);

  cursor: pointer;

  font-family: var(--font-body);

  text-align: left;

  transition:
    background 0.2s ease;
}

#salsa-video-playlist .playlist-link:hover {
  background:
    rgba(42, 0, 115, 0.04);

  opacity: 1;
}

#salsa-video-playlist .playlist-link.is-active {
  background:
    rgba(42, 0, 115, 0.07);
}


/* =========================================
   VIDEO NUMBER
========================================= */

.video-playlist-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  border-radius: 9px;

  background:
    rgba(42, 0, 115, 0.06);

  color:
    rgba(42, 0, 115, 0.65);

  font-family: var(--font-heading);
  font-size: 0.67rem;
  font-weight: 700;
}

.playlist-link.is-active
.video-playlist-number {
  background: var(--purple-800);

  color: #ffffff;
}


/* =========================================
   VIDEO TITLE + STATUS
========================================= */

.video-playlist-copy {
  display: flex;
  flex-direction: column;

  min-width: 0;

  gap: 3px;
}

.video-playlist-title {
  overflow: hidden;

  color: var(--purple-800);

  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-playlist-status {
  color:
    rgba(42, 0, 115, 0.6);

  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.2;
}

.playlist-link.is-active
.video-playlist-status {
  color: var(--watermelon-500);
}


/* =========================================
   PLAY / NOW PLAYING ICON
========================================= */

.video-playlist-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  border-radius: 999px;

  background: #ffffff;

  color: var(--purple-800);

  box-shadow: var(--shadow-sm);

  font-size: 0.68rem;
}

.playlist-link.is-active
.video-playlist-icon {
  background: var(--yellow-500);
}


/* =========================================
   COPY LINK BUTTON
========================================= */

.video-playlist-link {
  appearance: none;
  -webkit-appearance: none;

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

  width: 44px;
  min-width: 44px;

  padding: 0;

  border: 0;

  border-left:
    1px solid
    rgba(42, 0, 115, 0.08);

  background:
    rgba(255, 255, 255, 0.55);

  color:
    rgba(42, 0, 115, 0.62);

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.video-playlist-link:hover,
.video-playlist-link:focus-visible {
  background:
    rgba(42, 0, 115, 0.07);

  color: var(--purple-800);
}

.video-playlist-link:active {
  transform: scale(0.94);
}

.video-playlist-link.is-copied {
  background: var(--purple-800);

  color: #ffffff;
}

.video-playlist-link i {
  font-size: 0.8rem;
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 900px) {

  /*
   * Once the side-by-side layout gets tight,
   * stack the exact same components.
   */
  .video-layout {
    display: flex;
    flex-direction: column;

    gap: var(--space-2);

    max-width: 760px;
  }

  #video-container {
    height: 340px;
    max-height: 340px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 580px) {

  #video-section {
    padding:
      var(--space-4)
      20px;
  }

  #video-background {
    border-width: 2px;
    border-radius: 14px;
  }

  #video-container {
    height: 300px;
    max-height: 300px;

    border-radius: 14px;
  }

  #salsa-video-playlist .playlist-link {
    gap: 8px;

    padding: 8px;
  }

  .video-playlist-number {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }

  .video-playlist-icon {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }

  .video-playlist-title {
    font-size: 0.74rem;
  }

  .video-playlist-link {
    width: 40px;
    min-width: 40px;
  }

}

/* ============================================================
   PHOTO GALLERY
============================================================ */

.gallery-section {
  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;

  padding:
    var(--space-5)
    var(--space-4);

  text-align: center;
}

#galleryTitle {
  border-color: var(--color-highlight);
}


/* =========================================
   PHOTO CREDIT
========================================= */

.credit-headline {

  margin:
    0
    auto
    10px;

  color: var(--color-text);

  font-size: 0.72rem;
  font-weight: 600;

  text-align: left;
  text-transform: uppercase;

  opacity: 0.75;
}


/* =========================================
   GALLERY CAROUSEL
========================================= */

.carousel {
  position: relative;

  width: 100%;

  margin: 0 auto;
}

.carousel__track__container {
  position: relative;

  width: 100%;

  overflow: hidden;
}

.carousel__track {
  display: flex;

  width: 100%;

  transition:
    transform 0.3s ease;
}


/* =========================================
   GALLERY SLIDE

   Desktop:
   6 columns x 2 rows
========================================= */

.carousel-slide {
  display: grid;

  grid-template-columns:
    repeat(
      6,
      minmax(0, 1fr)
    );

  flex: 0 0 100%;

  gap: 6px;

  width: 100%;

  padding: 5px;
}


/* =========================================
   GALLERY IMAGE
========================================= */

.square-container {
  position: relative;

  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  padding: 0;

  border: 0;
  border-radius: 8px;

  background: #eeeeee;

  box-shadow: var(--shadow-sm);

  cursor: pointer;
}

.gallery-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border: 2px solid #ffffff;
  border-radius: inherit;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.square-container:hover .gallery-image {
  border-color: var(--color-highlight);

  transform: scale(1.04);
}


/* =========================================
   GALLERY ARROWS
========================================= */

.carousel__button {
  position: absolute;
  top: 50%;
  z-index: 5;

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

  width: 38px;
  height: 54px;

  padding: 0;

  border: 0;
  border-radius: 8px;

  background: var(--purple-800);

  color: #ffffff;

  cursor: pointer;

  transform:
    translateY(-50%);

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.carousel__button:hover {
  background: var(--purple-700);

  transform:
    translateY(-50%)
    scale(1.04);
}

.carousel__button[hidden] {
  display: none;
}

.carousel__button--left {
  left: -18px;
}

.carousel__button--right {
  right: -18px;
}

.carousel__button__icon {
  color: #ffffff;

  font-family:
    Arial,
    sans-serif;

  font-size: 2rem;
  line-height: 1;
}


/* =========================================
   GALLERY PAGINATION
========================================= */

.carousel__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 7px;

  margin:
    10px
    auto
    0;
}

.carousel__nav[hidden] {
  display: none;
}

.carousel-indicator {
  width: 26px;
  height: 6px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background:
    rgba(131, 56, 236, 0.25);

  cursor: pointer;

  transition:
    width 0.2s ease,
    background-color 0.2s ease;
}

.carousel-indicator:hover {
  background:
    rgba(131, 56, 236, 0.55);
}

.carousel-indicator.is-active {
  width: 36px;

  background: var(--purple-500);
}


/* ============================================================
   LIGHTBOX
============================================================ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

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

  width: 100vw;
  height: 100vh;

  padding: 30px;

  background:
    rgba(0, 0, 0, 0.92);

  opacity: 0;

  transition:
    opacity 0.25s ease;
}

.lightbox-overlay.show {
  display: flex;

  opacity: 1;
}

.lightbox {
  position: relative;

  width: 100%;
  max-width: 1200px;

  text-align: center;
}


/* =========================================
   LIGHTBOX IMAGE
========================================= */

.lb-content-container {
  position: relative;

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

  width: 100%;
}

.lightbox-content {
  display: block;

  width: auto;
  max-width: 92%;

  height: auto;
  max-height: 82vh;

  margin: auto;

  border: 3px solid #ffffff;
  border-radius: 6px;

  box-shadow:
    0 15px 50px
    rgba(0, 0, 0, 0.5);

  object-fit: contain;

  transition:
    opacity 0.2s ease;
}


/* =========================================
   LIGHTBOX INFO
========================================= */

.lb-data-container {
  margin: 0 auto;

  padding-top: 8px;
}

.lb-data {
  color: #ffffff;

  text-align: center;
}

.lb-details {
  width: 90%;

  margin: 0 auto;

  text-align: left;
}

.lb-caption {
  font-size: 0.8rem;
  font-weight: 600;
}

.lb-number {
  display: block;

  margin-top: 4px;

  color:
    rgba(255, 255, 255, 0.65);

  font-size: 0.75rem;
}


/* =========================================
   LIGHTBOX CLOSE
========================================= */

.lightbox-close {
  position: fixed;

  top: 20px;
  right: 28px;

  z-index: 100001;

  padding: 0;

  border: 0;

  background: transparent;

  color: #ffffff;

  cursor: pointer;

  font-family:
    Arial,
    sans-serif;

  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
}


/* =========================================
   LIGHTBOX NAVIGATION
========================================= */

.lightbox-nav {
  position: fixed;

  top: 50%;

  z-index: 100001;

  padding: 0;

  border: 0;

  background: transparent;

  color: #ffffff;

  cursor: pointer;

  font-family:
    Arial,
    sans-serif;

  font-size: 3rem;

  user-select: none;

  transform:
    translateY(-50%);
}

.lightbox-nav.prev {
  left: 3%;
}

.lightbox-nav.next {
  right: 3%;
}


/* =========================================
   LIGHTBOX CLICK ZONES
========================================= */

.lightbox-zone {
  position: absolute;

  top: 0;
  bottom: 0;

  z-index: 5;

  width: 45%;

  padding: 0;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.left-zone {
  left: 0;
}

.right-zone {
  right: 0;
}


/* ============================================================
   MEDIA COVERAGE
============================================================ */

.media-coverage {
  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;

  padding:
    var(--space-5)
    var(--space-4);

  text-align: center;
}

#mediaCoverageTitle {
  border-color: var(--color-info);
}


/* =========================================
   MEDIA GRID
========================================= */

#mediaGallery {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: var(--space-2);

  width: 100%;

  margin: 0 auto;
}

#mediaGallery:empty {
  display: none;
}


/* =========================================
   MEDIA CARD
========================================= */

.coverage-link {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  border:
    1px solid
    rgba(42, 0, 115, 0.08);

  border-radius: 12px;

  background: var(--color-surface);

  box-shadow: var(--shadow-sm);

  color: var(--color-text);

  text-decoration: none;
  text-align: left;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.coverage-link:hover {
  transform:
    translateY(-3px);

  box-shadow: var(--shadow-md);

  opacity: 1;
}


/* =========================================
   MEDIA THUMBNAIL
========================================= */

.media-thumb {
  display: block;

  width: 100%;
  max-width: 100%;

  aspect-ratio: 16 / 9;

  object-fit: cover;
}


/* =========================================
   MEDIA OUTLET / LOGO
========================================= */

.media-outlet {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  padding: 10px;

  text-align: center;
}

.media-logo,
img.media-logo {
  display: block;

  width: auto !important;
  max-width: 150px !important;

  height: auto !important;
  max-height: 70px !important;

  margin: 0 auto;

  object-fit: contain;
}


/* =========================================
   MEDIA HEADLINE
========================================= */

.media-headline {
  flex: 1;

  width: 100%;

  padding:
    10px
    12px
    6px;

  color: var(--color-text);

  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;

  text-align: left;
}

.coverage-link p {
  margin: 0;
}


/* =========================================
   EXTERNAL LINK ICON
========================================= */

.coverage-link
p
img:not(.media-logo):not(.media-thumb),

.coverage-link
> img:not(.media-logo):not(.media-thumb),

.coverage-link
.external-link-icon {
  display: block;

  width: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;

  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;

  margin:
    0
    10px
    10px;

  object-fit: contain;
}

.coverage-link svg {
  width: 15px !important;
  height: 15px !important;

  margin:
    0
    10px
    10px;
}


/* ============================================================
   VIP LAUNCH PARTY
============================================================ */

.vip-launch-party {
  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;

  padding:
    var(--space-5)
    var(--space-4);

  text-align: center;
}

#vipLaunchPartyTitle {
  border-color: var(--color-info);
}

.vip-lp-link {
  display: block;

  width: 100%;
  max-width: 1100px;

  margin: 0 auto;
}

.vip-lp-banner-desktop {
  display: block;

  width: 100%;
  height: auto;

  margin: 0 auto;

  border-radius: 16px;
}

.vip-lp-banner-mobile {
  display: none;

  width: 100%;
  height: auto;

  margin: 0 auto;

  border-radius: 14px;
}


/* ============================================================
   SMALL DESKTOP / TABLET LANDSCAPE
============================================================ */

@media (max-width: 1100px) {

  /* Media */

  #mediaGallery {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 768px) {

  /* -----------------------------------------
     Shared spacing
  ----------------------------------------- */

  #video-section,
  .gallery-section,
  .media-coverage,
  .vip-launch-party {
    padding:
      var(--space-4)
      var(--space-3);
  }


  /* -----------------------------------------
     VIDEO
  ----------------------------------------- */

  .video-layout {
    max-width: 100%;
  }

  #video-background {
    border-width: 2px;

    border-radius: 14px;
  }

  #video-container {
    max-height: 340px;

    border-radius: 14px;
  }


  /* -----------------------------------------
     PLAYLIST
  ----------------------------------------- */

  .video-playlist-header {
    padding:
      11px
      10px
      8px;
  }

  #salsa-video-playlist-wrapper {
    padding:
      0
      6px
      6px;
  }

  #salsa-video-playlist .playlist-link {
    grid-template-columns:
      auto
      minmax(0, 1fr)
      auto;

    gap: 10px;

    padding: 10px;
  }

  .video-playlist-number {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .video-playlist-icon {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .video-playlist-title {
    font-size: 0.8rem;
  }

  .video-playlist-status {
    font-size: 0.68rem;
  }

  .video-playlist-link {
    width: 44px;
    min-width: 44px;
  }


  /* -----------------------------------------
     GALLERY
     4 x 2
  ----------------------------------------- */

  .carousel-slide {
    grid-template-columns:
      repeat(
        4,
        minmax(0, 1fr)
      );
  }

  .carousel__button {
    display: none;
  }

  .square-container:hover
  .gallery-image {
    transform: none;
  }


  /* -----------------------------------------
     MEDIA
  ----------------------------------------- */

  #mediaGallery {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  /* -----------------------------------------
     VIP
  ----------------------------------------- */

  .vip-lp-banner-desktop {
    display: none;
  }

  .vip-lp-banner-mobile {
    display: block;
  }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 580px) {

  /* -----------------------------------------
     INTRO
  ----------------------------------------- */

  #pageDescription {
    line-height: 1.55;
  }


  /* -----------------------------------------
     Shared spacing
  ----------------------------------------- */

  #video-section,
  .gallery-section,
  .media-coverage,
  .vip-launch-party {
    padding:
      var(--space-4)
      20px;
  }

  .section-title {
    margin-bottom: var(--space-2);

    border-bottom-width: 3px;
  }


  /* -----------------------------------------
     VIDEO
  ----------------------------------------- */

  #video-container {
    max-height: 310px;
  }


  /* -----------------------------------------
     PLAYLIST
  ----------------------------------------- */

  .video-playlist-header {
    padding:
      10px
      8px
      7px;
  }

  .video-playlist-label {
    font-size: 0.66rem;
  }

  .video-playlist-count {
    min-width: 26px;
    height: 26px;

    padding: 0 7px;

    font-size: 0.68rem;
  }

  #salsa-video-playlist-wrapper {
    padding:
      0
      5px
      5px;
  }

  #salsa-video-playlist .playlist-link {
    grid-template-columns:
      auto
      minmax(0, 1fr)
      auto;

    gap: 9px;

    padding: 9px;
  }

  .video-playlist-number {
    width: 32px;
    height: 32px;

    flex-basis: 32px;

    border-radius: 8px;

    font-size: 0.64rem;
  }

  .video-playlist-icon {
    width: 32px;
    height: 32px;

    flex-basis: 32px;
  }

  .video-playlist-title {
    font-size: 0.76rem;
  }

  .video-playlist-status {
    font-size: 0.66rem;
  }

  .video-playlist-link {
    width: 42px;
    min-width: 42px;
  }


  /* -----------------------------------------
     GALLERY
     3 x 2
  ----------------------------------------- */

  .carousel-slide {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );

    gap: 4px;

    padding: 3px;
  }

  .square-container {
    border-radius: 6px;
  }

  .gallery-image {
    border-width: 1px;
  }

  .credit-headline {
    margin-bottom: 7px;

    font-size: 0.62rem;
  }

  .carousel-indicator {
    width: 20px;
    height: 5px;
  }

  .carousel-indicator.is-active {
    width: 28px;
  }


  /* -----------------------------------------
     LIGHTBOX
  ----------------------------------------- */

  .lightbox-overlay {
    padding: 15px;
  }

  .lightbox-content {
    max-width: 96%;
    max-height: 78vh;
  }

  .lightbox-close {
    top: 12px;
    right: 16px;

    font-size: 2.5rem;
  }

  .lightbox-nav {
    font-size: 2rem;
  }

  .lightbox-nav.prev {
    left: 12px;
  }

  .lightbox-nav.next {
    right: 12px;
  }


  /* -----------------------------------------
     MEDIA
  ----------------------------------------- */

  #mediaGallery {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 10px;
  }

  .coverage-link {
    border-radius: 10px;
  }

  .media-headline {
    padding:
      8px
      8px
      5px;

    font-size: 0.7rem;
    line-height: 1.25;
  }

  .media-logo,
  img.media-logo {
    max-width: 110px !important;
    max-height: 50px !important;
  }

  .coverage-link
  p
  img:not(.media-logo):not(.media-thumb),

  .coverage-link
  > img:not(.media-logo):not(.media-thumb),

  .coverage-link
  .external-link-icon,

  .coverage-link svg {
    width: 13px !important;
    min-width: 13px !important;
    max-width: 13px !important;

    height: 13px !important;
    min-height: 13px !important;
    max-height: 13px !important;
  }

}


/* ============================================================
   VERY SMALL PHONES
============================================================ */

@media (max-width: 380px) {

  /* Playlist */

  #salsa-video-playlist .playlist-link {
    gap: 7px;

    padding: 7px;
  }

  .video-playlist-number {
    width: 29px;
    height: 29px;

    flex-basis: 29px;

    font-size: 0.6rem;
  }

  .video-playlist-icon {
    width: 29px;
    height: 29px;

    flex-basis: 29px;
  }

  .video-playlist-title {
    font-size: 0.7rem;
  }

  .video-playlist-status {
    font-size: 0.62rem;
  }

  .video-playlist-link {
    width: 38px;
    min-width: 38px;
  }


  /* Media */

  #mediaGallery {
    gap: 8px;
  }

  .media-headline {
    font-size: 0.66rem;
  }

}