/*--------------------------------------------------------------
# AICAS 2027 Custom Styles
--------------------------------------------------------------*/

/* Header layout */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Text-based logo (replaces the old AISM bitmap logo) */
.logo-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  padding: 6px 0;
}

.logo-text .logo-main {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: #185388;
}

.logo-text .logo-main b {
  color: #26855D;
  font-weight: 800;
}

.logo-text .logo-sub {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6E8093;
}

/* Keep the top-level dropdown labels white while hovering */
.nav-menu .menu-has-children > a {
  color: #185388;
}

/* Body copy */
#overview p {
  font-size: 16px;
  line-height: 1.85;
  color: #414B55;
  margin-bottom: 18px;
}

#overview p.lead-para {
  font-size: 18px;
  font-weight: 600;
  color: #185388;
}

/* Key facts strip */
.key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.key-fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #F4F8FB;
  border-left: 4px solid #26855D;
  border-radius: 6px;
  padding: 18px 20px;
}

.key-fact-icon {
  font-size: 22px;
  color: #185388;
  line-height: 1;
  margin-top: 3px;
}

.key-fact-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #185388;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.key-fact-body p {
  font-size: 15px;
  line-height: 1.5;
  color: #55606B;
  margin: 0;
}

/* Sponsors & Hosts cards */
.organizers-row {
  margin-top: 10px;
}

.organizer-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 28px 30px;
  height: 100%;
}

.organizer-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #185388;
  margin-bottom: 16px;
}

.organizer-card h3 i {
  color: #26855D;
  margin-right: 8px;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list li {
  font-size: 16px;
  color: #414B55;
  padding: 6px 0;
  border-bottom: 1px dashed #DDE5EC;
}

.plain-list li:last-child {
  border-bottom: 0;
}

/* Topic cards */
.theme {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 24px 26px;
  border-top: 3px solid #26855D;
  height: 100%;
}

.theme h3 {
  font-size: 18px;
  font-weight: 700;
  color: #185388;
  margin-bottom: 8px;
}

.theme p {
  font-size: 15px;
  line-height: 1.7;
  color: #55606B;
  margin: 0;
}

/*--------------------------------------------------------------
# LOGO section (home)
--------------------------------------------------------------*/
.logo-block {
  margin-bottom: 34px;
}

.logo-block:last-child {
  margin-bottom: 0;
}

.logo-block-title {
  font-size: 17px;
  font-weight: 700;
  color: #185388;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.logo-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 28px;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  padding: 16px 24px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* 三个 logo 视觉等高：统一用 height（而非 max-height），
   保证 IEEE / CAS / NIII 的图形高度完全一致，宽度按各自比例自适应 */
.logo-item img {
  height: 54px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* NIII 为整图 logo（校徽+ 字标），宽高比 4.42，
   等高后宽约 239px，用max-width 兜住避免撑破卡片 */
.logo-item-full img[src$="logo-niii.png"] {
  height: 54px;
  max-width: 280px;
}

/*--------------------------------------------------------------
# LOGO strip — 并入会议描述区块，不再单独成section
--------------------------------------------------------------*/
.logo-strip {
  margin-top: 52px;
  padding-top: 38px;
  border-top: 1px solid #DDE5EC;
}

.logo-strip .logo-block-title {
  font-size: 15px;
  color: #5B6B7A;
  margin-bottom: 14px;
}

/*--------------------------------------------------------------
# News panel (home, right sidebar column)
   纵向列表 + 时间轴样式，便于持续追加新条目：
   新增新闻只需在 .news-list 里加一个 <li class="news-row">
--------------------------------------------------------------*/
.news-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 20px 22px 16px 22px;
  /* 与左侧会议描述顶端对齐，并留出呼吸空间 */
  margin-top: 0;
  position: sticky;
  top: 100px;
}

.news-panel-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #DDE5EC;
}

.news-panel-head h2 {
  font-size: 19px;
  font-weight: 700;
  color: #185388;
  margin: 0 0 4px 0;
  line-height: 1;
}

.news-panel-head p {
  font-size: 12px;
  color: #5B6B7A;
  margin: 0;
  line-height: 1.5;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 紧凑条目：日期与标签同一行，正文小字，靠分隔线区分 */
.news-row {
  padding: 11px 0;
  border-bottom: 1px dashed #DDE5EC;
}

.news-row:last-child {
  border-bottom: 0;
}

.news-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.news-row-date {
  font-size: 11px;
  color: #7C8B99;
}

.news-row-date i {
  margin-right: 4px;
}

.news-row-tag {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #185388;
  background: #EAF1F9;
  border-radius: 2px;
  padding: 1px 6px;
}

.news-row-tag-green {
  color: #26855D;
  background: #EAF5EE;
}

.news-row p {
  font-size: 13px;
  line-height: 1.6;
  color: #414B55;
  margin: 0;
}

.news-panel-more {
  margin: 12px 0 0 0;
  padding-top: 10px;
}

.news-panel-more a {
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #26855D;
}

.news-panel-more a i {
  margin-left: 5px;
  font-size: 11px;
}

.news-panel-more a:hover {
  color: #185388;
}

/*--------------------------------------------------------------
# Important Dates — 横向时间轴（首页）
   版式参考常见会议时间轴：
     日期(上，灰色小字) →●═══横线════● → 标签(下，蓝色粗体)
--------------------------------------------------------------*/
#important-dates {
  padding: 74px 0 78px 0;
}

#important-dates .section-header {
  margin-bottom: 0;
}

