/* Media / Projects list (news1.html) */
.news1_page {
  background: #f6f6f6;
  padding: 20px 0 60px;
}

.news1_wrap {
  width: 80%;
  margin: 0 auto;
}

.news1_wrap > h1 {
  margin: 10px 0 28px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #1f1f1f;
}

.news1_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news1_card {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.news1_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
  border-color: #f3d5cb;
}

.news1_pic {
  position: relative;
  flex: 0 0 320px;
  width: 320px;
  min-height: 210px;
  overflow: hidden;
  background: #f4f4f4;
}

.news1_pic img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.news1_card:hover .news1_pic img {
  transform: scale(1.04);
}

.news1_body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 28px 20px;
}

.news1_title {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #1f1f1f;
  text-transform: uppercase;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news1_card:hover .news1_title {
  color: #F55020;
}

.news1_excerpt,
.news1_excerpt * {
  margin: 0;
  padding: 0;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: #555 !important;
  background: none !important;
}

.news1_excerpt {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news1_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.news1_date {
  font-size: 13px;
  color: #999;
}

.news1_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid #F55020;
  color: #F55020;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

.news1_card:hover .news1_btn {
  color: #fff;
  background: #F55020;
}

.news1_pager {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
}

.news1_page .pages {
  padding: 12px 0 0;
}

.news1_page .pages a,
.news1_page .pages span {
  min-width: 36px;
  padding: 0 12px;
  margin: 0 3px;
  line-height: 34px;
  border-radius: 8px;
  border: 1px solid #ececec;
  background: #fff;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .04);
}

.news1_page .pages a:hover,
.news1_page .pages a.page-num-current {
  color: #fff;
  background: #F55020;
  border-color: #F55020;
  box-shadow: 0 6px 14px rgba(245, 80, 32, .25);
}

@media (max-width: 992px) {
  .news1_wrap > h1 {
    font-size: 22px;
  }

  .news1_pic {
    flex-basis: 240px;
    width: 240px;
    min-height: 180px;
  }

  .news1_title {
    font-size: 18px;
  }

  .news1_body {
    padding: 18px 18px 16px;
  }
}

@media (max-width: 720px) {
  .news1_card {
    flex-direction: column;
  }

  .news1_pic {
    width: 100%;
    flex: 0 0 auto;
    min-height: 0;
    height: 200px;
  }

  .news1_body {
    padding: 16px 16px 18px;
  }

  .news1_meta {
    flex-wrap: wrap;
  }
}

/* Article detail (newslist.html) */
.news_detail_page {
  background: #f6f6f6;
  padding: 20px 0 60px;
}

.news_detail_wrap {
  width: 80%;
  margin: 0 auto;
}

.news_detail_card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  padding: 36px 40px 40px;
}

.news_detail_card > h1 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #1f1f1f;
}

.news_detail_date {
  margin: 0 0 24px;
  font-size: 14px;
  text-align: center;
  color: #999;
}

.news_detail_cover {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 8px;
}

.news_detail_cover img {
  display: block;
  width: 100%;
}

.news_detail_body {
  color: #444;
}

.news_detail_body,
.news_detail_body p,
.news_detail_body span,
.news_detail_body div,
.news_detail_body li,
.news_detail_body td {
  font-size: 18px !important;
  line-height: 1.85 !important;
  font-family: inherit !important;
  color: #444 !important;
  background: transparent !important;
}

.news_detail_body p {
  margin: 0 0 18px !important;
}

.news_detail_body h1,
.news_detail_body h2,
.news_detail_body h3,
.news_detail_body h4,
.news_detail_body strong,
.news_detail_body b,
.news_detail_body strong span,
.news_detail_body b span {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #1f1f1f !important;
  background: transparent !important;
}

.news_detail_body h1 {
  font-size: 24px !important;
}

.news_detail_body img {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 22px auto !important;
  border-radius: 8px;
}

.news_detail_nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.news_detail_nav > div {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}

.news_detail_nav strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #F55020;
}

.news_detail_nav a {
  color: #333;
  text-decoration: none;
}

.news_detail_nav a:hover {
  color: #F55020;
}

.news_detail_nav > div:last-child {
  text-align: right;
}

@media (max-width: 992px) {
  .news_detail_card {
    padding: 22px 16px 24px;
  }

  .news_detail_card > h1 {
    font-size: 22px;
  }

  .news_detail_body,
  .news_detail_body p,
  .news_detail_body span,
  .news_detail_body div,
  .news_detail_body li,
  .news_detail_body td {
    font-size: 16px !important;
  }

  .news_detail_body h2,
  .news_detail_body h3,
  .news_detail_body strong,
  .news_detail_body b {
    font-size: 18px !important;
  }

  .news_detail_nav {
    grid-template-columns: 1fr;
  }

  .news_detail_nav > div:last-child {
    text-align: left;
  }
}
