/* soe-home.css — 首页 / CISCE 页共享模板样式（由 CSS 整合脚本生成于 2026-10-23）
   职责：仅 index.html 与 index_副本.html 加载。首页专属组件（轮播、展览计划、
   项目卡片 .soe-exhibit-card/.soe-card-title、门户入口）在本文件定义，
   soe-common.css 中不再保留副本。通用组件请写 soe-common.css。 */
/* ==========================================================================
       首页特有定制样式 (Homepage Specific Styles)
       ========================================================================== */

    /* 轮播图与通知公告组合区 (Hero & Notice Block) */
    .soe-hero-block {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 24px;
      margin: 28px auto 0;
      max-width: 1360px;
      padding: 0 24px;
    }
    @media (max-width: 992px) {
      .soe-hero-block { grid-template-columns: 1fr; }
    }

    /* 首页顶部多项目轮播系统 (Hero Multi-Project Carousel) */
    .soe-carousel-wrap {
      position: relative;
      height: 420px;
      background: #0f172a;
      overflow: hidden;
      border: 1px solid var(--soe-border);
      box-shadow: var(--shadow-card);
    }
    .soe-carousel-slides {
      position: relative;
      width: 100%;
      height: 100%;
    }
    .soe-carousel-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.7s ease, visibility 0.7s ease;
      display: block;
      text-decoration: none;
      color: inherit;
    }
    .soe-carousel-slide.active {
      opacity: 1;
      visibility: visible;
      z-index: 2;
    }
    .soe-carousel-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }
    .soe-carousel-slide:hover .soe-carousel-img {
      transform: scale(1.03);
    }
    .soe-carousel-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(7, 19, 34, 0.95) 0%, rgba(7, 19, 34, 0.7) 60%, transparent 100%);
      padding: 32px 32px 28px;
      color: #ffffff;
      z-index: 3;
    }
    .soe-carousel-tag {
      background: var(--soe-red);
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      padding: 4px 10px;
      letter-spacing: 0.5px;
      display: inline-block;
      margin-bottom: 10px;
    }
    .soe-carousel-tag.tag-blue { background: #0284c7; }
    .soe-carousel-tag.tag-gold { background: #d97706; }
    .soe-carousel-title {
      font-size: 24px;
      font-weight: 800;
      margin-bottom: 8px;
      line-height: 1.35;
      color: #ffffff;
    }
    .soe-carousel-desc {
      font-size: 13px;
      color: #cbd5e1;
      line-height: 1.6;
      max-width: 680px;
      margin-bottom: 10px;
    }
    .soe-carousel-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12.5px;
      font-weight: 700;
      color: #93c5fd;
      transition: all var(--transition-fast);
    }
    .soe-carousel-slide:hover .soe-carousel-cta {
      color: #ffffff;
      transform: translateX(4px);
    }
    /* 轮播控制箭头 */
    .soe-carousel-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      background: rgba(15, 23, 42, 0.65);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      transition: all var(--transition-fast);
    }
    .soe-carousel-nav:hover {
      background: var(--soe-red);
      border-color: var(--soe-red);
    }
    .soe-carousel-prev { left: 16px; }
    .soe-carousel-next { right: 16px; }
    /* 轮播指示条/圆点 */
    .soe-carousel-dots {
      position: absolute;
      bottom: 24px;
      right: 28px;
      display: flex;
      gap: 8px;
      z-index: 10;
    }
    .soe-carousel-dot {
      width: 24px;
      height: 4px;
      background: rgba(255, 255, 255, 0.35);
      cursor: pointer;
      transition: all var(--transition-fast);
    }
    .soe-carousel-dot.active {
      background: var(--soe-red);
      width: 38px;
    }

    /* 头条通知公告栏 */
    .soe-notice-card {
      background: var(--soe-sec);
      border: 1px solid var(--soe-border);
      border-top: 4px solid var(--soe-red);
      padding: 24px 20px;
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      height: 420px;
    }
    .soe-notice-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      border-bottom: 2px solid var(--soe-border);
      padding-bottom: 10px;
    }
    .soe-notice-head h3 {
      font-size: 17px;
      font-weight: 800;
      color: var(--soe-text);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .soe-notice-head a {
      font-size: 12px;
      color: var(--soe-navy);
      text-decoration: none;
      font-weight: 700;
    }
    .dark .soe-notice-head a { color: #60a5fa; }
    .soe-notice-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex-grow: 1;
    }
    .soe-notice-item {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 10px;
      font-size: 13px;
      border-bottom: 1px dashed var(--soe-border);
      padding-bottom: 10px;
    }
    .soe-notice-item a {
      color: var(--soe-text);
      text-decoration: none;
      transition: all var(--transition-fast);
      flex-grow: 1;
      line-height: 1.5;
      font-weight: 600;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
    }
    .soe-notice-item a:hover {
      color: var(--soe-red);
      padding-left: 4px;
    }
    .soe-notice-date {
      color: var(--soe-muted);
      font-size: 11px;
      font-family: var(--font-mono);
      white-space: nowrap;
    }

    /* 核心业务全景直通双卡 (Dual Showcase Cards) */
    .soe-flagship-section {
      background: var(--soe-bg);
      border-bottom: 1px solid var(--soe-border);
      padding: 35px 0;
      transition: background-color var(--transition-base), border-color var(--transition-base);
    }
    .soe-flagship-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 24px;
      flex-wrap: wrap;
      gap: 16px;
    }
    .soe-dual-showcase-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }
    @media (max-width: 960px) { .soe-dual-showcase-grid { grid-template-columns: 1fr; } }
    .soe-flagship-card {
      background: var(--soe-sec);
      border: 1px solid var(--soe-border);
      border-top: 4px solid var(--soe-navy);
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
      box-shadow: var(--shadow-card);
      transition: all var(--transition-base);
      overflow: hidden;
      position: relative;
    }
    .soe-flagship-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lift);
      border-color: var(--soe-red);
    }
    .soe-flagship-card.card-news {
      border-top-color: #0284c7;
    }
    .soe-flagship-card.card-news:hover {
      border-color: #0284c7;
    }
    .soe-flagship-img-wrap {
      height: 220px;
      position: relative;
      overflow: hidden;
      background: #0f172a;
    }
    .soe-flagship-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .soe-flagship-card:hover .soe-flagship-img {
      transform: scale(1.05);
    }
    .soe-flagship-badge {
      position: absolute;
      top: 16px;
      left: 16px;
      background: var(--soe-red);
      color: #ffffff;
      font-size: 11px;
      font-weight: 800;
      padding: 5px 14px;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 12px rgba(194, 31, 40, 0.35);
    }
    .soe-flagship-badge.badge-blue {
      background: #0284c7;
      box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    }
    .soe-flagship-body {
      padding: 26px 28px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .soe-flagship-meta {
      font-size: 12px;
      color: var(--soe-muted);
      margin-bottom: 10px;
      font-family: var(--font-mono);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .soe-flagship-heading {
      font-size: 19px;
      font-weight: 800;
      color: var(--soe-text);
      line-height: 1.45;
      margin-bottom: 12px;
      transition: color var(--transition-fast);
    }
    .soe-flagship-card:hover .soe-flagship-heading {
      color: var(--soe-red);
    }
    .soe-flagship-card.card-news:hover .soe-flagship-heading {
      color: #0284c7;
    }
    .soe-flagship-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 14px;
    }
    .soe-flagship-tag-pill {
      font-size: 11px;
      font-weight: 600;
      padding: 3px 9px;
      background: rgba(14, 42, 71, 0.06);
      color: var(--soe-navy);
      border: 1px solid rgba(14, 42, 71, 0.1);
    }
    .dark .soe-flagship-tag-pill {
      background: rgba(56, 189, 248, 0.1);
      color: #7dd3fc;
      border-color: rgba(56, 189, 248, 0.2);
    }
    .soe-flagship-desc {
      font-size: 13px;
      color: var(--soe-muted);
      line-height: 1.7;
      margin-bottom: 22px;
      flex-grow: 1;
    }
    .soe-flagship-btn-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--soe-border);
      padding-top: 16px;
      margin-top: auto;
    }
    .soe-flagship-btn-text {
      font-size: 14px;
      font-weight: 800;
      color: var(--soe-navy);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all var(--transition-fast);
    }
    .dark .soe-flagship-btn-text { color: #60a5fa; }
    .soe-flagship-card:hover .soe-flagship-btn-text {
      color: var(--soe-red);
      transform: translateX(4px);
    }
    .soe-flagship-card.card-news:hover .soe-flagship-btn-text {
      color: #0284c7;
      transform: translateX(4px);
    }

    /* 展会项目 8 卡网格 */
    .soe-cards-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }
    @media (max-width: 1200px) { .soe-cards-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .soe-cards-grid { grid-template-columns: 1fr; } }
    .soe-exhibit-card {
      background: var(--soe-card);
      border: 1px solid var(--soe-border);
      border-top: 3px solid var(--soe-navy);
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition-base);
      overflow: hidden;
    }
    .soe-exhibit-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card);
      border-top-color: var(--soe-red);
    }
    .soe-exhibit-img-wrap {
      height: 150px;
      position: relative;
      background: #0f172a;
      overflow: hidden;
    }
    .soe-exhibit-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .soe-exhibit-card:hover .soe-exhibit-img { transform: scale(1.06); }
    .soe-card-body {
      padding: 18px 16px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .soe-card-meta {
      font-size: 11px;
      color: var(--soe-muted);
      font-family: var(--font-mono);
      margin-bottom: 6px;
    }
    .soe-card-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--soe-text);
      line-height: 1.4;
      margin-bottom: 8px;
    }
    /* 展会名称第二行：英文名（中文名后换行显示，不带括号） */
    .soe-card-title-en {
      display: block;
      margin-top: 3px;
      font-size: 12px;
      font-weight: 600;
      color: var(--soe-muted);
      letter-spacing: 0.02em;
    }
    .soe-card-desc {
      font-size: 12px;
      color: var(--soe-muted);
      line-height: 1.6;
      margin-bottom: 14px;
      flex-grow: 1;
    }
    .soe-card-link {
      font-size: 13px;
      font-weight: 700;
      color: var(--soe-navy);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: color var(--transition-fast);
      margin-top: auto;
    }
    .dark .soe-card-link { color: #60a5fa; }
    .soe-card-link:hover { color: var(--soe-red); }

    /* ==========================================================================
       全新模块：2026-2027 展览计划 (交互式日历看板)
       ========================================================================== */
    .soe-schedule-section {
      background: var(--soe-bg);
      border-top: 1px solid var(--soe-border);
      border-bottom: 1px solid var(--soe-border);
      padding: 35px 0;
    }
    .soe-schedule-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 24px;
    }
    .soe-schedule-month-nav {
      display: flex;
      gap: 4px;
      background: var(--soe-sec);
      border: 1px solid var(--soe-border);
      padding: 4px;
      overflow-x: auto;
      max-width: 100%;
    }
    .soe-month-btn {
      padding: 8px 16px;
      font-size: 13px;
      font-weight: 700;
      border: none;
      background: transparent;
      color: var(--soe-text);
      cursor: pointer;
      white-space: nowrap;
      transition: all var(--transition-fast);
      font-family: var(--font-mono);
    }
    .soe-month-btn:hover {
      background: var(--soe-card);
      color: var(--soe-navy);
    }
    .soe-month-btn.active {
      background: var(--soe-navy);
      color: #ffffff;
    }
    .dark .soe-month-btn.active {
      background: #1e3a8a;
    }
    .soe-schedule-body {
      display: grid;
      grid-template-columns: 340px 1fr;
      gap: 24px;
      margin-top: 20px;
    }
    @media (max-width: 960px) {
      .soe-schedule-body {
        grid-template-columns: 1fr;
      }
    }
    .soe-calendar-mini {
      background: var(--soe-card);
      border: 1px solid var(--soe-border);
      padding: 20px;
    }
    .soe-cal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      font-weight: 800;
      color: var(--soe-navy);
      font-family: var(--font-mono);
    }
    .dark .soe-cal-header { color: #93c5fd; }
    .soe-cal-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
      text-align: center;
      margin-top: 12px;
    }
    .soe-cal-th {
      font-size: 11px;
      font-weight: 700;
      color: var(--soe-muted);
      padding: 6px 0;
      font-family: var(--font-mono);
    }
    .soe-cal-day {
      aspect-ratio: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 600;
      color: var(--soe-text);
      border: 1px solid transparent;
      border-radius: 2px;
      position: relative;
      cursor: default;
    }
    .soe-cal-day.other-month {
      color: var(--soe-muted);
      opacity: 0.35;
    }
    .soe-cal-day.has-event {
      background: rgba(0, 62, 140, 0.08);
      border-color: rgba(0, 62, 140, 0.25);
      color: var(--soe-navy);
      font-weight: 800;
      cursor: pointer;
    }
    .soe-cal-day.has-event:hover {
      background: var(--soe-navy);
      color: #ffffff;
    }
    .dark .soe-cal-day.has-event {
      background: rgba(96, 165, 250, 0.15);
      color: #93c5fd;
      border-color: rgba(96, 165, 250, 0.3);
    }
    .soe-cal-day.has-event::after {
      content: "";
      width: 4px;
      height: 4px;
      background: var(--soe-red);
      border-radius: 50%;
      position: absolute;
      bottom: 3px;
    }
    .soe-schedule-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .soe-schedule-card {
      background: var(--soe-card);
      border: 1px solid var(--soe-border);
      border-left: 4px solid var(--soe-navy);
      padding: 18px 22px;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 20px;
      transition: all var(--transition-fast);
      box-shadow: var(--shadow-sm);
    }
    .soe-schedule-card:hover {
      border-left-color: var(--soe-red);
      transform: translateX(4px);
      box-shadow: var(--shadow-card);
    }
    @media (max-width: 680px) {
      .soe-schedule-card {
        grid-template-columns: 1fr;
      }
    }
    .soe-sched-date-box {
      background: var(--soe-sec);
      border: 1px solid var(--soe-border);
      padding: 10px 14px;
      text-align: center;
      min-width: 90px;
    }
    .soe-sched-month {
      font-size: 11px;
      color: var(--soe-muted);
      font-family: var(--font-mono);
      text-transform: uppercase;
    }
    .soe-sched-days {
      font-size: 18px;
      font-weight: 800;
      color: var(--soe-navy);
      line-height: 1.2;
    }
    .dark .soe-sched-days { color: #93c5fd; }
    .soe-sched-content h4 {
      font-size: 16px;
      font-weight: 800;
      color: var(--soe-text);
      margin-bottom: 6px;
    }
    .soe-sched-meta {
      font-size: 12px;
      color: var(--soe-muted);
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .soe-sched-action {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
    }

    /* ==========================================================================
       页面右侧上 1/3 随动浮动微信组件 (Floating Sticky WeChat Widget)
       ========================================================================== */
    .soe-float-wechat {
      position: fixed;
      right: 0;
      top: 35vh;
      z-index: 1000;
      display: flex;
      align-items: center;
    }
    .soe-float-tab {
      background: var(--soe-navy);
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-right: none;
      padding: 14px 9px;
      cursor: pointer;
      box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      transition: all var(--transition-fast);
      writing-mode: vertical-lr;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
    }
    .soe-float-tab svg {
      writing-mode: horizontal-tb;
    }
    .soe-float-tab:hover,
    .soe-float-wechat:hover .soe-float-tab {
      background: var(--soe-red);
    }
    .soe-float-card {
      position: absolute;
      right: 100%;
      top: 50%;
      transform: translateY(-50%) scale(0.92);
      background: #0d1527;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-top: 3px solid var(--soe-red);
      padding: 18px;
      width: 210px;
      text-align: center;
      box-shadow: -8px 8px 24px rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .soe-float-wechat:hover .soe-float-card {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(-50%) scale(1);
    }
    .soe-float-card img {
      width: 140px;
      height: 140px;
      display: block;
      margin: 0 auto 10px;
      border: 2px solid #ffffff;
    }
    .soe-float-card h5 {
      color: #ffffff;
      font-size: 13px;
      font-weight: 800;
      margin-bottom: 4px;
    }
    .soe-float-card p {
      color: #94a3b8;
      font-size: 11px;
      line-height: 1.5;
    }
    .soe-float-backtop {
      background: #071322;
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-right: none;
      padding: 8px 9px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-fast);
      margin-top: 4px;
    }
    .soe-float-backtop:hover {
      background: var(--soe-red);
    }
    .soe-float-stack {
      display: flex;
      flex-direction: column;
    }
    @media (max-width: 768px) {
      .soe-float-wechat {
        top: auto;
        bottom: 20px;
        right: 12px;
      }
      .soe-float-tab {
        writing-mode: horizontal-tb;
        padding: 8px 12px;
        border-radius: 24px;
        border-right: 1px solid rgba(255, 255, 255, 0.25);
        font-size: 11px;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      }
      .soe-float-backtop {
        border-radius: 50%;
        width: 36px;
        height: 36px;
        align-self: flex-end;
        border-right: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      }
      .soe-float-card {
        right: 0;
        bottom: 110%;
        top: auto;
        transform: translateY(0) scale(0.92);
      }
      .soe-float-wechat:hover .soe-float-card {
        transform: translateY(-4px) scale(1);
      }
    }
