/* 2026twxh 首页主体样式 */
.site-header {
  background: #fff;
}
.site-topbar {
  position: relative;
  overflow: hidden;
  height: auto;
  background: #071f48;
}
.site-topbar-image {
  inset: 0;
  width: 100%;
  object-fit: contain;
  object-position: center top;
}
.site-topbar-content {
  position: relative;
}
.site-logo {
  position: absolute;
  top: 63px;
  left: 0;
  display: block;
  width: 344px;
  height: 80px;
}
.site-logo img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.return-link {
  position: absolute;
  right: 14px;
  top: 10px;
  color: #d9e7f8;
  font-size: 14px;
}
.return-link:hover {
  color: #fff;
}
.main-nav {
  height: 61px;
  background: #0c4da3;
}
.nav-container {
  height: 61px;
}
.main-nav-list {
  display: flex;
  width: 100%;
  height: 61px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav-list li {
  flex: 1;
}
.main-nav-list a {
  display: flex;
  height: 61px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.main-nav-list a:hover,
.main-nav-list a.active {
  background: #0c438d;
  color: #fff;
}
.main-nav-list > li {
  position: relative;
  min-width: 0;
}
.main-nav-list > li > a {
  position: relative;
  z-index: 2;
}
.main-nav-submenu {
  position: absolute;
  top: 61px;
  left: 0;
  z-index: 20;
  display: none;
  min-width: 100%;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #0b438e;
  box-shadow: 0 8px 18px rgba(3, 27, 72, 0.22);
}
.main-nav-list > li:hover > .main-nav-submenu,
.main-nav-list > li:focus-within > .main-nav-submenu {
  display: block;
}
.main-nav-submenu li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
.main-nav-list .main-nav-submenu a {
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 44px;
  white-space: nowrap;
}
.main-nav-list .main-nav-submenu a:hover,
.main-nav-list .main-nav-submenu a:focus-visible {
  background: #073a7e;
  color: #fff;
}
.nav-drawer-toggle,
.nav-drawer,
.nav-drawer-overlay {
  display: none;
}
.home-main {
  overflow: hidden;
  background: #fff;
}
.hero-section {
  padding: 41px 0 0;
  background: #fff;
}
.hero-carousel {
  position: relative;
  width: 1400px;
  height: 520px;
  overflow: hidden;
}
.hero-carousel .swiper-wrapper,
.hero-carousel .swiper-slide,
.hero-carousel .swiper-slide > a {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-carousel .swiper-slide img {
  display: block;
  height: 100%;
  width: 100%;
}
.hero-caption {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: #fff;
  background: rgba(12,77,163,0.5);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.hero-caption span {
  display: block;
  width: max-content;
  margin-bottom: 4px;
  padding: 1px 7px;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  text-shadow: none;
  display:none;
}
.hero-caption strong {
  display: block;
  font-size: 18px;
  line-height: 26px;
}
.hero-carousel .swiper-pagination {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: auto;
  width: auto;
}
.hero-carousel .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 3px;
  background: #fff;
  opacity: 1;
}
.hero-carousel .swiper-pagination-bullet-active {
  width: 25px;
  border-radius: 6px;
}
.hero-carousel .swiper-notification {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.section-heading {
  position: relative;
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
}
.section-heading h2 {
  margin: 0;
  color: #444;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}
.section-heading a {
  color: #1a57a1;
  font-size: 16px;
}
.section-heading a:hover {
  color: #0b3c80;
}
.section-background {
  position: absolute;
  z-index: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  object-fit: cover;
  pointer-events: none;
}
.section-content {
  position: relative;
  z-index: 1;
}
.news-focus {
  position: relative;
  padding: 0 0 80px;
  background: #fff;
  margin-top:50px;
}
.news-focus .section-background {
  top: 160px;
  height: 449px;
}
.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 440px);
  gap: 40px;
}
.news-card {
  height: 460px;
  background: #fff;
  overflow: hidden;
}
.news-card > a {
  display: block;
  height: 100%;
  color: inherit;
}
.news-card > a > img {
  display: block;
  width: 440px;
  height: 242px;
  object-fit: cover;
  background: #d3dfec;
}
.news-card-body {
  position: relative;
  height: 218px;
  padding: 15px 20px 0;
}
.news-card h3 {
  height: 52px;
  margin: 0;
  color: #424242;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  overflow: hidden;
}
.news-card p {
  height: 52px;
  margin: 11px 0 0;
  color: #777;
  font-size: 16px;
  line-height: 26px;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}
.news-card time {
  color: #2764b2;
  font-size: 16px;
  line-height: 28px;
}
.card-arrow {
  display: block;
  width: 39px;
  height: 39px;
  border: 1px solid #8eb1e7;
  border-radius: 50%;
  color: #5184cf;
  font-size: 23px;
  line-height: 35px;
  text-align: center;
}
.association-zone {
  padding: 43px 0 66px;
  background: #fff;
}
.association-layout {
  display: grid;
  grid-template-columns: 920px 440px;
  gap: 40px;
}
.association-main {
  min-width: 0;
}
.association-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}
.association-carousel {
  position: relative;
  width: 280px;
  height: 292px;
  overflow: hidden;
}
.association-carousel .swiper-wrapper {
  display: flex;
  height: 100%;
}
.association-carousel .swiper-slide {
  flex: 0 0 100%;
  width: 280px;
  height: auto;
}
.association-carousel .swiper-pagination {
  position: absolute;
  top: 14px;
  right: 0;
  bottom: auto;
  left: auto;
  display: flex;
  width: 4px;
  flex-direction: column;
  gap: 28px;
}
.association-carousel .swiper-pagination-bullet {
  display: block;
  width: 4px;
  height: 4px;
  margin: 0;
  border-radius: 0;
  background: #0c4da3;
  opacity: 1;
}
.association-carousel .swiper-pagination-bullet-active {
  background: #0c4da3;
}
.association-carousel .swiper-notification {
  position: absolute;
  top: auto;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.association-image {
  position: relative;
  width: 280px;
  height: 164px;
}
.association-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.association-image time {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 2px 9px;
  background: #0c4da3;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
}
.association-lead h3 {
  height: 52px;
  margin: 12px 0 0;
  color: #343434;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  overflow: hidden;
}
.association-lead p {
  height: 52px;
  margin: 10px 0 0;
  color: #777;
  font-size: 16px;
  line-height: 26px;
  overflow: hidden;
}
.news-list {
  padding-top: 2px;
  margin: 0;
  list-style: none;
  overflow: hidden;
}
.news-list li {
  position: relative;
  padding: 0 0 0 16px;
  color: #5e5e5e;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 15px;
      display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.news-list li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #1b5eaa;
}
.news-list a {
  flex: 1;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-list time {
  color: #3570bf;
  font-size: 16px;
  width: 75px;
  text-align: right;
}
.notice-box {
  border: 1px solid #9eb8dc;
  border-top: 3px solid #0c4da3;
  background: #fff;
}
.notice-tabs {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.notice-tabs button {
  height: 60px;
  margin-right: 25px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: #555;
  font-size: 26px;
  line-height: 60px;
  cursor: pointer;
}
.notice-tabs button.active {
  color: #444;
  font-weight: 700;
}
.notice-tabs > a {
  position: absolute;
  right: 16px;
  color: #1a57a1;
  font-size: 16px;
}
.notice-panel {
  display: none;
}
.notice-panel.active {
  display: block;
}
.notice-panel ul {
  margin: 0;
  padding: 10px 20px 0 20px;
  list-style: none;
}
.notice-panel li,.notice-panel li {
  position: relative;
  min-height: 71px;
  color: #555;
  font-size: 16px;
  line-height: 26px;
  display: flex;
}
.notice-panel li:last-child {
  border-bottom: 0;
}
.notice-panel li > time {
  color: #2764b2;
  font-size: 22px;
  padding-top:20px;
  line-height: 22px;
  width: 75px;
  border-right: 1px solid #dbe4f0;
}
.notice-panel li > time small {
  display: block;
  font-size: 13px;
  line-height: 17px;
}
.notice-panel li > a {
  display: block;
  flex: 1;
  padding-top: 15px;
  padding-left: 15px;
  border-bottom: 1px solid #dbe4f0;
  display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.notice-panel li:last-child>a{
    border-bottom: 0;
}
.download-icon {
  width: 75px;
  position: relative;
  border-right: 1px solid #dbe4f0;
}
.download-icon img {
  width: 30px;
  max-width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.academic-zone {
  position: relative;
  height: 551px;
  padding: 50px 0;
  background: #2876bd;
  color: #fff;
}
.academic-zone .section-background {
  top: 0;
  height: 551px;
}
.academic-zone .section-heading h2,
.academic-zone .section-heading a {
  color: #fff;
}
.academic-layout {
  display: grid;
  grid-template-columns: 920px 440px;
  gap: 40px;
}
.academic-list {
  padding-top: 12px;
  margin: 0;
  list-style: none;
}
.academic-list li {
  position: relative;
  height: 49px;
  padding-right: 77px;
  color: #fff;
  font-size: 18px;
  line-height: 49px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.academic-list li:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 13px;
  background: #fff;
  vertical-align: 3px;
}
.academic-list a {
  color: #fff;
}
.academic-list time {
  position: absolute;
  right: 0;
  font-size: 16px;
}
.academic-banners {
  padding-top: 8px;
}
.academic-banners a {
  display: block;
  width: 440px;
  height: 174px;
  margin-bottom: 26px;
}
.academic-banners img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-zone {
  padding: 70px 0 66px;
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 440px);
  gap: 40px;
}
.service-entry {
  position: relative;
  display: block;
  width: 440px;
  height: 251px;
  overflow: hidden;
  background: #164d94 url(2026twxh_news_03.png) center/cover no-repeat;
}
.service-entry:after {
  content: "";
  position: absolute;
  inset: 0;
}
.service-entry span {
  position: absolute;
  z-index: 1;
  left: 28px;
  top: 69px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}
.service-entry img {
  position: absolute;
  z-index: 1;
  left: 29px;
  top: 133px;
  width: 40px;
}
.science-zone {
  padding: 0 0 64px;
  background: #fff;
}
.science-zone .section-heading {
  height: 64px;
}
.science-grid {
  display: grid;
  grid-template-columns: 320px 320px 320px 320px;
  gap: 40px;
}
.science-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #09275d;
}
.science-item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.science-tall {
  height: 420px;
}
.science-stack {
  display: grid;
  grid-template-rows: 190px 190px;
  gap: 40px;
}
.science-stack .science-item {
  height: 190px;
}
.science-item span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 20px 15px 70px;
  background: rgba(0, 0, 0, 0.64);
  color: #fff;
  font-size: 18px;
  line-height: 26px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.science-item span::after{
  content: "";
  position: absolute;
  left: 10px;
  bottom: 15px;
  width: 46px;
  height: 46px;
  background:url(2026twxh_icon1.png) center center no-repeat;
  background-size: contain;
  transform:rotate(-45deg);
}
.science-item:hover span,
.science-item:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}
.links-zone {
  background: #f4f9fd;
  padding:50px 0;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 320px);
  gap: 40px;
  align-items: center;
}
.links-grid a {
  display: block;
  width: 320px;
  height: 106px;
}
.links-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-footer {
  min-height: 204px;
  background: url(2026twxh_footbg.png) left top repeat-x #0c4b9d;
  color: #fff;
  padding:15px 0;
}
.site-footer-inner {
  padding-top: 20px;
}
.site-footer-top {
  display: grid;
  min-height: 146px;
  grid-template-columns: 20% 60% 20%;
  align-items: start;
}
.footer-cas-logo a {
  display: block;
  width: 90%;
  max-width: 224px;
  padding: 10px;
}
.footer-cas-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-contact {
  padding-left: 30px;
  color: #fff;
  font-size: 13px;
}
.footer-contact h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
}
.footer-contact p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.65;
}
.footer-link-selects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.footer-link-selects label {
  min-width: 0;
}
.footer-link-select {
  display: block;
  width: 100%;
  height: 25px;
  margin: 0;
  padding: 1px 5px;
  border: 0;
  border-radius: 0;
  color: #707070;
  font-size: 13px;
  line-height: 23px;
  outline: none;
}
.footer-official-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding-top: 0;
}
.footer-official-links a {
  display: block;
  height: 120px;
}
.footer-official-links a:first-child {
  width: 56px;
  padding-top: 2px;
}
.footer-official-links a:last-child {
  width: 80px;
}
.footer-official-links img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 104px;
  object-fit: contain;
  object-position: top center;
}
.site-footer-bottom {
  height: 39px;
  border-top: 1px solid rgba(219, 233, 251, 0.65);
  color: #fff;
  font-size: 14px;
  line-height: 39px;
  text-align: center;
  padding-top: 5px;
}
.site-footer-bottom a {
  color: #fff;
}
.site-footer-bottom a:hover,
.site-footer-bottom a:focus-visible {
  color: #fca673;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-drawer-submenu {
  margin: 0;
  padding: 0 0 0 15px;
  background: #f3f7fc;
}
.nav-drawer-submenu li a {
  padding-left: 30px;
  color: #356292;
  font-size: 14px;
}
/* Fix legacy shared rules that hid the header utility link and overrode Swiper's flex track. */
.site-topbar-content {
  z-index: 2;
}
.return-link {
  display: block !important;
  z-index: 3;
}
.hero-carousel .swiper-wrapper {
  display: flex !important;
}
/* 内页公共模块 */
.inner-main {
  min-height: 700px;
  padding: 50px 0 70px;
  background: #fff;
}
.list-page-wrap {
  padding: 34px 42px;
  border: 1px solid #d5e0ef;
}
.list-page-top-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #0d4da3;
  padding-bottom: 15px;
}
.list-page-title {
  font-size: 26px;
  color: #194f96;
  font-weight: 700;
}
.list-page-items {
  margin-top: 10px;
}
.list-page-item {
  display: flex;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px dashed #d7e1ee;
}
.list-page-link {
  flex: 1;
}
.list-page-date {
  color: #7d93ad;
}
.list2-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}
.detail-page-wrap {
  border: 1px solid #d5e0ef;
  padding: 34px 48px;
}
.detail-headline {
  text-align: center;
  color: #244e83;
  font-size: 28px;
}
.detail-meta {
  text-align: center;
  margin: 14px 0 30px;
  color: #7e91a6;
}
.detail-content {
  font-size: 16px;
  line-height: 2;
  color: #444;
}
.detail-content p {
  margin-bottom: 18px;
  text-indent: 2em;
}

