@charset "UTF-8";
/* 共通樣式 */
:root {
  --main-color: #000;
  --sub-color: #e47140;
  --gray-color: #727272;
}

* {
  letter-spacing: 1px;
  font-weight: 400;
  font-family: "Noto Sans TC", sans-serif !important;
}

p,
li {
  line-height: 32px;
  overflow-wrap: break-word;
  word-break: break-word;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

.btn:focus,
.form-control:focus {
  border-color: var(--main-color) !important;
  box-shadow: none !important;
  outline: 0 none !important;
}

.badge {
  font-weight: 400 !important;
}

.navbar {
  background-color: var(--main-color) !important;
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
.navbar .navbar-brand {
  font-size: 50px;
  font-weight: 500;
  font-family: "Roboto Slab", serif !important;
  color: var(--sub-color);
  transition: all 0.3s;
}
@media (max-width: 575px) {
  .navbar .navbar-brand {
    padding-left: 1rem;
    font-size: 35px;
  }
}
.navbar .navbar-brand:hover {
  opacity: 0.9;
  color: var(--sub-color);
}

.blog-post-tags .badge {
  background-color: var(--main-color);
}
.blog-post-tags .badge:hover {
  color: var(--main-color);
  background-color: #fff;
  border: 1px solid var(--main-color);
}

.blog-post-title {
  margin: 10px 0 20px;
}
.blog-post-title a {
  font-size: 40px;
  font-weight: 500;
}
@media (max-width: 575px) {
  .blog-post-title a {
    font-size: 35px;
  }
}

.pagination {
  justify-content: center;
}
.pagination .page-link {
  color: var(--main-color);
}
.pagination .page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.post-title a {
  color: #000;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
}

.post-block-title {
  margin-bottom: 25px;
  position: relative;
  font-size: 20px;
}
.post-block-title::after {
  position: absolute;
  z-index: -10;
  top: 30px;
  left: 0;
  width: 100%;
  height: 0px;
  content: "";
  border-bottom: 1px solid var(--sub-color);
  bottom: 5px;
}
.post-block-title span {
  padding: 5px 20px;
  color: #fff;
  font-weight: 300;
  background: var(--sub-color);
}

.news-info {
  margin-top: 10px;
  line-height: 20px;
}
.news-info a {
  padding: 0.1rem 0.3rem 0.2rem;
  font-size: 12px !important;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  background-color: #7a7a7a;
  border-radius: 5px;
}
.news-info a:hover {
  opacity: 0.8;
}
.news-info small {
  color: var(--gray-color);
}

.news-thumbnail {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

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

.post-depiction {
  margin: 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 26px;
}
.post-depiction a {
  color: #7a7a7a;
  text-decoration: none;
}

.top-btn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  opacity: 0;
  transition: all 0.5s;
}
.top-btn button {
  border: none;
  background: var(--sub-color);
  border-radius: 100px;
  width: 55px;
  height: 55px;
}

.show {
  opacity: 1;
}

.blog-header .nav-item {
  padding: 0 0.3rem;
}
@media (max-width: 575px) {
  .blog-header .nav-item {
    padding: 0 1rem;
  }
}

/* sidebar.html Start */
.news-sidebar {
  position: sticky;
  top: 15px;
}
.news-sidebar .news-featured {
  position: unset;
}

.search-btn {
  border: 1px solid var(--main-color) !important;
}
.search-btn svg {
  color: var(--main-color);
}
.search-btn:hover {
  background-color: var(--main-color) !important;
}
.search-btn:hover svg {
  color: #fff;
}

.tags {
  margin: 0 5px 5px 0;
  padding: 7px 10px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--main-color) !important;
  border: 1px solid var(--main-color) !important;
}
.tags:hover {
  color: #fff !important;
  background-color: var(--main-color);
}

/* sidebar.html End */
/* single.html Start */
.blog-post.content .content {
  padding-bottom: 3rem;
}
.blog-post.content .content img {
  max-height: 500px;
  -o-object-fit: contain;
     object-fit: contain;
}
.blog-post.content .toc-container {
  padding: 1.5rem;
  margin: 3rem 0;
  background: #f9f9f9;
  border: 1px solid #aaa;
  border-radius: 5px;
}
.blog-post.content .toc-container ul {
  margin-bottom: 0;
  list-style: disc;
}
.blog-post.content .toc-container ul a {
  color: var(--sub-color);
  text-decoration: none;
}
.blog-post.content .toc-container .title {
  display: block;
  margin-left: 1rem;
  margin-bottom: 0.5rem !important;
  font-size: 1.25rem;
  color: #000;
}
.blog-post.content h2 {
  padding-left: 1rem;
  margin: 5rem 0 1.5rem;
  border-left: 7px solid var(--sub-color);
}
.blog-post.content h4 {
  margin-top: 3rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 32px;
}
.blog-post.content h4 a {
  padding: 5px 8px;
  margin-right: 3px;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 14px;
}
.blog-post.content h4 a:hover {
  color: #fff !important;
}

.back-link {
  color: #000;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.back-link:hover {
  opacity: 0.7;
}

/* single.html End */
/* content.html Start */
.news-main {
  height: 100%;
  overflow: hidden;
}
.news-main a {
  text-decoration: none;
}
.news-main .title-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
}
.news-main .title-info a,
.news-main .title-info h2,
.news-main .title-info small {
  color: #fff;
  letter-spacing: 1px;
}
.news-main .title-info h2 {
  line-height: 1.5;
}
.news-main .title-info h2 a {
  font-weight: 500;
  font-size: 1.25rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
@media (max-width: 991px) {
  .news-main .title-info h2 a {
    font-size: 1.25rem;
  }
}
.news-main .title-info .badge-link {
  display: inline-block;
  padding: 1px 20px;
  margin-bottom: 10px;
  background-color: var(--sub-color);
  font-weight: 500;
}
.news-main .post-title a {
  font-size: 34px;
}
.news-main img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.news-main .news-info a {
  font-size: 16px;
}

/* content.html End */
/* focus.html Start */
.focus-content {
  position: sticky;
  top: 20px;
}

.focus-content img,
.news-featured img {
  width: 100%;
  height: 5vw;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 991px) {
  .focus-content img,
  .news-featured img {
    height: 15vw;
  }
}
.focus-content .post-title,
.news-featured .post-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-break: after-white-space;
  font-size: 1.125rem;
}

