@charset "utf-8";

#youtube-section {
  padding: 120px 0;
  background-color: #f8fbff;
}

.youtube_layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.youtube_label {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
  color: #131e5a;
  letter-spacing: 1px;
}

.youtube_title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -2px;
  color: #111;
}

.youtube_current {
  margin-top: 38px;
  padding: 24px 0;
  border-top: 1px solid rgba(19, 30, 90, 0.18);
  border-bottom: 1px solid rgba(19, 30, 90, 0.18);
}

.youtube_current span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #777;
}

.youtube_current strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  color: #131e5a;
  word-break: keep-all;
}

.youtube_list {
  margin-top: 28px;
  padding: 0;
  list-style: none;
  max-width: 600px;
}

.youtube_item+.youtube_item {
  margin-top: 10px;
}

.youtube_item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  transition: all .3s ease;
}

.youtube_item a:hover,
.youtube_item.active a {
  background-color: #131e5a;
  color: #fff;
  transform: translateX(8px);
}

.youtube_item span {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  opacity: .65;
}

.youtube_item p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-all;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.youtube_thumb_box {
  min-width: 0;
}

.youtube_thumb_link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background-color: #e9eef6;
  box-shadow: 0 28px 70px rgba(19, 30, 90, 0.14);
}

.youtube_thumb_link img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .45s ease;
}

.youtube_thumb_link:hover img {
  transform: scale(1.05);
}

.youtube_play_btn {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: #ed1c24;
  font-size: 28px;
  transform: translate(-50%, -50%);
  transition: all .3s ease;
}

.youtube_thumb_link:hover .youtube_play_btn {
  background-color: #ed1c24;
  color: #fff;
}

.youtube_hash_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.youtube_hash_list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background-color: #fff;
  color: #131e5a;
  font-size: 14px;
  font-weight: 700;
}

@media screen and (max-width: 1199px) {
  #youtube-section {
    padding: 90px 0;
  }

  .youtube_layout {
    gap: 40px;
  }

  .youtube_title {
    font-size: 42px;
  }

  .youtube_current strong {
    font-size: 19px;
  }
}

@media screen and (max-width: 767px) {
  #youtube-section {
    overflow: hidden;
    padding: 70px 20px;
  }

  .youtube_layout {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .youtube_text_box,
  .youtube_thumb_box {
    width: 100%;
    min-width: 0;
  }

  .youtube_title {
    font-size: 34px;
    letter-spacing: -1.5px;
  }

  .youtube_current {
    margin-top: 28px;
    padding: 20px 0;
  }

  .youtube_current strong {
    font-size: 18px;
    word-break: keep-all;
  }

  .youtube_list {
    width: 100%;
    max-width: 100%;
    margin-top: 28px;
  }

  .youtube_item a {
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
    padding: 16px;
    transform: none;
  }

  .youtube_item a:hover,
  .youtube_item.active a {
    transform: none;
  }

  .youtube_item p {
    min-width: 0;
    font-size: 14px;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .youtube_thumb_box {
    margin-top: 36px;
  }

  .youtube_thumb_link {
    width: 100%;
    border-radius: 20px;
  }

  .youtube_thumb_link img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .youtube_play_btn {
    width: 62px;
    height: 62px;
    font-size: 22px;
  }

  .youtube_hash_list {
    width: 100%;
  }

  .youtube_hash_list span {
    min-height: 34px;
    padding: 0 13px;
    font-size: 13px;
  }
}