body {
  font-family: "FZLanTingHei-L-GB", "方正兰亭黑长简体", "Microsoft YaHei", "微软雅黑", "heiti tc", "Roboto Sans", Helvetica, Arial, sans-serif;
  background: #FFF3FA;
  color: #36547F;
  margin: 0;
}

/* html, body { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; } */

h1, h2, h3 {
  color: #36547F;
}

/* Header */
.site-header {
  background: #FFF3FA;
  /*position: sticky;*/
  /*top: 0;*/
  /*z-index: 1000;*/
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 17px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand .logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.brand .custom-logo-link img {
  height: 40px;
  width: auto;
  display: block;
}

.site-title {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: #1F4164;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  border: 0;
  background: #FFF3FA;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #1F4164;
  margin: 3px 0;
}

.primary-nav .menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.primary-nav .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #FFF3FA;
}

.primary-nav .menu > li > a {
  color: #36547F;
  text-decoration: none;
  font-weight: 600;
  font-size: 21px;
  display: inline-block;
}

.primary-nav .menu > li > a:hover {
  position: relative;
}

.primary-nav .menu > li > a:hover:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 5px;
  background: #FFACD2;
  border-radius: 2px;
}

.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current_page_item > a,
.primary-nav .menu > li.current-menu-parent > a,
.primary-nav .menu > li.current-menu-ancestor > a,
.primary-nav .menu > li.current-page-ancestor > a,
.primary-nav .menu > li > a:focus {
  position: relative;
}

.primary-nav .menu > li.current-menu-item > a:after,
.primary-nav .menu > li.current_page_item > a:after,
.primary-nav .menu > li.current-menu-parent > a:after,
.primary-nav .menu > li.current-menu-ancestor > a:after,
.primary-nav .menu > li.current-page-ancestor > a:after,
.primary-nav .menu > li.is-active > a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 5px;
  background: #FFACD2;
  border-radius: 2px;
}

.primary-nav .menu > li { position: relative; }

/* Dropdowns */
.menu .sub-menu {
  display: none;
  position: absolute;
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(31, 65, 100, 0.12);
  min-width: 130px;
  top: calc(100% + 16px);
  margin-top: 0;
  z-index: 1000;
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu,
.menu li > a:hover + .sub-menu,
.menu li > a:focus + .sub-menu {
  display: block;
}

.menu .sub-menu li a {
  display: block;
  padding: 16px 12px;
  text-decoration: none;
  white-space: nowrap;
  background-color: #FFF3FA;
  border-radius: 8px;
}

.submenu-toggle {
  display: none;
}

/* Desktop Mega Menu */
@media (min-width: 1025px) {
  .nav-close {
    display: none;
  }
  
  .menu .sub-menu li a { 
    padding: 0 !important; 
    background: transparent; 
    border-radius: 0; 
    display: inline; 
    white-space: normal; 
  }
  
  .menu .sub-menu li a:hover { 
    background: transparent; 
    text-decoration: underline; 
    text-decoration-color: #FFACD2; 
  }
  
  .menu > li { position: static; }

  .primary-nav .menu > li::after { 
    content: ""; 
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: -18px; 
    height: 18px; 
    pointer-events: auto; 
  }

  .menu > li > .submenu-level-1 {
    display: none !important;
    position: absolute;
    left: -25%;
    right: auto;
    top: calc(100% + 20px);
    margin-top: 0;
    background: #ffffff;
    border-radius: 10px;
    padding: 24px 32px 28px;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 10px;
    width: auto;
    max-width: none;
    position: absolute;
    align-content: start;
    grid-auto-rows: auto;
    border: 1px solid #FFACD2;
  }

  .menu > li > .submenu-level-1::after {
    content: "";
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 2px dashed #FFACD2;
  }

  .menu > li > .submenu-level-1::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    pointer-events: auto;
  }

  .menu > li:hover > .submenu-level-1,
  .menu > li:focus-within > .submenu-level-1,
  .menu > li > .submenu-level-1:hover { 
    display: grid !important; 
  }

  .submenu-level-1 > li { 
    position: static; 
    width: auto; 
    display: contents; 
  }

  .submenu-level-1 > li > a {
    display: block;
    padding: 0 0 12px;
    background: transparent;
    color: #BA6089;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    white-space: normal;
    grid-row: 1;
  }
  
  .submenu-level-1 > li > a:hover { 
    color: #BA6089;
  }

  .submenu-level-1 > li > .sub-menu {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 5px 0 0;
    margin: 0;
    gap: 20px;
    border-top: none;
    grid-row: 3;
  }
  
  .submenu-level-1 > li > .sub-menu > li > a {
    display: inline-block;
    padding: 0;
    background: transparent;
    color: #36547F;
    font-weight: 600;
    font-size: 18px;
    white-space: normal;
  }
  
  .submenu-level-1 > li > .sub-menu > li > a:hover {
    color: #8F3A68;
    text-decoration: underline;
    text-decoration-color: #FFACD2;
  }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  align-items: center;
  gap: 5px;
  background: #ffffff;
  padding: 4px;
  border-radius: 50px;
}

