@charset "utf-8";
/*--- blog首頁區塊 ---*/
/*首頁推薦文章區塊*/
.sort-title {
  font-size: 1.5rem;
  color: #7F7F7F;
  border-bottom: 1px solid #EBEBEB;
  margin-bottom: 1.125rem;
}
.sort-title span {
  font-size: 1rem;
}
.article-list {
  margin-bottom: 1.5rem;
}
.article-list img {
  width: 100%;
  height : auto;
}
.article-list a img {
  -webkit-transition: all ease-out 0.2s;
  /* Safari */
  transition: all ease-out 0.2s;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  opacity: 1;
}
.article-list a:hover img {
  opacity: 0.8;
}
.article-list .caption h3 {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 1rem 0 0.8rem 0;
  font-weight: bold;
}
.article-list .caption h3 a {
  color: #000000;
  max-height: 60px;
  overflow: hidden;
  display: block;
}
.article-list .caption h3 a:hover {
  color: #e91e63;
}
.article-list .caption p {
  margin: 0;
}
.article-list .caption p a {
  color: #c7c7c7;
}
.article-list .caption p a:hover {
  color: #e91e63;
}
.article-list .caption .article-list-meta {
  color: #c7c7c7;
}
/*側邊欄有框標題*/
.widget-title {
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  padding: 0.8rem 0;
  color: #7f7f7f;
  text-align: center;
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
/*熱門文章區塊*/
.hot-list ul {
  margin: 0;
  padding: 0;
}
.hot-list ul li {
  display:flex;
  list-style: none;
  padding: 0.5rem;
  border: 1px solid #ebebeb;
  border-top: 0px;
 
}
.hot-list ul li .hot-list-img {
  width:84px;
  height: auto;
  /* display: table-cell;
  vertical-align: top; */
}
.hot-list ul li .hot-list-text {
  /* display: table-cell; */
  padding:1rem 0.5rem;
  vertical-align: top;
  font-size: 1rem;
}
.hot-list ul li .hot-list-text a {
  max-height: 52px;
  overflow: hidden;
  display: block;
}
/*熱門標籤區塊*/
.hot-tag .widget-title {
  margin-top: 1.25rem;
  margin-bottom: 1.125rem;
}
.hot-tag a {
  display: inline-block;
  border-radius: 20px;
  color: #333333;
  background-color: rgba(51,51,51,0.12);
  padding: 8px 12px 6px 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  line-height: 1;
  font-size: 0.875rem;
}
.hot-tag a:hover {
    color:#ffffff;
    background-color: rgba(0,0,0,0.3);
}
.hot-tag-text {
color: #666;
margin-right: 10px;
}
/*側邊粉絲專頁*/
.sidebar-fb .widget-title {
  margin-top: 40px;
  margin-bottom: 18px;
}
/*--- blog目錄和文章區塊 ---*/
/*目錄的圖片*/
.blog-catalog-banner {
  margin-bottom: 16px;
}
.blog-catalog-banner img {
  width: 100%;
  height: auto;
}
/*導覽列*/
.site_location {
  margin: 4px 0 4px 0;
}
.site_location nav ol {
  list-style: none outside none;
  padding: 0px;
}
.site_location nav ol li {
  display: inline-block;
  padding-left: 2px;
}
.site_location nav ol li:before {
  content: "> ";
}
.site_location nav ol li:nth-child(1):before {
  content: " ";
}
/*分頁按鈕*/
.sort-btn {
  margin: 0px 0 12px 0;
}
.sort-btn ul {
  list-style: none outside none;
  padding: 0px;
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
}
.sort-btn ul li {
  display: inline-block;
  white-space: nowrap;
}
.sort-btn ul li a {
  color: #000000;
  display: block;
  padding: 0 20px;
}
.sort-btn ul li.active a,
.sort-btn ul li.active a:hover,
.sort-btn ul li a:active,
.sort-btn ul li a:focus,
.sort-btn ul li a:hover {
  border-bottom: 2px solid #e91e63;
}
@media (max-width: 767px) {
  .sort-btn ul li a:hover {
    border-bottom: 0px solid #e91e63;
  }
}
/*--- blog目錄和文章區塊結束 ---*/
/*--- blog文章詳細頁 ---*/
/*文章詳細的代表大圖*/
.blog-article-banner img {
  width: 100%;
  height: auto;
}
/*文章-資訊欄*/
.blog-article-info{
display: flex;
justify-content: space-between;
margin-bottom: 12px;
font-size: 0.875rem;
}

/*資訊欄內的分享*/
.blog-article-info .article-share{
 margin:0;
}
/*文章-日期與名稱*/
.blog-article-data {
  color: #cccccc;
  margin: 0;
  line-height: 28px;
}
/*文章標題*/
h1.blog-article-title {
  color: #333333;
  font-size: 2.125rem;
  line-height: 1.5;
  font-weight: 600;
  margin-top:1rem;
}
/*文章內文*/
.blog-article-main {
  line-height: 2.2rem;
  letter-spacing: .5px;
  font-size: 1.125rem;
  padding: 10px 0 24px 0;
}
.blog-article .hot-tag {
  border-bottom: 1px solid #ebebeb;
  border-top: 1px solid #ebebeb;
  padding-top: 6px;
  margin-bottom: 8px;
}
.blog-article .hot-tag a:hover {
  color: #e91e63;
}
/*--分享--*/
.article-share {
  display: flex;
  margin: 12px 0px;
}
.article-share .share_text {
  padding: 0 3px;
  line-height: 28px;
  color: #cccccc;
}
.article-share div {
  margin: 0 6px;
}
.article-share div a {
  display: block;
  border-radius: 50%;
  font-size: 20px;
  color: #fff ;
  width: 24px;
  height: 24px;
  text-align: center;
  vertical-align: middle;
  line-height: 24px;
  background: #cccccc;
}
.article-share a img {
  height: 18px;
  margin-bottom: 2px;
}
.article-share .share_facebook a:hover {
  background: #627AAC;
}
.article-share .share_twitter a:hover {
  background: #598DCA;
}
.article-share .share_google a:hover {
  background: #E02F2F;
}
.article-share .share_line a:hover {
  padding: 0px;
  background: #00B900;
}
.article-share .share_messenger a:hover {
  background: #448AFF;
}
.article-share .share_link a:hover {
  background: #F48FB1;
}

/*更多文章*/
.article-more,
.article-block {
  padding: 1rem 0 0 0;
}
.article-more a,
.article-block a {
  color: #7f7f7f;
}
.article-more a:hover,
.article-block a:hover {
  color: #e91e63;
}
/*文章fb回應區塊*/
.article-comments {
  padding: 0px 0 28px 0;
}
.article-comments .widget-title {
  margin-bottom: 16px;
}
.article-comments-fb {
display: table;
margin: auto;
}
/*文章區塊*/
.article-block .hot-list {
  margin-bottom: 24px;
}
.article-block .hot-list ul li {
  border-right: 0px;
  border-left: 0px;
}

@media (max-width: 767px){
  h1.blog-article-title {
    font-size: 22px;
    line-height: 1.27;
}
  .blog-article-info{
    flex-wrap: wrap;
  }
  .blog-article-data {
    margin: 4px 0 0 0;
  }
  .blog-article-info .article-share{
    margin: 8px 0px;
  }
  .article-share .share_text{
    padding: 0;
    margin: 0;
  }
}
/*--- blog文章詳細頁結束 ---*/

/*------------------------------------*\
閱讀更多的文章-實驗功能，沒有客戶使用
\*------------------------------------*/
/*----閱讀更多的css//start ----*/
/*預設文章高度*/
.story-detail {
  max-height: 160vh;
    overflow: hidden;
  position: relative;
  }


/*預設文章高度*/
.story-detail {
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

/*阻擋文章按鈕*/
.story-detail-btn {
  position: absolute;
  width: 100%;
  z-index: 1;
  bottom: 8px;
}
.story-detail-btn .read-more-btn {
  min-width: 160px;
  position: relative;
  text-align: center;
  z-index: 2;
  display: table;
  margin: 0 auto;
  cursor: pointer;
  background-color: #d81b60;
  color: #ffffff;
  border: 1px solid #a00037;
  white-space: nowrap;
  padding: 4px 12px 6px 12px;
  line-height: 1.6;
  border-radius: 4px;
  box-shadow: 0px 0px 12px #fff,0px 0px 12px #fff,0px 0px 20px #fff;
  transition: all 0.2s;
}
.story-detail-btn .read-more-btn:hover {
  background-color: #a00037;
}
.story-detail-btn .read-more-btn:hover .read-more-icon {
  margin-top: 1px;
  border-width: 8px 5px 0 5px;
  border-color: #ffffff transparent transparent transparent;
}
.story-detail-btn::after {
  background: #ffffff;
  content: "";
  display: block;
  width: 100%;
  height: 50px;
  position: absolute;
  bottom: -10px;
}

/*閱讀更多裡面的icon*/
.read-more-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #ffffff transparent transparent transparent;
  margin-left: 4px;
}

.story-detail-bg {
  position: relative;
}

/*按鈕底下的線條*/
.story-detail-bg::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #d81b60;
  position: absolute;
  top: 15px;
  z-index: 1;
}

/*遮住內容白底*/
.story-detail-bg::after {
  content: "";
  display: block;
  width: 100%;
  height: 50vh;
  background: linear-gradient(0deg, white 15%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  bottom: -8px;
}

/*按鈕下方廣告區塊*/
.read-more-ad {
  background: #ffffff;
  padding: 32px 0;
  min-height: 90px;
  position: relative;
  z-index: 1;
}
/*----閱讀更多的css//end ----*/

/*===部落格文章內推薦產品===*/
  
.sm-blog-product h4{
  font-size:1.5rem;
  border-left:4px solid var(--primary);
  padding:4px;
  margin-bottom:1rem;
  }
.sm-blog-product-item {
  margin-bottom: 1rem;
  text-align: center;
}
.sm-blog-product-title {
  font-size: 1rem;
  font-weight: 700;

}
.sm-blog-product-price {
  font-size: 1.125rem;
}
.sm-blog-product figure:hover {
  opacity: 0.8;
}
.sm-blog-product{
  margin-top: 1rem;
}
.sm-blog-product a {
  color: var(--on-surface);
}
.sm-blog-product a:hover {
  color: var(--primary);
}