/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red-primary: #94070a;
  --red-dark: #8b1528;
  --red-darker: #6e1020;
  --text-dark: #333;
  --text-gray: #888;
  --text-light: #aaa;
  --border-color: #e8e8e8;
  --bg-page: #f2f2f2;
  --white: #fff;
  --orange: #e67e22;
  --teal: #1abc9c;
  --blue: #3498db;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  color: var(--text-dark);
  background: var(--bg-page);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  /* display: block; */
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
}

/* Header */
.site-header {
  background: var(--red-primary);
  color: var(--white);
  padding: 24px 0px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  /* width: 267px; */
  height: 58px;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-univ {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo-en {
  font-size: 0.65rem;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.logo-dept {
  font-size: 26px;
  font-weight: 700;
  margin-top: 2px;
  border-left: 1px solid #fff;
  padding-left: 25px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.main-nav li {
  margin-left: 30px;
}
.main-nav a {
  display: block;
  font-size: 18px;
  color: var(--white);
  white-space: nowrap;
  border-radius: 3px;
  transition: background 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: rgba(255, 255, 255, 0.8);
}

.wp_nav .nav-item a span.item-name {
  padding: 5px 0px;
}
.main-nav .sub-nav li {
  margin-left: 0px;
}
.wp_nav .nav-item a.parent {
  color: #fff;
}

#banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.cmsBanner {
  position: absolute;
  top: -1000%;
  left: -1000%;
}
.banner-slides {
  width: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease-in-out,
    visibility 0.8s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.banner-dot.active {
  background: var(--white);
}

/* Section Common */
.section {
  padding: 15px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  padding-bottom: 10px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
}

.more-link {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.2s;
}

.more-link:hover {
  color: var(--red-primary);
}

/* News Section */
.news-section {
  background: var(--white);
  background-image: url("../images/201.png");
  background-size: 30% auto;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 30px 0 0 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.news-image {
  border-radius: 4px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Carousel */
.carousel {
  width: 585px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}
.carousel .focus-title-bar {
  height: 48px;
}
.carousel .focus-box {
  height: 387px !important;
}
.carousel .focus-container {
  height: 100% !important;
}
.carousel .focus-title {
  height: 48px;
  line-height: 48px;
  font-size: 16px;
}
.carousel .focus-pagination {
  bottom: 14px;
}

.carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 0.9rem;
  z-index: 2;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: var(--white);
}
.carouselH {
  /* height: 412px; */
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.news-item:last-child {
  border-bottom: none;
}

.date-box {
  /* flex-shrink: 0; */
  width: 48px;
  background: var(--red-primary);
  color: var(--white);
  text-align: center;
  /* padding: 8px 4px; */
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: space-between;
  justify-content: space-between;
  border: 2px solid var(--red-primary);
}

.date-day {
  font-size: 20px;
}

.date-ym {
  display: block;
  width: 100%;
  font-size: 10px;
  background: var(--white);
  color: var(--red-primary);
  line-height: 25px;
}
.news-content {
  flex: 1;
}
.news-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}

.news-content h3 a {
  color: var(--red-primary);
  transition: opacity 0.2s;
}

.news-content h3 a:hover {
  opacity: 0.8;
}

.news-content p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#newsBox1 {
  width: 585px;
}
#newsBox1 .sudynews_rili_1.rili .news_list li.news {
  margin-top: 0px;
  padding-top: 0px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: solid 1px rgb(210, 210, 210);
  border-top: none;
}
#newsBox1 .sudynews_rili_1.rili .news_list li.news .news_wz {
  width: 100%;
  box-sizing: border-box;
  padding-left: 58px;
}
#newsBox1 .sudynews_rili_1.rili .news_list li.news .news_time {
  background: rgb(148, 7, 10);
  border: solid 1px rgb(148, 7, 10);
  height: auto;
  width: 48px;
}
#newsBox1 .sudynews_rili_1.rili .news_list li.news .news_time .news_days {
  color: #fff;
  font-size: 20px;
}

#newsBox1 .sudynews_rili_1.rili .news_list li.news .news_time .news_year {
  color: rgb(148, 7, 10);
  background: #fff;
  font-size: 10px;
}
#newsBox1 .sudynews_rili_1.rili .news_list li.news .news_title a {
  font-size: 16px;
  color: rgb(148, 7, 10);
  font-weight: bold;
}