/* 轻量交互：保持内容可读，同时让图文有明确的悬浮反馈。 */
.news-card,
.association-image,
.academic-banners a,
.science-item,
.links-grid a {
  overflow: hidden;
}

.news-card img,
.association-image img,
.academic-banners img,
.science-item > img,
.links-grid img {
  transition: transform 0.5s ease;
}

.news-card:hover img,
.news-card:focus-within img,
.association-image:hover img,
.association-image:focus-within img,
.academic-banners a:hover img,
.academic-banners a:focus-visible img,
.science-item:hover > img,
.science-item:focus-visible > img,
.links-grid a:hover img,
.links-grid a:focus-visible img {
  transform: scale(1.05);
}

.news-list a,
.academic-list a,
.notice-panel a,
.service-entry span {
  transition: transform 0.25s ease;
}

.news-list li:hover a,
.news-list li:focus-within a,
.academic-list li:hover a,
.academic-list li:focus-within a,
.notice-panel li:hover a,
.notice-panel li:focus-within a,
.service-entry:hover span,
.service-entry:focus-visible span {
  transform: translateX(5px);
}

.news-card > a:focus-visible,
.association-lead a:focus-visible,
.academic-banners a:focus-visible,
.service-entry:focus-visible,
.science-item:focus-visible,
.links-grid a:focus-visible,
.news-list a:focus-visible,
.academic-list a:focus-visible,
.notice-panel a:focus-visible {
  outline: 3px solid #f4bd36;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos],
  [data-aos].aos-animate,
  .news-card img,
  .association-image img,
  .academic-banners img,
  .science-item > img,
  .links-grid img,
  .news-list a,
  .academic-list a,
  .notice-panel a,
  .service-entry span {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}