/* focus.html End */
/* recent.html Start */
.recent-content .news-list {
  margin: 0;
}
.recent-content .news-list li {
  margin: 15px 0;
}
.recent-content .news-list li img {
  width: 140px;
  height: 105px;
  -o-object-fit: cover;
     object-fit: cover;
}
.recent-content .news-list li small {
  display: block;
}
.recent-content .news-list li .news-info {
  margin-top: 0px;
}
.recent-content .news-list li:last-child {
  margin: 0;
}

/* recent.html End */
/* news-tab.html Start */
.tab-category .nav-link {
  color: var(--main-color);
  font-weight: 500;
}
.tab-category .nav-pills .nav-link.active,
.tab-category .nav-pills .show > .nav-link {
  color: var(--sub-color);
  background-color: var(--main-color);
}

.tab-content .bg-img {
  position: relative;
  height: 370px;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center center;
  cursor: pointer;
}
@media (max-width: 991px) {
  .tab-content .bg-img {
    height: 50vw;
  }
}
.tab-content .bg-img section {
  padding: 10px 25px;
  position: absolute;
  bottom: 0;
  color: #fff;
}
.tab-content .bg-img section a {
  color: #fff;
  text-decoration: none;
}
.tab-content .bg-img section small {
  font-size: 12px;
}
.tab-content .post-title {
  line-height: 1;
}
.tab-content .col-5 img {
  width: 100%;
  height: 150px;
}

