/*
Theme Name: 山东省广告协会
Theme URI: https://sdaa.org.cn
Author: SDAA
Description: 山东省广告协会官方网站主题
Version: 1.1.0
Text Domain: sdaa
*/

/* =============================================
   CSS 变量
============================================= */
:root {
  --red:        #D32F2F;
  --red-dark:   #B71C1C;
  --blue:       #3C5BA7;
  --dark:       #1B1C1C;
  --dark-light: #444;
  --gray-bg:    #F5F5F5;
  --white:      #FFFFFF;
  --border:     #EBEBEB;
  --text-body:  #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --footer-bg:  #0F172A;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --w:    1280px;
  --px:   40px;
  --r4:   4px;
  --r8:   8px;
  --hh:   90px;
  --ease: .2s ease;
}

/* =============================================
   Reset
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  padding-top: 0;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* Hide WP admin bar */
#wpadminbar { display: none !important; }
html        { margin-top: 0 !important; }

/* =============================================
   顶部标语
============================================= */


.header-slogan__items {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.header-slogan__item {
    color: var(--red);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 6px;
    font-weight: bold;
}
/* =========================
   顶部标语条（高还原版）
========================= */

.top-policy-bar {
  position: relative;
  width: 100%;
  height: 80px;
  z-index: 1001;
  background:
    radial-gradient(circle at top left,
      rgba(198, 125, 72, 0.06),
      transparent 32%),

    radial-gradient(circle at bottom right,
      rgba(198, 125, 72, 0.06),
      transparent 30%),

      #fbe5e570
    ;

  border-bottom: 1px solid rgba(194, 143, 86, 0.12);

  overflow: hidden;
}

/* 顶部细纹 */
.top-policy-bar::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    repeating-linear-gradient(
      -12deg,
      rgba(191, 137, 84, 0.035) 0px,
      rgba(191, 137, 84, 0.035) 1px,
      transparent 1px,
      transparent 8px
    );

  opacity: .65;
  pointer-events: none;
}

/* 左右流线 */
.line-bg {
  position: absolute;
  top: 0;
  width: 360px;
  height: 92px;
  pointer-events: none;
}

.line-bg::before,
.line-bg::after {
  content: "";
  position: absolute;
  border-top: 1px solid rgba(200, 140, 90, 0.28);
  border-radius: 999px;
}

/* 左侧 */
.line-left {
  left: 0;
}

.line-left::before {
  width: 280px;
  height: 120px;
  left: -120px;
  top: 26px;
}

.line-left::after {
  width: 220px;
  height: 90px;
  left: -80px;
  top: 40px;
}

/* 右侧 */
.line-right {
  right: 0;
}

.line-right::before {
  width: 280px;
  height: 120px;
  right: -120px;
  top: 26px;
}

.line-right::after {
  width: 220px;
  height: 90px;
  right: -80px;
  top: 40px;
}

.policy-container {
  position: relative;
  z-index: 2;

  height: 100%;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  background:url(./assets/shan.png) right bottom no-repeat;
}

.policy-item {
  display: flex;
  align-items: center;
  gap: 18px;

  min-width: 300px;
}

/* 图标 */
.policy-icon {
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  position: relative;
}

.policy-icon::before {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: 50%;

  background:
    radial-gradient(circle at 30% 30%,
      rgba(255,255,255,.95),
      rgba(255,255,255,.6));

  border: 1px solid rgba(201, 145, 88, 0.18);

  box-shadow:
    0 4px 18px rgba(177, 110, 44, 0.08),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.policy-icon svg {
  width: 30px;
  height: 30px;

  position: relative;
  z-index: 2;

  stroke: #a20e09;
  stroke-linecap: round;
  stroke-linejoin: round;

  fill: none;
}

/* 文案 */
.policy-text h3 {
  margin: 0;

  font-size: 21px;
  font-weight: 700;

  color: #a52b28;

  letter-spacing: 6px;
  line-height: 1;
}

.policy-text p {
  margin: 5px 0 0;

  font-size: 13px;
  color: #332e2e;

  letter-spacing: 1px;
  white-space: nowrap;
}

/* 中间分隔 */
.policy-divider {
  width: 1px;
  height: 40px;
  display: none;

  margin: 0 38px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(194, 143, 86, 0.28),
      transparent
    );
}