.dates-track {
  display: flex;
  position: relative;
  margin: 0 auto;
  max-width: 1140px;
  /* 顶部留白：容纳一行日期 */
  padding: 22px 0 0 0;
}

/* 贯穿的横线：绝对定位在 track 上
   y = padding-top(22) + 日期高(30) + 呼吸(10) = 62 */
.dates-track::before {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  top: 62px;
  height: 2px;
  background: #DDE5EC;
}

.dates-item {
  flex: 1 1 0;
  position: relative;
  padding: 0 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 节点圆点：压在横线上。
   注意基准 —— .dates-item 的坐标原点已被 track 的 padding-top 推下 22px，
   所以圆点 top 要减掉这 22px：(62 - 22) - 7 = 33，
   否则圆点会比横线低 20px。 */
.dates-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 33px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #26855D;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #26855D;
}

/* 日期：在绿点上方，灰色小字，固定高度保证各条目横向对齐 */
.dates-item-date {
  display: block;
  height: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #5B6B7A;
  white-space: nowrap;
  line-height: 30px;
}

/* 标签：在绿点下方，蓝色粗体，固定高度（容纳两行）保证对齐 */
.dates-item-label {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #185388;
  line-height: 1.45;
  /* 固定高度：一行/两行标签占同样空间 → 上下整齐 */
  height: 46px;
  margin-top: 22px;
}

/* 窄屏（平板/手机）改为纵向，避免日期换行 */
@media (max-width: 991px) {
  .topics-list {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 13px;
  }

  #important-dates {
    padding: 56px 0 60px 0;
  }

  .dates-track {
    flex-direction: column;
    padding-top: 0;
    padding-left: 26px;
  }

  .dates-track::before {
    left: 6px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 2px;
    height: auto;
  }

  .dates-item {
    padding: 0 0 28px 0;
    text-align: left;
    align-items: flex-start;
  }

  /* 窄屏：圆点落在标签下方左侧，标签移到圆点下面 */
  .dates-item::before {
    left: -27px;
    top: auto;
    bottom: 6px;
    transform: none;
  }

  .dates-item-date {
    height: auto;
    margin-bottom: 14px;
    text-align: left;
  }

  .dates-item-label {
    height: auto;
    margin-top: 0;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }
}

/*--------------------------------------------------------------
# Attraction cards (About Hangzhou)
--------------------------------------------------------------*/
.attractions {
  margin-top: 8px;
}

.attraction-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.attraction-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: #DCE9F5;
}

.attraction-card-body {
  padding: 20px 22px 24px 22px;
  flex: 1;
}

.attraction-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #185388;
  margin: 0 0 8px 0;
}

.attraction-card-body h3 i {
  color: #26855D;
  margin-right: 8px;
}

.attraction-card-body p {
  font-size: 15px;
  line-height: 1.75;
  color: #55606B;
  margin: 0;
}

/* 图片来源说明 */
.attraction-source {
  font-size: 13px;
  color: #5B6B7A;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px dashed #DDE5EC;
}