#newsBox1 .sudynews_rili_1.rili .news_list li.news .news_title {
  margin-bottom: 10px;
}
#newsBox1 .sudynews_rili_1.rili .news_list li.news .news_text a {
  display: block;
  width: 100%;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Middle Section */
.middle-section {
  background: var(--white);
  padding: 10px 0 0 0;
}

.middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.middle-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.list-block .section-header {
  margin-bottom: 12px;
  background: rgba(249, 241, 241, 1);
  border-top: 1px solid rgba(155, 13, 20, 1);
  padding: 0 20px;
  height: 46px;
}

.text-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}

.text-list li:last-child {
  border-bottom: none;
}

.text-list li a {
  flex: 1;
  font-size: 16px;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
  padding-left: 15px;
}

.text-list li a:hover {
  color: var(--red-primary);
}

.list-date {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--text-light);
}
.middle-section .wp_article_list .list_item {
  padding: 10px 0 10px 15px;
  overflow: hidden;
  height: auto;
  border-bottom: none;
}
.middle-section .wp_article_list .list_item span a {
  font-weight: bold;
  color: rgba(51, 51, 51, 1);
}
.middle-section .wp_article_list .list_item .Article_Title a:hover {
  color: var(--red-primary);
}
.middle-section .wp_article_list .list_item .Article_Index {
  display: none;
}
.middle-section .wp_article_list .list_item .Article_PublishDate {
  font-size: 14px;
  color: rgba(102, 102, 102, 1);
}

/* Quick Links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quick-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 6px;
  color: var(--white);
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.quick-btn-orange {
  background-image: url("../images/301.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}
.quick-btn-teal {
  background-image: url("../images/302.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}
.quick-btn-blue {
  background-image: url("../images/303.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}

.quick-btn img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%);
  display: block;
  width: 100px;
  height: 100px;
}

/* Activity Section */
.activity-section {
  background: var(--white);
  background-image: url("../images/202.png");
  background-size: 18.75% auto;
  background-position: left bottom;
  background-repeat: no-repeat;
  padding: 30px 0 30px 0;
}

.activity-grid .wp_article_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}
.activity-grid .wp_article_list .list_item {
  position: relative;
  height: auto;
  border-bottom: none;
}
.activity-grid .wp_article_list .list_item .ex_fields {
  position: relative;
}
.activity-grid .wp_article_list .list_item .pr_fields {
  position: absolute;
  top: 240px;
  left: 0px;
  z-index: 100;
  width: 100%;
  font-size: 16px;
  padding: 0px 20px;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 溢出的文本显示为省略号 */
  font-weight: bold;
}
.activity-grid .wp_article_list .list_item span {
  display: block;
  width: 100%;
  margin-left: 0;
}
.activity-grid .wp_article_list .list_item .Article_Index {
  display: none;
}
.activity-grid .wp_article_list .list_item .ex_fields .Article_PublishDate {
  display: inline-block;
  position: absolute;
  top: 200px;
  left: 0;
  width: auto;
  background: var(--red-primary);
  color: var(--white);
  font-size: 14px;
  padding: 0px 10px;
  line-height: 30px;
}
.activity-grid .wp_article_list .list_item .Article_Summary {
  border: 1px solid rgba(229, 229, 229, 1);
  border-top: none;
  padding: 45px 20px 15px 20px;
  font-size: 14px;
  color: rgba(153, 153, 153, 1);
}
.activity-grid .wp_article_list .list_item .Article_Summary a {
  display: block;
  width: 100%;
  line-height: 25px;
  height: 50px;
  overflow: hidden;
}

.activity-grid .wp_article_list .list_item .Article_MicroImage img {
  width: 100%;
  height: 230px;
  object-fit: none;
}

.activity-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.activity-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.activity-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.activity-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.activity-card:hover .activity-img-wrap img {
  transform: scale(1.03);
}

.activity-date {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--red-primary);
  color: var(--white);
  font-size: 0.75rem;
  padding: 4px 10px;
}

.activity-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 12px 0 8px;
  line-height: 1.4;
}

.activity-card h3 a {
  color: var(--text-dark);
  transition: color 0.2s;
}

.activity-card h3 a:hover {
  color: var(--red-primary);
}

