/*
Theme Name: Rumble Child
Template: rumble_tcd058
Version: 1.0
*/

.performers-container {
  margin-bottom: 30px;

  .slick-dots {
    bottom: -30px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;

    button {
      background-color: #e5e7eb;
    }
    .slick-active {
      button {
        background-color: #f97316;
      }
    }
  }

  .slick-track {
    display: flex;
    padding-bottom: 42px;
  }
  .slick-slide {
    height: auto !important;
    margin: 0 10px;
  }
}

.players-cta-button {
  margin-bottom: 40px;
}

/* 演奏者カードのスタイル */
.user-profile-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* Tailwind's border color */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Tailwind's shadow-sm */
  border-radius: 0.125rem; /* Tailwind's rounded-sm */
  margin-bottom: 1.25rem; /* Tailwind's mb-5 */
  transition: box-shadow 0.3s ease, outline 0.3s ease;
}

@media screen and (max-width: 768px) {
  .user-profile-card {
    width: 262px;
  }
}

.user-profile-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); /* Tailwind's shadow-lg */
}

.user-profile-card:focus {
  outline: none;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); /* Tailwind's shadow-lg */
}

.user-profile-card .card-content {
  padding: 1rem; /* Tailwind's p-4 */
  /* display: flex; */
}

.user-profile-card .card-content.md-p-5 {
  padding: 1.25rem; /* Tailwind's md:p-5 */
}

.user-image {
  display: flex;
  justify-content: center;
}

.icon-image-medium {
  flex-shrink: 0;
  margin-bottom: 10px;
  border-radius: 50%;
  text-align: center;
  width: 80px;
  height: 80px !important;
  object-fit: cover;
}

.user-profile-card a.user-name-link {
  font-size: 1rem; /* Tailwind's text-md */
  font-weight: 700; /* Tailwind's font-bold */
  color: #1f2937; /* Tailwind's text-zinc-800 */
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
}

.user-profile-card a.user-name-link:hover {
  color: #797e85; /* Tailwind's text-zinc-500 */
}

.user-profile-card p.user-profile {
  margin-top: 0.25rem; /* Tailwind's mt-1 */
  color: #6b7280; /* Tailwind's text-zinc-500 */
  font-size: 11px; /* Tailwind's text-sm */
  line-height: 1.6;
  margin-bottom: 0;
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal;
}

.user-profile-card .instruments {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px; /* Tailwind's mt-3 */
}

.user-profile-card .instruments a.instrument-link {
  border: 1px solid #374151; /* Tailwind's border-zinc-700 */
  padding: 2px 0.75rem; /* Tailwind's py-1 px-3 */
  border-radius: 9999px; /* Tailwind's rounded-full */
  margin-right: 0.5rem; /* Tailwind's mr-2 */
  margin-bottom: 5px; /* Tailwind's mb-2 */
  text-decoration: none;
  color: #374151; /* Tailwind's text-zinc-700 */
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 10px;
}

.user-profile-card .instruments a.instrument-link:hover {
  background-color: #374151; /* Tailwind's bg-zinc-700 */
  color: #ffffff; /* Tailwind's text-white */
}

.user-profile-card .review-and-location {
  display: flex;
  align-items: center;
  margin-top: 0px; /* Tailwind's mt-3 */
}

.user-profile-card .review-and-location .user-review-count {
  font-size: 0.875rem; /* Tailwind's text-sm */
}

.user-profile-card .review-and-location .location {
  margin-left: auto; /* Tailwind's ms-auto */
  margin-top: 0.25rem; /* Tailwind's mt-1 */
  font-size: 12px; /* Tailwind's text-sm */
  display: flex;
  font-weight: 600;
  align-items: center;
}

.user-profile-card .review-and-location .location .map-marker {
  width: 1rem; /* Tailwind's w-4 */
  height: 1rem; /* Tailwind's h-4 */
  background-color: #374151; /* Tailwind's bg-zinc-700 */
  margin-right: 0.25rem; /* Tailwind's mr-1 */
  display: inline-block;
}

.user-profile-card .instructor-badge {
  font-size: 12px;
  padding: 5px 10px;
  margin-left: 5px;
  background: #5fa5f9;
  color: #ffffff;
  align-self: center;
  line-height: 1;
  border-radius: 20px;
}
.user-profile-card .resident-mark {
  margin-left: 5px;
  img {
    vertical-align: middle;
  }
}

.additional-info {
  padding: 1rem;
  padding-top: 0;
  .additional-info-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .package {
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
  }

  .package-title {
    font-size: 12px;
    margin-bottom: 0px;
    text-decoration: underline;
    line-height: 1.5;
  }

  .package-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    p {
      margin-bottom: 0;
    }
  }

  .genre {
    font-size: 10px;
    padding: 3px 8px;
    background: #1f2937;
    color: #ffffff;
  }

  .more-packages {
    margin-bottom: 0;

    font-size: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 5px;
    a {
      color: #374151 !important;
      text-decoration: underline;
    }
  }
}

.performer-single {
  .user-profile-card {
    width: 100%;
  }
}

.user-request-button {
  display: block;
  text-align: center;
  color: #ffffff !important;
  background-color: #f97316;
  padding: 15px 30px;
  line-height: 1.5 !important;
  max-width: 210px;
  margin: 10px auto 20px;
  font-weight: 500;
  font-size: 15px !important;

  &:hover {
    background-color: #ea580c;
  }
}

@media screen and (max-width: 768px) {
  .user-request-button {
    width: 100%;
    font-size: 13px !important;
    max-width: 100%;
    padding: 10px 30px;
  }
}

.user-button-container {
  padding: 0 20px;
}
