/* === news.css — blog list aligned with home_news === */
.news_banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 7.7rem;
  padding: 9rem 0;
  min-height: 40rem;
  display: flex;
  align-items: center;
  background: var(--dark);
}
.news_banner_image,
.news_banner_image img,
.news_banner::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.news_banner_image {
  z-index: -2;
}
.news_banner_image img {
  display: block;
  object-fit: cover;
  object-position: center;
}
.news_banner::after {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 25, 51, 0.94), rgba(7, 25, 51, 0.68) 55%, rgba(7, 25, 51, 0.25));
}
.news_banner > .content {
  width: 100%;
}
.news_banner .tcon {
  max-width: 80rem;
  overflow-wrap: anywhere;
}
.news_banner .tcon h1 {
  margin-top: 1.6rem;
  color: #fff;
  font-size: clamp(36px, 3.4vw, 64px);
  line-height: 1.1;
}
.news_banner .tcon p {
  margin-top: 2rem;
  max-width: 68rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.65;
}
.news_list_page {
  position: relative;
  padding: 5rem 0 10rem;
  background-color: #fff;
}
.news_categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.news_categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--title);
  background: var(--light);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.news_categories a:hover,
.news_categories a.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}
.news_categories a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}
.news_list_page .list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.82rem;
  list-style: none;
  margin: 4.7rem 0 0;
  padding: 0;
}
.news_list_page .item {
  display: block;
  color: inherit;
  text-decoration: none;
}
.news_list_page .img {
  height: 29.48rem;
  border-radius: 2.15rem;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.news_list_page .item:hover .img img {
  transform: scale(1.05);
}
.news_list_page .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.55rem;
  font-family: 'Archivo', sans-serif;
  font-size: 1.6rem;
  line-height: 1.9rem;
}
.news_list_page .meta em {
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}
.news_list_page .meta time {
  color: rgba(92, 107, 128, 0.85);
}
.news_list_page .meta time::before {
  content: '·';
  margin-right: 0.5rem;
}
.news_list_page h3 {
  margin-top: 1.5rem;
  color: var(--title);
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 2.8rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3rem;
  transition: text-decoration-color 0.3s, color 0.3s;
}
.news_list_page .item:hover h3 {
  color: var(--primary);
  text-decoration-color: currentColor;
}
.news_list_page .empty,
.news_list_page .center {
  padding: 6rem 0;
  color: var(--text);
  font-size: 1.8rem;
  text-align: center;
}
.news_list_page .load_more_post_ajax {
  display: flex;
  margin: 5.5rem auto 0;
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .news_banner {
    padding: 7rem 0;
  }
  .news_list_page {
    padding: 4rem 0 8rem;
  }
  .news_list_page .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
  }
  .news_list_page .img {
    height: 22rem;
  }
}
@media screen and (max-width: 768px) {
  .news_banner {
    margin-top: 64px;
    min-height: 300px;
    padding: 48px 0;
  }
  .news_banner::after {
    background: rgba(7, 25, 51, 0.76);
  }
  .news_banner .tcon h1 {
    margin-top: 12px;
    font-size: 34px;
    line-height: 1.15;
  }
  .news_banner .tcon p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
  }
  .news_list_page {
    padding: 28px 0 48px;
  }
  .news_categories {
    gap: 8px;
    padding-bottom: 20px;
  }
  .news_categories a {
    padding: 10px 16px;
    font-size: 14px;
  }
  .news_list_page .list {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2.4rem;
  }
  .news_list_page .img {
    height: auto;
    aspect-ratio: 441 / 295;
    border-radius: 1.2rem;
  }
  .news_list_page .meta {
    margin-top: 1.4rem;
    font-size: 1.3rem;
    line-height: 1.6rem;
  }
  .news_list_page h3 {
    margin-top: 0.8rem;
    font-size: 1.8rem;
    line-height: 1.4;
  }
  .news_list_page .load_more_post_ajax {
    margin-top: 3rem;
  }
}
