* {
  box-sizing: border-box;
}

body {
  background: #181818;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 10vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

a {
  color: #fff;

  &:hover,
  &:active,
  &:focus,
  &:visited {
    color: #fff;
  }
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

section {
  padding: clamp(20px, 5vw, 60px);
}

.dates {
  padding: 0;
}

.bit-widget a.bit-event {
  border-color: #666;
}

.intro {
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 0;

  @media screen and (min-width: 768px) {
    display: grid;
  }
}

.intro-text {
  grid-column: span 2;
}

.members {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.member-bio {
  margin: 0;

  img {
    width: 100%;
  }

  p {
    margin: 0;
  }
}

.iframe-wrapper {
  aspect-ratio: 16/9;
  /* 16:9 aspect ratio */
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* Music page tabs - Dark Theme */
/* Tabs container */
.tabs {
  display: flex;
  margin-top: 2rem;
  border: 1px solid #333;
  border-radius: 5px;
  overflow: hidden;
}

/* Tab navigation */
.tab-nav {
  width: 200px;
  background: #222;
  border-right: 1px solid #333;
}

.tab-nav button {
  display: block;
  width: 100%;
  padding: 15px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 1px solid #333;
  transition: all 0.3s ease;
  color: #ccc;
}

.tab-nav button:hover {
  background-color: #2a2a2a;
}

.tab-nav button.active {
  background-color: #181818;
  border-left: 3px solid #D22630;
  font-weight: bold;
  color: #fff;
}

/* Tab content */
.tab-content {
  flex: 1;
  padding: 20px;
  background: #181818;
  color: #ddd;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane ul {
  list-style-type: none;
  columns: 2;
  column-gap: 40px;
}

.tab-pane li {
  margin-bottom: 10px;
  break-inside: avoid;
}

/* Responsive design */
@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
  }

  .tab-nav {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #333;
    display: flex;
    overflow-x: auto;
  }

  .tab-nav button {
    white-space: nowrap;
    border-bottom: none;
    border-right: 1px solid #333;
  }

  .tab-pane ul {
    columns: 1;
  }
}

/* Audio */

.audioalbum {
  margin-top: 30px;
  margin-bottom: 20px;
}

.audio-player {
  margin: 20px 0;
}

.track {
  background-color: #333;
  display: flex;
  align-items: center;
  padding: 30px;
  margin-bottom: 2px;

  @media screen and (min-width: 768px) {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.song-title {
  flex: 1;
  font-weight: bold;
  margin-right: 15px;
  min-width: 150px;
}

/* Style the native audio controls */
audio.audio-player {
  height: 30px;
  flex: 2;
}

/* Make audio player responsive */
@media (max-width: 600px) {
  .track {
    flex-direction: column;
    align-items: flex-start;
  }

  audio.audio-player {
    width: 100%;
  }
}

/* Bios */

/* Team Member Styles */

.team-member {
  display: flex;
  padding: 20px;
  margin-bottom: 30px;
  background-color: #333;
  border-radius: 5px;

  @media screen and (min-width: 768px) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.member-photo {
  max-width: 200px;
  height: auto;
  margin-right: 20px;
  border-radius: 5px;
  align-self: flex-start;

  @media screen and (min-width: 768px) {
    max-width: 100%;
    width: 100%;
  }
}

.member-info {
  flex: 1;
  grid-column: span 2;
}

.member-info {
  h2 {
    margin-bottom: 0.05em;
  }

  h3 {
    font-family: "Charm";
    font-weight: normal;
    transform: scaleX(1.2);
    transform-origin: left center;
    margin-bottom: 0;
    padding-right: 50px;
  }
}

.member-info p {
  margin-top: 10px;
  font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
  }

  .member-photo {
    margin: 0 auto 20px;
    display: block;
  }
}

/* Testimonials */

/* Charity Event Section */
.charity-event {
  border-radius: 5px;
  margin-bottom: 30px;
}

.charity-event h2 {
  margin-top: 0;
  border-bottom: 1px solid #666;
  padding-bottom: 10px;
}

.event-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #333;
  padding: 30px;

  @media screen and (min-width: 768px) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.event-image {
  max-width: 200px;
  height: auto;
}

.event-description {
  flex: 1;
  min-width: 300px;
  grid-column: span 2;
}

.event-image-secondary {
  float: right;
  margin: 0 0 10px 15px;
  max-width: 300px;
  height: auto;
}

/* Testimonials Section */
.testimonials h2 {
  margin: 30px 0 20px;
  text-align: center;
}

.testimonial {
  background-color: #333;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0 5px 5px 0;
}

.signature {
  text-align: right;
  font-style: italic;
  margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .event-content {
    flex-direction: column;
  }

  .event-image {
    margin: 0 auto 20px;
    display: block;
  }

  .event-image-secondary {
    float: none;
    margin: 20px auto;
    display: block;
  }
}

/* Contact section styles */

.contact-container {
  background-color: #333;
  border-radius: 5px;
  padding: 30px;
  margin: 20px 0;
}

.contact-content h2 {
  border-bottom: 1px solid #666;
  padding-bottom: 10px;
}

address {
  font-style: normal;
  margin: 20px 0;
  line-height: 1.8;
}