:root {
  --orange: #e84b2c;
  --blue: #183787;
  --ink: #171923;
  --muted: #697080;
  --line: #e7e9ef;
  --surface: #fff;
  --mist: #f7f8fb;
  --max: 1240px;
  --shadow: 0 18px 50px rgb(28 38 68 / 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    'PingFang SC',
    'Microsoft YaHei',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 52px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  background: rgb(255 255 255 / 0.92);
  border-bottom: 1px solid rgb(0 0 0 / 0.05);
  backdrop-filter: blur(24px);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 124px;
  height: auto;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: #292d36;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -22px;
  height: 2px;
  background: var(--orange);
  transition: right 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.nav-action:hover {
  transform: translateY(-1px);
}

.nav-login {
  background: var(--blue);
}

.nav-login:hover {
  background: #2549a0;
}

.nav-trial {
  background: var(--orange);
}

.nav-trial:hover {
  background: #cf3f23;
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-button i {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px;
  background: #11131a;
  transition: transform 0.25s ease;
}

.news-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 26.302vw, 505px);
  margin-top: 64px;
  overflow: hidden;
  background: #10264e;
}

.news-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(8 23 52 / .52), rgb(10 20 44 / .26) 48%, rgb(8 23 52 / .48)),
    linear-gradient(0deg, rgb(11 24 50 / .42), transparent 52%);
}

@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-hero-copy {
  position: relative;
  z-index: 1;
  padding: 32px;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  margin-top: -215px;
}

.news-hero-copy.news {
  margin-top: 0;
}

.news-hero-copy.is-ready {
  animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.news-hero h1 {
  margin: 0 0 15px;
  font-size: clamp(42px, 3.15vw, 58px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.2;
}

.news-hero p {
  margin: 0;
  font-size: clamp(18px, 1.3vw, 24px);
  font-weight: 500;
  line-height: 1.6;
}

.news-section {
  padding: 80px max(28px, calc((100vw - var(--max)) / 2)) 96px;
  background: #fff;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -1px;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 14px;
  background: var(--orange);
}

.ANews_content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}

.ANews_content_list {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 5px 18px rgb(24 55 135 / 0.04);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.ANews_content_list:hover {
  transform: translateY(-6px);
  border-color: rgb(232 75 44 / 0.28);
  box-shadow: var(--shadow);
}

.content_list_img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef1f7;
}

.content_list_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ANews_content_list:hover .content_list_img img {
  transform: scale(1.035);
}

.content_list_txt {
  display: flex;
  flex-direction: column;
  min-height: 274px;
  padding: 22px 20px 19px;
}

.list_txt_title {
  display: -webkit-box;
  min-height: 67px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #202637;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.list_txt_p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.list_txt_bottom {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.list_txt_bottom svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.ANews_content_list:hover .list_txt_bottom {
  color: var(--orange);
}

.ANews_content_list:hover .list_txt_bottom svg {
  transform: translateX(3px);
}

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

.pagination-total {
  margin-right: 12px;
  color: #747b89;
  font-size: 13px;
}

.pagination-button,
.pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e0e3ea;
  border-radius: 8px;
  color: #4d5360;
  background: #fff;
  font-size: 13px;
}

.pagination-number.is-current {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.pagination-button.is-disabled {
  color: #b6bbc5;
  background: #f5f6f8;
}

@media (max-width: 1100px) {
  .nav {
    gap: 22px;
  }

  .site-nav {
    gap: 18px;
  }

  .ANews_content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    height: 64px;
    padding: 0 18px;
  }

  .menu-button {
    display: block;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .nav.menu-open {
    height: auto;
    min-height: 64px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 15px;
    padding-bottom: 20px;
  }

  .nav.menu-open .site-nav {
    order: 3;
    display: flex;
    width: 100%;
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 12px;
  }

  .nav.menu-open .site-nav a {
    padding: 13px 0;
    border-top: 1px solid #eceef2;
  }

  .nav.menu-open .site-nav a::after {
    display: none;
  }

  .nav.menu-open .nav-actions {
    order: 4;
    display: flex;
    width: 100%;
    padding-top: 12px;
  }

  .nav-action {
    flex: 1;
  }

  .news-hero {
    min-height: 260px;
  }

  .news-section {
    padding-top: 64px;
  }
}

@media (max-width: 620px) {
  .news-hero {
    min-height: 180px;
  }

  .news-hero-copy {
    padding: 20px;
    margin-top: -100px;
  }

  .news-hero h1 {
    margin-bottom: 7px;
    font-size: 30px;
    letter-spacing: -1px;
  }

  .news-hero p {
    font-size: 16px;
  }

  .news-section {
    padding: 54px 18px 68px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .ANews_content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .content_list_txt {
    min-height: 250px;
  }

  .pagination-total {
    width: 100%;
    margin: 0 0 6px;
    text-align: center;
  }
}
