.beforeGsap,
.beforeGsap * {
  transition: none !important;
  animation: none !important;
}

.classBoxRow {
  margin-bottom: 60px;
  margin-top: 0;
}
.classBoxRow .classCurrent {
  display: none;
}
@media (max-width: 768px) {
  .classBoxRow .classCurrent {
    display: block;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
}
.classBoxRow .classLink {
  background-color: transparent;
  box-shadow: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  position: static;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.classBoxRow .classLink::-webkit-scrollbar {
  display: none;
}
.classBoxRow .classLink > li,
.classBoxRow .classLink .classItem {
  border-right: 1px solid rgba(51, 51, 51, 0.15);
  border-top: 0;
  flex: 1 0 auto;
  margin: 0;
}
.classBoxRow .classLink > li:last-child,
.classBoxRow .classLink .classItem:last-child {
  border-right: 0;
}
.classBoxRow .classLink a,
.classBoxRow .classLink span {
  align-items: center;
  background-color: transparent;
  color: #333333;
  display: flex;
  height: 100%;
  justify-content: center;
  letter-spacing: 2px;
  line-height: 1.2;
  min-height: 48px;
  padding: 12px 28px;
  text-align: center;
  white-space: nowrap;
}
.classBoxRow .classLink a.current,
.classBoxRow .classLink span.current {
  background-color: #074b5f;
  color: #fff;
}
@media (min-width: 1181px) {
  .classBoxRow .classLink a:hover,
  .classBoxRow .classLink span:hover {
    background-color: #074b5f;
    color: #fff;
  }
}
.classBoxRow .classLink h2 {
  display: inline;
  line-height: inherit;
}
.classBoxRow .classLink h2 {
  display: inline;
  line-height: inherit;
}
@media (max-width: 768px) {
  .classBoxRow .classLink {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    flex-wrap: nowrap;
    max-height: 65dvh;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1;
  }
  .classBoxRow .classLink.open {
    display: block;
  }
  .classBoxRow .classLink > li,
  .classBoxRow .classLink .classItem {
    border-right: 0;
    flex: none;
    margin: 0;
  }
  .classBoxRow .classLink > li:not(:first-child),
  .classBoxRow .classLink .classItem:not(:first-child) {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  .classBoxRow .classLink > li:last-child,
  .classBoxRow .classLink .classItem:last-child {
    border-right: 0;
  }
  .classBoxRow .classLink a,
  .classBoxRow .classLink span {
    background-color: #fff;
    color: #000;
    display: block;
    height: auto;
    justify-content: flex-start;
    min-height: 0;
    padding: 14px 15px;
    text-align: left;
    white-space: normal;
  }
  .classBoxRow .classLink a.current,
  .classBoxRow .classLink span.current {
    background-color: #074b5f;
    color: #fff;
  }
}

.newsInfoBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 10px;
}
.newsInfoBox .dateBox,
.newsInfoBox .classTitle {
  padding: 5px 0;
}
.newsInfoBox .dateBox .date {
  line-height: 1;
}
.newsInfoBox .classTitle {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.5px;
  padding: 5px 10px;
}

.newsList .newsItem {
  width: 100%;
  border-bottom: 1px solid rgba(51, 51, 51, 0.2);
}
.newsList .newsItem:first-child .item {
  padding-top: 0;
}
.newsList .newsItem:last-child {
  border-bottom: none;
}
.newsList .item {
  align-items: center;
  display: flex;
  padding: 32px 0;
  position: relative;
}
@media (max-width: 1180px) {
  .newsList .item {
    padding: 24px 0;
  }
}
@media (max-width: 768px) {
  .newsList .item {
    -moz-column-gap: 12px;
         column-gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
    row-gap: 10px;
  }
}
.newsList .dateBox {
  align-items: flex-end;
  border-right: 1px solid rgba(51, 51, 51, 0.2);
  display: flex;
  flex: 0 0 170px;
  gap: 8px;
  padding-right: 24px;
  width: 170px;
}
.newsList .dateBox .date {
  font-family: "Outfit", sans-serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  color: #074b5f;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: right;
}
.newsList .dateBox .year {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  color: #074b5f;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .newsList .dateBox {
    border-right: 0;
    flex: 0 0 auto;
    padding-right: 0;
    width: auto;
  }
  .newsList .dateBox .date {
    font-family: "Outfit", sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
  }
}
.newsList .classTitle {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.07px;
  line-height: 1.2;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  border-right: 1px solid rgba(51, 51, 51, 0.2);
  color: #555555;
  flex-shrink: 0;
  min-height: 1em;
  min-width: 9em;
  padding: 0 24px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .newsList .classTitle {
    border-right: 0;
    flex: 0 1 auto;
    margin-left: auto;
    max-width: 55%;
    min-width: 0;
    padding: 0;
    text-align: right;
    white-space: normal;
  }
}
.newsList .txtBox {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .newsList .txtBox {
    flex: 1 0 100%;
    order: 3;
    padding: 4px 0 0;
  }
}
.newsList .title {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.4583;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  color: #333333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-box-trim: none;
  white-space: normal;
}
.newsList .text {
  font-family: "Outfit", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(14px, 0.83vw, 16px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.5;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  color: #555555;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-box-trim: none;
}
.newsList .btnBox {
  flex-shrink: 0;
  margin-left: auto;
  margin-top: 0;
  padding-right: 14px;
}
@media (max-width: 768px) {
  .newsList .btnBox {
    flex: 1 0 100%;
    order: 4;
    padding-right: 0;
    text-align: right;
  }
}
.newsList .linkWrap {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}
@media (min-width: 1181px) {
  .newsList:hover .item:hover .title {
    color: #074b5f;
  }
  .newsList:hover .item:hover .btn.viewMore {
    color: #8cc63f;
  }
  .newsList:hover .item:hover .btn.viewMore::after {
    transform: translateX(14px);
  }
  .newsList:hover .item:hover .btn.viewMore::before {
    transform: translate(calc(50% + 14px), -50%) rotate(45deg);
  }
}

.shareBox {
  float: right;
}
.shareBox .btn-fb {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.shareBox .back {
  display: inline-block;
  vertical-align: middle;
  padding: 3px 5px;
  border-radius: 3px;
  font-size: 12px;
  color: #fff;
  background: rgb(174, 66, 51);
  /* Old browsers */
  /* FF3.6+ */
  /* Chrome,Safari4+ */
  /* Chrome10+,Safari5.1+ */
  /* Opera 11.10+ */
  /* IE10+ */
  background: linear-gradient(to bottom, rgb(174, 66, 51) 0%, rgb(196, 76, 76) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ae4233', endColorstr='#c44c4c', GradientType=0);
  /* IE6-9 */
  cursor: pointer;
}
@media (min-width: 1181px) {
  .shareBox .back:hover {
    background: #398cb1;
  }
}