.lang-switch .lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: #BA6089;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}

.lang-switch .lang-btn.is-active {
  width: 27px;
  height: 27px;
  border-radius: 100%;
  background: #FFACD2;
  color: #8F3A68;
  margin: 0 5px;
}

.header-search form {
  position: relative;
}

.header-search .search-input {
  width: 100%;
  max-width: 173px;
  height: 33px;
  border-radius: 18px;
  border: 0;
  background: #ffffff;
  padding: 0 40px 0 16px;
  color: #36547F !important;
  letter-spacing: 1px;
}

.header-search .search-input::placeholder {
  color: #FFACD2;
  opacity: 1;
}

.header-search .search-submit {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.header-search .search-submit img {
  width: 20px;
  height: 20px;
  filter: hue-rotate(310deg) saturate(2);
}

.mobile-actions {
  display: none;
}

/* Footer */
.site-footer {
  background: #9BBEFE;
  padding: 10px 0;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-left .copyright {
  margin: 0;
  color: #36547F;
  font-size: 16px;
  font-weight: 600;
}

.footer-right .social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links .social-link {
  color: #36547F;
  text-decoration: none;
  font-size: 29px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.social-links .social-link:hover {
  color: #36547F;
}

.social-links .social-link:hover:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #36547F;
}

.social-links .separator {
  color: #36547F;
  font-size: 29px;
  font-weight: 600;
}

/* Layout */
.box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Hero Banner */
#hero {
  --hero-left: 55%;
  --hero-right: 45%;
  padding-top: 43px;
  padding-bottom: 60px;
  background: url('/wp-content/themes/analyst/assets/img/banner_index.webp') center/cover no-repeat;
  box-shadow: 0 8px 10px -11px rgba(0, 0, 0, 0.78);
  position: relative;
  z-index: 1;
}

.hero .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-left { 
  flex: 0 0 var(--hero-left); 
  max-width: var(--hero-left); 
}

.hero-right { 
  flex: 0 0 var(--hero-right); 
  max-width: var(--hero-right); 
}

.hero-right img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-left { 
  color: #ffffff; 
}

.hero-eyebrow {
  color: #8F3A68;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.hero-title {
  font-size: 40px;
  line-height: 1.25;
  margin: 0 0 16px 0;
  color: #36547F;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px 0;
  color: #36547F;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 22px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.btn-primary { 
  background: #FFACD2; 
  color: #8F3A68; 
}

.btn-ghost { 
  background: #ffffff; 
  color: #BA6089; 
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #BA6089;
  background: transparent;
  color: #BA6089;
  font-weight: 600;
  letter-spacing: .2px;
  font-size: 16px;
}

.hero-list { 
  list-style: none; 
  margin: 27px 0 27px; 
  padding: 0; 
  display: grid; 
  gap: 25px;
  letter-spacing: 0.2px;
}

.hero-item { 
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-item .icon { 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-item .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-item .text { 
  font-size: 20px; 
  line-height: 1.3; 
  font-weight: 700; 
  color: #ffffff; 
  text-align: left;
}

.hero-actions { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-top: 18px; 
}

.hero-actions .btn-primary { 
  background: #9BBEFE; 
  color: #36547F; 
}

.hero-actions .btn,
.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  font-size: 14px;
  background: #9BBEFE;
  color: #36547F;
}

.hero-actions .btn:hover,
.hero-actions .btn-primary:hover,
.hero-actions .btn-ghost:hover {
  background: #7EA8FD;
}

/* Hero 统计卡片 */
.hero-stats { 
  margin-top: 40px; 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0,1fr)); 
  gap: 30px; 
}