.attraction-source a {
  color: #26855D;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Topics list (verbatim text, no re-writing)
   两栏陈列：用 CSS Grid 而非 multi-column。
   multi-column 按内容高度自动分配，第 1 条与第 6 条会错开；
   Grid 共享行，1↔6 / 2↔7 / 3↔8 / 4↔9 / 5↔10 同行等高 → 严格对齐。
--------------------------------------------------------------*/
.topics-list {
  list-style: none;
  counter-reset: topic;
  padding: 0;
  margin: 0 auto;
  max-width: 1140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* column-flow：li1~5 依次填满左列，li6~10 填右列，
     保持与单栏时相同的编号阅读顺序（1-5 上，6-10 下） */
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 13px 30px;
}

.topics-list li {
  counter-increment: topic;
  position: relative;
  background: #fff;
  border-radius: 6px;
  border-left: 4px solid #26855D;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  padding: 16px 20px 16px 62px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  /* 同行的条目拉伸到相同高度，视觉整齐 */
  display: flex;
  align-items: center;
}

.topics-list li::before {
  content: counter(topic);
  position: absolute;
  left: 20px;
  /* li 改为 flex 垂直居中后，圆点也居中，文字一行为中心、两行为中心 */
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #185388;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 32px;
  text-align: center;
}

/*--------------------------------------------------------------
# Hero banner (home)
--------------------------------------------------------------*/
#intro {
  background: #123C63 url(../img/aicas-hero-bg.jpg) center center no-repeat;
  background-size: cover;
  position: relative;
  height: 560px;
}

#intro .hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  /* 遮罩刻意做得很轻，保证雷峰塔/西湖/远山清晰可见；
     仅在文字区（左中）稍加深以保证白色标题可读 */
  background:
    radial-gradient(52% 82% at 28% 52%, rgba(8, 28, 52, 0.72) 0%, rgba(8, 28, 52, 0.34) 55%, rgba(8, 28, 52, 0) 100%),
    linear-gradient(180deg, rgba(10, 38, 66, 0.3) 0%, rgba(10, 38, 66, 0.05) 40%, rgba(8, 26, 48, 0.34) 100%);
}

#intro .hero-inner {
  width: 100%;
}

#intro .hero-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 76px;
  line-height: 1;
  color: #fff;
  margin: 0 0 18px 0;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(4, 16, 32, 0.75), 0 6px 28px rgba(4, 16, 32, 0.55);
}

#intro .hero-title .hero-year {
  color: #7BC950;
}

#intro .hero-full-name {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.45;
  color: #DCE9F5;
  margin: 0 0 14px 0;
  max-width: 640px;
  text-shadow: 0 1px 5px rgba(4, 16, 32, 0.8), 0 3px 16px rgba(4, 16, 32, 0.6);
}

#intro .hero-theme {
  font-size: 19px;
  font-style: italic;
  color: #A9D6B0;
  margin: 0 0 26px 0;
  text-shadow: 0 1px 5px rgba(4, 16, 32, 0.8), 0 3px 16px rgba(4, 16, 32, 0.6);
}

#intro .hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

#intro .hero-meta i {
  color: #7BC950;
  margin-right: 6px;
}

#intro .hero-meta .hero-sep {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7BC950;
  display: inline-block;
}

/*--------------------------------------------------------------
# Inner page banner
--------------------------------------------------------------*/
.page-banner {
  background: linear-gradient(rgba(10, 43, 71, 0.88), rgba(24, 83, 136, 0.82)), url(../img/venue-info-bg.jpg) center center;
  background-size: cover;
  padding: 90px 0;
  color: #fff;
  text-align: center;
}

.page-banner h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
}

.page-banner p {
  font-size: 17px;
  margin: 0;
  opacity: 0.92;
}

/*--------------------------------------------------------------
# Inner page content
--------------------------------------------------------------*/
.page-body {
  padding: 70px 0;
}

.page-body p {
  font-size: 16px;
  line-height: 1.85;
  color: #414B55;
}

.content-title {
  font-size: 26px;
  font-weight: 700;
  color: #185388;
  margin: 40px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #26855D;
}

.content-title:first-child {
  margin-top: 0;
}

.info-card {
  background: #F4F8FB;
  border-left: 4px solid #005BAC;
  border-radius: 6px;
  padding: 22px 26px;
  margin: 24px 0;
}

.info-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #185388;
  margin: 0 0 8px 0;
}

.info-card p,
.info-card address {
  font-size: 16px;
  line-height: 1.75;
  color: #414B55;
  margin: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.75;
  color: #414B55;
}

