@charset "UTF-8";
.channel-info {
  margin: 80px auto;
}
@media (max-width: 575px) {
  .channel-info {
    margin: 50px auto;
  }
}
.channel-info .nav-link {
  width: 33.3333%;
  height: 50px;
  color: #aaaaaa;
  background-color: #f9f9f9;
  border: 1px solid #aaaaaa;
  border-bottom: none;
  line-height: 1.3;
}
@media (max-width: 575px) {
  .channel-info .nav-link {
    height: auto;
    font-size: 0.875rem;
  }
}
.channel-info .nav-link.active {
  color: #fff;
  background-color: #ee7800;
  border: 1px solid #ee7800;
  border-bottom: none;
}
.channel-info .tab-content {
  border: 3px solid #ee7800;
  background-color: #f9f9f9;
}
.channel-info .tab-content ul {
  margin-left: 2rem;
}
@media (max-width: 991px) {
  .channel-info .tab-content ul {
    margin: 0.5rem auto 0;
  }
}
.channel-info .tab-content ul li {
  margin: 10px 0;
  line-height: 1.3;
  letter-spacing: 1px;
}
.channel-info .tab-content ul li:last-child {
  margin-bottom: 0;
}
.channel-info .tab-content .btn-list button {
  padding: 1rem 2rem;
  color: #aaaaaa;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 5px;
}
@media (max-width: 1200px) {
  .channel-info .tab-content .btn-list button {
    padding: 1rem 1.5rem;
  }
}
@media (max-width: 475px) {
  .channel-info .tab-content .btn-list button {
    padding: 0.7rem 1.2rem;
    font-size: 0.875rem;
  }
}
.channel-info .tab-content .btn-list button.active {
  color: #ee7800;
  border: 1px solid #ee7800;
}

.date-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .date-slider {
    flex-direction: column;
  }
}
.date-slider .date-selector-btn {
  padding: 1rem;
  display: flex;
  align-items: center;
  border: none;
  position: absolute;
  left: 0;
}
@media (max-width: 767px) {
  .date-slider .date-selector-btn {
    position: static;
    margin-bottom: 1.5rem;
  }
}
.date-slider .date {
  padding: 0 7rem;
  margin-top: -2px;
  font-size: 1.5rem;
}
@media (max-width: 991px) {
  .date-slider .date {
    padding: 0 3rem;
  }
}
@media (max-width: 767px) {
  .date-slider .date {
    padding: 0 5rem;
  }
}
@media (max-width: 515px) {
  .date-slider .date {
    padding: 0 3rem;
    font-size: 1.25rem;
  }
}
@media (max-width: 414px) {
  .date-slider .date {
    padding: 0 2rem;
  }
}
.date-slider .fas {
  color: #ee7800;
  cursor: pointer;
  font-size: 24px;
}
.date-slider .left {
  transform: rotate(270deg);
}
.date-slider .right {
  transform: rotate(90deg);
}

.date-container {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}
.date-container .date-btn {
  margin: 0 0.25rem;
  padding: 0.25rem;
  width: 100%;
  min-width: 80px;
  color: #aaaaaa;
  border: 1px solid #aaaaaa;
  border-radius: 3px;
  background-color: #f5f5f5;
  font-size: 1.125rem;
  transition: all 0.3s;
}
.date-container .date-btn.active {
  color: #fff;
  border: 1px solid #ee7800;
  background-color: #ee7800;
}
.date-container .date-btn:hover {
  opacity: 0.8;
}
.date-container .date-btn .weekday {
  display: inline-block;
  margin: 0.25rem auto;
}

.program {
  width: 100%;
  margin-bottom: 70px;
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  .program {
    flex-direction: column;
  }
}
.program ul {
  width: 50%;
}
@media (max-width: 767px) {
  .program ul {
    width: 100%;
  }
}
.program ul li {
  padding: 1rem;
  display: flex;
  align-items: center;
}
.program ul li:nth-child(odd) {
  background-color: #f2f2f2;
  /* 基數的背景色為灰色 */
}
.program ul li span:first-child {
  margin-right: 1rem;
}
.program ul li.active {
  color: #fff;
  background-color: #ee7800;
}

@media (min-width: 576px) {
  #channelModal .modal-dialog {
    max-width: 720px;
  }
}
#channelModal h5 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: 2px;
  text-align: center;
  color: #522c03;
}
#channelModal table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0px;
  color: #522c03;
}
@media (max-width: 575px) {
  #channelModal table {
    width: 500px;
  }
}
#channelModal table thead tr {
  background-color: #ffffe0;
  border-top: 1px dotted #c57a28;
  border-bottom: 5px solid #cdcc00;
}
#channelModal table th,
#channelModal table td {
  padding: 0.3rem;
  line-height: 1.3;
  border-bottom: 1px solid #ed912c;
}
#channelModal table th:nth-child(1),
#channelModal table td:nth-child(1) {
  padding-left: 2.7rem;
}
#channelModal table th:nth-child(3),
#channelModal table td:nth-child(3) {
  max-width: 200px;
  padding-right: 2.7rem;
  word-wrap: break-word;
  /* 超出範圍自動換行 */
  white-space: normal;
  /* 多行顯示 */
}

.video-list {
  margin-bottom: 80px;
}
@media (max-width: 575px) {
  .video-list {
    margin-bottom: 50px;
  }
}
.video-list a {
  color: #000;
  overflow: hidden;
}
.video-list .cover-img {
  width: 100%;
  height: 230px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 3px 3px 0 0;
}
@media (max-width: 1400px) {
  .video-list .cover-img {
    height: 199px;
  }
}
@media (max-width: 1200px) {
  .video-list .cover-img {
    height: 165px;
  }
}
@media (max-width: 991px) {
  .video-list .cover-img {
    height: 188px;
  }
}
@media (max-width: 767px) {
  .video-list .cover-img {
    height: 290px;
  }
}
@media (max-width: 575px) {
  .video-list .cover-img {
    height: 50vw;
  }
}
.video-list .video-item {
  border: none;
}
.video-list .designer img {
  height: 80px;
  min-width: 80px;
  margin-right: 1rem;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}
.video-list .designer .info {
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.video-list .designer .info h3 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.video-list .designer .info h4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-break: after-white-space;
  line-height: 1.3;
}
.video-list .description {
  color: #727679;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-break: after-white-space;
  line-height: 1.3;
}

.loading-item {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-item .spinner-border {
  width: 60px;
  height: 60px;
}

/* === YouTube iframe 自適應（modal 影片）=== */
.video-modal iframe,
#videoModal iframe,
#videoFrame {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  display: block;
  border: none;
  max-width: 100%;
}

@media (max-width: 575px) {
  #videoModal .modal-dialog {
    max-width: 100vw;
    margin: 0;
  }
  #videoModal .modal-content {
    border-radius: 0;
  }
  #videoModal iframe {
    width: 100vw;
    aspect-ratio: 16/9;
    height: auto;
  }
}/*# sourceMappingURL=style.css.map */