* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1680px) {
  .news-tab-nav,
  .news-tab-content,
  .news-line,
  .news-pagination,
  .news-main-content,
  .header-content,
  .footer-content,
  .long-line {
    width: 95%;
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
  }

  .h-right-nav {
    width: calc(100% - 320px);
  }

  .h-nav ul {
    gap: 35px;
  }

  .h-nav > ul > li > a {
    font-size: 17px;
  }

  .f-right-nav {
    width: calc(100% - 320px);
  }

  .campus-address {
    width: 95%;
  }

  .short-line {
    width: 95%;
  }

  .news-banner-content {
    padding: 0 5% 60px;
  }

  .news-featured-img {
    width: 58%;
  }

  .news-card-grid {
    gap: 25px;
  }
}

@media (max-width: 1520px) {
  .news-tab-nav,
  .news-tab-content,
  .news-line,
  .news-pagination,
  .news-main-content {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .news-banner-content {
    padding: 0 5% 60px;
  }

  .news-featured-img {
    width: 55%;
  }

  .news-card-grid {
    gap: 25px;
  }

  .header-content {
    width: 95%;
    max-width: 100%;
  }

  .f-right-nav {
    width: calc(100% - 300px);
  }

  .campus-address {
    width: 95%;
  }

  .short-line {
    width: 95%;
  }

  .footer-content,
  .long-line {
    width: 95%;
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1200px) {
  .header-content {
    width: 95%;
    max-width: 100%;
    justify-content: space-between;
  }

  .h-right-nav {
    width: calc(100% - 300px);
  }

  .h-nav ul {
    gap: 20px;
  }

  .h-nav > ul > li > a {
    font-size: 15px;
  }

  .news-banner {
    height: 350px;
  }

  .news-featured-img {
    width: 50%;
    height: 320px;
  }

  .news-featured-txt {
    padding-top: 40px;
  }

  .news-featured-txt h3 {
    font-size: 19px;
    line-height: 28px;
    margin-bottom: 18px;
  }

  .news-featured-txt p {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 25px;
  }

  .news-card-txt {
    padding: 22px;
  }

  .news-card-txt h4 {
    font-size: 17px;
    line-height: 25px;
  }

  .news-card-txt h5 {
    font-size: 13px;
    line-height: 21px;
    margin: 15px 0 20px;
  }

  .news-banner-title h1 {
    font-size: 36px;
  }

  .footer-container {
    height: auto;
    padding: 35px 0;
  }

  .footer-top {
    margin-top: 0;
  }

  .f-nav ul {
    gap: 20px;
  }

  .campus-address {
    height: auto;
    width: 100%;
  }

  .f-tab-contents {
    height: auto;
  }

  .f-tab-content {
    padding: 25px;
    height: auto;
  }

  .f-tab-content p {
    height: auto;
    flex-wrap: wrap;
    gap: 5px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
  }

  .f-right-nav {
    width: calc(100% - 300px);
  }
}

@media (max-width: 992px) {
  .header-container {
    height: 110px;
  }

  .header-container::before {
    height: 150px;
  }

  .header-content,
  .news-image-layout,
  .footer-content,
  .long-line,
  .short-line {
    width: 95%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .news-tab-nav,
  .news-tab-content,
  .news-line,
  .news-pagination,
  .news-main-content {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .header-content {
    justify-content: space-between;
    padding: 0 10px;
  }

  .h-left-logo {
    width: 180px;
    padding-top: 18px;
  }

  .h-left-logo img {
    width: 100%;
    height: auto;
  }

  .h-right-nav {
    display: none !important;
    width: auto;
  }

  .mobile-menu-btn {
    display: flex !important;
    z-index: 1001;
    margin-right: 5px;
  }

  .swiper {
    height: 320px;
  }

  .news-banner {
    height: 280px;
  }

  .news-banner-content {
    padding: 0 30px 40px;
  }

  .news-banner-title h1 {
    font-size: 28px;
  }

  .news-banner-nav {
    gap: 6px;
    margin-bottom: 10px;
  }

  .news-banner-nav a {
    font-size: 12px;
  }

  .news-tab-nav {
    width: 100%;
    gap: 20px;
    padding: 12px 15px;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(216, 216, 216, 1);
    margin: 0;
  }

  .news-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .news-tab-btn {
    flex-shrink: 0;
    font-size: 13px;
  }

  .news-tab-content {
    padding: 25px 0 15px;
    margin: 0 auto;
  }

  .news-featured a {
    flex-direction: column;
    gap: 18px;
  }

  .news-featured-img {
    width: 100%;
    height: 240px;
  }

  .news-featured-txt {
    padding-top: 0;
  }

  .news-featured-txt h3 {
    font-size: 17px;
    line-height: 25px;
    margin-bottom: 12px;
  }

  .news-featured-txt p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 18px;
  }

  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .news-card:nth-child(2n + 2)::before {
    display: none;
  }

  .news-card-img {
    height: 200px;
  }

  .news-card-txt h4 {
    font-size: 16px;
    line-height: 24px;
  }

  .news-card-txt h5 {
    font-size: 13px;
    line-height: 20px;
    margin: 10px 0 15px;
  }

  .news-card-row-item {
    flex-direction: column;
    gap: 12px;
  }

  .news-card-row-item a {
    flex-direction: column;
    gap: 12px;
  }

  .news-card-row-img {
    width: 100%;
    height: 160px;
  }

  .news-card-row-txt h4 {
    font-size: 15px;
    line-height: 22px;
  }

  .news-pagination {
    margin-top: 30px;
    height: auto;
    /* padding: 12px 0; */
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .pagination-title {
    order: 2;
  }

  .pagination-title2 {
    order: 3;
  }

  .pagination-list {
    order: 1;
  }

  .footer-content {
    align-items: center;
    width: 95%;
    max-width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 15px;
    height: auto;
  }

  .f-left-logo {
    width: 180px;
    height: auto;
  }

  .f-left-logo img {
    width: 100%;
    height: auto;
  }

  .f-right-nav {
    width: 100%;
    justify-content: center;
  }

  .f-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding-top: 0;
  }

  .short-line {
    width: 100%;
    margin-top: 12px;
  }

  .campus-address {
    width: 100%;
    margin-top: 18px;
  }

  .long-line {
    width: 100%;
    margin-top: 25px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 95px;
  }

  .header-container::before {
    height: 130px;
  }

  .header-content,
  .news-image-layout,
  .footer-content,
  .long-line,
  .short-line {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .news-tab-nav,
  .news-tab-content,
  .news-line,
  .news-pagination,
  .news-main-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .h-left-logo {
    width: 140px;
    padding-top: 12px;
  }

  .h-left-logo img {
    width: 100%;
    height: auto;
  }

  .swiper {
    height: 260px;
  }

  .mySwiper1 .swiper-button-prev,
  .mySwiper1 .swiper-button-next {
    width: 26px;
    height: 42px;
  }

  .mySwiper1 .swiper-button-prev {
    left: 6px;
  }

  .mySwiper1 .swiper-button-next {
    right: 6px;
  }

  .news-banner {
    height: 220px;
  }

  .news-banner-content {
    padding: 0 20px 30px;
  }

  .news-banner-title h1 {
    font-size: 24px;
  }

  .news-banner-nav {
    gap: 5px;
    margin-bottom: 8px;
  }

  .news-banner-nav a {
    font-size: 11px;
  }

  .news-banner-category {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }

  .news-tab-nav {
    gap: 15px;
    padding: 10px 12px;
  }

  .news-tab-btn {
    font-size: 12px;
    letter-spacing: 0;
  }

  .news-tab-content {
    padding: 20px 0 12px;
  }

  .news-title {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .news-list {
    padding: 0 15px;
  }

  .news-item {
    gap: 15px;
    padding: 12px 0;
  }

  .news-item-img {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
  }

  .news-item-desc {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-item-date {
    width: auto;
    height: auto;
    font-size: 12px;
    line-height: 20px;
    display: inline-block;
  }

  .news-item-line {
    margin: 15px 0;
  }

  .news-featured-img {
    height: 180px;
  }

  .news-featured-txt h3 {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 10px;
  }

  .news-featured-txt p {
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 15px;
  }

  .news-featured-date-box {
    font-size: 11px;
    width: 75px;
  }

  .news-card-img {
    height: 160px;
  }

  .news-card-txt {
    padding: 16px;
  }

  .news-card-txt h4 {
    font-size: 14px;
    line-height: 21px;
  }

  .news-card-txt h5 {
    font-size: 12px;
    line-height: 18px;
    margin: 8px 0 12px;
    -webkit-line-clamp: 2;
  }

  .news-card-row-img {
    height: 140px;
  }

  .news-card-row-txt h4 {
    font-size: 14px;
    line-height: 21px;
  }

  .news-pagination {
    margin-top: 25px;
    /* padding: 8px 0; */
  }

  .pagination-list a {
    width: 24px;
    height: 32px;
    font-size: 12px;
    line-height: 32px;
  }

  .pagination-title span {
    font-size: 11px;
  }

  .footer-container {
    padding: 22px 0;
    height: auto;
    min-height: auto;
  }

  .f-nav ul li a {
    font-size: 13px;
  }

  .f-tab-btn > p {
    font-size: 13px;
  }

  .f-tab-contents {
    height: auto;
    position: relative;
  }

  .f-tab-content {
    padding: 18px;
    position: relative;
    top: auto;
    left: auto;
    height: auto;
  }

  .f-tab-content p {
    font-size: 13px;
    line-height: 24px;
    height: auto;
    flex-direction: column;
    gap: 4px;
  }

  .f-tab-content p span:first-child {
    width: auto;
    font-weight: bold;
  }

  .long-line {
    margin-top: 20px;
  }

  .footer-bottom {
    font-size: 12px;
    line-height: 16px;
    flex-direction: column;
    gap: 15px;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  .footer-bottom span {
    margin-right: 0;
    display: block;
    margin-bottom: 8px;
  }

  body.menu-open .h-right-nav {
    top: 95px;
    height: calc(100% - 95px);
  }

  .news-tab-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .pagination-list a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .f-tab-btn {
    min-height: 40px;
  }

  .h-nav > ul > li > a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .dropdown a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .news-card a,
  .news-featured a,
  .news-card-row-item a,
  .news-item a {
    min-height: 40px;
  }

  .news-card-txt h5 {
    font-size: 13px;
    line-height: 20px;
  }
}

@media (max-width: 480px) {
  .header-container {
    height: 75px;
  }

  .header-container::before {
    height: 110px;
  }

  .header-content,
  .news-image-layout,
  .footer-content,
  .long-line,
  .short-line {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .news-tab-nav,
  .news-tab-content,
  .news-line,
  .news-pagination,
  .news-main-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .h-left-logo {
    width: 110px;
    padding-top: 8px;
  }

  .h-left-logo img {
    width: 100%;
    height: auto;
  }

  .mobile-menu-btn {
    padding: 6px 8px;
  }

  .mobile-menu-btn span {
    width: 20px;
    height: 2px;
    gap: 3px;
  }

  .swiper {
    height: 180px;
  }

  .mySwiper1 .swiper-button-prev,
  .mySwiper1 .swiper-button-next {
    width: 22px;
    height: 35px;
  }

  .news-banner {
    height: 180px;
  }

  .news-banner-content {
    padding: 0 15px 25px;
  }

  .news-banner-title h1 {
    font-size: 20px;
  }

  .news-banner-nav {
    gap: 4px;
    margin-bottom: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .news-banner-nav a {
    font-size: 10px;
  }

  .news-banner-category {
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }

  .news-tab-nav {
    gap: 10px;
    padding: 8px 8px;
  }

  .news-tab-btn {
    font-size: 11px;
    padding: 0 5px;
  }

  .news-tab-content {
    padding: 15px 0 8px;
  }

  .news-title {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 15px;
    padding: 0 12px;
  }

  .news-list {
    padding: 0 12px;
  }

  .news-item {
    gap: 12px;
    padding: 10px 0;
  }

  .news-item-img {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
  }

  .news-item-desc {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-item-date {
    width: auto;
    height: auto;
    font-size: 11px;
    line-height: 18px;
    display: inline-block;
  }

  .news-item-line {
    margin: 12px 0;
  }

  .news-featured-img {
    height: 140px;
  }

  .news-featured-txt h3 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
  }

  .news-featured-txt p {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 12px;
  }

  .news-featured-date-box {
    font-size: 10px;
    width: 65px;
  }

  .news-card-img {
    height: 120px;
  }

  .news-card-txt {
    padding: 12px;
  }

  .news-card-txt h4 {
    font-size: 13px;
    line-height: 19px;
  }

  .news-card-txt h5 {
    font-size: 11px;
    line-height: 16px;
    margin: 5px 0 8px;
    -webkit-line-clamp: 2;
  }

  .news-card-row-img {
    height: 110px;
  }

  .news-card-row-txt h4 {
    font-size: 13px;
    line-height: 19px;
  }

  .news-pagination {
    margin-top: 20px;
    /* padding: 6px 0; */
  }

  .pagination-list a {
    width: 22px;
    height: 28px;
    font-size: 11px;
    line-height: 28px;
  }

  .f-nav ul {
    gap: 10px;
  }

  .f-nav ul li a {
    font-size: 12px;
  }

  .f-tab-buttons {
    flex-wrap: wrap;
    height: auto;
  }

  .f-tab-btn {
    flex: 0 0 50%;
    height: 38px;
  }

  .f-tab-btn > p {
    font-size: 12px;
  }

  .f-tab-contents {
    height: auto;
    position: relative;
  }

  .f-tab-content {
    padding: 12px;
    position: relative;
    top: auto;
    left: auto;
    height: auto;
  }

  .f-tab-content p {
    font-size: 12px;
    line-height: 22px;
    flex-direction: column;
    gap: 3px;
    height: auto;
  }

  .f-tab-content p span:first-child {
    width: auto;
    font-weight: bold;
  }

  .long-line {
    margin-top: 15px;
  }

  .footer-bottom {
    font-size: 11px;
    line-height: 15px;
    gap: 8px;
    flex-direction: column;
    padding: 15px 12px;
    box-sizing: border-box;
  }

  .footer-bottom span {
    margin-right: 0;
    display: block;
    margin-bottom: 6px;
  }

  body.menu-open .h-right-nav {
    top: 75px;
    height: calc(100% - 75px);
  }

  .news-tab-btn {
    min-height: 38px;
  }

  .pagination-list a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .f-tab-btn {
    min-height: 38px;
  }

  .h-nav > ul > li > a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .dropdown a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

body.menu-open .mobile-menu-btn span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

body.menu-open .mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}

body.menu-open .mobile-menu-btn span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

body.menu-open .h-right-nav {
  display: flex !important;
  position: fixed;
  top: 110px;
  left: 0;
  width: 100%;
  height: calc(100% - 110px);
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 25px 15px;
  gap: 12px;
  overflow-y: auto;
}

body.menu-open .h-right-nav .tool {
  margin-bottom: 15px;
  justify-content: center;
}

body.menu-open .h-nav ul {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

body.menu-open .h-nav {
  height: auto;
}

body.menu-open .h-nav ul {
  height: auto;
}

body.menu-open .h-nav > ul > li {
  height: auto;
  width: 100%;
}

body.menu-open .h-nav > ul > li > a {
  font-size: 17px;
  line-height: 1.4;
}

body.menu-open .dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: rgba(118, 35, 96, 0.2);
  border-top: none;
  border-radius: 5px;
  box-shadow: none;
  min-width: 100%;
  margin-top: 8px;
}

body.menu-open .dropdown a {
  text-align: center;
  padding: 8px 15px;
  font-size: 15px;
}

body.menu-open .dropdown a::before {
  display: none;
}

body.menu-open .h-nav > ul > li:has(.dropdown) > a::after {
  display: none;
}

body.menu-open .h-nav > ul > li:has(.dropdown)::after {
  display: none;
}