/* 响应式 */
@media (max-width: 1200px) {

  .policy-item {
    min-width: auto;
  }

  .policy-text h3 {
    font-size: 16px;
    letter-spacing: 4px;
  }

  .policy-divider {
    margin: 0 20px;
  }
}

@media (max-width: 900px) {

  .top-policy-bar {
    height: auto;
    padding: 20px 0;
  }

  .policy-container {
    flex-direction: column;
    gap: 18px;
  }

  .policy-divider {
    width: 80%;
    height: 1px;
    margin: 0;
  }

  .policy-item {
    justify-content: center;
  }

  .line-bg {
    display: none;
  }
}

/* =============================================
   导航菜单
============================================= */
.sdaa-container {
  max-width: var(--w);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* =============================================
   HEADER
============================================= */
.site-header {
  position: relative;
  z-index: 1000;
  height: var(--hh);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

.site-header__inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: var(--hh);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 58px; width: auto; }
.site-logo__default { display: flex; align-items: center; gap: 10px; }
.site-logo__text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo__abbr { font-size: 11px; font-weight: 900; color: var(--red); letter-spacing: 2px; }
.site-logo__name { font-size: 15px; font-weight: 700; color: var(--dark); letter-spacing: .5px; white-space: nowrap; }

/* Nav */
.site-nav { display: flex; align-items: center; justify-content: center; gap: 30px; flex: 1; }
.site-nav__item {
  font-size: 18px; color: var(--dark--light); font-weight: 600;
  white-space: nowrap; padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-nav__item:hover  { color: var(--dark); }
.site-nav__item.active,
.site-nav__item.is-active { color: var(--red); border-bottom-color: var(--red); font-weight: 700; }

/* 下拉菜单 */
.site-nav__item-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.site-nav__arrow {
    margin-left: 1px;
    transition: transform var(--ease);
}

.site-nav__item-wrapper:hover .site-nav__arrow {
    transform: rotate(180deg);
}

.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--r4);
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
    z-index: 100;
    padding: 8px 0;
    border: 1px solid var(--border);
}

.site-nav__item-wrapper:hover .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__dropdown-item-wrapper {
    position: relative;
    list-style: none;
}

.site-nav__dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--dark-light);
    transition: color var(--ease), background var(--ease);
    white-space: nowrap;
    position: relative;
}

.site-nav__dropdown-item:hover {
    color: var(--red);
    font-weight: 600;
    background: #FEF2F2;
}

.site-nav__dropdown-item.is-active {
    color: var(--red);
    background: #FEF2F2;
    font-weight: 600;
}

.site-nav__dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* 子菜单（三级及以下） */
.site-nav__submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: var(--white);
    border-radius: var(--r4);
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
    z-index: 101;
    padding: 8px 0;
    border: 1px solid var(--border);
    margin-left: -1px;
}

.site-nav__dropdown-item-wrapper:hover .site-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 让子菜单在左侧显示（如果空间不够）*/
.site-nav__dropdown-item-wrapper:last-child .site-nav__submenu,
.site-nav__dropdown-item-wrapper:nth-last-child(2) .site-nav__submenu {
    left: auto;
    right: 100%;
    margin-right: -1px;
    margin-left: 0;
    transform: translateX(8px);
}

.site-nav__dropdown-item-wrapper:last-child:hover .site-nav__submenu,
.site-nav__dropdown-item-wrapper:nth-last-child(2):hover .site-nav__submenu {
    transform: translateX(0);
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* 搜索框 */
.search-box {
    position: relative;
    width: 40px;
    height: 40px;
    transition: width var(--ease);
}
.search-box.is-active {
    width: 200px;
}
.search-box form {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: var(--gray-bg);
    border-radius: var(--r4);
    overflow: hidden;
}
.search-box__input {
    flex: 1;
    height: 100%;
    padding: 0 12px;
    background: transparent;
    border: none;
    font-size: 14px;
    color: var(--dark);
    font-family: var(--font);
    outline: none;
    opacity: 0;
    width: 0;
    transition: opacity var(--ease), width var(--ease);
}
.search-box.is-active .search-box__input {
    opacity: 1;
    width: calc(100% - 40px);
}
.search-box__input::placeholder { color: var(--text-light); }
.search-box__submit {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--ease);
}
.search-box__submit:hover {
    color: var(--dark);
}
.search-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-bg);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--r4);
    transition: background var(--ease), color var(--ease), transform var(--ease);
}
.search-box.is-active .search-toggle {
    display: none;
}
.search-toggle:hover {
    background: var(--border);
    color: var(--dark);
}