.activity-card p {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.activityBox {
  display: flex;
  gap: 30px;
}
.activityBox .activity {
  flex: 1;
}
.activityBox .service {
  flex: 1;
}
.activityBox .service .wp_article_list .list_item {
  height: 30px;
  line-height: 30px;
  border-bottom: none;
  margin-bottom: 14px;
}
.activityBox .service .wp_article_list .list_item a {
  font-size: 15px;
}
.activityBox .service .wp_article_list .list_item .Article_Index {
  display: none;
}
.activityBox .service .wp_article_list .list_item .Article_Title {
  margin-left: 0px;
}

/* Footer */
.site-footer {
  margin-top: 2px;
}

.footer-main {
  background: var(--red-primary);
  color: var(--white);
  padding: 30px 0 36px;
}

.footer-main .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main-left {
  flex: 1;
}
.footer-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-links-list a {
  color: var(--white);
  opacity: 0.9;
  font-size: 14px;
  transition: opacity 0.2s;
}
.footer-links-list a:hover {
  color: var(--white);
  opacity: 1;
  text-decoration: underline;
}
.footer-links-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid #bf6a6c;
}

.footer-links-label {
  font-weight: 600;
  margin-right: 4px;
}

.footer-links-content a {
  color: var(--white);
  opacity: 0.9;
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer-links-content a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-links-content .sep {
  opacity: 0.5;
  font-size: 0.75rem;
}
.footer-info-content {
  padding-top: 15px;
}
.footer-info-content p {
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 22px;
  color: #ffffff;
  opacity: 0.6;
}
.footer-info-content .Site_Copyright {
  font-size: 13px;
  color: #ffffff;
  opacity: 0.6;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-contact div {
  font-size: 13px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.6);
}
.footer-links-content .wp_article_list {
  width: 100%;
}
.footer-links-content .wp_article_list .list_item .Article_Index {
  display: none;
}
.footer-links-content .list_item {
  border-bottom: none;
  float: left;
  width: auto;
  margin-right: 20px;
}

.footer-main-right {
  flex-shrink: 0;
  margin-left: 20px;
}
.footer-main-right div {
  color: var(--white);
  font-size: 14px;
  margin-top: 5px;
}

.footer-qrcode {
  width: 84px;
  height: 84px;
  border-radius: 4px;
  background: #fff;
  padding: 4px;
  margin: 0 auto;
}

/* List Page */
.list-page {
  padding: 40px 0 60px 0;
  min-height: calc(100vh - 200px);
}

.list-page .container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
}

.list-sidebar {
  width: 268px;
  flex-shrink: 0;
}

.sidebar-header {
  background: #a70d0a;
  color: var(--white);
  padding: 20px;
  /* text-align: center; */
  background-image: url("../images/400.png");
  background-size: 100% auto;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.sidebar-header .Column_Anchor {
  display: block;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 52px;
  opacity: 1;
  text-align: center;
}

.sidebar-header .Column_Summary {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 28px;
  color: #ffffff;
  text-align: left;
  vertical-align: top;
  opacity: 0.6;
}

.sidebar-nav {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: none;
}
.sidebar-nav .wp_listcolumn .wp_column a {
  position: relative;
  background: #fff;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
}
.sidebar-nav .wp_listcolumn .wp_column a:hover {
  color: var(--red-primary);
}
.sidebar-nav .wp_listcolumn .wp_column a::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url("../images/500.png");
  background-size: 100% auto;
  background-position: left bottom;
  background-repeat: no-repeat;
}
.sidebar-nav .wp_listcolumn .selected a {
  color: var(--red-primary);
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  border-bottom: 1px solid var(--border-color);
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-dark);
  transition:
    background 0.2s,
    color 0.2s;
}

.sidebar-nav a:hover {
  background: #f8f8f8;
}

.sidebar-nav a.active {
  background: var(--red-primary);
  color: var(--white);
}
.listBox .wp_article_list .list_item {
  height: 58px;
  line-height: 58px;
}
.listBox .wp_article_list .list_item .Article_Index {
  display: none;
}
.listBox .wp_article_list .list_item .pr_fields {
  padding-left: 20px;
  background-image: url("../images/700.png");
  background-size: 8px auto;
  background-position: left center;
  background-repeat: no-repeat;
}
.listBox .wp_article_list .list_item .pr_fields a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 58px;
  color: #353535;
}
.listBox .wp_article_list .list_item .pr_fields a:hover {
  color: var(--red-primary);
}
.listBox .wp_article_list .list_item .Article_PublishDate {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 58px;
  color: #808080;
  text-align: right;
}
.listBox .wp_paging {
  padding: 50px 0;
}
.listBox div {
  overflow: auto;
}
.nav-arrow {
  font-size: 12px;
  color: #999;
}

