/* PLAYER 02 */

/* ----------------- General styles ----------------- */

body {
  font-family: 'Brandon Grotesque', Arial, sans-serif;
}

.rwmas-2 .video-player__controls {
  background-color: transparent !important;
}

.rwmas-2 .video-player__controls--audio-only {
  width: 95% !important;
  max-width: 550px !important;
  min-width: 350px !important; 
  padding: 10px;
  color: #333;
  display: flex;
  flex-direction: column;
  margin: 0 auto; 
  position: relative;
  padding-top: 0px; 
}

.rwmas-2 .video-player__seek-bar-container {
  order: 2;
  margin-top: 12px;
}

.rwmas-2 .video-player__seek-bar {
  width: 100%;
  height: 4px;
  background: rgba(76, 174, 225, 0.3) !important;
  border-radius: 5px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.rwmas-2 .video-player__seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #4CAEE1 !important;
  border-radius: 50%;
  cursor: pointer;
}

.rwmas-2 .video-player__time-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px; 
  color: #4CAEE1;
  margin-top: 5px;
}

.rwmas-2 .video-player__control-buttons {
  order: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -45px;
}

.rwmas-2 .video-player__left-controls button:nth-child(2) {
  width: 40px; 
  height: 40px; 
  background: #4CAEE1 !important;
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  position: relative;
  overflow: hidden;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.rwmas-2 .video-player__left-controls button:nth-child(2):focus,
.rwmas-2 .video-player__left-controls button:nth-child(2):active,
.rwmas-2 .video-player__left-controls button:nth-child(2):hover {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.rwmas-2 .video-player__left-controls button:nth-child(2) svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.rwmas-2 .video-player__left-controls button:nth-child(1),
.rwmas-2 .video-player__left-controls button:nth-child(3),
.rwmas-2 .video-player__right-controls {
  display: none !important;
}

.rwmas-2 .video-player__control-buttons::after {
  content: '';
  width: 50px; 
  height: 50px; 
  background: url('https://aynrand.org/wp-content/uploads/2024/09/Sound.svg') no-repeat center/contain;
  cursor: pointer;
}



/* ----------------- Tablet styles ----------------- */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .rwmas-2 .video-player__controls--audio-only {
    max-width: 520px !important; 
    min-width: 420px !important; 
    padding: 8px;
  }
  
  .rwmas-2 .video-player__control-buttons {
    margin-top: -55px;
  }
  
  .rwmas-2 .video-player__left-controls button:nth-child(2) {
    width: 45px;
    height: 45px;
  }
  
  .rwmas-2 .video-player__left-controls button:nth-child(2) svg {
    width: 20px;
    height: 20px;
  }
  
  .rwmas-2 .video-player__control-buttons::after {
    width: 60px;
    height: 60px;
  }
  
  .rwmas-2 .video-player__time-info {
    font-size: 14px;
  }
  
  .rwmas-2 .video-player__seek-bar-container {
    margin-top: 15px;
  }
  
  .rwmas-2 .video-player__seek-bar {
    height: 4px;
  }
  
  .rwmas-2 .video-player__seek-bar::-webkit-slider-thumb {
    width: 13px;
    height: 13px;
  }
}



/* ----------------- Desktop styles ----------------- */

@media screen and (min-width: 1024px) {
  .rwmas-2 .video-player__controls--audio-only {
    width: 550px !important;
    min-width: 420px !important; 
    padding: 10px;
  }
  
  .rwmas-2 .video-player__control-buttons {
    margin-top: -65px;
  }
  
  .rwmas-2 .video-player__left-controls button:nth-child(2) {
    width: 50px;
    height: 50px;
  }
  
  .rwmas-2 .video-player__left-controls button:nth-child(2) svg {
    width: 24px;
    height: 24px;
  }
  
  .rwmas-2 .video-player__control-buttons::after {
    width: 70px;
    height: 70px;
  }
  
  .rwmas-2 .video-player__time-info {
    font-size: 16px;
  }
  
  .rwmas-2 .video-player__seek-bar-container {
    margin-top: 20px;
  }
  
  .rwmas-2 .video-player__seek-bar {
    height: 5px;
  }
  
  .rwmas-2 .video-player__seek-bar::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
  }
}