@import url("style.css");
/* Variables */
/* CSS */
#section-a1 {
  background: url("Background/news_update.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

#section-a1 h1 {
  color: white;
  font-weight: 500;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0.05rem;
  text-transform: uppercase; }

#section-a2 {
  background: white;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; }

#section-a2 .box {
  width: 968px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  padding-top: 60px; }

#section-a2 .box .box-thread {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  width: inherit; }

#section-a2 .box .box-thread h5 {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px; }

#section-a2 .box .box-thread .view-options {
  display: flex;
  border: 1px solid #eeeeee;
  height: 36px;
  width: fit-content;
  border-radius: 0px; }

#section-a2 .box .box-thread .view-options .option {
  display: flex;
  width: max-content;
  padding: 6px 12px;
  gap: 9px; }

#section-a2 .box .box-thread .view-options .option:nth-of-type(1) {
  border-right: 1px solid #eeeeee; }

#section-a2 .box .box-content {
  display: flex;
  flex-direction: column;
  width: inherit;
  row-gap: 30px; }

#section-a2 .box .box-content .content {
  display: flex;
  gap: 15px;
  text-decoration: none; }

#section-a2 .box .box-content .content > img {
  height: 236px;
  width: 368px;
  border-radius: 0px;
  object-fit: cover;
  object-position: center; }

#section-a2 .box .box-content .content .article-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 570px; }

#section-a2 .box .box-content .content .article-info .article {
  display: flex;
  flex-direction: column;
  gap: 15px; }

#section-a2 .box .box-content .content .article-info .article .article-type {
  color: #cc0000;
  line-height: 22px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase; }

#section-a2 .box .box-content .content .article-info .article .article-title {
  color: black;
  font-size: 20px;
  font-weight: 600;
  height: 60px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; }

#section-a2 .box .box-content .content .article-info .article .article-brief {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #616161;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; }

#section-a2 .box .box-content .content .article-info .article-author {
  display: flex;
  align-items: center;
  gap: 15px; }

#section-a2 .box .box-content .content .article-info .article-author > img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top; }

#section-a2 .box .box-content .content .article-info .article-author .author-info > div {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #101828; }

#section-a2 .box .box-content .content .article-info .article-author .author-info p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.6); }

.section-pagination {
  height: 120px;
  width: 1440px;
  display: flex;
  justify-content: center; }

.section-pagination .box-pagination {
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center; }

.section-pagination .box-pagination .pagination {
  width: 546px;
  height: 36px;
  gap: 15px;
  margin-bottom: 0; }

.section-pagination .box-pagination .pagination .page-nav {
  background-color: White;
  border-radius: 50%;
  height: 36px;
  width: 36px; }

.section-pagination .box-pagination .pagination .page-nav .page-link {
  height: inherit;
  width: inherit;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #616161;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0px;
  transition: all ease-out 0.6s; }

.section-pagination .box-pagination .pagination .page-nav .page-link > img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  object-position: center; }

.section-pagination .box-pagination .pagination .page-nav:hover .page-link {
  background-color: #cc0000;
  color: white; }

.section-pagination .box-pagination .pagination .page-item {
  background-color: White;
  border-radius: 50%;
  height: 36px;
  width: 36px; }

.section-pagination .box-pagination .pagination .page-item .page-link {
  height: inherit;
  width: inherit;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #616161;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0px;
  transition: all ease-out 0.6s; }

.section-pagination .box-pagination .pagination .page-item:hover .page-link {
  background-color: #cc0000;
  color: white; }

.section-pagination .box-pagination .pagination .active .page-link {
  background-color: #cc0000;
  color: white; }

.section-pagination .box-pagination .load-more {
  display: none;
  height: 40px;
  width: fit-content;
  border-radius: 20px;
  padding: 9px 20px;
  border: 1px solid #9e9e9e;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0px;
  text-align: left; }

/* Responsive mobile breakpoint */
@media only screen and (max-width: 415px) {
  body main #section-a1 {
    width: 100%;
    height: 300px; }
  body main #section-a1 h1 {
    font-size: 32px;
    line-height: 48px; }
  body main #section-a2 .box {
    width: 100%; }
  body main #section-a2 .box .box-thread {
    justify-content: center; }
  body main #section-a2 .box .box-thread h5 {
    width: 366px; }
  body main #section-a2 .box .box-thread .view-options {
    display: none; }
  body main #section-a2 .box .box-content {
    align-items: center; }
  body main #section-a2 .box .box-content .content {
    flex-direction: column;
    width: 366px; }
  body main #section-a2 .box .box-content .content .article-info {
    width: 100%; }
  body main .section-pagination {
    width: 100%; }
  body main .section-pagination .box-pagination {
    width: 100%; }
  body main .section-pagination .box-pagination .pagination {
    display: none; }
  body main .section-pagination .box-pagination .load-more {
    display: block; }
  body footer .lower-footer #back-to-top {
    position: relative; } }

/* Responsive tablet breakpoint */
@media only screen and (min-width: 415px) and (max-width: 913px) {
  main #section-a2 {
    width: 100%; }
  main #section-a2 .box {
    width: 100%; }
  main #section-a2 .box .box-thread {
    width: 100%; }
  main #section-a2 .box .box-content .article-info {
    width: 400px !important; }
  main .section-pagination {
    width: 100%; } }
