
:root
{
    --black:#000;
    --white:#fff;
    --main-color:#0044A2;
    --sub-color-green:#1EBDCD;
    --sub-color-lb:#40B1E8;
    --accent-color:#FF7F00;
    --bg-color:#F2F7FA;
    --light-gray:#DADFE3;
}



.top-news,
.news-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px;
}
.news-page
{
  padding-top: 0;
}

.top-news_head,
.news-page_head {
  margin-bottom: 24px;
}

.top-news_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.top-news_title,
.news-page_title {
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.top-news_sub,
.news-page_sub {
  margin: 8px 0 0;
  font-size: 13px;
  color: #0068b7;
}

.top-news_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  background: #0068b7;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  position: relative;
}

.top-news_btn::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 10px;
}

.top-news_list {
  border-top: 1px solid #ddd;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #111;
}

.news-date {
  width: 90px;
  flex-shrink: 0;
  font-size: 16px;
  color: #888;
}

.news-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  /* min-width: 0; */
}

.news-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
  font-weight: bold;
}

.news-tag.pdf {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* min-width: 36px; */
  /* height: 18px; */
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--accent-color);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.news-arrow {
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #005bac;
  position: relative;
}

.news-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 4px;
  height: 4px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.news-item:hover .news-text {
  text-decoration: underline;
}

.news-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-top:40px;
  flex-wrap:wrap;
}

.pagination-page,
.pagination-prev,
.pagination-next{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  /* padding:0 12px; */
  border:1px solid var(--main-color);
  text-decoration:none;
  color:var(--main-color);
  background:var(--white);
  font-size:16px;
  border-radius: 50px;
}

.pagination-page.is-current{
  background:var(--main-color);
  border-radius: 50px;
  color:var(--white);
  border-color:var(--main-color);
}

.pagination-dots{
  padding:0 6px;
}
@media screen and (max-width: 767px) {
  .top-news_title,
  .news-page_title {
    font-size: 38px;
  }
  .news-page
  {
    padding-top: 0;
  }

  .top-news_head {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-item {
    gap: 5px;
    flex-direction: column;
        align-items: flex-start;
  }

  .news-date {
    width: 72px;
    font-size: 14px;
  }

  /* .news-body {
    display: block;
  } */

  .news-tag.pdf {
    font-size: 12px;
  }
  .news-text
  {
    font-size: 14px;
  }
}