/*
NEWS
Loaded on every page except the front page (see includes/setup.php).
Plain CSS on purpose: assets/dist/css/main.css can't be rebuilt from the current sources without changing the front page.
 */

/* Room for the fixed header */
.news {
  padding-top: 150px;
}

.news-header {
  margin-bottom: 40px;
}

/* Like the front page "Artistid" title, sized so the wider word fits edge to edge */
.news-page-title {
  font-family: 'gt_flexabold', sans-serif;
  font-size: clamp(64px, 21vw, 380px);
  line-height: 100%;
  color: #FD63C4;
  text-transform: uppercase;
  text-align: center;
}

.news-header-gif {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  pointer-events: none;
  max-width: 320px;
  min-width: 110px;
  width: 19vw;
  height: auto;
  margin-right: 0;
  margin-top: -7%;
}

/* Grid */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: #62477D;
  margin-bottom: 20px;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.04);
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: flex-start;
}

.news-card-title {
  font-family: 'gt_flexacondensed_bold', sans-serif;
  font-size: 32px;
  line-height: 105%;
  color: #ffffff;
  margin-bottom: 24px;
}

.news-card-title a:hover {
  color: #FED10F;
}

.news-more {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.news-more .ticket-btn {
  background-color: #FED10F;
  transition: background-color .3s ease;
}

.news-more svg {
  transition: transform .3s ease;
}

.news-more:hover .ticket-btn {
  background-color: #ffffff;
}

.news-more:hover svg {
  transform: rotate(45deg);
}

.news-empty {
  font-family: 'gt_flexalight', sans-serif;
  font-size: 24px;
  color: #ffffff;
  text-align: center;
}

/* Pagination */
.news-pagination {
  margin-top: 64px;
}

.news-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.news-pagination .page-numbers {
  font-family: 'gt_flexaextended_regular', sans-serif;
  font-size: 14px;
  line-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 360px;
  transition: all .3s ease;
}

.news-pagination .page-numbers.current,
.news-pagination a.page-numbers:hover {
  color: #000000;
  background: #FED10F;
}

/* Single */
.news-back {
  display: inline-block;
  font-family: 'gt_flexaextended_regular', sans-serif;
  font-size: 12px;
  line-height: 30px;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid transparent;
  margin-bottom: 24px;
  transition: all .3s ease;
}

.news-back:hover {
  border-bottom-color: #ffffff;
}

.news-single-title {
  font-family: 'gt_flexacondensed_bold', sans-serif;
  /* Sized so that a long title stays within 3 lines */
  font-size: clamp(20px, 4.2vw, 64px);
  line-height: 105%;
  color: #ffffff;
  text-align: center;
  text-wrap: balance;
  margin: 0 auto 40px;
}

.news-single-image {
  margin-bottom: 40px;
}

.news-single-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}

.news-single-content {
  font-family: 'gt_flexalight', sans-serif;
  font-size: 17px;
  line-height: 27px;
  max-width: 820px;
  margin: 0 auto;
}

/* gt_flexalight has a single weight, so bold needs its own font */
.news-single-content strong,
.news-single-content b {
  font-family: 'gt_flexabold', sans-serif;
  font-weight: normal;
}

.news-single-content > *:last-child {
  margin-bottom: 0;
}

.news-single-content h2,
.news-single-content h3 {
  font-family: 'gt_flexacondensed_bold', sans-serif;
  color: #400081;
  line-height: 100%;
  margin: 40px 0 16px;
}

.news-single-content h2 {
  font-size: 48px;
}

.news-single-content h3 {
  font-size: 32px;
}

.news-single-content ul,
.news-single-content ol {
  margin-bottom: 16px;
}

.news-single-content a {
  text-decoration: underline;
}

.news-single-content img {
  border-radius: 20px;
}

/* YouTube/Vimeo links on their own line become embeds */
.news-single-content iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  margin: 32px 0;
}

/* Intro paragraph */
.news-single-content > p:first-child {
  font-size: 1.1em;
  line-height: 1.45;
}

/* Videos */
.news-videos {
  margin-top: 64px;
}

.news-videos-title {
  font-family: 'gt_flexacondensed_bold', sans-serif;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 100%;
  color: #ffffff;
  margin-bottom: 32px;
}

.news-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.news-video {
  display: block;
  color: #ffffff;
}

.news-video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #62477D;
  margin-bottom: 12px;
}

.news-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}

.news-video:hover .news-video-thumb img {
  transform: scale(1.04);
}

.news-video:hover .news-video-play {
  transform: translate(-50%, -50%) scale(1.15);
}

.news-video-artist {
  display: block;
  font-family: 'gt_flexaextended_bold', sans-serif;
  font-size: 15px;
  line-height: 22px;
  text-transform: uppercase;
}

.news-video-song {
  display: block;
  font-family: 'gt_flexacondensed_light', sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.70);
}

/* 404 (404.php reuses the news header and buttons) */
.error-404 {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.error-404-title {
  font-family: 'gt_flexacondensed_bold', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 100%;
  margin-bottom: 16px;
}

.error-404-text {
  font-family: 'gt_flexalight', sans-serif;
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: 40px;
}

.error-404-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}

/* The hidden logo is absolute at full size and would cover links under the header */
#masthead .primary-logo {
  pointer-events: none;
}

/* Active menu item */
.master-navigation .current-menu-item > a,
.master-navigation .current_page_parent > a {
  border-bottom: 1px solid #ffffff;
}

@media (min-width: 768px) {
  .news-single-content {
    font-size: 20px;
    line-height: 32px;
  }

  .news-single-content > p:first-child {
    font-size: 1.2em;
  }

  .news-grid,
  .news-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news {
    padding-top: 190px;
  }

  .news-header {
    margin-bottom: 64px;
  }

  .news-videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-card-title {
    font-size: 38px;
  }

  .news-single-content {
    font-size: 24px;
    line-height: 35px;
  }
}