.check-list li::before {
  content: "\f058";
  position: absolute;
  left: 0;
  top: 0;
  font-family: FontAwesome;
  color: #26855D;
}

/*--------------------------------------------------------------
# "To be updated soon" placeholder
--------------------------------------------------------------*/
.tbu-wrap {
  text-align: center;
  padding: 40px 20px 20px 20px;
}

.tbu-badge {
  display: inline-block;
  background: #EAF5EE;
  color: #1E6B45;
  border: 1px solid #C3E4CF;
  border-radius: 50px;
  padding: 8px 22px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}

.tbu-icon {
  font-size: 46px;
  color: #B4C3D1;
  margin-bottom: 18px;
}

.tbu-title {
  font-size: 26px;
  font-weight: 700;
  color: #185388;
  margin-bottom: 12px;
}

.tbu-text {
  font-size: 17px;
  color: #5B6B7A;
  max-width: 560px;
  margin: 0 auto;
}

.tbu-contact {
  margin-top: 22px;
  font-size: 16px;
  color: #414B55;
}

.tbu-contact a {
  color: #26855D;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Contact info cards
--------------------------------------------------------------*/
.contact-block {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 28px 26px;
  height: 100%;
  text-align: center;
}

.contact-block i {
  font-size: 30px;
  color: #26855D;
  margin-bottom: 12px;
  display: block;
}

.contact-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: #185388;
  margin-bottom: 8px;
}

.contact-block p,
.contact-block address {
  font-size: 16px;
  line-height: 1.7;
  color: #414B55;
  margin: 0;
}

.contact-block a {
  color: #26855D;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Organizing committee list
--------------------------------------------------------------*/
.committee-container {
  max-width: 1000px;
  margin: 0 auto;
}

.committee-section {
  background: #F4F8FB;
  border-left: 4px solid #005BAC;
  border-radius: 6px;
  padding: 22px 26px;
  margin-bottom: 20px;
}

.committee-section.chair {
  background: #EAF2F9;
  border-left-color: #185388;
}

.committee-section h3 {
  font-size: 19px;
  font-weight: 700;
  color: #185388;
  margin: 0 0 12px 0;
}

.committee-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.committee-section li {
  font-size: 16px;
  line-height: 1.8;
  color: #414B55;
  padding: 4px 0;
}

.committee-section li span {
  color: #5B6B7A;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Speakers page
--------------------------------------------------------------*/
.speakers-note {
  font-size: 17px;
  color: #55606B;
  margin-bottom: 24px;
}

/*--------------------------------------------------------------
# Responsive tweaks
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .logo-text .logo-main {
    font-size: 19px;
  }

  .logo-text .logo-sub {
    font-size: 9px;
  }

  .logo-item-full img[src$="logo-niii.png"] {
    height: 42px;
    max-width: 100%;
  }

  .logo-item img {
    height: 42px;
  }

  .logo-row {
    gap: 18px;
  }

  .attraction-card-body {
    padding: 16px 18px 20px 18px;
  }

  .news-panel {
    padding: 16px 18px 14px 18px;
  }

  .news-panel-head h2 {
    font-size: 18px;
  }

  #intro {
    height: auto;
  }

  #intro .hero-overlay {
    position: relative;
    padding: 70px 0;
  }

  #intro .hero-title {
    font-size: 46px;
  }

  #intro .hero-full-name {
    font-size: 18px;
  }

  #intro .hero-theme {
    font-size: 16px;
  }

  #intro .hero-br {
    display: none;
  }

  .page-banner {
    padding: 60px 0;
  }

  .page-banner h1 {
    font-size: 30px;
  }

  .page-body {
    padding: 46px 0;
  }
}

/*==============================================================
# Brand Theme Overrides
   色板取自 IEEE / CAS / Beihang(NIII) 官方 logo：
   --ieee-blue   #185388IEEE 标志蓝
   --niii-blue   #005BAC   北航院徽蓝（更亮，用于次级强调）
   --cas-green   #26855D   CAS 标志深绿
   --cas-lime    #7BC950   CAS 标志渐变亮绿
   本节覆盖原AISM 模板 style.css 里的橙色(#ffa500)与玫红(#f82249)，
   使全站（含导航、页脚、表单、页头）统一到蓝绿体系。
============================================================== */
:root {
  --ieee-blue: #185388;
  --niii-blue: #005BAC;
  --cas-green: #26855D;
  --cas-lime: #7BC950;
  --ink: #414B55;
}

/* --- 全局链接 --- */
a {
  color: var(--ieee-blue);
}

a:hover,
a:active,
a:focus {
  color: var(--cas-green);
}

/* --- 顶栏：改为白底+ 蓝色细下边线，导航文字用 IEEE 蓝 --- */
#header,
#header.header-scrolled,
#header.header-fixed {
  background: #fff;
  box-shadow: 0 2px 14px rgba(24, 83, 136, 0.12);
}

#header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ieee-blue) 0%, var(--niii-blue) 45%, var(--cas-green) 100%);
}

