/* Air salon */

/* .airsalons {
  color: #FF4A00;
  display: grid;
  grid-gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
} */
/* 
.airsalon-body {
  width: 90vw;
} */

.main-airsalon {
  margin: 0 5rem;
  font-size: 1.8rem;
}

.airsalon-header {
  display: flex;
  justify-content: space-between;
  align-items: top;
  /* margin-bottom: 2rem; */
  width: 100%;
  display: grid;
  grid-gap: 3rem;
  grid-template-columns: 2fr 1fr 1fr;
}

.show-title:hover {
  font-style: italic;
}

/* Stream */

.live-now-container {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
  /* justify-content: center;
  justify-items: center; */
}

#streamButtonContainer {
  width: 60px;
  height: 60px;
  margin-top: 10px;
  border-radius: 50%;
  background-color: #FF4A00;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}

#streamButtonContainer:hover {
  background-color: #ff6d34;
}

#streamLoading {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Icon element */
#streamIcon {
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Icon states controlled by JS classes */
#streamIcon.play {
  background-image: url("../images/play.png");
}

#streamIcon.pause {
  background-image: url("../images/pause.png");
}



.airsalon-description {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  /* width: 87vw; */
}

.airsalon-description a:hover{
  color: #e03e00;
}

.airsalon-details-description p:not(:last-child) {
  margin-bottom: 20px;
}

.air-salon-title {
  font-family: 'IotaDisplayB-Black', sans-serif;
  color: #FF4A00;
  font-weight: 800;
  font-size: 18.2rem;
  letter-spacing: 0.5rem;
  line-height: 19rem;
  /* margin-top: -20px; */
  padding-bottom: 40px;
}

.air-salon-headline, .airsalon-about, .airsalon-list {
  /* font-size: 1.8rem; */
  color: #FF4A00;
}

.air-salon-headline a, .airsalon-about a {
  color: #FF4A00;
  text-decoration: underline;
}

#archive {
    scroll-margin-top: -5px;
}

#airsalon-about {
scroll-margin-top: -80px;
}

.airsalon-about {
  margin: 100px 0 170px;
  max-width: 65vw;
}

.airsalon-about-text p{
  padding-bottom: 30px;
}

.air-salon-headline.next{
  text-decoration: underline;
}


.air-salon-headline .next-show-link {
  display: inline-block;
  padding-top: 0.5rem; /* or any value you prefer */
}

.next-show-link {
  padding-top: 20px;
}


.airsalon-nextup {
  position: absolute;
  top: 55px;
  width: 470px;
  right: 0px;
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  text-align: left;
  margin-right: 30px;
  /* padding: 10px; */
  z-index: 10;
}

.airsalon-nextup a{
  text-decoration: none;
}

.airsalon-nextup a:hover{
  text-decoration: underline;
}

.air-salon-headline time {
  padding-top: 0.5rem; /* or any value you prefer */
  display: inline-block; /* ensures padding works vertically */
}

.going-live {
  letter-spacing: 15px;
}

/* .airsalonintro {
  position: relative;
  margin-top: -2rem;
} */

.airsalon-archive{
  margin-top: 80px;
}

.airsalon-list {
  list-style: none;
  padding-bottom: 150px;
  margin: auto;
}

.airsalonintro {
  margin-bottom: 2rem;
}

.airsalon-item {
  padding: 10px 0; /* Add spacing on the left and right edges */
  border-bottom: 1px dotted #FF4A00; /* Creates the underline */
}

.airsalon-item:hover {
  background-color: #D0FAFF;

}

.airsalon-item:last-child {
  border-bottom: none; /* Removes the underline for the last item */
}

.airsalon-details {
  height: 0; /* Initially hidden */
  overflow: hidden; /* Prevent content from spilling out */
  transition: height 0.3s ease; /* Smooth height transition */
}

.airsalon-details-content {
  display: flex;
  align-items: start;
  margin-top: 1rem;
  gap: 140px; /* Space between time and play button */
  font-size: 1.3rem;
  line-height: 1.5rem;
  margin-bottom: 20px;
}

.airsalon-details-description {
  width: 59vw;
}

.play-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 60px solid #FF4A00; /* Triangle color */
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  cursor: pointer;
  margin-top: 1rem;
}

.play-button:hover {
  border-left-color: #e03e00; /* Change triangle color on hover */
}

.mixcloud-player-container {
  position: fixed;
  bottom: -150px; /* Start hidden below the viewport */
  left: 0;
  width: 100%;
  background-color: #f9f9f9;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 10px; */
  transition: bottom 0.3s ease; /* Smooth slide-in effect */
}

.mixcloud-player-container.visible {
  bottom: 0; /* Slide into view */
}

