/* Tags New Template Styles */
.tags-new-main {
  padding:  0;
}

.tags-new-main h1 {
  margin: 32px 0px;
  font-size: 30px;
  line-height: 30px;
  color: #fff;
  text-align: center;
  margin-bottom: 44px;
}

.section-content.section-tags {
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.section-content__item a {
  display: block;
}

.section-content__item .tag-items {
  display: flex;
  gap: 0 4px;
}

.section-tags .tag-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
}

.section-content__item a:hover {
  color: #fff;
}

.section-tags img {
  width: 100%;
  height: 100%;
}

.tag-infos {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pc-grid-box {
  margin: 18px 0;
}

.tag-infos .tag-text {
  font-size: 24px;
  font-weight: 500;
}

.tag-infos .tag-works {
  font-size: 16px;
  color: #BDBDBD;
}

.pc-grid-box {
  display: none;
}

.grid-box {
  padding: 0 16px;
  box-sizing: border-box;
}

/* Video Tag Category Styles */
.tags-new-container {
  padding: 48px 100px;
  background: linear-gradient(180deg, #252930 0%, #1A1D23 20%);
  border: 0.5px solid #FFFFFF33;
  border-radius: 16px;
  max-width: 1250px;
  margin: 40px auto 0;
}

.category-section {
  margin-bottom: 40px;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.category-title {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.category-total {
  font-size: 14px;
  color: #BDBDBD;
}

.tagCategory {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.tagCategory .tagTitle {
  font-size: 24px;
  color: #fff;
}
.tagCategory .tagItem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 20px;
  height: 40px;
  background: #FFFFFF1A;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
}
.tagList {
  width: 100%;
}
.tagListItem {
  display: block;
  width: 100%;
}
.tagListItem + .tagListItem {
  padding-top: 36px;
}
.tagListItemHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: .5px dashed rgba(255, 255, 255, 0.3);
  width: 100%;
}
.tagListItemHeadLeft {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tagListItemHeadLeftName {
  font-size: 24px;
  color: #fff;
}
.tagListItemHeadLeftPoint {
  background: #FF9B5D;
  border-radius: 4px;
  width: 8px;
  height: 8px;
}
.tagListItemHeadLeftPoint2 {
  opacity: .5;
}
.tagListItemHeadLeftPoint3 {
  opacity: .2;
}
.tagListItemHeadRight img {
  width: auto;
  height: 28px;
}

.tagListContent {
  padding-top: 32px;
  width: 100%;
}

.tagListContentList {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 0;
  width: 100%;
}
.tagListContentItem {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  width: 30%;
  cursor: pointer;
}
.tagListContentItem:nth-child(4n) {
  width: 10%;
}
.tagListContentItemName {
  display: flex;
  /* width: 40px; */
  height: 28px;
  justify-content: start;
  align-items: center;
  color:#FFD6A3;

}
.tagListContentItemDesc {
  font-size: 16px;
  color: #9097A4;
}
.tagActionPc {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 32px;
  width: 100%;
}
.tagListContentMore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0.3px solid #FFD6A380;
  border-radius: 17px;
  width: auto;
  height: 34px;
}
.tagListContentMore span {
  font-size: 16px;
  color: #fff;
}
.tagListContentMore .arrow_circle {
  width: 16px;
  height: 16px;
  transition: transform .3s;
}
.tagListContentMore .loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  animation: tagLoadingRotate 1s linear infinite;
}
.tagListContentMoreH5 {
  display: none;
}

@keyframes tagLoadingRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.tagListContentNmore .arrow_circle {
  transform: rotate(180deg);
}

@media screen and (max-width: 1366px) {
  .tag-infos {
    gap: 10px;
  }

  .tags-new-main .tag-text,
  .tags-new-main .category-title {
    font-size: 12px;
    line-height: 18px;
  }

  .tags-new-main .tag-works,
  .tags-new-main .category-total {
    font-size: 10px;
    line-height: 16px;
  }
}

@media screen and (max-width: 1024px) {
  .tag-infos {
    gap: 5px;
  }
}

@media screen and (max-width: 824px) {
  .tags-new-main {
    padding: 0;
  }
  .tagListItemHeadLeftPoint {
    width: 4px;
    height: 4px;
  }
  main{
    padding:0 !important;
  }
  .tags-new-main h1 {
    display: none;
  }

  .doubleRowAdvBox {
    padding: 0 16px;
  }

  .section-content.section-tags {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .tag-infos {
    gap: 0;
  }

  .tags-new-container {
    padding: 16px 12px 24px;
    margin: 16px auto 0;
    border-radius: 12px;
    width: calc(100% - 32px);
  }

  .tagCategory {
    margin-bottom: 24px;
    gap: 12px 8px;
  }

  .tagCategory .tagTitle {
    font-size: 14px;
    line-height: 24px;
  }

  .tagCategory .tagItem {
    height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .category-header {
    padding: 12px 0;
  }

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

  .category-total {
    font-size: 12px;
  }

  .tagListItemHeadLeftName {
    font-size: 18px;
  }

  .tagListItemHeadRight{
    display: flex;
    align-items: center;
  }
  .tagListItemHeadRight img {
    height: 20px;
  }

  .tagListContent {
    padding: 16px 0 8px;
  }

  .tagListContentList {
    gap: 12px 8px;
  }

  .tagListContentItem {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
    border-radius: 32px;
    background: #A3D9FF14;
    border: 0.5px solid #A3D9FF4D;
    width: auto !important;
    flex: 0 0 auto;
  }

  .tagListContentItemName {
    white-space: nowrap;
    font-size: 12px;
    color: #A3C9FF;
  }

  .tagListContentItemDesc {
    display: none;
  }

  .tagActionPc {
    display: none;
  }

  .tagListContentMoreH5 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    background-color: #FFFFFF0D;
    border-radius: 17px;
    width: auto;
    height: 29px;
    margin-left: auto;
  }
  .tagListContentMoreH5 span {
    font-size: 12px;
    color: #fff;
  }
  .tagListContentMoreH5 .arrow_circle {
    width: 12px;
    height: 12px;
    transition: transform .3s;
  }
  .tagListContentMoreH5 .loading {
    display: inline-block;
    width: 12px;
    height: 12px;
    animation: tagLoadingRotate 1s linear infinite;
  }
}

@media screen and (min-width: 768px) {
  .pc-grid-box {
    display: block;
  }
  .tagListItem + .tagListItem {
    padding-top: 56px;
  }
}