.nav-menu a {
  color: var(--ieee-blue);
}

.nav-menu .menu-has-children > a {
  color: var(--ieee-blue);
}

.nav-menu .menu-active > a,
.nav-menu > li > a:hover {
  color: var(--cas-green);
}

/* 下拉子菜单必须显式指定颜色。
   模板 style.css 里 `.nav-menu .menu-active a` / `.nav-menu a:hover`
   是后代选择器，会连子菜单项一起染成白色；顶栏改白底后就成了白底白字。
   这里用 `.nav-menu .menu-active ul a` 提升优先级强制深色，
   二级子菜单（ul ul）同样处理。 */
.nav-menu ul li a,
.nav-menu .menu-active ul li a,
.nav-menu .menu-active ul ul li a {
  color: #26333F;
}

.nav-menu ul li a:hover,
.nav-menu .menu-active ul li a:hover {
  color: #fff;
}

/* 导航下划线 / 面包屑 */
.nav-menu > li > a:before {
  background-color: var(--cas-green);
}

.nav-menu ul li:hover > a {
  background: var(--ieee-blue);
  color: #fff;
}

.nav-menu ul ul li a {
  color: #26333F;
}

.nav-menu ul ul li:hover > a {
  background: var(--cas-green);
  color: #fff;
}

/* --- 回到顶部按钮 --- */
.back-to-top {
  background: var(--ieee-blue);
}

.back-to-top:hover,
.back-to-top:focus {
  background: var(--cas-green);
}

/* --- 区块标题下方短线 --- */
.section-header::before {
  background: linear-gradient(90deg, var(--ieee-blue) 0%, var(--cas-green) 100%);
}

/* --- 带背景区块 --- */
.section-with-bg {
  background-color: #F1F6FB;
}

/* --- 页脚：深蓝底 + 绿色点缀 --- */
#footer {
  background: #0C2135;
}

#footer .footer-top {
  background: #0A2B47;
}

#footer .footer-top h4 {
  border-bottom: 2px solid var(--cas-green);
}

#footer .footer-top .footer-links ul i {
  color: var(--cas-lime);
}

#footer .footer-top .footer-links ul li a {
  color: #C7D6E4;
}

#footer .footer-top .footer-links ul li a:hover {
  color: #fff;
}

#footer .footer-top .social-links a:hover {
  background: var(--cas-green);
}

#footer .footer-top .footer-newsletter input[type="email"] {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

#footer .footer-top .footer-newsletter input[type="submit"] {
  background: var(--cas-green);
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
  background: var(--cas-lime);
}

/* --- 移动端侧边导航 --- */
#mobile-nav {
  background: rgba(10, 43, 71, 0.94);
}

#mobile-nav ul li a:hover,
#mobile-nav ul .menu-item-active,
#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: var(--cas-lime);
}

#mobile-nav-toggle i {
  color: var(--ieee-blue);
}

body.mobile-nav-active #mobile-nav-toggle {
  color: var(--cas-lime);
}

/* --- 通用按钮 / 提交按钮 --- */
#subscribe button,
#contact .form button[type="submit"] {
  background: var(--ieee-blue);
}

#subscribe button:hover,
#contact .form button[type="submit"]:hover {
  background: var(--cas-green);
}

#contact .form #sendmessage {
  color: var(--cas-green);
  border: 1px solid var(--cas-green);
}

#contact .contact-info a {
  color: var(--ieee-blue);
}

#contact .contact-info a:hover {
  color: var(--cas-green);
}

.download-button {
  background-color: var(--ieee-blue);
}

.download-button:hover {
  background-color: var(--cas-green);
}