/* .page-article-list{
  padding-bottom: 40px;
} */

.first-article {
  display: grid;
  grid-template-columns: 410px 1fr;
  grid-template-areas:
    "image content";
  gap: 16px 40px;
  align-items: start;
  padding: 40px 0;
}

.first-article .first-article-image {
  grid-area: image;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  width: 410px;
}

.first-article .first-article-image img{
  display: block;
  width: 410px;
  height: 293px;
  object-fit: cover;
  border-radius: 10px;
}

.first-article .first-article-content {
  max-height: 293px;
  overflow: hidden;
  position: relative;
}

.first-article .first-article-content a {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.first-article .first-article-title {
  font-size: 36px;
  font-weight: 400;
  color: #f4a41c;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 0 0 auto;
}

.first-article .first-article-date {
  color: #ffffff66;
  flex: 0 0 auto;
}

.first-article .first-article-intro {
  font-size: 20px;
  flex: 0 1 auto;
  min-height: 0;
  overflow: hidden;
}

.first-article .first-article-body {
  flex: 1 2 auto;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.first-article .first-article-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(14, 27, 66, 0), #0e1b42);
  pointer-events: none;
}

.article-list-lower {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-list-item {
  display: grid;
  grid-template-columns: 410px 1fr;
  grid-template-areas:
    "image content";
  gap: 16px 40px;
  align-items: start;
}

.article-thumb {
  grid-area: image;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  width: 410px;
}

.article-thumb img{
  display: block;
  width: 410px;
  height: 218px;
  object-fit: cover;
  border-radius: 10px;
}

.article-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-title {
  font-size: 30px;
  font-weight: 400;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-date {
  color: #0e1b4266;
}

.page-size-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 0.3em;
}

.page-size-label {
  color: #0e1b42;
}

.page-size-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  height: 24px;
  border: 1px solid #0e1b42;
  color: #0e1b42;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.page-size-option.is-current {
  background: #0e1b42;
  color: #ffffff;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  /* vertical-align: middle; */
  gap: 16px;
  height: 44px;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
}

.pagination a.disabled {
  pointer-events: none;
  color: #0e1b4266;
}

.pagination a.disabled button {
  color: inherit;
}

.pagination .prev-page span,
.pagination .next-page span {
  height: 44px;
  line-height: 44px;
}

.pagination .left-arrow, 
.pagination .right-arrow {
  background: none;
  width: 44px;
  height: 44px;
  border: none;
  padding: 0;
  cursor: pointer;
}

.pagination .left-arrow .left-arrow-icon,
.pagination .right-arrow .right-arrow-icon {
  width: 16px;
  height: 32px;
}

.pagination .right-arrow .right-arrow-icon {
  transform: rotate(180deg);
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination-pages a,
.pagination-current,
.pagination-ellipsis {
  line-height: 44px;
}

.pagination-current {
  font-weight: 700;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .first-article {
    grid-template-columns: 318px 1fr;
  } 

  .first-article .first-article-title {
    font-size: 30px;
  }

  .first-article .first-article-image {
    width: 318px;
  }   

  .first-article .first-article-image img{
    width: 318px;
    height: 290px;
  }

  .first-article .first-article-intro {
    font-size: 16px;
  }

  .first-article .first-article-body {
    font-size: 12px;
  }

  .article-list-item {
    grid-template-columns: 318px 1fr;
  }

  .article-thumb {
    width: 318px;
  }

  .article-thumb img{
    width: 318px;
  }

  .article-title {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .first-article {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "content";
  }

  .article-list-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "content";
  }

  .article-title {
    font-size: 20px;
  }
}

@media (min-width: 575px) and (max-width: 767px) {
   .first-article .first-article-title {
    font-size: 24px;
  }

 .first-article .first-article-image {
    width: 426px;
  }   

  .first-article .first-article-image img{
    width: 426px;
    height: 260px;
  }

  .first-article .first-article-intro {
    font-size: 16px;
  }

  .first-article .first-article-body {
    font-size: 12px;
  }

  .article-thumb {
    width: 426px;
  }

  .article-thumb img{
    width: 426px;
    height: 260px;
  }
}

@media (max-width: 574px) {
  .first-article .first-article-title {
    font-size: 20px;
  }
  
  .first-article .first-article-image {
    width: 300px;
  }   

  .first-article .first-article-image img{
    width: 300px;
    height: 218px;
  }

  .first-article .first-article-date {
    font-size: 11px;
  }

  .first-article .first-article-intro {
    font-size: 14px;
  }

  .first-article .first-article-body {
    font-size: 11px;
  }

  .article-thumb {
    width: 300px;
  }

  .article-thumb img{
    width: 300px;
    height: 218px;
  }

  .article-date {
    font-size: 11px;
  }
}
