.index-block-ads {
  overflow: hidden;
  width: 300px;
  height: 250px;
  display: inline-flex;
  /* 为了跟预设一样 */
}

/* quick-menu-nav */
.quick-menu-nav {
  display: flex;
  justify-content: start;
  gap: 25px;
  margin-top: 20px;
  width: 100%;
}

.quick-menu-nav .link-item {
  background-color: #ffe9cf;
  aspect-ratio: 1/1;
  border-radius: 15px;
  width: 70px;
  padding: 5px;
}

.quick-menu-nav .link-item>img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.link-item.has-notification {
  position: relative;
}

.link-item.has-notification::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #ff0000;
  border-radius: 50%;
  border: 2px solid #ffe9cf;
}

/* 不確定要不要用 */
div.stui-vodlist {
  display: flex;
  flex-wrap: wrap;
}

div.stui-vodlist div.item {
  /*width:20%;*/
  padding: 10px;
}

.d-flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.align-center {
  align-items: center;
}

.gap-35 {
  gap: 35px;
}

.font-bold {
  font-weight: 700;
}

.text-primary {
  color: #2a638d;
}

.text-gray {
  color: #666666;
}

.text-right {
  text-align: right;
}

.font-16 {
  font-size: 16px;
}

.font-14 {
  font-size: 14px;
}

.aspect-square {
  aspect-ratio: 1/1;
}

.aspect-3-4 {
  aspect-ratio: 3/4;
}

.w-full {
  flex: 0 0 100%;
}

.w-15 {
  flex: 0 0 15%;
}

.w-20 {
  flex: 0 0 20%;
}

.w-25 {
  flex: 0 0 25%;
}

.w-40 {
  flex: 0 0 40%;
}

.w-50 {
  flex: 0 0 50%;
}

.w-60 {
  flex: 0 0 60%;
}

.w-70 {
  flex: 0 0 70%;
}

.w-85 {
  flex: 0 0 85%;
}

.w-75 {
  flex: 0 0 75%;
}

.px-1 {
  padding: 0 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.rounded-sm {
  border-radius: 8px;
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.text-ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text-ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 分類標籤導航樣式 */
.index-tab-nav {
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  align-items: center;
  margin-bottom: 10px;
}

.index-tab-nav .tab-item {
  padding: 5px 16px 3px 16px;
  cursor: pointer;
  font-size: 16px;
}

.index-tab-nav .tab-item.active {
  border-bottom: 4px solid #ffb57c;
  font-size: 16px;
  font-weight: 700;
}

/* 漫畫列表樣式 */
.serial-list-group {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
}

.serial-list-item {
  flex: 0 0 16.666%;
  margin-bottom: 10px;
}

.serial-list-item>a:hover {
  opacity: 0.8;
}

.serial-list-item .cover {
  position: relative;
  padding: 5px;
}

.serial-label {
  position: absolute;
  background: #f44336;
  left: 5px;
  bottom: 40px;
  z-index: 10;
  display: block;
  box-sizing: border-box;
  padding: 2px 8px;
  font-size: 14px;
  color: #fff;
  height: 26px;
}

.serial-label.end {
  background: #07690c;
}

.serial-label:after,
.serial-label:before {
  content: "";
  position: absolute;
  right: -9px;
  top: 0px;
  z-index: -1;
  display: block;
  border-width: 13px 9px;
  border-style: solid;
  border-color: transparent;
}

.serial-label:after {
  border-color: transparent transparent #f44336 #f44336;
}

.serial-label:before {
  border-color: #f44336 transparent transparent #f44336;
}

.serial-label.end:after {
  border-color: transparent transparent #07690c #07690c;
}

.serial-label.end:before {
  border-color: #07690c transparent transparent #07690c;
}

.serial-list-item .vipcanread {
  position: absolute;
  right: 0px;
  top: 4px;
  bottom: auto;
  z-index: 10;
  display: block;
  box-sizing: border-box;
  padding: 0.03rem 0.05rem;
}

.serial-list-item .episode {
  position: absolute;
  background-color: #0000007e;
  color: #fff;
  text-align: center;
  bottom: 5px;
  width: calc(100% - 10px);
  font-size: 14px;
  font-weight: bold;
}

.serial-list-item .name {
  padding: 0 5px;
  font-size: 14px;
  font-weight: bold;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 公告區域樣式 */
.bulletin-zone-item {
  padding: 10px 0;
  display: block;
}

.bulletin-zone-item+.bulletin-zone-item {
  border-top: 1px solid #bbbbbb;
}

.bulletin-info {
  padding-left: 10px;
  box-sizing: border-box;
}

.bulletin-info .subject {
  color: #2a638d;
  font-size: 15px;
  font-weight: 700;
}

.bulletin-info .subject .label {
  background-color: #8398ff;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 6px;
  vertical-align: text-bottom;
}

.bulletin-info .subject .label.post {
  background-color: #ff8385;
}

.bulletin-info .subject .label.business {
  background-color: #d7b600;
}

.bulletin-info .briefing {
  font-size: 13px;
  color: #666666;
  margin-top: 10px;
}

.bulletin-info .time {
  font-size: 13px;
  color: #666666;
  text-align: right;
}

/* 輪播區調整樣式 */
.owl-carousel.index-slide .owl-dots,
.owl-carousel.quick-menu-carousel .owl-dots {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 33%;
  margin-top: 0.5em;
  right: 50%;
  transform: translatex(50%);
  border-radius: 1rem;
  overflow: hidden;
}

.owl-carousel.index-slide .owl-dot,
.owl-carousel.quick-menu-carousel .owl-dot {
  height: 0.3em;
  background-color: #7e7e7e4a;
  border-radius: 0;
  flex: 1;
}

.owl-carousel.index-slide .owl-dot.active,
.owl-carousel.quick-menu-carousel .owl-dot.active {
  background-color: #54aaf0 !important;
}

ul.marquee {
  margin-top: 3px;
  background-color: #3e3e3e;
  color: #fff;
  border-radius: 25px;
  width: calc(100% - 50px);
  font-weight: 400;
  display: inline-block;
}

.popup_shunt {
  padding: 10px;
  border-radius: 15px;
  z-index: 999;
  width: 500px;
  height: 200px;
  background: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup_shunt_box {
  padding: 15px 0;
  width: 60%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.popup_shunt_box a {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #ecae32;

  color: #333;
  font-size: 20px;
}

.popup_shunt_box a:hover {
  transition: all 0.5s ease;
  background-color: #ecae32;
  color: #fff;
}

.popup_shunt_title {
  width: 100%;
  font-size: 24px;
  text-align: center;
  padding: 15px 0;
  border-bottom: 1px solid #999;
}

.popup_shunt_close {
  padding-top: 25px;
  width: 100%;
  border-top: 1px solid #999;
  ;
  text-align: center;
  display: block;
  margin-bottom: 15px;
}

.popup_shunt_close_btn {
  padding: 10px 15px;
  background: #ecae32;
  color: #000;
  font-size: 18px;
  border-radius: 15px;
  cursor: pointer;

}

.popup_shunt_close_btn:hover {
  transition: all 0.5s ease;
  opacity: 0.8;
}