/* =============================================
   微信按钮
============================================= */
.wechat-box {
    position: relative;
}

.wechat-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-bg);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--r4);
    transition: background var(--ease), color var(--ease);
}

.wechat-toggle:hover {
    background: var(--border);
    color: var(--dark);
}

.wechat-qr {
    position: absolute;
    top: calc(100% + 8px);
    width:150px;
    right: 0;
    padding: 10px;
    background: #fff;
    border-radius: var(--r8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
    z-index: 100;
    white-space: nowrap;
}

.wechat-box:hover .wechat-qr {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wechat-qr img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.wechat-qr p {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* 搜索框展开时隐藏申请入会按钮 */
.search-box.is-active ~ .btn-header-join {
    opacity: 0;
    visibility: hidden;
    width: 0;
    padding: 0;
    overflow: hidden;
}

.btn-header-join {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 20px;
  background: var(--red); color: #fff;
  font-size: 14px; font-weight: 500;
  border-radius: var(--r4); border: none; white-space: nowrap;
  transition: background var(--ease), opacity var(--ease), visibility var(--ease), width var(--ease), padding var(--ease);
}
.btn-header-join:hover { background: var(--red-dark); color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--dark);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO BANNER - 仅展示图片
============================================= */
.hero-banner { 
    height: 380px; 
    overflow: hidden;
}

.hero-banner.is-sticky {
    margin-top: var(--hh);
}
.hero-swiper, .swiper { 
    height: 100%; 
    max-width: var(--w); 
    margin: 0 auto; 
    overflow: hidden;
}

.hero-slide { position: relative; height: 350px; }
.hero-slide__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-color: #1B2A4A;
}
.hero-banner .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; }
.hero-banner .swiper-pagination-bullet-active { background: #fff; width: 24px; border-radius: 3px; }
.hero-banner .swiper-button-next,
.hero-banner .swiper-button-prev { 
  color: #fff; 
  background: rgba(0,0,0,.3); 
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
}
.hero-banner .swiper-button-next:hover,
.hero-banner .swiper-button-prev:hover { 
  background: rgba(0,0,0,.5); 
}
.hero-banner .swiper-button-next::after,
.hero-banner .swiper-button-prev::after { 
  font-size: 18px; 
}

/* =============================================
   服务快捷入口
============================================= */
.sdaa-shortcuts { background: var(--gray-bg); padding: 48px 0; }
.sdaa-shortcuts__title {
  text-align: center; font-size: 18px; font-weight: 700;
  color: var(--red); margin-bottom: 28px; letter-spacing: .5px;
}
.sdaa-shortcuts__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.sdaa-shortcut-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 28px 16px; min-height: 130px;
  transition: box-shadow var(--ease), transform var(--ease);
}
.sdaa-shortcut-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.sdaa-shortcut-item__icon { color: var(--red); }
.sdaa-shortcut-item__icon svg { width: 32px; height: 32px; }
.sdaa-shortcut-item__label { font-size: 15px; font-weight: 500; color: var(--dark); }

/* =============================================
   通用 section
============================================= */
.sdaa-section { padding: 56px 0; }
.sdaa-section--gray  { background: var(--gray-bg); }
.sdaa-section--white { background: var(--white); }

.sdaa-section__head {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 28px;
}
.sdaa-section__head-left { display: flex; align-items: flex-end; gap: 28px; }
.sdaa-section__title {
  font-size: 28px; font-weight: 900; color: var(--red);
  line-height: 1; white-space: nowrap;
}
.sdaa-link-more {
  font-size: 14px; color: var(--text-light);
  white-space: nowrap; transition: color var(--ease);
}
.sdaa-link-more:hover { color: var(--red); }

/* =============================================
   Tabs（通用）
============================================= */
.sdaa-tabs { display: flex; gap: 0; align-items: flex-end; }
.sdaa-tab {
  font-size: 16px; color: var(--text-muted); background: none;
  border: none; padding: 4px 16px 4px 0;
  transition: color var(--ease); white-space: nowrap;
  position: relative;
}
.sdaa-tab:hover   { color: var(--dark); }
.sdaa-tab.is-active {
  color: var(--dark); font-weight: 600;
}
.sdaa-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 16px;
  height: 2px;
  background: var(--dark);
}

