@charset "utf-8";

/*================================================
  News
================================================*/

/*------------------------------------------------
  News list
------------------------------------------------*/

.news .section-container {
  display: flex;
  flex-direction: column;
}

.news-list {
  width: 100%;
  border-top: 1px solid rgba(var(--color-black-rgb), 0.1);
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(var(--color-black-rgb), 0.1);
  padding: calc(var(--layout-gap) / 2) 0;
  width: 100%;
}

.news-item > a {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  /* padding: calc(var(--layout-gap) / 2) 0; */
  position: relative;
  width: 100%;
  opacity: 1;
}

.news-item-date {
  color: var(--primary-text-color);
  margin-right: calc(var(--layout-gap) / 2);
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 0.5em 0;
  width: 5.5em;
}

.news-item-category {
  color: var(--secondary-text-color);
  background-color: var(--tertiary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 0.5em 3em;
  margin:0 0 0 auto;
}

.news-item-title {
  display: block;
  font-weight: 500;
  margin: calc(var(--layout-gap) / 4) 0 0;
  width: 100%;
  line-height: 1.5;
}

.news-link {
  margin-top: 1em;
  text-align: right;
}
.news-link > a {
  color: var(--secondary-color);
  position: relative;
  padding-right: 1.5em;
}
.news-link > a::after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-image: url(../../image/common/icon_button_arrow_blue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}


@media print, screen and (min-width: 769px) {
  .news .section-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .news .section-title {
    width: 28%;
  }
  .news .news-list {
    width: 70%;
    margin-top: 0;
  }
  /* .news-item > a {
    padding: calc(var(--layout-gap) / 1.25) 0;
  } */
  .news-item-title {
    padding-right:  calc(var(--layout-gap) *1.25);
  }
  .news-item > a::after {
    right: 20px;
    width: 8px;
    height: 16px;
  }
  .news-item > a:hover:after {
    right: 10px;
  }
  .news-link {
    margin-left: auto;
  }
}

@media print, screen and (min-width: 1200px) {
  .news .section-title {
    /* width:25%; */
    width:29%;
  }
  .news .news-list {
    /* width: 75%; */
    width: 69%;
  }
  .news-item {
    align-items: flex-start;
  }
  .news-item-category {
    margin: 0;
    width: 11em;
    font-size: 1.4rem;
    padding: 0.5em;
  }
  .news-item-title {
    width: calc(100% - 310px);
    margin: 0.25em 0 0 2em;
    padding: 0;
  }
}
@media print, screen and (min-width: 1600px) {
  .news .section-title {
    width: calc(100% - 800px);
  }
  .news .news-list {
    width: 800px;
  }
}
.news-item-upfile {
  display: flex;
  margin-top: calc(var(--layout-gap) / 2);
}

.news-item-upfile > img {
  width: auto;
  max-width: 100%;
}

.news-item-upfile > a {
  display: flex;
  align-items: center;
  padding: calc(var(--layout-gap) / 8) calc(var(--layout-gap) / 2);
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: bold;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  background-color: var(--color-white);
  transition: all 0.3s linear;
}

.news-item-upfile > a::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-left: calc(var(--layout-gap) / 2);
  background-image: url(../../image/common/icon_dl.svg);
  background-position: center;
  background-size: contain;
  transition: all 0.3s linear;
}

.news-item-upfile > a:hover {
  color: var(--color-white);
  background-color: var(--primary-color);
  opacity: 1;
  transition: all 0.3s linear;
}

.news-item-upfile > a:hover::after {
  background-image: url(../../image/common/icon_dl_w.svg);
  transition: all 0.3s linear;
}


@media print, screen and (min-width: 769px) {
  .news-item-upfile {
    margin-top: var(--layout-gap);
  }
}



/*========== Pager style ==========*/

.pager {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: flex-start; */
  justify-content: flex-end;
  padding:10px 0;
}