.mixcloud-player {
  width: 100%;
  /* max-width: 800px; */
  height: 60px;
}
.year-navigation {
  position: sticky; /* Make the button sticky */
  top: 0; /* Stick to the top of the container */
  text-align: right;
  z-index: 10; /* Ensure it stays above other elements */
}
.year-toggle-button {
  display: inline-block;
  padding: 10px 10px;
  margin-bottom: 2px;
  background-color: #D0FAFF;
  color: #FF4A00;
  cursor: pointer;
  font-size: 1.8rem;
  /* border-radius: 5px; */
  position: relative;
  z-index: 2;
}

.year-toggle-button:hover {
  background-color: #FF4A00;
  color: #D0FAFF;
}

.year-list {
  position: absolute;
  top: 190%;
  right: 0;
  font-size: 1.8rem;
  background-color: #D0FAFF;
  color: FF4A00;
  z-index: 1;
  list-style: none;
  padding: 10px;
  margin: 0;
  display: none;
}

.year-list li {
  margin-bottom: 5px;
}

.year-list a {
  text-decoration: none;
  color: #FF4A00;
  font-size: 1.8rem;
}

.year-list a:hover {
  text-decoration: underline;
}


/* Airsalon mobile */

@media screen and (max-width: 600px) {
  .site-body {
    padding: 0;
  }

  body {
    padding: unset;
    max-width: unset;
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  /* General adjustments for smaller screens */
  .main-airsalon {
    width: 90vw;
    margin: 0 1rem;
    font-size: 1.5rem;
  }

  ul.airsalon-list {
    width: 100%;
  }

  .airsalon-item{ 
    padding: 10px 10px;
  }

  .air-salon-title {
    font-size: 7.8rem;
    line-height: 1.2;
    margin-top: 0;
    padding-bottom: 20px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .live-now-container {
    grid-template-columns: 3fr 1fr; /* Stack vertically */
  }

  .going-live {
  letter-spacing: 13px;
  padding-top: 10px;
  padding-left: 15px;
  }

  #streamButtonContainer {
    width: 50px;
    height: 50px;
    margin-top: 0px;
}

#streamIcon {
  width: 25px;
  height: 25px;
}

  .airsalon-nextup {
    position: static; /* Remove absolute positioning for better flow */
    width: 100%;
    margin: 1rem 0 3rem;
    text-align: left; /* Center-align the text */
  }

  .airsalon-header {
    grid-template-columns: 1fr; /* Stack columns vertically */
    gap: 0.0; /* Reduce spacing */
    /* font-size: 1.8rem; */
    line-height: 1.8rem;
  }

  .air-salon-headline.navigation{
    /* margin-bottom: 1.4rem; */
    display: flex;
    gap: 1rem;
    order: 1;
  }

  .air-salon-headline{
    order: 2;
  }

  .air-salon-headline time {
    padding-top: 0; /* Remove top padding */
    display: block; /* Make it take full width */
    margin-top: 0.2rem; /* Add some space above */
  }

  .airsalon-description {
    display: grid;
    gap: 1.2rem;
    width: 100%; /* Take up full width */
    margin-bottom: 1rem;
    margin-top: 2rem;
    line-height: 1;
  }

  .airsalon-details-description {
    width: 100%; /* Take up full width */
  }

  .airsalon-details-content {
    flex-direction: column; /* Stack items vertically */
    gap: 1rem; /* Reduce spacing */
  }

  .airsalon-list {
    padding: 0;
    margin: 0;
  }

  .show-title:hover {
  font-style: none;
  }

  .show-title {
    font-style: italic;
  }

  #streamButtonContainer:hover {
  background-color: #FF4A00;
}

  .year-toggle-button {
    margin-top: 10px;
    top: 35.5px;
    font-size: 1.5rem;
  }

  .year-list a {
    font-size: 1.5rem; /* Adjust font size */
    /* margin-bottom: 1rem; */
    padding: 8px 10px;
  }

  .airsalon-details {
    transition: height 0.3s ease; /* Keep smooth transitions */
  }

  .play-button {
    border-left: 40px solid #FF4A00; /* Reduce size */
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
  }

  .year-toggle-button {
    font-size: 1.5rem; /* Adjust button size */
    padding: 8px 10px;
  }

  .year-list {
    font-size: 1.5rem; /* Adjust font size */
    margin-top: 20px;
    top: 88px;
    padding: 10px 0px;
  }

  .airsalonintro {
    margin-top: 0.2rem;
    margin-bottom: 1rem;
  }

  .airsalon-archive {
    margin-top: 2rem;
  }

  .airsalon-about {
    max-width: unset;
    width: 85vw;
    margin: 170px 0;
  }
}