/* Panel 显示/隐藏 */
.sdaa-panel { display: none; }
.sdaa-panel.is-active { display: block; }
.member-panel { display: none; }
.member-panel.is-active { display: block; }

/* Tab 标签另起一行包装器 */
.sdaa-tabs-wrapper {
    margin-bottom: 28px;
}

/* =============================================
   最新动态（新闻）—— 左图右文 2列
============================================= */
.sdaa-news { background: var(--white); }

.sdaa-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sdaa-news-grid--single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.sdaa-news-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  transition: box-shadow var(--ease);
  border: none;
  height: auto;
}
.sdaa-news-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  transform: none;
}
.sdaa-news-card__img {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  border-radius: var(--r4);
  overflow: hidden;
  background: var(--gray-bg);
}
.sdaa-news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease);
}
.sdaa-news-card:hover .sdaa-news-card__img img {
  transform: scale(1.03);
}

.sdaa-news-card__body,
.sdaa-news-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: flex-start;
}
.sdaa-news-card__cat {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(59, 91, 167, 0.1);
  color: var(--blue);
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 12px;
  font-weight: normal;
  letter-spacing: normal;
  width: auto;
  display: none;
}
.sdaa-news-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 12px;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  transition: color var(--ease);
}
.sdaa-news-card__title a {
  color: inherit;
}
.sdaa-news-card__title a:hover {
  color: var(--red);
}
.sdaa-news-card__excerpt,
.sdaa-news-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}
.sdaa-news-card__date {
  font-size: 15px;
  color: var(--text-light);
  margin-top: auto;
}

.sdaa-news-grid {
  gap: 1px;
  background:#f1f1f1;
  padding:1px;
}

.page-content .sdaa-news-grid {
  padding:0;
}
.sdaa-empty {
  color: var(--text-muted); padding: 48px 0; text-align: center; grid-column: 1 / -1;
}

/* =============================================
   会员风采
============================================= */
.sdaa-members { background: var(--gray-bg); }
.sdaa-members-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #f1f1f1; border: 1px solid var(--border);
  border-radius: var(--r8); gap: 1px;
}
.sdaa-member-item {
  background: var(--white); display: flex; align-items: center;
  justify-content: center; padding:15px 24px; min-height: 100px;
  transition: box-shadow var(--ease);
}
.sdaa-member-item:hover { box-shadow: 0 0 0 2px var(--red) inset; z-index: 1; }
.sdaa-member-item img { max-width: 100%; max-height: 64px; object-fit: contain; }
.sdaa-member-item__name { font-size: 13px; font-weight: 600; color: var(--dark); text-align: center; }
.sdaa-member-item {
    position: relative;
    cursor: default;
}
.sdaa-member-item__tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--r8);
    min-width: 200px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ease);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.sdaa-member-item:hover .sdaa-member-item__tooltip {
    opacity: 1;
    visibility: visible;
}
.sdaa-member-item__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--dark);
}
.sdaa-member-item__tooltip-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
}
.sdaa-member-item__tooltip-desc {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
    margin: 0;
}
.sdaa-members-more {
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  background: var(--white); min-height: 120px; transition: color var(--ease);
}
.sdaa-members-more:hover { color: var(--red); }
.btn-join-assoc {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 18px; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 500; border-radius: var(--r4); border: none;
  transition: background var(--ease);
}
.btn-join-assoc:hover { background: var(--red-dark); color: #fff; }

/* =============================================
   赛事活动
============================================= */
.sdaa-events { background: var(--white); }
.sdaa-events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sdaa-event-card {
  border-radius: var(--r8); overflow: hidden; background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: box-shadow var(--ease), transform var(--ease);
}
.sdaa-event-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.12); transform: translateY(-3px);
}
.sdaa-event-card__thumb {
    display:block;
    position: relative;
    width: 100%;
    padding-top: 45%;
    overflow: hidden;
    background: #1B2A4A;
}
.sdaa-event-card__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.sdaa-event-card:hover .sdaa-event-card__thumb img { transform: scale(1.06); }
.sdaa-event-card__badge {
  position: absolute; top: 14px; right: 14px;
  padding: 3px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600; color: #fff;
}