.pager a {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 1.4rem;
  text-decoration: none;
  margin:0 1px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pager a.current {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color:#fff;
  font-size: 1.4rem;
  margin:0 1px;
  text-decoration: none;
}

.pager a:hover {
  background:var(--primary-color);
  color: #fff;
  opacity: 1;
}

.overPagerPattern {
  padding:0 2px ;
}

@media print, screen and (min-width: 769px) {
  /* .pager {
    padding: 0;
    margin-top: -36px;
  } */
  .pager {
    padding: 0;
    margin-top: 40px;
    margin-left: auto;
  }
}

@media print, screen and (min-width: 1200px) {
  .pager {
    margin-top: -40px;
    margin-left: 0;
  }
  .pager a {
    width: 40px;
    height: 40px;
  }
}


/*================================================
  Breadcrumb
================================================*/

.breadcrumb-container {
  max-width: 1160px;
  margin: 0 auto;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  margin: calc(var(--layout-gap) / -4) 0;
}

.breadcrumb-list-item {
  display: flex;
  align-items: center;
  margin: calc(var(--layout-gap) / 8);
  font-size: 1rem;
}

.breadcrumb-list-item::before {
  content: "";
  display: block;
  background-position: center;
  background-size: contain;
}

.breadcrumb-list-item:first-of-type::before {
  width: 15px;
  height: 15px;
  margin-top: -1px;
  margin-right: calc(var(--layout-gap) / 8);
  background-image: url(../../image/common/icon_breadcrumb_home.svg);
}

.breadcrumb-list-item:not(:first-of-type)::before {
  width: 4px;
  height: 8px;
  margin-right: calc(var(--layout-gap) / 4);
  background-image: url(../../image/common/arrow_right_primary.svg);
}

@media print, screen and (min-width: 769px) {
  .breadcrumb-list-item {
    margin: calc(var(--layout-gap) / 4);
    font-size: 1.2rem;
  }
  .breadcrumb-list-item:first-of-type::before {
    margin-right: calc(var(--layout-gap) / 4);
  }
  .breadcrumb-list-item:not(:first-of-type)::before {
    margin-right: calc(var(--layout-gap) / 2);
  }
}


/*------------------------------------------------
  Detail
------------------------------------------------*/

.detail-body {
  padding: calc(var(--layout-gap) / 2);
}

.detail-body-text {
  margin-bottom: calc(var(--layout-gap) / 2);
  line-height: 2;
}

.detail-body-upfile {
  display: flex;
  /* margin-bottom: calc(var(--layout-gap) / 2); */
  margin: calc(var(--layout-gap) / 2) 0;
}

.detail-body-upfile > img {
  width: auto;
  max-width: 100%;
}

.detail-body-upfile > a {
  display: flex;
  align-items: center;
  padding: calc(var(--layout-gap) / 3) calc(var(--layout-gap) / 1);
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: bold;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  background-color: #fff;
  transition: all 0.3s linear;
}

.detail-body-upfile > a::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-left: calc(var(--layout-gap) / 2);
  background-image: url(../../image/common/icon_dl.svg);
  background-position: center;
  background-size: contain;
  transition: all 0.3s linear;
}

.detail-body-upfile > a:hover {
  color: #fff;
  background-color: var(--primary-color);
  opacity: 1;
  transition: all 0.3s linear;
}

.detail-body-upfile > a:hover::after {
  background-image: url(../../image/common/icon_dl_w.svg);
  transition: all 0.3s linear;
}

.detail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: calc(var(--layout-gap) / 2);
  padding-top: calc(var(--layout-gap) / 2);
  text-transform: uppercase;
  border-top: 1px solid var(--primary-color);
}

.detail-foot-link {
  color: var(--primary-color);
  text-transform: uppercase;
}

.detail-head-date {
  color: var(--primary-color);
}

@media print, screen and (min-width: 769px) {

  .detail-title {
    font-size: 2rem;
    padding: 20px 10px 20px 60px;
    margin-bottom: calc(var(--layout-gap) / 2);
  }
  .detail-body {
    padding: calc(var(--layout-gap) * 1.5);
  }
  .detail-body-text {
    margin-bottom: var(--layout-gap);
  }
  .detail-body-upfile {
    margin:var(--layout-gap) 0;
  }
  .detail-foot {
    margin: 0 0 var(--layout-gap);
  }
}
