/* 오디오 팝업 */

.modal-audio {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    align-items: center;
    justify-content: center;
  z-index: 9999;
}
.modal-audio .modal-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.modal-audio .modal-panel {
  position: relative;
  width: calc(100% - 32px);
  max-width: 940px;
  min-height: 50vh;
  max-height: 600px;
  display: flex;
  padding: 70px 20px 40px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
@media screen and (max-width: 1000px) {
  .modal-audio .modal-panel {
    flex-direction: column;
    gap: 20px;
    padding-top: 50px;
    max-width: 550px;
    max-height: none;
  }
}
.modal-audio .modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
@media screen and (max-width: 1000px) {
  .modal-audio .modal-close {
    width: 22px;
    height: 22px;
  }
}
.modal-audio .modal-info {
  display: flex;
  flex-direction: column;
  width: 50%;
  padding-right: 30px;
}
@media screen and (max-width: 1000px) {
  .modal-audio .modal-info {
    width: 100%;
    padding-right: 0;
  }
}
.modal-audio .modal-info .top-wrap {
  display: flex;
  gap: 20px;
}
@media screen and (max-width: 1000px) {
  .modal-audio .modal-info .top-wrap {
    margin-bottom: 20px;
  }
}
.modal-audio .modal-info .top-wrap .poster {
  width: 170px;
  background-color: #eee;
}
@media screen and (max-width: 1000px) {
  .modal-audio .modal-info .top-wrap .poster {
    width: 130px;
  }
}
.modal-audio .modal-info .top-wrap .poster img {
  width: 100%;
}
.modal-audio .modal-info .top-wrap .info h4 {
  font-size: 27px;
  font-weight: 600;
}
@media screen and (max-width: 1000px) {
  .modal-audio .modal-info .top-wrap .info h4 {
    font-size: 22px;
  }
}
.modal-audio .modal-info .top-wrap .info .vol {
  font-size: 17px;
  margin: 10px 0 30px;
}
@media screen and (max-width: 1000px) {
  .modal-audio .modal-info .top-wrap .info .vol {
    font-size: 15px;
    margin: 5px 0 15px;
  }
}
.modal-audio .modal-info .bottom-wrap {
  margin-top: auto;
}
.modal-audio .modal-info .bottom-wrap #player {
  width: 100%;
}
.modal-audio .modal-info .bottom-wrap #player audio {
  width: 100%;
}
.modal-audio .modal-content {
  width: 50%;
  padding: 20px;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 500;
  background: #f0f6ff;
  border: 1px solid #cddbee;
  border-radius: 20px;
  overflow: auto;
}
@media screen and (max-width: 1000px) {
  .modal-audio .modal-content {
    width: 100%;
    height: 300px;
    font-size: 15px;
  }
}

.modal-audio.is-open {
  display: flex;
}

body.is-modal-open {
  overflow: hidden;
}
