/* Extracted from index.html */
/* Hero Slides - Unified blue-teal gradient */
    .slide-1-bg { background: linear-gradient(135deg, #0a2a5e 0%, #1a4a8a 50%, #0095b3 100%); }
    .slide-2-bg { background: linear-gradient(135deg, #0d3a6e 0%, #2a6aaa 50%, #00a8c6 100%); }
    .slide-3-bg { background: linear-gradient(135deg, #0a2a5e 0%, #1a4a8a 40%, #007a99 100%); }

    /* Geometric pattern overlay */
    .slide-geo {
      position: absolute;
      inset: 0;
      opacity: 0.06;
      background-image:
        repeating-linear-gradient(45deg, #fff 0px, #fff 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(-45deg, #fff 0px, #fff 1px, transparent 1px, transparent 60px);
    }

    /* Formula decoration */
    .slide-formula {
      position: absolute;
      right: 6%;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0.1;
      font-size: clamp(6rem, 12vw, 10rem);
      font-weight: 900;
      color: #fff;
      font-family: 'Times New Roman', serif;
      line-height: 1;
      pointer-events: none;
      white-space: nowrap;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #f5f7fb; }
    ::-webkit-scrollbar-thumb { background: #1a4a8a; border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: #0095b3; }

    /* ── Stats Bar - Merged into Hero (dark overlay style) ── */
    .stats-bar {
      background: rgba(10, 42, 94, 0.88);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      padding: 0;
      border-top: 1px solid rgba(0, 149, 179, 0.3);
      flex-shrink: 0;
    }
    .stats-bar .container {
      max-width: 1200px;
      padding: 0 24px;
    }
    .stats-grid {
      display: flex;
      justify-content: space-around;
      gap: 0;
      text-align: center;
    }
    .stat-item {
      padding: 12px 16px;
      transition: all 0.3s;
      flex: 1;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .stat-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 3px;
      background: var(--accent);
      transition: width 0.3s;
    }
    .stat-item:hover::before { width: 60%; }
    .stat-item:hover { background: rgba(0, 149, 179, 0.12); }
    .stat-number {
      display: inline-block;
      font-size: 1.5rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
      margin-bottom: 0;
    }
    .stat-label {
      display: inline-block;
      font-size: 0.9rem;
      color: rgba(255,255,255,0.85);
      line-height: 1.4;
      font-weight: 700;
    }
    .stat-label-cn {
      display: none;
    }

    /* ── Section Styles - Unified light theme ── */
    .section {
      padding: 36px 0;
    }
    .section:nth-child(odd) {
      background: var(--off-white);
    }
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--border);
    }
    .section-title-area { }
    .section-label {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--accent);
      margin-bottom: 0;
      margin-right: 8px;
    }
    .section-title {
      font-size: clamp(1.4rem, 2.5vw, 1.9rem);
      color: var(--primary-dark);
      margin: 0;
      display: inline;
    }
    .section-title::after { display: none; }
    .section-label-inline {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--accent);
    }
    .view-all {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--accent);
      white-space: nowrap;
    }
    .view-all:hover { color: var(--accent-hover); }

    /* ── News Cards - Image + Title + Description ── */
    .news-card {
      background: var(--white);
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--border);
      transition: all 0.3s;
      display: flex;
      flex-direction: column;
    }
    .news-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,149,179,0.12);
      border-color: var(--accent);
    }
    .news-card-img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.4);
      font-size: 2.5rem;
    }
    .news-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .news-card-body {
      padding: 18px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .news-card-date {
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .news-card-title {
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.5;
      margin-bottom: 10px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .news-card-title a { color: inherit; }
    .news-card-title a:hover { color: var(--accent); }
    .news-card-desc {
      font-size: 0.8rem;
      color: var(--text-medium);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      flex: 1;
    }
    .news-card-meta {
      font-size: 0.75rem;
      color: var(--text-light);
      margin-top: 12px;
      padding-top: 10px;
      border-top: 1px solid var(--border-light);
    }

    /* ── Event items - Date left block + divider style ── */
    .event-item {
      display: flex;
      gap: 16px;
      padding: 14px 0;
      border-bottom: 1px solid var(--border-light);
      align-items: flex-start;
      transition: background 0.2s;
      cursor: pointer;
    }
    .event-item:last-of-type { border-bottom: none; }
    .event-item:hover { background: rgba(0,149,179,0.03); }
    .event-date-block {
      flex-shrink: 0;
      width: 62px;
      text-align: center;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: #fff;
      border-radius: 8px;
      padding: 8px 4px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .event-date-block .year {
      font-size: 0.56rem;
      font-weight: 700;
      text-transform: uppercase;
      opacity: 0.8;
      margin-bottom: 2px;
    }
    .event-date-block .date {
      font-size: 0.76rem;
      font-weight: 800;
      line-height: 1.2;
    }
    .event-item-body {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .event-item-title {
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--text-dark);
      line-height: 1.4;
      margin-bottom: 6px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .event-item-title a { color: inherit; text-decoration: none; }
    .event-item-title a:hover { color: var(--accent); }
    .event-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 0.72rem;
      color: var(--text-light);
    }
    .event-meta .speaker::before {
      content: '👤 ';
      font-size: 0.7rem;
    }
    .event-meta .speaker strong {
      color: var(--accent);    
      font-weight: 600;
     letter-spacing: 1px;
    }
    .event-meta .cn-name {
       color: var(--text-dark);
      margin-left: 4px;
    }
    .event-meta .school {
      color: var(--text-light);
      margin-left: 4px;
      font-size: 0.7rem;
    }
    .two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      align-items: stretch;
    }
    .panel {
      background: var(--white);
      border-radius: 16px;
      border: 1px solid var(--border);
      padding: 0 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .panel-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0;
      padding: 16px 0 12px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }
    .panel-head h3 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--primary-dark);
    }
    .panel-head h3 em {
      font-style: normal;
      color: var(--accent);
      margin-left: 6px;
      font-weight: 600;
    }
    .panel-head .more {
      font-size: 0.78rem;
      color: var(--accent);
      font-weight: 600;
    }
    .panel-head .more:hover { color: var(--accent-hover); }

    /* News items - Left image + right text layout */
    .news-item {
      display: flex;
      gap: 12px;
      padding: 14px 0;
      border-bottom: 1px solid var(--border-light);
      transition: all 0.2s;
      flex: 1;
      min-height: 88px;
      cursor: pointer;
    }
    .news-item:hover { background: rgba(0,149,179,0.03); }
    .news-item:last-of-type { border-bottom: none; }
    .news-item .thumb {
      flex-shrink: 0;
      width: 100px;
      height: 76px;
      border-radius: 8px;
      overflow: hidden;
      background: linear-gradient(135deg, var(--accent-dark), var(--accent));
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .news-item .thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .news-item .content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
    .news-item h4 {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-dark);
      line-height: 1.4;
      margin-bottom: 4px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .news-item h4 a { color: inherit; text-decoration: none; }
    .news-item h4 a:hover { color: var(--accent); }
    .news-item p {
      font-size: 0.72rem;
      color: var(--text-medium);
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }


    /* ── Research Labs - Card style (no background, left color border) ── */
    .labs-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .lab-card {
      background: transparent;
      border-radius: 10px;
      padding: 16px 14px 14px 18px;
      border: 1px solid var(--border);
      border-left: 3px solid var(--accent);
      transition: all 0.3s;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      box-shadow: 0 1px 4px rgba(0,149,179,0.06);
    }
    /* Each lab gets its own left-border color */
    div.lab-card:nth-of-type(1) { border-left-color: #1a4a8a; }
    div.lab-card:nth-of-type(2) { border-left-color: #0095b3; }
   div.lab-card:nth-of-type(3)  { border-left-color: #6b46c1; }
   div.lab-card:nth-of-type(4) { border-left-color: #2d8a6e; }

    .lab-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,149,179,0.13);
      border-color: transparent;
      background: var(--white);
    }
    .lab-card h3 {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 4px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.35;
      min-height: 2.7em;
      flex-shrink: 0;
    -webkit-line-clamp: 2;
    }
    .lab-lead {
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--accent);
      margin-bottom: 6px;
      flex-shrink: 0;
    }
    .lab-card p {
      font-size: 0.76rem;
      color: var(--text-medium);
      line-height: 1.55;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      flex: 1;
      align-self: stretch;
      min-height: 4.65em;
    }
    .lab-keywords {
      padding-top: 8px;
      border-top: 1px solid var(--border);
      font-size: 0.7rem;
      color: var(--text-light);
      margin-top: 20px;
      flex-shrink: 0;
      align-self: stretch;
    }
    .lab-keywords span {
      color: var(--accent);
      font-weight: 500;
    }

    /* ── Joint Lab - Refined layout ── */
    .joint-lab-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: stretch;
    }
    .joint-lab-text {
      background: linear-gradient(135deg, #0a2a5e 0%, #007a99 100%);
      border-radius: 16px;
      padding: 36px 32px;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .joint-lab-text::before {
      content: '';
      position: absolute;
      top: -40px;
      right: -40px;
      width: 180px;
      height: 180px;
      background: rgba(255,255,255,0.04);
      border-radius: 50%;
      pointer-events: none;
    }
    .joint-lab-text::after {
      content: '';
      position: absolute;
      bottom: -60px;
      left: -20px;
      width: 200px;
      height: 200px;
      background: rgba(0,149,179,0.15);
      border-radius: 50%;
      pointer-events: none;
    }
    .joint-lab-text .jl-label {
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: rgba(255,255,255,0.55);
      margin-bottom: 10px;
    }
    .joint-lab-text .jl-title {
      font-size: 1.3rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 16px;
      line-height: 1.4;
    }
    .joint-lab-text .jl-desc {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.78);
      line-height: 1.8;
      margin-bottom: 0;
    }
    .joint-lab-text .jl-btns {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 24px;
      position: relative;
      z-index: 2;
    }
    .jl-btns {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 24px;
      position: relative;
      z-index: 2;
    }
    .jl-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 20px;
      background: rgba(255,255,255,0.15);
      color: #fff;
      border-radius: 8px;
      font-size: 0.82rem;
      font-weight: 600;
      transition: all 0.3s;
      border: 1.5px solid rgba(255,255,255,0.3);
      text-decoration: none;
    }
    .jl-btn-primary:hover {
      background: rgba(255,255,255,0.25);
      border-color: rgba(255,255,255,0.6);
    }
    .jl-btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 20px;
      color: rgba(255,255,255,0.75);
      border-radius: 8px;
      font-size: 0.82rem;
      font-weight: 600;
      transition: all 0.3s;
      text-decoration: none;
      border: 1.5px solid rgba(255,255,255,0.2);
    }
    .jl-btn-outline:hover {
      color: #fff;
      border-color: rgba(255,255,255,0.5);
    }
    .joint-lab-features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      align-content: center;
    }
    .joint-feature {
      background: var(--white);
      border-radius: 12px;
      padding: 22px 18px;
      border: 1px solid var(--border);
      transition: all 0.3s;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .joint-feature:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(0,149,179,0.1);
      border-color: var(--accent);
    }
    .joint-feature h4 {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin: 0;
      line-height: 1.4;
    }
    .joint-feature p { font-size: 0.75rem; color: var(--text-light); margin: 0; line-height: 1.5; }

    /* ── Partners - Unified style ── */
    .partners-section {
      padding: 32px 0;
      background: var(--off-white);
    }
    .partners-label {
      text-align: center;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-light);
      margin-bottom: 20px;
    }
    .partners-grid {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
    }
    .partner-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: 28px 36px;
      background: var(--white);
      border-radius: 12px;
      border: 1px solid var(--border);
      transition: all 0.3s;
      min-width: 180px;
    }
    .partner-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,149,179,0.1);
      border-color: var(--accent);
    }
    .partner-abbr {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: 0.05em;
    }
    .partner-name {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-dark);
    }
    .partner-sub {
      font-size: 0.68rem;
      color: var(--text-light);
    }

    /* ── Buttons - Unified ── */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 20px;
      font-size: 0.82rem;
      font-weight: 600;
      border-radius: 8px;
      transition: all 0.3s;
      cursor: pointer;
    }
    .btn-primary {
      background: var(--accent);
      color: #fff;
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }
    .btn-outline {
      background: transparent;
      color: #fff;
      border: 1.5px solid rgba(255,255,255,0.5);
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.1);
      border-color: #fff;
    }
    .btn-outline-dark {
      background: transparent;
      color: var(--primary);
      border: 1.5px solid var(--primary);
    }
    .btn-outline-dark:hover {
      background: var(--primary);
      color: #fff;
    }

    /* ── Slide content - Unified buttons ── */
    .slide-content .btn-outline {
      background: transparent;
      color: #fff;
      border: 1.5px solid rgba(255,255,255,0.5);
    }
    .slide-content .btn-outline:hover {
      background: rgba(255,255,255,0.15);
      border-color: #fff;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .news-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .stats-grid { flex-wrap: wrap; }
      .stat-item { flex: 0 0 50%; }
      .labs-grid { grid-template-columns: 1fr; }
      .news-grid { grid-template-columns: 1fr; }
      .joint-lab-wrapper { grid-template-columns: 1fr; }
      .joint-lab-features { grid-template-columns: 1fr 1fr; }
      .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    }
    /* ── Sub-section header: inline title + view more ── */
    .sub-section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }
    .sub-section-title {
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--primary-dark);
    }
    .sub-section-title em {
      font-style: normal;
      color: var(--accent);
      margin-left: 4px;
    }
    .sub-section-more {
      font-size: 0.75rem;
      color: var(--accent);
      font-weight: 600;
    }
    .sub-section-more:hover { color: var(--accent-hover); }
 @media (max-width: 1200px) {
.joint-lab-features { grid-template-columns: 1fr;}
}
 @media (min-width: 1201px) {
grid-template-columns: repeat(1, minmax(0, 1fr));


}
@media (min-width: 901px) {
      .slide-content {
        max-width: 1120px;
        padding: 0 72px 96px;
        overflow: visible;
      }
      .slide-content h2 {
        max-width: 1280px;
        font-size: clamp(2.95rem, 4.25vw, 4rem);
        line-height: 1.09;
        letter-spacing: 0;
        margin-bottom: 24px;
        white-space: normal;
        overflow: visible;
        text-wrap: balance;
      }
      .slide-content p {
        max-width: 820px;
        font-size: 1.18rem;
        line-height: 1.85;
        margin-bottom: 32px;
      }
      .section {
        padding: 64px 0;
      }
      .section-title {
        font-size: clamp(2.35rem, 3.4vw, 3.25rem);
        line-height: 1.12;
      }
      .section-subtitle,
      .section-title-area p {
        font-size: 1.12rem;
        line-height: 1.8;
        max-width: 780px;
      }
      .two-col {
        gap: 38px;
      }
      .panel {
        padding: 0 30px 26px;
        min-height: 520px;
      }
      .panel-head {
        padding: 24px 0 20px;
      }
      .panel-head h3 {
        font-size: 1.48rem;
      }
      .news-item {
        min-height: 126px;
        gap: 20px;
        padding: 20px 0;
      }
      .news-item .thumb {
        width: 136px;
        height: 98px;
      }
      .news-item h4,
      .event-item-title {
        font-size: 1.05rem;
        line-height: 1.45;
      }
      .news-item p,
      .event-item-text,
      .lab-card p,
      .joint-feature p,
      .partner-sub {
        font-size: 0.98rem;
        line-height: 1.72;
      }
      .labs-grid {
        gap: 28px;
      }
      .lab-card {
        min-height: 326px;
        padding: 38px 34px;
        border-radius: 8px;
      }
      .lab-card h3 {
        font-size: 1.32rem;
      }
      .section-label-inline {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        margin-left: 14px;
        padding: 5px 12px;
        border-radius: 6px;
        background: rgba(0,149,179,0.1);
        font-size: 0.98rem;
        letter-spacing: 0;
        text-transform: none;
        vertical-align: middle;
      }
      .lab-lead {
        font-size: 1rem;
        line-height: 1.45;
        font-weight: 800;
        color: #007a99;
        margin-bottom: 12px;
      }
      .lab-keywords {
        padding-top: 16px;
        font-size: 0.98rem;
        line-height: 1.65;
      }
      .lab-keywords span {
        display: block;
        margin-top: 5px;
        font-size: 1rem;
        line-height: 1.62;
        font-weight: 700;
      }
      .joint-lab-wrapper {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
        gap: 30px;
        align-items: stretch;
      }
      .joint-lab-text {
        padding: 50px 50px;
        min-height: 470px;
        border-radius: 8px;
      }
      .joint-lab-text .jl-title {
        font-size: 2rem;
        line-height: 1.24;
      }
      .joint-lab-text .jl-desc {
        font-size: 1.04rem;
        line-height: 1.82;
      }
      .joint-lab-features {
        display: grid;
        gap: 18px;
        height: 100%;
      }
      .joint-feature {
        padding: 30px 26px;
        min-height: 226px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .joint-feature h4 {
        font-size: 1.18rem;
        line-height: 1.35;
      }
      .joint-feature p {
        font-size: 1rem;
        line-height: 1.68;
      }
      .partners-section {
        padding: 78px 0;
      }
      .partners-grid {
        gap: 22px;
      }
      .partner-item {
        min-height: 150px;
        padding: 26px 22px;
      }
      .partner-abbr {
        font-size: 1.45rem;
      }
      .partner-name {
        font-size: 1rem;
      }
    }
    @media (max-width: 480px) {
      .hero-slider,
      .slide,
      .slide-bg {
        max-width: 100vw;
        overflow: hidden;
      }
      .slide-bg {
        left: 0;
        right: 0;
        width: 100%;
      }
      .slide-content {
        padding: 0 22px 84px;
      }
      .slide-content h2 {
        max-width: min(320px, calc(100vw - 56px));
        font-size: clamp(1.52rem, 6.2vw, 1.72rem);
        line-height: 1.14;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-all;
      }
      .slide-content p {
        max-width: min(320px, calc(100vw - 56px));
        font-size: 0.95rem;
      }
    }

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .panel {
    min-height: 0;
    height: auto;
  }

  .panel {
    padding: 0 18px 18px;
  }

  .news-item,
  .event-item {
    min-height: 0;
    height: auto;
    align-items: flex-start;
  }

  .news-item .content,
  .event-item-body {
    justify-content: flex-start;
  }

  .news-item h4,
  .news-item p,
  .event-item-title,
  .event-item-text,
  .news-card-title,
  .news-card-desc,
  .news-card h3 {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    text-overflow: clip;
    min-height: 0;
  }

  .event-meta {
    flex-wrap: wrap;
    gap: 6px 12px;
    line-height: 1.45;
  }

  .news-item .thumb {
    width: 92px;
    height: 72px;
  }
}

@media (max-width: 560px) {
  .panel {
    padding: 0 16px 18px;
  }

  .panel-head {
    align-items: flex-start;
    gap: 10px;
  }

  .news-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
  }

  .news-item .thumb {
    width: 108px;
    height: 82px;
  }

  .event-item {
    gap: 12px;
  }

  .event-date-block {
    width: 72px;
  }
}