/* 赛事状态标签样式 */
.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    transition: transform var(--ease), box-shadow var(--ease);
}

.event-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.event-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
}

.event-badge--open {
    background: var(--red);
}

.event-badge--ongoing {
    background: var(--blue);
}

.event-badge--soon {
    background: #F97316;
}

.event-badge--ended {
    background: #9CA3AF;
}

.badge-red    { background: var(--red); }
.badge-blue   { background: var(--blue); }
.badge-orange { background: #F97316; }
.sdaa-event-card__body { padding: 20px; }
.sdaa-event-card__title {
  font-size: 17px; font-weight: 600; color: var(--dark);
  line-height: 1.55; margin-bottom: 12px;
}
.sdaa-event-card__meta { display: flex; flex-wrap: wrap; gap: 12px; }
.sdaa-event-card__meta-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text-light);
}
.sdaa-event-card__meta-item svg { width: 12px; height: 12px; flex-shrink: 0; }

.page-content--full {
    width: 100%;
    max-width: none;
    margin: 0;
}
/* =============================================
   Footer
============================================= */
.site-footer { background: var(--footer-bg); padding: 60px 0 0; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand__name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact__row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: #94A3B8; line-height: 1.6;
}
.footer-contact__row svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: #64748B; }
.footer-col__heading { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 20px; }
.footer-col__list { display: flex; flex-direction: column; gap: 12px; }
.footer-col__list a { font-size: 13px; color: #94A3B8; transition: color var(--ease); }
.footer-col__list a:hover { color: #fff; }
.footer-qr__box {
  background: #fff; padding: 8px; border-radius: var(--r4);
  width: 108px; height: 108px; display: flex; align-items: center; justify-content: center;
}
.footer-qr__box img { width: 92px; height: 92px; object-fit: cover; }
.footer-qr__desc { font-size: 11px; color: #64748B; margin-top: 10px; text-align: center; max-width: 110px; line-height: 1.5; }
.site-footer__bottom { border-top: 1px solid #1E293B; padding: 24px 0; text-align: center; }
.site-footer__bottom p { font-size: 13px; color: #4B5563; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 36px; right: 36px; z-index: 999;
  width: 42px; height: 42px; background: var(--red); color: #fff;
  border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(211,47,47,.4);
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .3s, background var(--ease);
  pointer-events: none;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--red-dark); }
.back-to-top svg { width: 16px; height: 16px; }

/* Inner pages */
.page-hero { 
    background: #1B1C1C; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 110px 0; 
    color: #fff; 
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.page-hero .sdaa-container {
    position: relative;
    z-index: 1;
}

.page-hero__title { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
.page-hero__meta  { font-size: 13px; color: rgba(255,255,255,.6); display: flex; gap: 20px; }
.post-content { max-width: 860px; margin: 0 auto; padding: 0 var(--px); font-size: 16px; line-height: 1.85; color: var(--text-body); }
.post-content h2, .post-content h3 { color: var(--dark); margin: 32px 0 16px; font-weight: 700; }
.post-content p { margin-bottom: 20px; }
.post-content img { margin: 24px auto; border-radius: var(--r8); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }

.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.archive-card { border: 1px solid var(--border); border-radius: var(--r8); overflow: hidden; background: var(--white); transition: box-shadow var(--ease), transform var(--ease); }
.archive-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.archive-card__thumb { height: 200px; overflow: hidden; }
.archive-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.archive-card__body { padding: 18px 20px; }
.archive-card__cat { font-size: 11px; font-weight: 600; color: var(--blue); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; display: block; }
.archive-card__title { font-size: 16px; font-weight: 600; color: var(--dark); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.archive-card__date { font-size: 12px; color: var(--text-light); }

.sdaa-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.sdaa-pagination a, .sdaa-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r4); font-size: 14px;
  border: 1px solid var(--border); color: var(--text-muted); transition: background var(--ease), color var(--ease);
}
.sdaa-pagination a:hover, .sdaa-pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 32px; }
.not-found__code { font-size: 120px; font-weight: 900; color: var(--red); line-height: 1; }
.not-found__title { font-size: 26px; font-weight: 700; color: var(--dark); margin: 16px 0; }
.not-found__desc { color: var(--text-muted); margin-bottom: 36px; }

/* =============================================
   左右布局页面 (Sidebar Layout)
============================================= */
.page-container {
    padding: 48px 0;
    padding-top: calc(var(--hh) + 48px);
    background: var(--gray-bg);
}

.page-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

/* 左侧边栏 */
.page-sidebar {
    flex-shrink: 0;
}

.sidebar-nav {
    background: var(--white);
    border-radius: var(--r8);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.sidebar-nav__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    padding: 16px 20px;
    margin: 0;
}

.sidebar-nav__list {
    margin: 0;
    padding: 8px 0;
}

.sidebar-nav__item {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: var(--text-muted);
    transition: color var(--ease), background var(--ease);
    border-left: 3px solid transparent;
}

.sidebar-nav__item:hover {
    color: var(--red);
    background: #FAFAFA;
}

.sidebar-nav__item.is-active {
    color: var(--red);
    background: #FEF2F2;
    border-left-color: var(--red);
    font-weight: 600;
}

.sidebar-nav__count {
    float: right;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

/* 手风琴导航 */
.sidebar-nav__item-wrapper {
    position: relative;
}

.sidebar-nav__item--parent {
    padding-right: 36px;
}

.sidebar-nav__arrow {
    position: absolute;
    right: 16px;
    top: 12px;
    color: var(--text-light);
    transition: transform var(--ease), color var(--ease);
    width: 14px;
    height: 14px;
}

.sidebar-nav__item-wrapper:hover .sidebar-nav__arrow,
.sidebar-nav__item--parent.is-expanded .sidebar-nav__arrow {
    color: var(--red);
    transform: rotate(180deg);
}

.sidebar-nav__submenu {
    display: none;
    margin: 0;
    padding: 0;
    background: #FAFAFA;
}

.sidebar-nav__submenu li {
    list-style: none;
}

.sidebar-nav__subitem {
    display: block;
    padding: 10px 20px 10px 45px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--ease), background var(--ease);
    border-left: 3px solid transparent;
}

.sidebar-nav__subitem:hover {
    color: var(--red);
    background: #F0F0F0;
}

.sidebar-nav__subitem.is-active {
    color: var(--red);
    background: #FEF2F2;
    border-left-color: var(--red);
    font-weight: 600;
}

/* 右侧主内容区 */
.page-content {
    background: var(--white);
    border-radius: var(--r8);
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.page-content__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 28px 0;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--red);
    position: relative;
}

.page-content > .post-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* 协会核心数据展示 */
.sdaa-stats {
    margin-top: 20px;
    background: var(--white);
    border-radius: var(--r8);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.sdaa-stats__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sdaa-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sdaa-stat-item {
    text-align: center;
    padding: 12px 8px;
    background: var(--gray-bg);
    border-radius: var(--r4);
}

.sdaa-stat-item__icon {
    color: var(--red);
    margin-bottom: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
}

.sdaa-stat-item__value {
    font-size: 20px;
    font-weight: 900;
    color: var(--red);
    line-height: 1.2;
}

.sdaa-stat-item__label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 侧边栏挂件 */
.sidebar-widget {
    margin-top: 20px;
    background: var(--white);
    border-radius: var(--r8);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.sidebar-widget__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

/* 挂件新闻列表 */
.widget-news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-news-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.widget-news-list li:last-child {
    border-bottom: none;
}

.widget-news-link {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    transition: color var(--ease);
    text-decoration: none;
}

.widget-news-link:hover {
    color: var(--red);
}

.widget-news-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.widget-news-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-light);
}

.widget-news-sticky {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-right: 8px;
}

/* 挂件会员列表 */
.widget-member-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #f1f1f1;
}

.widget-member-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
    border-radius: var(--r4);
    min-height: 50px;
}

