﻿@charset "UTF-8";
body.news.show .h2 {
  margin-bottom: 1rem;
}
body.news.show .mainSection {
  /*相關新聞*/
}
body.news.show .mainSection .subject-sec > div {
  margin-bottom: 2px !important;
}
body.news.show .mainSection .subject-sec .small-title {
  color: var(--bs-white);
}
body.news.show .mainSection .subject-sec .kind-tag-area {
  margin-bottom: 0.5rem;
}
body.news.show .mainSection .subject-sec .kind-tag-area a {
  display: inline-block;
  border: none;
  padding: 0.25em 0.875em;
  border-radius: 24px;
  background: var(--secondary-color);
  color: var(--el-color-black);
  font-size: 0.875rem;
  vertical-align: text-top;
}
body.news.show .mainSection .subject-sec h1 {
  font-size: 30px;
}
body.news.show .mainSection .small-title {
  color: #007700;
}
body.news.show .mainSection .kind-tag-area .tag {
  border: 1px solid #007700;
  padding: 0px 20px;
  border-radius: 24px;
  color: #007700;
}
body.news.show .mainSection .slick .slick-prev, body.news.show .mainSection .slick .slick-next {
  background-size: 30%;
  width: 40px;
  height: 40px;
  top: 43%;
}
body.news.show .mainSection .slick .slick-next {
  background-position-x: 15px;
  right: -20px;
}
body.news.show .mainSection .slick .slick-prev {
  background-position-x: 13px;
  left: -20px;
}
body.news.show .mainSection .related {
  background: #fff;
  padding: 3rem 0 1rem;
}
body.news.show .mainSection .related .rel-title {
  font-weight: 700;
  font-size: 25px;
  text-align: center;
  color: #2f2f2f;
  margin-bottom: 15px;
}
body.news.show .mainSection .related .rel-slider {
  position: relative;
}
body.news.show .mainSection .related .rel-slider .track.slick-initialized {
  display: block;
  overflow: visible;
  padding: 0;
}
body.news.show .mainSection .related .rel-slider .slick-list {
  margin: 0 -9px;
}
body.news.show .mainSection .related .rel-slider .slick-slide {
  padding: 0 9px;
}
body.news.show .mainSection .related .rel-slider .track {
  display: grid;
  grid-auto-flow: column;
  gap: 18px;
  grid-auto-columns: calc((100% - 36px) / 3); /* 一次顯示3張 */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body.news.show .mainSection .related .rel-slider .track::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
@media (max-width: 991px) {
  body.news.show .mainSection .related .rel-slider .track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}
@media (max-width: 575px) {
  body.news.show .mainSection .related .rel-slider .track {
    grid-auto-columns: 100%;
  }
}
body.news.show .mainSection .related .rel-slider .rel-card {
  scroll-snap-align: start;
  border-radius: 24px;
  padding: 12px 25px;
  /* 2 顆：各自最多 50% */
  /* 3 顆：各自最多 33.333% */
}
body.news.show .mainSection .related .rel-slider .rel-card .pic {
  border-radius: 16px;
  overflow: hidden;
  display: block;
}
body.news.show .mainSection .related .rel-slider .rel-card .pic img {
  transition: all 0.35s ease;
}
body.news.show .mainSection .related .rel-slider .rel-card .r-name {
  font-weight: 800;
  font-size: 18px;
  margin: 10px 0;
}
body.news.show .mainSection .related .rel-slider .rel-card .r-desc {
  color: #333;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  margin-top: 10px;
}
body.news.show .mainSection .related .rel-slider .rel-card .r-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}
body.news.show .mainSection .related .rel-slider .rel-card .kind-type {
  flex: 0 1 auto;
  display: block;
  padding: 3px 10px;
  line-height: 22px;
  font-size: 13px;
  border-radius: 14px;
  background: #a1a6ab;
  color: #fff;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 500;
}
body.news.show .mainSection .related .rel-slider .rel-card .kind-type:only-child {
  flex: 0 0 auto;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
}
body.news.show .mainSection .related .rel-slider .rel-card .kind-type:nth-last-child(2),
body.news.show .mainSection .related .rel-slider .rel-card .kind-type:nth-last-child(2) ~ .kind-type {
  max-width: calc(50% - 4px);
}
body.news.show .mainSection .related .rel-slider .rel-card .kind-type:nth-last-child(3),
body.news.show .mainSection .related .rel-slider .rel-card .kind-type:nth-last-child(3) ~ .kind-type {
  max-width: calc(33.333% - 5.33px);
}
body.news.show .mainSection .related .rel-slider .rel-card a {
  transition: all 0.3s ease;
}
body.news.show .mainSection .related .rel-slider .rel-card a:hover img {
  transform: scale(1.05);
}
body.news.show .mainSection .related .nav2 {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: #2f314f;
  color: #fff;
  cursor: pointer;
  font-size: 0;
  transition: all 0.3s ease;
}
body.news.show .mainSection .related .nav2:hover {
  background: #cdad7d;
}
body.news.show .mainSection .related .nav2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  box-sizing: border-box;
}
body.news.show .mainSection .related .nav2.prev::after {
  transform: translate(-40%, -50%) rotate(225deg);
}
body.news.show .mainSection .related .nav2.next::after {
  transform: translate(-60%, -50%) rotate(45deg);
}
body.news.show .mainSection .related .nav2.prev {
  left: -20px;
}
body.news.show .mainSection .related .nav2.next {
  right: -20px;
}
@media (max-width: 575px) {
  body.news.show .mainSection .related .nav2 {
    display: none;
  }
}

/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22file:///D:/Rabbit/1.%25E5%25B0%2588%25E6%25A1%2588/A114085_BouFash/git/BouFash_core/EZWeb/wwwroot/css/Templates/NewsTemplates/TS001/TS001.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22;AAEI;EACI;;AAGJ;AAiEI;;AA/DI;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;;AAIR;EACI;;AAIA;EACI;EACA;EACA;EACA;;AAKR;EACI;EACA;EACA;EACA;;AAIA;EAEI;EACA;;AAGJ;EAEI;EACA;;AAKR;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EAlBJ;IAmBQ;;;AAGJ;EAtBJ;IAuBQ;;;AAIR;EACI;EACA;EACA;AA+DI;AAKA;;AAlEJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAIJ;AAAA;EAEI;;AAGJ;AAAA;EAEI;;AAIR;EACI;;AAGI;EACI;;AAQpB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EAjDJ;IAkDQ%22%7D */