.sidebar-nav a.active .nav-arrow {
  color: var(--white);
}

.hotNews {
  padding: 10px;
}

#wp_iframe_newArticle_w5 .list_item {
  padding: 0 20px;
}

.list-content {
  flex: 1;
  background: var(--white);
  /* padding: 25px 30px; */
  border: 1px solid var(--border-color);
  box-shadow:
    -1px 0px 3px #cccccc,
    1px 1px 3px #cccccc;
  min-width: 0px;
}
.list-content .listBox {
  padding: 25px 30px;
}
.breadcrumb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 28px;
  background: #fafafa;
  height: 68px;
}

.breadcrumb .Column_Name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 64px;
  color: #222222;
  vertical-align: top;
}
.breadcrumbBox {
  padding-left: 25px;
  background-image: url("../images/600.png");
  background-size: 20px auto;
  background-position: left 20px;
  background-repeat: no-repeat;
}
.breadcrumb .Column_Position a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 64px;
  color: #353535;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span:last-child {
  color: var(--text-dark);
}

.list-title {
  border-bottom: 2px solid var(--red-primary);
  padding-bottom: 12px;
  margin-bottom: 25px;
}

.list-title h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.article-list {
  list-style: none;
}

.article-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
  transition: background 0.2s;
}

.article-item:last-child {
  border-bottom: none;
}

.article-item:hover {
  background: #fafafa;
}

.article-dot {
  color: var(--red-primary);
  font-size: 14px;
  margin-right: 10px;
  flex-shrink: 0;
}

.article-title {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.article-title:hover {
  color: var(--red-primary);
}

.article-date {
  font-size: 13px;
  color: var(--text-gray);
  margin-left: 15px;
  flex-shrink: 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  transition:
    background 0.2s,
    color 0.2s;
}

.page-btn:hover {
  background: var(--red-primary);
  color: var(--white);
  border-color: var(--red-primary);
}

.page-btn.active {
  background: var(--red-primary);
  color: var(--white);
  border-color: var(--red-primary);
}

.page-ellipsis {
  font-size: 13px;
  color: var(--text-gray);
  padding: 0 5px;
}
.listBox .titleBox {
  text-align: center;
}
.listBox .titleBox span {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 36px;
  color: rgba(51, 51, 51, 1);
}
.listBox .infoBox {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 25px 0;
  border-bottom: 1px dashed rgba(204, 204, 204, 1);
  margin-bottom: 20px;

  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 30px;
  color: rgba(102, 102, 102, 1);
}
.listBox .infoBox-item {
  padding: 0 10px;
}

/* Responsive: Tablet */
@media (max-width: 1280px) {
  .container {
    max-width: 1100px;
  }

  .logo-img {
    height: 40px;
  }
  .carousel {
    width: 532px;
  }
  #newsBox1 {
    width: 532px;
  }

  /* .news-grid {
    grid-template-columns: 1fr;
  } */

  .middle-grid {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .list-page .container {
    max-width: 1100px;
  }
  .footer-main .container {
    max-width: 1100px;
  }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .logo-img {
    width: 48px;
    height: 48px;
  }

  .logo-dept {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .main-nav a {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }

  .section {
    padding: 20px 0;
  }

  .news-item {
    gap: 10px;
    padding: 12px 0;
  }

  .date-box {
    width: 48px;
    padding: 6px 2px;
  }

  .date-day {
    font-size: 1.2rem;
  }

  .quick-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quick-btn {
    flex-direction: row;
    padding: 16px 20px;
    gap: 14px;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .footer-main .container {
    flex-direction: column;
    align-items: center;
  }

  .footer-main-left {
    width: 100%;
    text-align: center;
  }

  .footer-links-content {
    justify-content: center;
  }

  .footer-info-content p {
    text-align: center;
    font-size: 0.75rem;
  }

  .footer-main-right {
    margin-left: 0;
    margin-top: 10px;
  }

  .footer-qrcode {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .logo-en {
    display: none;
  }

  .text-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .text-list li a {
    white-space: normal;
  }
}