.widget-member-item img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}

.widget-member-name {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* 挂件文章列表 */
.widget-post-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-post-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.widget-post-list li:last-child {
    border-bottom: none;
}

.widget-post-list a {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    transition: color var(--ease);
}

.widget-post-list a:hover {
    color: var(--red);
}

/* 挂件广告位 */
.widget-ad-space {
    text-align: center;
    margin-top:20px;
}

.widget-ad-space img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r4);
}

/* 面包屑导航 */
.breadcrumb-container {
    padding: 24px 0;
    background: var(--gray-bg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb__item {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb__item:hover {
    color: var(--red);
}

.breadcrumb__separator {
    color: var(--text-light);
}

.breadcrumb__current {
    color: var(--text-muted);
}

/* 新闻详情页 */
.post-container {
    background: var(--gray-bg);
    padding-bottom: 60px;
}

.post-content {
    max-width: none;
    background: var(--white);
    border-radius: var(--r8);
    padding: 48px 60px;
}

.post-back {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.post-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r4);
    color: var(--text-muted);
    font-size: 14px;
    transition: all var(--ease);
}

.post-back-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.post-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: #FEF2F2;
    color: var(--red);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--r4);
}

.post-meta time {
    font-size: 14px;
    color: var(--text-light);
}

.post-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 32px;
}