.stat-card {
  background: rgba(255,255,255,.28);
  border: 1px solid #9BBEFE;
  border-radius: 8px;
  padding: 22px 10px;
  text-align: center;
  color: #36547F;
}

.stat-value { 
  font-size: 35px; 
  font-weight: 600; 
  color: #36547F; 
  letter-spacing: .5px; 
}

.stat-label { 
  font-weight: 600;
  margin-top: 3px; 
  font-size: 12px; 
  color: rgba(54,84,127,.95); 
}

/* Weekly Snapshot Section */
.weekly-snapshot {
  padding: 60px 0 0 0;
  background: #ffffff;
}

/* Video Hub */
.video-hub { padding: 60px 0; }
.video-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: stretch; }
.video-main iframe, .video-main video { width: 100%; height: 100%; max-height: 726px; border: 0; border-radius: 12px; display: block; }
.video-placeholder { position: relative; height: 434px; background: #EEE; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; }
.video-play-btn { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(186,96,137,.9); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.video-play-btn::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%,-50%); width: 0; height: 0; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }

.video-side { height: 100%; }
.video-side-card { box-sizing: border-box;background: #FFEFF6; border-radius: 18px; padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.08); height: 100%; display: flex; flex-direction: column; }
.video-side-title { margin: 0 0 12px; font-size: 28px; color: #36547F; display: flex; align-items: center; gap: 8px; }
.video-side-title::after { content: ""; display: block; width: 70px; height: 6px; background: #BA6089; border-radius: 3px; margin-left: 10px; }

.video-links { list-style: disc; padding-left: 22px; margin: 10px 0 18px; color: #BA6089; }
.video-link { color: #BA6089; text-decoration: none; font-weight: 600; font-size: 18px; }
.video-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.video-link-item + .video-link-item { margin-top: 10px; }

.video-more-btn { display: inline-flex; align-items: center; background:#BA6089; color:#fff; padding:8px 16px; border-radius: 16px; text-decoration: none; font-weight:600; font-size:14px; }
.video-more-btn:hover { background:#9a4f73; }

/* Category Tabs */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #BA6089;
  color: #BA6089;
  background: white;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  transition: all .2s ease;
}

button.category-tab,
a.category-tab { cursor: pointer; }

.category-tab:hover { 
  /* background: rgba(186,96,137,0.08); */
}

.category-tab.is-active {
  background: #BA6089;
  color: #ffffff;
  border-color: #BA6089;
}

/* Market Insights - Post Cards */
.mi-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-top: 46px;
  min-height: 360px; /* 稳定容器高度，避免切换抖动 */
  overflow-anchor: none; /* 关闭滚动锚定 */
}

.mi-card {
  position: relative;
  border: 1px solid #D3D3D3;
  border-radius: 16px;
  background: white;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  min-height: 360px;
}

.mi-card__media {
  position: relative;
  width: 75%;
  padding: 20px;
  margin-left: auto; /* 将图片区域靠右 */
}

.mi-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.mi-card__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #BA6089;
  font-weight: 600;
  font-size: 38px;
  padding: 12px 80px;
  text-decoration: none;
  margin: 0 20px;
}

.mi-card__info {
  position: absolute; /* 绝对定位在卡片左侧 */
  left: 0;
  top: 20%;
  width: 25%;
  background: #FFACD2;
  color: #36547F;
  border-radius: 12px;
  padding: 25px 16px;
  z-index: 2;
}

.mi-card__info::before,
.mi-card__info::after { content: none; }

.mi-card__date {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #8F3A68;
  font-size: 18px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px dashed rgba(186,96,137,.7);
}

.mi-card__date-icon { width: 20px; height: 20px; display: inline-block; object-fit: contain; }

.mi-card__excerpt {
  font-size: 24px;
  font-weight: 600;
  color: #36547F;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #BA6089;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(186, 96, 137, 0.3);
}

.back-to-top:hover {
  background: #a04d73;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(186, 96, 137, 0.4);
}


.mi-card__divider { height: 0; border-top: 2px dashed rgba(186,96,137,.7); margin: 12px 0; }

.mi-card__risk {
  font-size: 14px;
  color: #BA6089;;
}


.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #36547F;
  margin: 0 0 40px 0;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 60px;
  height: 6px;
  background: #BA6089;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background: #FFF3FA;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding: 20px;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-category {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid #BA6089;
  background: transparent;
  color: #BA6089;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 10px;
  padding-left: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.article-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.article-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  text-align: left;
}

.article-title a{
  font-size: 20px;
  font-weight: 600;
  color: #BA6089;
  margin: 0;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  line-height: 1.4;
  max-height: calc(1.4em * 2);
  min-height: calc(1.4em * 2);
}
#um-recommended .article-title a {
  /* max-height: none;
  min-height: auto; */
}
.article-title a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-excerpt {
  font-size: 16px;
  color: #36547F;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: calc(1.6em * 2);
  min-height: calc(1.6em * 2);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #BA6089;
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  letter-spacing: 0.3px;
}

#um-recommended .read-more-btn {
  width: 93%;
  font-size: 14px;
}

.read-more-btn:hover {
  background: #FF9BC7;
}

/* Community Cards */
.community-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.community-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 24px 24px 10px;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.card-header {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 3;
}

.platform-label {
  display: inline-block;
  background: #BA6089;
  color: white;
  padding: 15px 20px 7px 20px;
  border-radius: 0px 0 5px 0;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  position: relative;
}

/* Post title link: no underline, keep color */
.post-title a { text-decoration: none; color: inherit; }
.post-title a:hover { text-decoration: none; color: inherit; }

.card-content {
  text-align: center;
}

.profile-image {
  position: relative;
  width: 136px;
  height: 136px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image img {
  width: 100%;
  height: auto;
}
/* About Section */
.about-section { padding: 60px 0 40px; background: #ffffff; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; background: #ffffff; border-radius: 16px; box-shadow: 0 6px 22px rgba(0,0,0,.08); transition: transform 0.3s ease, box-shadow 0.3s ease; padding: 40px 20px; }

.about-visual { position: relative; }
.about-image { position: relative; margin: 0; }
.about-image img { width: 100%; height: auto; display: block; }

.about-content { padding: 0; }
/* 使用全站的 .section-title 样式：补充右侧横线效果 */
.about-block > .section-title { margin-bottom: 12px; }
.about-block > .section-title::after { width: 70px; height: 6px; background: #BA6089; }

.about-list { list-style: none;  padding: 0; display: grid; gap: 8px; color: #BA6089; font-weight: 700; }
.about-item { font-size: 18px;display: flex; align-items: center; gap: 10px; }
.about-icon { display: inline-flex; align-items: center; justify-content: center; }
.about-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.about-quote p{font-size: 18px;line-height: 1.5;}
.about-divider { height: 0; border-top: 2px dashed #BA6089; background: transparent; margin: 16px 0 18px; }

.about-quote { background: #FFF3FA; color: #BA6089; font-weight: 700; padding: 5px 18px; border-radius: 14px; display: inline-block; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.about-btn { display: inline-flex; margin-top: 14px; background: #BA6089; color: #fff; text-decoration: none; padding: 6px 16px; border-radius: 16px; font-weight: 700; }


/* Contact Section */
.contact-section { padding: 40px 0 80px; background: #ffffff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; background: #ffffff; border-radius: 16px; box-shadow: 0 6px 22px rgba(0,0,0,.08); transition: transform 0.3s ease, box-shadow 0.3s ease; padding: 40px; }
.contact-visual img { width: 100%; height: auto; display: block; border-radius: 14px; }

.contact-form-wrap { padding-right: 10px; }
.contact-form { display: grid; gap: 20px; margin-top: 6px; }
.contact-field { display: grid; gap: 8px; }
.contact-field .field-head { display: flex; align-items: center; gap: 10px; color: #BA6089; font-weight: 600; font-size: 22px; }
.contact-field .field-icon {  display: inline-flex; align-items: center; justify-content: center; }
.contact-field .field-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.contact-field input { padding-left:10px;width: 100%; border: 1px solid #BA6089; background: #ffffff; outline: 0; height: 44px; font-size: 18px; color: #36547F; border-radius: 24px; }
.contact-field input::placeholder { color: #BA6089; opacity: .7; }

.contact-submit { align-self: start; justify-self: end; display: inline-flex; padding: 8px 18px; background: #BA6089; color: #ffffff; border: 0; border-radius: 18px; font-weight: 700; cursor: pointer; }
.contact-submit:hover { background: #9a4f73; }
.contact-result { margin-top: 8px; color: #8F3A68; font-weight: 600; }


/* Media Queries */
/* Common responsive: 1400 */
@media (max-width: 1400px) {
  /*.menu .sub-menu{*/
  /*  max-width: 150px !important;*/
  /*}*/
}
/* Common responsive: 1200 */
@media (max-width: 1200px) {
  .primary-nav .menu > li > a { font-size: 16px; }
  .submenu-level-1 > li > a { font-size: 16px; }
  .submenu-level-1 > li > .sub-menu > li > a { font-size: 16px; }
  .primary-nav .menu { gap: 25px; }
  .box { padding: 0 10px; }
  .menu > li > .submenu-level-1 {
    padding: 20px 20px 20px;
  }
  /* Video Hub */
  .video-grid { grid-template-columns: 1fr; }
  .video-side-card { margin-top: 10px; }
  /* MI cards */
  .mi-card__title { font-size: 20px; }
  .mi-card__info { padding: 10px 16px; }
}

@media (max-width: 1024px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-side-card { margin-top: 10px; }
  .site-header { padding: 0 10px; }
  .brand .logo-img { width: 80%; }
  .nav-toggle { display: flex; }
  .lang-switch .lang-btn { font-size: 16px; }
  .primary-nav { 
    position: fixed; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    width: 60vw; 
    max-width: 380px; 
    background: #FFF3FA; 
    transform: translateX(100%); 
    transition: transform .25s ease; 
    padding: 80px 20px 20px; 
    z-index: 1001; 
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav .menu { flex-direction: column; gap: 0; }
  .primary-nav .menu > li { width: 100%; }
  .primary-nav .menu > li > a { display: block; padding: 14px 4px; }
  
  /* 移动端关闭按钮 */
  .nav-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: #BA6089;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(186, 96, 137, 0.3);
    color: white;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
  }
  
  .nav-close:hover {
    background: #9a4f73;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(186, 96, 137, 0.4);
  }
  .menu .sub-menu { 
    position: static; 
    box-shadow: none; 
    background: transparent; 
    padding: 0; 
    margin: 0; 
    display: none; 
  }
  .menu .sub-menu li a { padding: 10px 12px 10px 20px; }
  .submenu-toggle { 
    display: inline-block; 
    margin-left: 8px; 
    width: 20px; 
    height: 20px; 
    border: 0; 
    background: linear-gradient(#1F4164, #1F4164); 
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5" fill="none" stroke="%231F4164" stroke-width="2"/></svg>') center/contain no-repeat; 
  }
  .nav-backdrop { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,.35); 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity .25s ease; 
    z-index: 1000; 
  }
  .primary-nav.is-open ~ .nav-backdrop { opacity: 1; visibility: visible; }
  .header-actions { display: none; }
  .primary-nav .mobile-actions { margin-top: 16px; display: grid; gap: 12px; }
  .primary-nav .menu > li > a:hover:after,
  .primary-nav .menu > li.current-menu-item > a:after,
  .primary-nav .menu > li.current_page_item > a:after,
  .primary-nav .menu > li.current-menu-parent > a:after,
  .primary-nav .menu > li.current-menu-ancestor > a:after,
  .primary-nav .menu > li.current-page-ancestor > a:after,
  .primary-nav .menu > li.is-active > a:after { content: none !important; }
  .menu .sub-menu li a:hover { background-color: transparent; }
  .lang-switch { width: 60px; justify-content: center; }
  .header-search .search-input { max-width: none; width: 100%; }
  .primary-nav .menu .sub-menu { position: static; padding-left: 0; }
  .primary-nav .menu .sub-menu > li > a { padding-left: 20px; }
  .primary-nav .menu .sub-menu .sub-menu > li > a { padding-left: 36px; }

  .section { padding: 48px 0; }
  #hero { --hero-left:100%;--hero-right: 50%;padding-top: 20px; padding-bottom: 20px; }
  .hero .box { flex-direction: column; text-align: center; }
  .hero-right { order: -1; }
  .hero-title { font-size: 30px; }
  .hero-stats {margin-top: 20px;margin-bottom: 60px;}
  .hero-item .text { font-size: 16px; }
  .hero-tag {margin-top: 15px; display: block;padding: 5px;}
  .hero-list { gap: 15px; margin: 15px 0 15px;}
  .stat-value { font-size: 20px;}
  .stat-card { padding: 10px 5px;}
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .section-title {
    font-size: 28px;
  }
  .about-grid { gap: 40px; grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Common responsive: 768 */
@media (max-width: 768px) {
  .mi-card__media { width: 100%; margin-left: 0; }
  .mi-card__info { position: static; width: 100%; margin: 10px 0 0; border-radius: 0;padding: 0;padding: 20px;box-sizing: border-box;}
  .mi-card__title { position: static; margin: 0; border-radius: 0; }
  .mi-card__media{padding: 0}
  .mi-card__title{margin-top: 10px;background: none;padding: 0 20px; display: block; width: 100%; box-sizing: border-box;}
  .video-grid{gap: 20px}
  .footer-container { flex-direction: column; gap: 12px; text-align: center; }
  .footer-left .copyright { font-size: 16px; }
  .social-links .social-link, .social-links .separator { font-size: 16px; }
  .hero-item::after { height: 4px; width: 90px; bottom: -8px; }
  .weekly-snapshot {
    padding: 40px 0 0 0;
  }
  /* MI cards */
  .mi-card__media { width: 100%; margin-left: 0; padding: 0; }
  .mi-card__info { position: static; width: 100%; margin: 10px 0 0; border-radius: 0; padding: 20px; box-sizing: border-box; }
  .mi-card__title { position: static; margin: 10px 0 0; border-radius: 0; background: none; padding: 0 20px; display: block; width: 100%; box-sizing: border-box; }
  .article-title a,.article-excerpt{
    max-height: none;
    min-height: auto;
  }
  .article-title{
    margin: 10px 0;
  }
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .article-title {
    font-size: 16px;
  }
  .contact-section{
    padding: 0 0 40px;
  }
  .community-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .profile-image {
    width: 100px;
    height: 100px;
  }
  
  .platform-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}


@media (max-width: 480px) {
  .hero-actions{justify-content: center;}
  #hero { --hero-right: 90%;}
  .hero-stats { grid-template-columns: 1fr;         margin-bottom: 90px;}
}


/* Sidebar (single page) */
.single-sidebar { position: sticky; top: 20px; align-self: start; }
.sidebar-card { background: #FFF3FA; border-radius: 16px; box-shadow: 0 6px 22px rgba(0,0,0,.08); padding: 16px; }
.sidebar-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.sidebar-title { margin: 0; font-size: 36px; color: #36547F; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sidebar-like { color: #36547F; object-fit: contain; }

.sidebar-toc { margin-top: 25px; }
.toc { max-height: 420px; overflow: auto; }
.toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc-item { line-height: 1.4; }
.toc-link { color: #36547F; text-decoration: none; font-size: 16px;display: inline-block; }
.toc-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.toc-link.is-active { color: #BA6089; }
.toc-level-2 { padding-left: 12px; font-weight: 600;}
.toc-level-3 { padding-left: 24px; font-weight: 500;}

.sidebar-list { display: grid; gap: 12px; }
.side-item + .side-item { border-top: 1px dashed #BA6089; padding-top: 12px; }
.side-item { display: flex; gap: 10px; text-decoration: none;  align-items: flex-start; }
.side-item:hover { background: #FFECF3; }
.side-thumb { flex: 0 0 45%; max-width: 45%; border-radius: 8px; overflow: hidden; background: #EEE; display: block; aspect-ratio: 16 / 9; }
.side-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb-ph { font-size: 24px; }
.side-info { flex: 1 1 0; display: grid; gap: 6px; align-content: start; padding-top: 0; }
.side-title { color: #BA6089; font-weight: 700; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-meta { color: #36547F; font-weight: 600; font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-empty { color: #BA6089; font-weight: 600; text-align: center; padding: 20px 0; }

@media (max-width: 1024px) {
  .single-sidebar { position: static; }
  .sidebar-toc { display: none; }
}

/* ========================================
   Search Page Styles
======================================== */
.search-results .box{
  padding: 40px 10px;
}
.search-hero {
  background: linear-gradient(135deg, #FFEFF6 0%, #FFF3FA 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid #FFACD2;
}

.search-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.search-title {
  font-size: 36px;
  font-weight: 700;
  color: #36547F;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.search-query {
  color: #BA6089;
  background: rgba(186, 96, 137, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.search-form-container {
  margin-top: 30px;
}

.search-form {
  max-width: 500px;
  margin: 0 auto;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.search-field {
  flex: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #36547F;
  background: transparent;
}

.search-field::placeholder {
  color: #BA6089;
  opacity: 0.7;
}

.search-submit {
  padding: 17px 20px;
  border: none;
  background: #BA6089;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-submit:hover {
  background: #9a4f73;
}

.search-submit img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.search-results {
  background: white;
}

.search-stats {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px dashed #FFACD2;
}

.results-count {
  font-size: 16px;
  color: #8F3A68;
  font-weight: 600;
  margin: 0;
}

.search-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.search-result-card {
  display: flex;
  gap: 50px;
  text-decoration: none;
  align-items: flex-start;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.search-result-card:hover {
  background: #FFECF3;
}

.result-image {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 8px;
  overflow: hidden;
  background: #EEE;
  display: block;
  aspect-ratio: 16 / 9;
}

.result-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.result-content {
  flex: 1 1 0;
  display: grid;
  gap: 6px;
  align-content: start;
  padding-top: 0;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.result-date {
  color: #8F3A68;
  font-weight: 600;
}

.result-category {
  background: #BA6089;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.result-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.result-title a {
  color: #BA6089;
  text-decoration: none;
  transition: color 0.3s ease;
}

.result-title a:hover {
  color: #8F3A68;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.result-excerpt {
  color: #36547F;
  line-height: 1.6;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-read-more {
  align-self: flex-start;
  background: #BA6089;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.result-read-more:hover {
  background: #9a4f73;
}

.search-pagination {
  margin-top: 40px;
  text-align: center;
}

.search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 4px;
  padding: 0 12px;
  background: #FFF3FA;
  color: #BA6089;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-pagination .page-numbers:hover,
.search-pagination .page-numbers.current {
  background: #BA6089;
  color: white;
}

.search-pagination .page-numbers.prev,
.search-pagination .page-numbers.next {
  background: #FFACD2;
  color: #8F3A68;
}

.search-pagination .page-numbers.prev:hover,
.search-pagination .page-numbers.next:hover {
  background: #BA6089;
  color: white;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.no-results-icon {
  margin-bottom: 20px;
}

.no-results-icon img {
  width: 80px;
  height: 80px;
  opacity: 0.6;
}

.no-results-title {
  font-size: 24px;
  color: #36547F;
  margin: 0 0 15px 0;
  font-weight: 600;
}

.no-results-message {
  color: #8F3A68;
  line-height: 1.6;
  margin: 0 0 30px 0;
}

.no-results-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Tag Page Styles
======================================== */

.tag-hero {
  background: linear-gradient(135deg, #FFEFF6 0%, #FFF3FA 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid #FFACD2;
}

.tag-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tag-title {
  font-size: 36px;
  font-weight: 700;
  color: #36547F;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.tag-name {
  color: #BA6089;
  background: rgba(186, 96, 137, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.tag-info {
  margin-top: 20px;
}

.tag-description {
  font-size: 18px;
  color: #8F3A68;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.tag-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.tag-count {
  background: #BA6089;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.tag-results {
  background: white;
}

.tag-results .box{
  padding: 40px 10px;
}

.tag-stats-bar {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px dashed #FFACD2;
}

.tag-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.tag-result-card {
  display: flex;
  gap: 50px;
  text-decoration: none;
  align-items: flex-start;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.tag-result-card:hover {
  background: #FFECF3;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

/* Tag page specific styles - reuse search page styles */
.tag-result-card .result-image {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 8px;
  overflow: hidden;
  background: #EEE;
  display: block;
  aspect-ratio: 16 / 9;
}

.tag-result-card .result-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-result-card .result-content {
  flex: 1 1 0;
  display: grid;
  gap: 6px;
  align-content: start;
  padding-top: 0;
}

.result-tag {
  background: rgba(186, 96, 137, 0.1);
  color: #BA6089;
  padding: 4px 10px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.result-tag:hover {
  background: #BA6089;
  color: white;
}

.tag-pagination {
  margin-top: 40px;
  text-align: center;
}

.tag-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 4px;
  padding: 0 12px;
  background: #FFF3FA;
  color: #BA6089;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag-pagination .page-numbers:hover,
.tag-pagination .page-numbers.current {
  background: #BA6089;
  color: white;
}

.tag-pagination .page-numbers.prev,
.tag-pagination .page-numbers.next {
  background: #FFACD2;
  color: #8F3A68;
}

.tag-pagination .page-numbers.prev:hover,
.tag-pagination .page-numbers.next:hover {
  background: #BA6089;
  color: white;
}

/* Related Tags Section */
.related-tags {
  padding: 40px 0;
  background: #FFF3FA;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.tag-cloud-item {
  background: white;
  color: #BA6089;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid #FFACD2;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-cloud-item:hover {
  background: #BA6089;
  color: white;
  border-color: #BA6089;
  transform: translateY(-2px);
}

.tag-count {
  font-size: 12px;
  opacity: 0.8;
}

/* ========================================
   Responsive Design for Search & Tag Pages
======================================== */

@media (max-width: 1024px) {
  .search-result-card,
  .tag-result-card {
    gap: 30px;
  }
  
  .result-image,
  .tag-result-card .result-image {
    flex: 0 0 40%;
    max-width: 40%;
  }
  
  .result-title {
    font-size: 18px;
  }
  
  .result-excerpt {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .search-hero,
  .tag-hero {
    padding: 40px 0 30px;
  }
  
  .search-title,
  .tag-title {
    font-size: 28px;
  }
  
  .search-form-container {
    margin-top: 20px;
  }
  
  
  .search-field {
    padding: 12px 16px;
    border-radius: 15px 15px 0 0;
  }
  
  .search-submit {
    padding: 12px 16px;
    border-radius: 0 0 15px 15px;
  }
  
  .search-result-card,
  .tag-result-card {
    flex-direction: column;
    gap: 15px;
    padding: 16px;
  }
  
  .result-image,
  .tag-result-card .result-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  
  .result-content,
  .tag-result-card .result-content {
    flex: none;
  }
  
  .result-image img,
  .tag-result-card .result-image img {
    aspect-ratio: 16/9;
  }
  
  .result-title {
    font-size: 16px;
    line-height: 1.4;
  }
  
  .result-excerpt {
    font-size: 14px;
    -webkit-line-clamp: 3;
    line-height: 1.5;
  }
  
  .result-meta {
    gap: 10px;
  }
  
  .result-date,
  .result-category {
    font-size: 12px;
  }
  
  .no-results-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .tags-cloud {
    justify-content: flex-start;
  }
  
  .tag-cloud-item {
    font-size: 13px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .search-title,
  .tag-title {
    font-size: 24px;
  }
  
  .search-results-grid,
  .tag-results-grid {
    gap: 20px;
  }
  
  .search-result-card,
  .tag-result-card {
    padding: 15px;
  }
  
  .result-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 350px) {
  .search-input-group {
    flex-direction: column;
    border-radius: 15px;
  }
  
  .search-field {
    border-radius: 15px 15px 0 0;
  }
  
  .search-submit {
    border-radius: 0 0 15px 15px;
  }
}