/* news-tab.html End */
/* news-all.html Start */
.news-all .post-title {
  margin: 5px auto;
}
.news-all .post-title a {
  font-size: 1.25rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.news-all .news-info a {
  font-size: 14px;
}
.news-all hr {
  margin: 1.5rem 0;
}
.news-all img {
  width: 100%;
  height: 12vw;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 991px) {
  .news-all img {
    height: 20vw;
  }
}
@media (max-width: 575px) {
  .news-all img {
    height: 50vw;
  }
}
.news-all .line {
  padding: 0 12px;
}

/* news-all.html End */
/* news-featured.html Start */
.news-featured {
  position: sticky;
  top: 20px;
}
.news-featured .post-title a {
  font-size: 18px;
}

/* news-featured.html End */
/* news-video.html Start */
.news-video .post-block-title span,
.local-video .post-block-title span {
  display: block;
  width: 100%;
  text-align: center;
}
.news-video .post-title a,
.local-video .post-title a {
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-video .news-info a,
.local-video .news-info a {
  font-size: 14px;
}

/* news-video.html End */
.local-video img {
  width: 100%;
  height: 140px;
}

.news-main .left-content {
  height: 30vh;
}
.news-main .right-content {
  height: 56.6vh;
}
.news-main .bottom-content {
  height: 35vh;
}
@media (max-width: 991px) {
  .news-main .left-content,
  .news-main .right-content,
  .news-main .bottom-content {
    height: 50vw;
  }
}

.tags-list .cover-img {
  width: 100%;
  height: 230px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 0 25%;
     object-position: 0 25%;
}

.feature-article .float-right {
  float: right;
  max-width: 60%;
  margin: 1rem 0 1rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.feature-article .float-left {
  float: left;
  max-width: 60%;
  margin: 1rem 1.5rem 0 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .feature-article .float-right,
  .feature-article .float-left {
    float: none;
    display: block;
    max-width: 100%;
    margin: 1rem auto;
    /* 圖片置中 */
  }
}
.feature-article figure {
  margin: 2rem 0;
  text-align: center;
}
.feature-article figure img {
  width: 100%;
  height: auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.feature-article h1 {
  font-size: 3rem;
  margin: 3rem auto;
  padding-top: 1.5rem;
  border-top: 12px solid var(--sub-color);
}
.feature-article h2 {
  padding: 1.5rem 0;
  margin: 2.5rem auto;
  border-top: 1px solid var(--sub-color);
  border-bottom: 1px solid var(--sub-color);
  text-align: center;
  color: var(--sub-color);
  font-size: 2.5rem;
  font-weight: 500;
}
.feature-article h3,
.feature-article h4 {
  margin-bottom: 1rem;
  color: var(--sub-color);
  line-height: 1.5;
}
.feature-article h3 {
  font-size: 1.625rem;
}
.feature-article h4 {
  font-size: 1.5rem;
}
.feature-article hr {
  margin: 3rem 0;
}
.feature-article .feature-body div,
.feature-article .feature-body p {
  margin: 1.5rem 0 0;
  line-height: 2;
  font-size: 1.05rem;
  color: #222;
}
.feature-article .lead {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  background-color: #f8f8f8;
  border-left: 5px solid var(--sub-color);
  border: 2px dotted #ccc;
}
.feature-article ul {
  list-style: disc;
}
.feature-article ul li {
  margin-top: 0.5rem;
}
.feature-article ol {
  list-style: auto;
}
.feature-article b,
.feature-article strong {
  font-weight: 700;
}
.feature-article .toc {
  margin: 3rem 0;
  background: #f9f9f9;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--sub-color);
  font-size: 0.95rem;
}
.feature-article .toc .toc-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 1rem 0;
}
.feature-article .toc ul {
  list-style: none;
  padding-left: 0;
}
.feature-article .toc ul li {
  margin: 0.15rem 0;
  font-size: 1rem;
}
.feature-article .toc ul li a {
  text-decoration: none;
  color: var(--sub-color);
}
.feature-article .toc ul li a:hover {
  text-decoration: underline;
}
.feature-article .toc ul li:empty {
  display: none;
}
.feature-article .quote-accent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 2rem;
  font-weight: 600;
  border-top: 4px solid var(--sub-color);
}
.feature-article .quote-accent::before {
  content: "“";
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8em;
  line-height: 0.6;
  color: var(--sub-color);
  margin-top: 0.1em;
}
.feature-article .quote-accent > p {
  margin: 0;
}/*# sourceMappingURL=style.css.map */