/*======================================================================== 
  Copyright: 匯豐汽車網路事業
  Author: Amber
  ========================================================================*/
.care h2,
.careArticle h2 {
  margin-bottom: 50px;
}

.care p,
.careArticle p {
  font-size: 18px;
  line-height: 170%;
  color: #555555;
  margin-bottom: 35px;
}

.content1280 {
  z-index: 5;
}

.content975 {
  z-index: 5;
}

.hasShadow {
  -webkit-box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1024px) {

  .care h2,
  .careArticle h2 {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 1280px) {
  .content1280 {
    width: 100%;
  }
}

/*======================================================================== 
  主圖
  ========================================================================*/
.innerMainTitle h2 {
  background: url(../../images/title-care.png) no-repeat center center;
}

@media screen and (max-width: 1024px) {
  .innerMainTitle h2 {
    background: url(../../images/title-care.png) no-repeat center center;
    background-size: 100%;
  }
}

/*======================================================================== 
  關心主軸
  ========================================================================*/
.care {
  background: #eee;
  padding: 25px 0px 0px 0px;
  position: relative;
}

.care p {
  font-size: 18px;
  line-height: 150%;
  color: #555555;
}

.care .theInfo {
  margin: 40px 0 75px 0;
  position: relative;
}

.care .theInfo img {
  width: 68%;
}

.care .theInfo p {
  color: #fff;
}

.care .theInfo .blackBox {
  width: 41%;
  padding: 20px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  color: #fff;
  font-size: 18px;
  line-height: 170%;
  -webkit-transition: all 200ms ease-out;
  -mozilla-transition: all 200ms ease-out;
  -ms-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
}

.care .theInfo .blackBox:hover {
  background: rgba(0, 0, 0, 0.8);
}

.care .theInfo .blackBox h3 {
  margin-top: 10px;
  font-size: 30px;
  color: #fff;
  line-height: 130%;
}

.care .theInfo .blackBox p {
  margin: 0;
}

.alignRight {
  padding: 5px 0;
  margin: 10px 0;
  border-bottom: solid 1px #fff;
  float: right;
  font-weight: normal;
}
.care .addMargin {
  margin-top: 75px;
}
.tagContainer a {
  font-size: 20px;
  color: #00a1e9;
  text-decoration: underline;
}
.tagContainer a:hover {
  text-decoration: unset;
}
.tagContainer h2:last-child {
  color: #585858;
  margin:40px 0px 40px;
}

/* selection st*/
.care .selection {
  display: block;
  overflow: hidden;
  margin-bottom: calc(40px - 15px);
  width: calc(100% - 25px);
  margin-top: 75px;
}
.care .flexbox {
  display: flex;
  flex-flow: row wrap;
}
.care .selection a {
  background-color: #b3c8d2;
  color: #fff;
  font-size: 22px;
  text-align: center;
  margin-right: 15px;
  margin-bottom: 15px;
  padding: 6px 20px;
  
  /* 保持等高 */
  min-height: 60px; 
  
  display: flex;
  
  align-items: center; 
  justify-content: center; 
  
  overflow: hidden;
}

.care .selection a span {
  padding: unset;
  color: unset;
  
  width: 100%; 
  line-height: 1.2;
  display: -webkit-box; 
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: center;
}


.care .selection a:last-child{
  margin-right: 0px;
}
.care .selection a:hover, .care .selection a.active{
  background-color: #00a1e9;
}
@media screen and (min-width: 1000px){
  .care .selection a:nth-child(1){
    max-width: 50px;
  }

  .care .selection a{
    flex: 0 0 24%;
  }
}
@media screen and (max-width: 1000px) {
  .care .selection {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .care .selection a{
    width: calc(50% - 7px);
    margin-right: 6px;
    padding: 6px 2px;
    margin-bottom: 15px;
    max-width: none;
  }
  .care .selection a:nth-child(even){
    margin-right: 0px;
  }
}
/* selection end*/

@media screen and (max-width: 1024px) {
  .care .addMargin {
    margin-top: 0px;
  }
}

@media screen and (max-width: 768px) {
  .care {
    padding: 30px 0px 0px 0px;
  }
  .tagContainer h2:last-child {
    margin:20px 0px 20px;
  }
  .care .addMargin {
    margin-top: 0px;
    line-height: 36px;
  }
}

@media screen and (max-width: 960px) {
  .care .theInfo img {
    width: 100%;
  }

  .care .theInfo .blackBox {
    width: 100%;
    padding: 20px 25px;
    display: inline-block;
    position: relative;
    top: 0;
    transform: translateY(0%);
  }

  .care .theInfo .blackBox h3 {
    font-size: 28px;
  }
}

/*======================================================================== 
  關心文章
  ========================================================================*/
.careArticle {
  background: #eee;
  padding: 28px 0px 60px 0px;
  position: relative;
}

.careArticle a {
  height: 100%;
  display: inline-block;
  background: #fff;
  position: relative;
  -webkit-transition: all 200ms ease-out;
  -mozilla-transition: all 200ms ease-out;
  -ms-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
}

.careArticle a:hover {
  webkit-transform: translate(0, -10px);
  -moz-transform: translate(0, -10px);
  -ms-transform: translate(0, -10px);
  -o-transform: translate(0, -10px);
  transform: translate(0, -10px);
}

.careArticle a img {
  width: 100%;
}

.careArticle h3 {
  font-size: 18px;
  color: #00a1e9;
  margin: 24px 15px 0px 15px;
}

.careArticle a p {
  font-size: 15px;
  color: #666;
  margin: 5px 15px 15px 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.careArticle a p:last-child {
  margin-bottom: 45px;
}
/*
.careArticle:before {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  top: -500px;
  left: 10px;
  z-index: 1;
}

.careArticle:after {
  content: url(../../images/bg_triangle.png);
  position: absolute;
  bottom: -10px;
  right: 5px;
  z-index: 1;
}*/

.careArticle .addMargin {
  margin-top: 60px;
}

@media screen and (max-width: 1024px) {
  .careArticle:before {
    display: none;
  }

  .careArticle:after {
    display: none;
  }

  .careArticle .addMargin {
    margin-top: 40px;
  }
}

/*======================================================================== 
  分頁按鈕
  ========================================================================*/
.uk-pagination {
  position: relative;
}

.uk-pagination>li {
  position: relative;
  height: 36px;
}

.uk-pagination>li>span,
.uk-pagination>li>a {
  color: #999999;
  font-size: 22px;
  background: none;
}

.uk-pagination>li.next>a,
.uk-pagination>li.prev>a {
  color: #3979bb;
  background: none;
}

.uk-pagination>li.next>span,
.uk-pagination>li.prev>span {
  background: none;
}

.uk-pagination>li.next>a:hover,
.uk-pagination>li.prev>a:hover {
  color: #3979bb;
}

.uk-pagination>li>a:hover {
  color: #999999;
  background: none;
  height: 36px;
}

.uk-pagination>li.uk-active>span {
  font-size: 30px;
  color: #3979bb;
  background: none;
}

.uk-pagination>li.next {
  position: absolute;
  top: unset;
  right: 20px;
}

.uk-pagination>li.prev {
  position: absolute;
  top: unset;
  left: 20px;
}

.uk-pagination>li.next strong {
  position: absolute;
  top: 3px;
  right: -17px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.svg--next {
  background-image: url(../../images/icon/mySprite.svg#next);
}

.uk-pagination>li.prev strong {
  position: absolute;
  top: 3px;
  left: -17px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  color: #333;
}

.svg--prev {
  background-image: url(../../images/icon/mySprite.svg#prev);
}

@media screen and (max-width: 960px) {

  .uk-pagination>li>span,
  .uk-pagination>li>a {
    font-size: 15px;
  }

  .uk-pagination>li.uk-active>span {
    font-size: 20px;
  }
}
@media screen and (max-width: 768px) {
  .uk-pagination > li:nth-child(n+2) {
    margin-left: -5px;
  }
}