/* Extracted from page\events\colloquium-seminar.html */
/* Page Hero */
    .page-hero {
      background: linear-gradient(135deg, #0a1f3d 0%, #1a3a6e 50%, #0d2b52 100%);
      padding: 60px 0;
      position: relative;
      overflow: hidden;
    }
    .page-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: 
        repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px);
    }
    .page-hero::after {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 350px; height: 350px;
      background: radial-gradient(circle, rgba(46,111,196,0.12) 0%, transparent 70%);
    }

    /* Hero Content with Stats */
    .hero-content {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 40px;
      position: relative;
      z-index: 1;
    }
    .hero-text { flex: 1; min-width: 0; }
    .hero-stats {
      flex-shrink: 0;
      display: flex;
      gap: 20px;
    }
    .hero-stat-box {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 12px;
      padding: 16px 20px;
      text-align: center;
      min-width: 90px;
    }
    .hero-stat-box .num {
      display: block;
      font-size: 1.6rem;
      font-weight: 800;
      color: #e8bc3c;
      line-height: 1;
    }
    .hero-stat-box .lbl {
      display: block;
      font-size: 0.65rem;
      color: rgba(255,255,255,0.7);
      margin-top: 4px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    /* Breadcrumb */
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      color: rgba(255,255,255,0.6);
      margin-bottom: 16px;
      position: relative;
      z-index: 1;
    }
    .breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
    .breadcrumb a:hover { color: #e8bc3c; }
    .breadcrumb span { opacity: 0.5; }

    /* Filter Tabs */
    .filter-section {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 2px solid var(--border);
    }
    .filter-type {
      display: flex;
      gap: 0;
    }
    .filter-btn {
      padding: 10px 20px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-light);
      border-bottom: 3px solid transparent;
      margin-bottom: -2px;
      transition: all 0.3s;
    }
    .filter-btn:hover { color: var(--accent); }
    .filter-btn.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }
    .filter-year {
      display: flex;
      gap: 8px;
    }
    .year-btn {
      padding: 6px 14px;
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: 16px;
      cursor: pointer;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--text-medium);
      transition: all 0.3s;
    }
    .year-btn:hover { border-color: var(--accent); color: var(--accent); }
    .year-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }
    .year-select {
      display: none;
      min-height: 42px;
      width: 100%;
      padding: 0 38px 0 14px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: #fff;
      color: var(--text);
      font: 600 0.94rem/1 var(--font-body);
      cursor: pointer;
    }

    /* Talk Cards - New Layout: 日期 + 时间地点 | 标题 + 类型 + 报告人 + 摘要 */
    .talks-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .talk-card {
      background: #fff;
      border-radius: 14px;
      padding: 20px 24px;
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: 20px;
      border: 1px solid var(--border);
      box-shadow: 0 2px 12px rgba(10,31,61,0.06);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      align-items: start;
      cursor: pointer;
    }
    .talk-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
    }
    .talk-card.type-colloquium::before {
      background: linear-gradient(90deg, var(--accent), var(--gold));
    }
    .talk-card.type-seminar::before {
      background: linear-gradient(90deg, #2d8a5e, #7dd9a3);
    }
    .talk-card:hover {
      box-shadow: 0 8px 30px rgba(10,31,61,0.12);
      border-color: var(--accent);
      transform: translateY(-3px);
    }
    .talk-card:hover::before { transform: scaleX(1); }
    .talk-card.hidden { display: none; }

    /* 日期区块 */
    .talk-date-block {
      text-align: center;
      width: 80px;
      flex-shrink: 0;
    }
    .talk-date {
      background: linear-gradient(145deg, #0a1f3d, #1a3a6e);
      color: #fff;
      border-radius: 10px;
      padding: 10px 8px 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .talk-date .day {
      font-size: 1.5rem;
      font-weight: 800;
      line-height: 1;
      color: #fff;
    }
    .talk-date .month-year {
      font-size: 0.62rem;
      color: #e8bc3c;
      margin-top: 2px;
      white-space: nowrap;
    }
    .talk-time-loc {
      margin-top: 10px;
      font-size: 0.72rem;
      color: var(--text-light);
      line-height: 1.5;
    }
    .talk-time-loc .time {
      display: flex;
      align-items: center;
      gap: 4px;
      color: var(--text-medium);
      font-weight: 600;
      white-space: nowrap;
    }
    .talk-time-loc .loc {
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .talk-info { min-width: 0; }

    /* 标题行：标题 + 类型标签 */
    .talk-title-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .talk-title-row h3 {
      font-size: 0.98rem;
      color: var(--text-dark);
      line-height: 1.4;
      flex: 1;
      min-width: 200px;
      transition: color 0.3s;
    }
    .talk-card:hover .talk-title-row h3 { color: var(--accent); }
    .type-badge {
      display: inline-block;
      font-size: 0.62rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 3px 8px;
      border-radius: 12px;
      white-space: nowrap;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .badge-colloquium { background: rgba(46,111,196,0.1); color: var(--accent); }
    .badge-seminar { background: rgba(45,138,94,0.1); color: #2d8a5e; }

    /* 报告人 */
    .talk-speaker {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    .speaker-avatar {
      width: 34px; height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 0.78rem;
      font-weight: 700;
      flex-shrink: 0;
    }
    .type-colloquium .speaker-avatar {
      background: linear-gradient(135deg, var(--primary-medium), var(--accent));
    }
    .type-seminar .speaker-avatar {
      background: linear-gradient(135deg, #1a4d1a, #2d8a5e);
    }
    .speaker-details .speaker-name {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text-dark);
    }
    .speaker-details .speaker-affiliation {
      font-size: 0.72rem;
      color: var(--text-light);
    }

    .talk-abstract {
      font-size: 0.8rem;
      color: var(--text-medium);
      line-height: 1.55;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Pagination */
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 40px;
      padding-top: 24px;
      border-top: 1px solid var(--border);
    }
.page-nums {
    display: flex;
}
    .page-btn {
      min-width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-medium);
      transition: all 0.3s;
    margin: 0 10px;
    }
    .page-btn:hover:not(:disabled) {
      border-color: var(--accent);
      color: var(--accent);
    }
    .page-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }
    .page-btn:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }
    .page-ellipsis {
      color: var(--text-light);
      padding: 0 4px;
    }

    /* Results count */
    .results-info {
      font-size: 0.82rem;
      color: var(--text-light);
      margin-bottom: 16px;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .hero-content { flex-direction: column; }
      .hero-stats { width: 100%; justify-content: flex-start; }
      .filter-section { flex-direction: column; align-items: flex-start; }
      .talk-card { grid-template-columns: 70px 1fr; }
    }
    @media (max-width: 600px) {
      .talk-card { grid-template-columns: 1fr; padding: 20px; }
      .talk-date { display: none; }
      .hero-stat-box { min-width: 70px; padding: 12px 14px; }
      .hero-stat-box .num { font-size: 1.3rem; }
    }

    /* Codex spacious colloquium/seminar refinement */
    .page-banner--events {
      min-height: 410px;
      padding: 92px 0 82px;
    }
    .hero-content {
      align-items: center;
      gap: 70px;
    }
    .hero-title {
      max-width: 860px;
      font-size: clamp(3.1rem, 5vw, 4.8rem);
      line-height: 1.04;
      color: #fff;
      margin: 0 0 18px;
      letter-spacing: 0;
    }
    .hero-text .banner-subtitle {
      max-width: 820px;
      font-size: 1.12rem;
      line-height: 1.8;
      color: rgba(255,255,255,0.82);
    }
    .hero-stats {
      gap: 14px;
    }
    .hero-stat-box {
      min-width: 132px;
      min-height: 118px;
      border-radius: 8px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.18);
    }
    .hero-stat-box .num {
      color: #fff;
      font-size: 2.35rem;
    }
   .hero-stat-box .num  p{
    line-height: inherit;
    }
    .hero-stat-box .lbl {
      color: rgba(255,255,255,0.7);
      font-size: 0.78rem;
    }
    .filter-section {
      margin-bottom: 42px;
      padding: 14px;
      border: 1px solid #dde5ee;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 14px 38px rgba(21,32,53,0.07);
    }
    .filter-type,
    .filter-year {
      gap: 8px;
      flex-wrap: wrap;
    }
    .filter-btn,
    .year-btn {
      min-height: 42px;
      padding: 0 17px;
      border: 1px solid transparent;
      border-radius: 7px;
      margin: 0;
      background: transparent;
      font-size: 0.94rem;
      color: #152035;
    }
    .filter-btn:hover,
    .filter-btn.active,
    .year-btn:hover,
    .year-btn.active {
      color: #0095b3;
      border-color: rgba(0,149,179,0.3);
      background: rgba(0,149,179,0.08);
    }
    .results-info {
      margin-bottom: 22px;
      font-size: 0.96rem;
      color: #5b6678;
    }
    .talks-list {
      gap: 24px;
    }
    .talk-card {
      grid-template-columns: 200px 1fr;
      gap: 32px;
      min-height: 250px;
      padding: 32px;
      align-items: stretch;
      border-radius: 8px;
      border: 1px solid #dde5ee;
      box-shadow: 0 18px 48px rgba(21,32,53,0.08);
    }
    .talk-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 28px 68px rgba(21,32,53,0.13);
    }
    .talk-card::before {
      transform: none;
      height: 4px;
    }
    .talk-date-block {
      width: 200px;
      display: flex;
      flex-direction: column;
    }
    .talk-date {
      min-height: 118px;
      border-radius: 8px;
      justify-content: center;
      background: #12294a;
    }
    .talk-date .day {
      font-size: 2rem;
    }
    .talk-date .month-year {
      font-size: 1rem;
      color: #89dce8;
    }
    .talk-time-loc {
      margin-top: 14px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 0.96rem;
      color: #152035;
    }
    .talk-time-loc .time,
    .talk-time-loc .loc {
      display: flex;
      align-items: center;
      gap: 11px;
      white-space: normal;
      min-height: 34px;
      padding: 0 0 0 12px;
      border-left: 3px solid #0095b3;
      background: transparent;
      border-radius: 0;
      box-shadow: none;
      font-weight: 800;
      line-height: 1.35;
    }
    .talk-time-loc .loc {
      border-left-color: #12294a;
    }
    .talk-time-loc .time::before,
    .talk-time-loc .loc::before {
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      min-width: 48px;
      padding: 0;
      border-radius: 0;
      background: transparent;
      color: #007a99;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .talk-time-loc .time::before {
      content: "Time";
    }
    .talk-time-loc .loc::before {
      content: "Venue";
    }
    .talk-title-row {
      margin-bottom: 16px;
    }
    .talk-info {
      display: flex;
      flex-direction: column;
      min-width: 0;
      padding-top: 4px;
    }
    .talk-title-row h3 {
      min-width: 0;
      font-size: clamp(1.22rem, 1.9vw, 1.55rem);
      line-height: 1.38;
      color: #152035;
    }
    .type-badge {
      border-radius: 6px;
      padding: 5px 9px;
      font-size: 0.72rem;
    }
    .speaker-avatar {
      display: none;
    }
    .talk-speaker {
      margin-bottom: 14px;
    }
    .speaker-details .speaker-name {
      font-size: 1rem;
      color: #152035;
    }
    .speaker-details .speaker-affiliation {
      margin-top: 3px;
      font-size: 0.9rem;
      color: #5b6678;
    }
    .talk-abstract {
      font-size: 0.98rem;
      line-height: 1.78;
      color: #5b6678;
      margin-top: 4px;
      min-height: 84px;
      max-width: 1024px;
      -webkit-line-clamp: 3;
    }
    .pagination {
      margin-top: 52px;
    }

    @media (max-width: 900px) {
      .page-banner--events {
        min-height: 310px;
        padding: 60px 0 54px;
      }
      .hero-content {
        gap: 28px;
      }
      .hero-title,
      .hero-text .banner-subtitle {
        max-width: calc(100vw - 48px);
        white-space: normal;
        overflow-wrap: anywhere;
      }
      .hero-stats {
        flex-wrap: wrap;
      }
      .talk-card {
        grid-template-columns: 154px 1fr;
        gap: 24px;
      }
      .talk-date-block {
        width: 154px;
      }
    }
    @media (max-width: 600px) {
      .hero-title {
        font-size: 2.45rem;
      }
      .filter-section {
        width: 100%;
      }
      .filter-type,
      .filter-year {
        width: 100%;
      }
      .filter-type {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .filter-btn {
        padding: 0 8px;
      }
      .filter-year .year-btn {
        display: none;
      }
      .year-select {
        display: block;
      }
      .hero-stat-box {
        min-width: calc(50% - 8px);
      }
      .talk-card {
        grid-template-columns: 1fr;
        padding: 26px;
      }
      .talk-title-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
      }
      .talk-title-row h3 {
        min-width: 0;
        width: 100%;
        font-size: 1.12rem;
        line-height: 1.42;
      }
      .type-badge {
        width: fit-content;
        max-width: 100%;
        padding: 3px 7px;
        border-radius: 5px;
        font-size: 0.58rem;
        letter-spacing: 0.04em;
      }
      .talk-date {
        display: flex;
      }
      .talk-date-block {
        width: 100%;
      }
    }