.post-featured-image {
    margin: 0 0 32px 0;
}

.post-image {
    width: 100%;
    height: auto;
    border-radius: var(--r8);
}

.post-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-body);
}

.post-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 32px 0 16px;
}

.post-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 24px 0 12px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: var(--r8);
}

/* 上一篇/下一篇导航 */
.post-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-top: 32px;
}

.post-nav__item {
    flex: 1;
}

.post-nav__prev {
    text-align: left;
}

.post-nav__next {
    text-align: right;
}

.post-nav__label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.post-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-muted);
    transition: color var(--ease);
    max-width: 100%;
}

.post-nav__link:hover {
    color: var(--red);
}

.post-nav__disabled {
    font-size: 14px;
    color: var(--text-light);
}

.post-nav__divider {
    width: 1px;
    background: var(--border);
    margin: 0 32px;
}

/* 赛事Banner */
.event-banner {
    position: relative;
    width: 100%;
    max-width: var(--w);
    margin: 0 auto;
    height: auto;
}
.event-banner__img {
    width: 100%;
    height: auto;
    min-height: 250px;
    border-radius: var(--r8);
}
.event-banner__placeholder {
    width: 100%;
    max-width: var(--w);
    margin: 0 auto;
    height: 250px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--r8);
}

/* 赛事信息区域 */
.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0;
    padding: 20px;
    background: var(--gray-bg);
    border-radius: var(--r8);
}
.event-info__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}
.event-info__item svg {
    width: 16px;
    height: 16px;
    color: var(--blue);
}

/* 赛事报名按钮 */
.event-apply {
    text-align: center;
    margin: 32px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(59, 91, 167, 0.1), rgba(59, 91, 167, 0.05));
    border-radius: var(--r8);
    border: 1px dashed var(--blue);
}
.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--r4);
    transition: background var(--ease), transform var(--ease);
}
.btn-apply:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

/* 相关文章 */
.related-posts {
    margin-top: 20px;
    padding-top: 32px;
}

.related-posts__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.related-posts__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-posts__item {
    background: var(--white);
    border-radius: var(--r8);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.related-posts__thumb {
    display: block;
}

.related-posts__thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-posts__content {
    padding: 16px;
}

.related-posts__cat {
    font-size: 12px;
    color: var(--red);
    margin-bottom: 8px;
}

.related-posts__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-posts__title a:hover {
    color: var(--red);
}

.related-posts__date {
    font-size: 12px;
    color: var(--text-light);
}

/* =============================================
   申请入会页面
============================================= */
.join-page {
    max-width: 900px;
    margin: 0 auto;
}

.join-section {
    background: var(--white);
    border-radius: var(--r8);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.join-section__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.join-content {
    color: var(--text-body);
    line-height: 1.8;
}

.join-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 20px 0 10px;
}

.join-content ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.join-content li {
    margin-bottom: 8px;
}

/* 下载卡片 */
.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--gray-bg);
    border-radius: var(--r8);
}

.download-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-muted);
    color: #fff;
    border-radius: var(--r8);
}

.download-card__info {
    flex: 1;
}

.download-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 4px;
}

.download-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.download-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--red);
    color: #fff;
    border-radius: var(--r4);
    font-size: 14px;
    font-weight: 500;
    transition: background var(--ease);
}

.download-card__btn:hover {
    background: var(--red-dark);
}

/* 提交成功提示 */
.join-success {
    background: #ECFDF5;
    border: 1px solid #10B981;
    border-radius: var(--r8);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.join-success__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10B981;
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.join-success h3 {
    font-size: 20px;
    font-weight: 600;
    color: #065F46;
    margin: 0 0 8px;
}

.join-success p {
    font-size: 14px;
    color: #047857;
    margin: 0;
}

/* 入会流程 */
.join-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--gray-bg);
    border-radius: var(--r8);
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--border);
}

