/** Shopify CDN: Minification failed

Line 571:24 The "-" operator only works if there is whitespace on both sides
Line 580:24 The "-" operator only works if there is whitespace on both sides
Line 587:24 The "-" operator only works if there is whitespace on both sides
Line 588:28 The "-" operator only works if there is whitespace on both sides
Line 589:28 The "-" operator only works if there is whitespace on both sides

**/
/* Static video-carousel styles. Per-section settings remain as CSS variables in the Liquid section. */
  #MainContent :where(.video-carousel-section) {

    /* 设置section最大宽度为1465px */
    max-width: 1465px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;

    /* 确保section不产生滚动条 */
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  /* 容器margin设置为0 */
  #MainContent :where(.video-carousel-section) video-carousel .video-carousel-container,
  #MainContent :where(.video-carousel-section) .video-carousel-container {
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* 确保page-width占满容器，但不依赖padding */
  #MainContent :where(.video-carousel-section) .page-width {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  /* 调试CSS已移除，因为不再使用margin设置 */
  
  /* 最高优先级：确保margin为0 */
  body #MainContent :where(.video-carousel-section) video-carousel .video-carousel-container,
  body #MainContent :where(.video-carousel-section) .video-carousel-container {
    margin: 0 !important;
    width: 100% !important;
  }

  /* 简化：section保持100%宽度，边距由page-width的padding控制 */

  #MainContent :where(.video-carousel-section) .video-carousel-card {
    background: #FAFAFA;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: none;
    border: none !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
    cursor: pointer;
    outline: none !important;
  }

  /* 向左滑动动画 */
  @keyframes slideLeft {
    0% {
      transform: translateX(0);
      opacity: 1;
    }
    50% {
      transform: translateX(-10px);
      opacity: 0.8;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* 向右滑动动画 */
  @keyframes slideRight {
    0% {
      transform: translateX(0);
      opacity: 1;
    }
    50% {
      transform: translateX(10px);
      opacity: 0.8;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* 应用动画类 */
  #MainContent :where(.video-carousel-section) .video-carousel-card.slide-animation-left {
    animation: slideLeft 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  #MainContent :where(.video-carousel-section) .video-carousel-card.slide-animation-right {
    animation: slideRight 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  /* 强制设置桌面端Swiper的过渡时间 */
  @media screen and (min-width: 768px) {
    #MainContent :where(.video-carousel-section) .desktop-carousel .swiper-wrapper {
      transition: transform var(--slide-duration) cubic-bezier(0.6, 0, 0.4, 1) !important;
    }
    
    #MainContent :where(.video-carousel-section) .desktop-carousel.swiper .swiper-wrapper {
      transition: transform var(--slide-duration) cubic-bezier(0.6, 0, 0.4, 1) !important;
    }
    
    #MainContent :where(.video-carousel-section) .desktop-carousel .swiper-wrapper {
      transition-duration: var(--slide-duration) !important;
      transition-timing-function: cubic-bezier(0.6, 0, 0.4, 1) !important;
    }
  }

  /* 强制移除所有视频卡片内部元素的边框和分界线 */
  #MainContent :where(.video-carousel-section) .video-carousel-card *,
  #MainContent :where(.video-carousel-section) .video-carousel-card *::before,
  #MainContent :where(.video-carousel-section) .video-carousel-card *::after {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  #MainContent :where(.video-carousel-section) .video-carousel-card:hover {
    transform: none;
    box-shadow: none;
  }

  /* Video thumbnail area */
  #MainContent :where(.video-carousel-section) .video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: #000;
    overflow: hidden;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  /* 移除视频缩略图的所有可能边框和伪元素 */
  #MainContent :where(.video-carousel-section) .video-thumbnail::before,
  #MainContent :where(.video-carousel-section) .video-thumbnail::after {
    display: none !important;
    content: none !important;
    border: none !important;
  }

  #MainContent :where(.video-carousel-section) .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    display: block !important;
  }

  #MainContent :where(.video-carousel-section) .youtube-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  /* 移除YouTube缩略图的所有可能边框和伪元素 */
  #MainContent :where(.video-carousel-section) .youtube-thumbnail::before,
  #MainContent :where(.video-carousel-section) .youtube-thumbnail::after {
    display: none !important;
    content: none !important;
    border: none !important;
  }

  /* Play button */
  #MainContent :where(.video-carousel-section) .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }

  #MainContent :where(.video-carousel-section) .play-button:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
  }

  #MainContent :where(.video-carousel-section) .play-button svg {
    width: 20px;
    height: 20px;
    fill: #333;
    margin-left: 2px;
  }



  /* Video information area */
  #MainContent :where(.video-carousel-section) .video-carousel-info {
    padding: 12px;
    text-align: center;
    background-color: var(--text-background-color);
    border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  /* 移除视频信息区域的所有可能边框和伪元素 */
  #MainContent :where(.video-carousel-section) .video-carousel-info::before,
  #MainContent :where(.video-carousel-section) .video-carousel-info::after {
    display: none !important;
    content: none !important;
    border: none !important;
  }

  #MainContent :where(.video-carousel-section) .video-carousel-title {
    font-size: var(--title-font-size);
    color: var(--title-color);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: var(--title-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-word;
    /* Calculate max height to prevent text overflow */
    max-height: calc(var(--title-font-size) * 1.3 * var(--title-lines));
  }

  #MainContent :where(.video-carousel-section) .video-carousel-author {
    font-size: calc(var(--title-font-size) * 0.85);
    color: var(--title-color);
    opacity: 0.7;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Fallback for browsers that don't support -webkit-line-clamp */
  @supports not (-webkit-line-clamp: 1) {
    #MainContent :where(.video-carousel-section) .video-carousel-title {
      max-height: calc(var(--title-font-size) * 1.3 * var(--title-lines));
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }


  /* Video playing state styles */
  #MainContent :where(.video-carousel-section) .video-playing {
    transform: none;
    box-shadow: none;
    position: relative;
  }

  #MainContent :where(.video-carousel-section) .video-playing .video-thumbnail {
    background: #000;
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
    cursor: pointer;
  }

  /* 添加点击提示 */
  #MainContent :where(.video-carousel-section) .video-playing .video-thumbnail::after {
    content: "Click to return";
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
  }

  #MainContent :where(.video-carousel-section) .video-playing .video-thumbnail:hover::after {
    opacity: 1;
  }

  /* 视频缩略图边框半径已在上面定义，移除重复规则 */



  /* Card grid spacing adjustment */
  #MainContent :where(.video-carousel-section) .video-carousel-grid {
    gap: var(--card-gap) !important;
  }

  /* Mobile pagination - hidden by default on desktop */
  #MainContent :where(.video-carousel-section) .mobile-pagination {
    display: none;
  }

  /* 确保桌面端轮播按钮与标题在同一行并靠右对齐 */
  #MainContent :where(.video-carousel-section) .indicators {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    margin-left: auto !important;
    margin-right: 10px !important; /* 向左靠近10px */
    height: 100% !important;
    gap: 10px !important;
  }

  /* 自定义标题行：标题与按钮在同一行 */
  #MainContent :where(.video-carousel-section) .custom-section-heading {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    margin-bottom: 2rem !important;
  }

  /* 标题内容区域样式 */
  #MainContent :where(.video-carousel-section) .heading-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  /* 标题文本样式 */
  #MainContent :where(.video-carousel-section) .section-title {
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.2 !important;
  }

  #MainContent :where(.video-carousel-section) .section-subheading {
    margin: 0 0 0.5rem 0 !important;
    opacity: 0.8;
    font-size: 0.9em;
  }

  #MainContent :where(.video-carousel-section) .section-description {
    margin: 0 !important;
    opacity: 0.7;
    font-size: 0.9em;
  }

  /* 移除旧的section-heading规则，使用自定义标题行 */

  /* 参考slideshow-index的箭头按钮样式 */
  #MainContent :where(.video-carousel-section) .indicators button {
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    opacity: 0.7 !important;
  }

  /* 参考slideshow-index的悬停效果 */
  #MainContent :where(.video-carousel-section) .indicators button:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
  }

  /* 箭头图标样式 - 使用stroke而不是fill */
  #MainContent :where(.video-carousel-section) .indicators button .btn-text svg,
  #MainContent :where(.video-carousel-section) .indicators button svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    fill: none !important;
    color: #333 !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: color 0.3s ease !important;
  }

  /* 悬停时箭头颜色变化 */
  #MainContent :where(.video-carousel-section) .indicators button:hover .btn-text svg,
  #MainContent :where(.video-carousel-section) .indicators button:hover svg {
    color: #000 !important;
  }

  /* 移除按钮填充效果（slideshow-index没有这个效果） */
  #MainContent :where(.video-carousel-section) .indicators button .btn-fill {
    display: none !important;
  }

  /* 强制移动端隐藏箭头按钮 */
  @media screen and (max-width: 1023px) {
    #MainContent :where(.video-carousel-section) .indicators {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
    }
    
    #MainContent :where(.video-carousel-section) button[is="previous-button"],
    #MainContent :where(.video-carousel-section) button[is="next-button"] {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
    }
  }

  /* 桌面端和移动端切换控制 - 添加section作用域 */
  #MainContent :where(.video-carousel-section) .desktop-carousel {
    display: block;
  }
  
  #MainContent :where(.video-carousel-section) .mobile-carousel {
    display: none;
  }

  /* Responsive adjustments */
  @media screen and (max-width: 1023px) {
    /* 切换为移动端Swiper */
    #MainContent :where(.video-carousel-section) .desktop-carousel {
      display: none !important;
    }
    
    #MainContent :where(.video-carousel-section) .mobile-carousel {
      display: block !important;
    }
    
    /* 防止移动端页面横向滚动 - 移除全局body样式，改为section内控制 */
    
    /* 移动端section基础设置 - 禁用垂直滚动条 */
    #MainContent :where(.video-carousel-section) {
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
    }

    /* 确保video-carousel组件正常显示 - 禁用垂直滚动 */
    #MainContent :where(.video-carousel-section) video-carousel {
      display: block;
      width: 100%;
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
    }

    /* 确保内部容器不影响Swiper - 禁用垂直滚动 */
    #MainContent :where(.video-carousel-section) .video-carousel-container {
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
    }
    
    /* 确保移动端容器margin为0 - 增强选择器，禁用垂直滚动 */
    #MainContent :where(.video-carousel-section) video-carousel .video-carousel-container,
    #MainContent :where(.video-carousel-section) .video-carousel-container {
      margin: 0 !important;
      width: 100% !important;
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
      box-sizing: border-box !important;
    }
    
    #MainContent :where(.video-carousel-section) .page-width {
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      width: 100% !important;
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
    }

    #MainContent :where(.video-carousel-section) .video-thumbnail {
      height: 180px;
      flex-shrink: 0 !important; /* 防止缩略图区域被压缩 */
    }
    
    #MainContent :where(.video-carousel-section) .video-carousel-title {
      font-size: calc(var(--title-font-size) * 0.9);
      max-height: calc(var(--title-font-size) * 0.9 * 1.3 * var(--title-lines));
    }
    
    #MainContent :where(.video-carousel-section) .video-carousel-author {
      font-size: calc(var(--title-font-size) * 0.75);
      color: var(--title-color);
      opacity: 0.6;
      margin-top: 3px;
    }
    
    #MainContent :where(.video-carousel-section) .video-carousel-info {
      padding: 10px;
      text-align: center;
      background-color: var(--text-background-color);
      border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
      flex-shrink: 0 !important; /* 防止信息区域被压缩 */
    }

    /* Swiper specific styles for mobile - 不调整视频卡片样式，占用section内容区域100% */
    #MainContent :where(.video-carousel-section) .mobile-carousel {
      width: 100% !important; 
      /* 占用section内容区域的100%，section已处理左右margin */
      margin: 0;
      padding-left: 0px;
      padding-right: 0px;
      overflow: hidden;
      box-sizing: border-box !important; /* 确保宽度计算准确 */
      height: auto !important; /* 自适应高度 */
    }

    /* Swiper slide styling - 与所有容器宽度保持一致 */
    #MainContent :where(.video-carousel-section) .swiper-slide {
      width: 100% !important; /* 与page-width、video-carousel-container等宽度保持一致 */
      box-sizing: border-box !important;
      height: auto !important; /* 自适应高度 */
      flex-shrink: 0 !important; /* 防止slide被压缩 */
    }
    
    /* 桌面端Swiper slide特殊样式 - 覆盖全局设置 */
    #MainContent :where(.video-carousel-section) .desktop-carousel .swiper-slide {
      width: calc((100% -24px) / 4) !important; /* 4个视频，减去3个间距 */
      box-sizing: border-box !important;
      height: auto !important;
      flex-shrink: 0 !important;
      min-width: 0 !important;
    }
    
    /* 强制覆盖全局swiper-slide样式 */
    body #MainContent :where(.video-carousel-section) .desktop-carousel .swiper-slide {
      width: calc((100% -24px) / 4) !important;
    }
    
    /* 最高优先级覆盖 */
    body #MainContent :where(.video-carousel-section) .desktop-carousel .swiper-slide,
    body #MainContent :where(.video-carousel-section) .desktop-carousel .swiper-slide-active,
    body #MainContent :where(.video-carousel-section) .desktop-carousel .swiper-slide-visible {
      width: calc((100% -24px) / 4) !important;
      max-width: calc((100% -24px) / 4) !important;
      min-width: calc((100% -24px) / 4) !important;
    }

    /* 确保Swiper wrapper正确布局 */
    #MainContent :where(.video-carousel-section) .swiper-wrapper {
      box-sizing: border-box;
      height: auto !important; /* 自适应高度 */
      transition-property: transform, height !important;
      transition-duration: 300ms !important;
    }

    /* Swiper pagination styling */
    #MainContent :where(.video-carousel-section) .swiper-pagination {
      position: static !important;
      margin-top: 20px;
      text-align: center;
    }

    #MainContent :where(.video-carousel-section) .swiper-pagination-bullet {
      width: 5px !important;
      height: 5px !important;
      background-color: #000 !important;
      opacity: 1 !important;
      margin: 0 4px !important;
      border-radius: 50% !important;
      transition: all 0.3s ease !important;
      border: none !important;
    }

    #MainContent :where(.video-carousel-section) .swiper-pagination-bullet-active {
      width: 8px !important;
      height: 8px !important;
      background-color: #fff !important;
      opacity: 1 !important;
      border: 2px solid #000 !important;
      transform: none !important;
      box-sizing: border-box !important;
    }

    /* 移动端Swiper视频卡片样式对齐 - 宽度与容器保持一致，无阴影，无边框 */
    #MainContent :where(.video-carousel-section) .swiper-slide.video-carousel-card {
      box-sizing: border-box !important;
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important; /* 与page-width、video-carousel-container和mobile-carousel宽度保持一致 */
      box-shadow: none !important;
      border: none !important;
      outline: none !important;
    }
    
    /* 确保移动端所有视频卡片无阴影 */
    #MainContent :where(.video-carousel-section) .mobile-carousel .video-carousel-card {
      box-shadow: none !important;
    }
    
    #MainContent :where(.video-carousel-section) .mobile-carousel .video-carousel-card:hover {
      box-shadow: none !important;
      transform: none !important;
      border: none !important;
    }
    
    /* 移动端视频边框移除已在全局定义 */

    /* 移动端视频卡片边框移除已在全局定义 */

    /* 移动端Swiper触摸反馈 */
    #MainContent :where(.video-carousel-section) .swiper {
      touch-action: pan-y;
      height: auto !important; /* 自适应高度 */
      min-height: auto !important;
    }



    /* Mobile section - 移动端左右保持20px间距 */
    #MainContent :where(.video-carousel-section) {
      width: calc(100% - 40px) !important; /* 减去左右各20px */
      max-width: calc(1465px - 40px) !important; /* 移动端也保持最大宽度限制，减去左右间距 */
      margin-left: 20px !important; /* 左边距20px */
      margin-right: 20px !important; /* 右边距20px */
      padding: 0 !important;
      box-sizing: border-box;
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
    }

    /* 确保移动端video-carousel组件自适应高度，清除内联样式影响，禁用垂直滚动 */
    #MainContent :where(.video-carousel-section) video-carousel {
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      padding: 0 !important; /* 清除HTML内联样式的padding */
      width: 100% !important;
      margin: 0 !important;
      box-sizing: border-box !important;
    }

    /* 确保移动端容器正常布局 - margin设为0，增强选择器，禁用垂直滚动 */
    #MainContent :where(.video-carousel-section) video-carousel .video-carousel-container,
    #MainContent :where(.video-carousel-section) .video-carousel-container {
      width: 100% !important;
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      padding: 0 !important;
      margin: 0 !important;
      box-sizing: border-box !important;
    }

    /* 移动端page-width容器：不依赖padding，使用容器margin，禁用垂直滚动 */
    #MainContent :where(.video-carousel-section) .page-width {
      width: 100% !important;
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
      overflow-x: hidden !important;
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
    }

    /* 确保移动端Swiper容器不会产生固定高度限制 */
    #MainContent :where(.video-carousel-section) .mobile-carousel.swiper .swiper-wrapper {
      /* 让Swiper自己管理布局 */
    }

    /* 移动端视频卡片优化，确保内容完整显示 */
    #MainContent :where(.video-carousel-section) .swiper-slide {
      overflow: visible !important;
      position: relative !important; /* 保持正常的定位流 */
    }

    /* 确保移动端Swiper正常工作 - 禁用垂直滚动 */
    #MainContent :where(.video-carousel-section) .mobile-carousel.swiper {
      width: 100% !important;
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
      overflow-x: hidden !important; /* Swiper水平裁切 */
      overflow-y: hidden !important; /* 禁用垂直滚动条 */
    }

    /* 移动端视频缩略图高度调整 */
    #MainContent :where(.video-carousel-section) .mobile-carousel .video-thumbnail {
      height: 200px !important; /* 移动端统一高度 */
      flex-shrink: 0 !important;
    }

    /* 移动端Swiper调试 - 确保正确显示 */
    #MainContent :where(.video-carousel-section) .mobile-carousel .swiper-slide {
      transform: translate3d(0, 0, 0) !important; /* 硬件加速 */
    }

    /* 移动端容器调试 - 确保显示正确的轮播 */
    @media screen and (max-width: 768px) {
      #MainContent :where(.video-carousel-section) .mobile-carousel {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
      }
      
      #MainContent :where(.video-carousel-section) .desktop-carousel {
        display: none !important;
      }
      
      /* 移动端强制隐藏所有箭头按钮 */
      #MainContent :where(.video-carousel-section) .indicators,
      #MainContent :where(.video-carousel-section) button[is="previous-button"],
      #MainContent :where(.video-carousel-section) button[is="next-button"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
      }

      /* 移动端自定义标题行垂直布局 */
      #MainContent :where(.video-carousel-section) .custom-section-heading {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 1.5rem !important;
      }
    }

  }

  /* 中等屏幕（1023-1465px）设置50px边距 */
  @media screen and (min-width: 1024px) and (max-width: 1465px) {
    #MainContent :where(.video-carousel-section) {
      width: calc(100% - 100px) !important; /* 减去左右各50px */
      margin-left: 50px !important; /* 左边距50px */
      margin-right: 50px !important; /* 右边距50px */
      max-width: calc(1465px - 100px) !important;
      box-sizing: border-box;
      overflow-x: hidden !important;
      overflow-y: hidden !important;
      height: auto !important;
      min-height: auto !important;
      max-height: none !important;
    }
  }

  /* 大屏幕（>1465px）恢复居中布局 */
  @media screen and (min-width: 1466px) {
    #MainContent :where(.video-carousel-section) {
      max-width: 1465px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      width: 100% !important;
    }
  }

  /* 桌面端Swiper样式 */
  @media screen and (min-width: 768px) {
    
    /* 桌面端容器margin设为0 - 增强选择器 */
    #MainContent :where(.video-carousel-section) video-carousel .video-carousel-container,
    #MainContent :where(.video-carousel-section) .video-carousel-container {
      margin: 0 !important;
      width: 100% !important;
      overflow: visible !important;
      box-sizing: border-box !important;
    }
    
    #MainContent :where(.video-carousel-section) .page-width {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: visible !important;
      box-sizing: border-box !important;
    }
    
    /* 强制隐藏移动端Swiper */
    #MainContent :where(.video-carousel-section) .mobile-carousel {
      display: none !important;
    }
    
    /* 强制显示桌面端Swiper */
    #MainContent :where(.video-carousel-section) .desktop-carousel {
      display: block !important;
    }
    
    /* 强制显示所有轮播按钮 */
    #MainContent :where(.video-carousel-section) button[is="previous-button"],
    #MainContent :where(.video-carousel-section) button[is="next-button"] {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }

    /* 确保所有箭头容器都可见并与标题在同一行 */
    #MainContent :where(.video-carousel-section) .indicators {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      gap: 5px !important;
    }

    /* 桌面端标题样式 */
    #MainContent :where(.video-carousel-section) .custom-section-heading {
      min-height: 60px !important;
    }

    /* 桌面端Swiper容器样式 */
    #MainContent :where(.video-carousel-section) .desktop-carousel.swiper {
      width: 100% !important;
      overflow: hidden !important;
      height: auto !important;
      max-width: 100% !important;
    }

    /* 桌面端Swiper wrapper样式 */
    #MainContent :where(.video-carousel-section) .desktop-carousel .swiper-wrapper {
      box-sizing: border-box;
      height: auto !important;
      transition-property: transform, height !important;
      transition-duration: 300ms !important;
      display: flex !important;
      align-items: stretch !important;
      width: 100% !important;
    }



    /* 桌面端视频卡片样式 */
    #MainContent :where(.video-carousel-section) .desktop-carousel .video-carousel-card {
      width: 100% !important;
      box-shadow: none !important;
      border: none !important;
      outline: none !important;
    }
    
    #MainContent :where(.video-carousel-section) .desktop-carousel .video-carousel-card:hover {
      box-shadow: none !important;
      transform: none !important;
      border: none !important;
    }

    /* 隐藏移动端分页点 */
    #MainContent :where(.video-carousel-section) .mobile-pagination {
      display: none !important;
    }

    /* 防止按钮被JavaScript隐藏 */
    #MainContent :where(.video-carousel-section) button[is="previous-button"][hidden],
    #MainContent :where(.video-carousel-section) button[is="next-button"][hidden] {
      display: block !important;
    }

    /* 强制确保所有轮播按钮可点击 */
    #MainContent :where(.video-carousel-section) button[is="previous-button"],
    #MainContent :where(.video-carousel-section) button[is="next-button"] {
      pointer-events: auto !important;
      opacity: 1 !important;
      display: block !important;
      visibility: visible !important;
      position: relative !important;
      z-index: 1000 !important;
    }

    /* 防止按钮被设置为disabled状态 */
    #MainContent :where(.video-carousel-section) button[is="previous-button"]:disabled,
    #MainContent :where(.video-carousel-section) button[is="next-button"]:disabled {
      pointer-events: auto !important;
      opacity: 1 !important;
      cursor: pointer !important;
    }
  }