.process-step__number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-muted);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-step h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 6px;
}

.process-step p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* 搜索结果页面样式 */
.search-results-count {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding: 16px 20px;
    background: var(--gray-bg);
    border-radius: var(--r8);
}

.search-no-results {
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    border-radius: var(--r8);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.search-no-results p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 32px;
}

.search-no-results p strong {
    color: var(--red);
}

.search-no-results .search-form {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    border-radius: var(--r8);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.search-no-results .search-field {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-size: 15px;
    background: #fff;
}

.search-no-results .search-submit {
    padding: 14px 28px;
    background: var(--red);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--ease);
}

.search-no-results .search-submit:hover {
    background: var(--red-dark);
}

/* 表单样式 */
.join-form__row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.join-form__col {
    flex: 1;
}

.join-form__col--full {
    flex: 1 1 100%;
}

.join-form__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 8px;
}

.join-form__label .required {
    color: var(--red);
    margin-left: 4px;
}

.join-form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r4);
    font-size: 14px;
    color: var(--dark);
    background: #fff;
    transition: border-color var(--ease);
}

.join-form__input:focus {
    outline: none;
    border-color: var(--red);
}

.join-form__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r4);
    font-size: 14px;
    color: var(--dark);
    background: #fff;
    resize: vertical;
    transition: border-color var(--ease);
}

.join-form__textarea:focus {
    outline: none;
    border-color: var(--red);
}

.join-form__file {
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--border);
    border-radius: var(--r4);
    background: var(--gray-bg);
    cursor: pointer;
}

.join-form__hint {
    font-size: 12px;
    color: var(--text-light);
    margin: 8px 0 0;
}

.join-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
}

.join-form__checkbox input {
    margin-top: 2px;
}

.join-form__submit {
    margin-top: 24px;
    text-align: center;
}

.join-form__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 48px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--r4);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--ease);
}

.join-form__btn:hover {
    background: var(--red-dark);
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-item {
    text-align: center;
    padding: 24px;
    background: var(--gray-bg);
    border-radius: var(--r8);
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.contact-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 6px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* =============================================
   Responsive
============================================= */
@media (max-width: 1100px) {
  :root { --px: 24px; }
  .sdaa-shortcuts__grid { grid-template-columns: repeat(3, 1fr); }
  .sdaa-members-grid    { grid-template-columns: repeat(4, 1fr); }
  .sdaa-events-grid     { grid-template-columns: repeat(2, 1fr); }
  .archive-grid         { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid    { grid-template-columns: 1fr 1fr; }
  .page-layout          { grid-template-columns: 220px 1fr; gap: 24px; }
  .page-content         { padding: 24px; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: var(--hh); left: 0; right: 0;
    background: var(--white); padding: 16px var(--px) 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1); border-top: 1px solid var(--border);
  }
  .site-nav.is-open .site-nav__item { font-size: 16px; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-toggle      { display: flex; }
  .sdaa-news-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --px: 16px; --hh: 60px; }
  .hero-slide__title { font-size: 30px; }
  .sdaa-shortcuts__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .sdaa-shortcut-item   { padding: 20px 10px; min-height: 100px; gap: 8px; }
  .sdaa-shortcut-item__label { font-size: 13px; }
  .sdaa-members-grid    { grid-template-columns: repeat(2, 1fr); }
  .sdaa-events-grid     { grid-template-columns: 1fr; }
  .archive-grid         { grid-template-columns: 1fr; }
  .site-footer__grid    { grid-template-columns: 1fr; }
  .back-to-top          { bottom: 20px; right: 20px; }
  .page-layout          { grid-template-columns: 1fr; gap: 20px; }
  .page-content         { padding: 20px; }
  .sdaa-stats__grid     { grid-template-columns: repeat(2, 1fr); }
}
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin: 0 24px 16px 0; }
.alignright  { float: right; margin: 0 0 16px 24px; }

/* 翻页按钮样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r4);
    color: var(--text-body);
    font-size: 14px;
    text-decoration: none;
    transition: all var(--ease);
}

.pagination a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.pagination .current {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.pagination .prev,
.pagination .next {
    padding: 0 16px;
}

.pagination .dots {
    border: none;
    background: transparent;
    color: var(--text-light);
}