/* 480px and below - 修正版 */
@media (max-width: 480px) {

  /* ===== 1. 基础与布局容器 ===== */
  body {
    font-size: 14px;
    /* 可根据需要设置基础字体大小 */
  }

  .info-container {
    padding: 0 0.5rem;
    gap: 0.8rem;
    margin-top: 40px;
    flex-direction: column;
    align-items: stretch;
  }

  .info-left,
  .info-right {
    width: 100%;
    max-width: 100%;
  }

  .box1,
  .box2,
  .box3 {
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: auto;
    overflow: hidden;
  }

  /* ===== 2. 信息展示区块组件 ===== */
  /* 2.1 信息项 */
  .info-item {
    flex-direction: column;
    gap: 0.3rem;
  }

  .info-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.2rem;
  }

  .info-icon svg {
    width: 16px;
    height: 16px;
  }

  .info-label {
    font-size: 16px;
    line-height: 1.2;
    display: block;
    margin-bottom: 0.2rem;
  }

  .info-value {
    font-size: 16px;
    line-height: 1.2;
    display: block;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .info-content {
    width: 100%;
    max-width: 100%;
  }

  .info-content p {
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }

  /* 2.2 注册区域 */
  .registration-content {
    flex-direction: column;
  }

  .registration-button {
    width: 100%;
    margin-top: 1rem;
  }

  .registration-text h3 {
    font-size: 20px;
    line-height: 1.2;
  }

  .registration-text p {
    font-size: 16px;
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .registration-button a {
    font-size: 20px;
    line-height: 1.2;

  }

  /* 2.3 介绍区域 */
  .intro-section {
    min-height: 120px;
  }

  .intro-section h3 {
    font-size: 20px;
    line-height: 1.2;
    min-height: none;
  }

  .intro-section p {
    font-size: 16px;
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }

  /* ===== 3. 页眉 (Header) 与导航 ===== */
  .header {
    flex-direction: row;
    height: 56px;
    padding: 0 20px 0 0;
    gap: 0;
    justify-content: space-between;
  }

  .nav {
    display: none;
    /* 桌面导航隐藏 */
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .mobile-menu-button {
    display: block;
  }

  .search {
    margin-left: 0;
  }

  .desktop-search {
    display: none;
  }

  .mobile-nav-item a {
    font-size: 1.1rem;
  }

  .mobile-dropdown a {
    font-size: 0.9rem;
  }

  /* ===== 4. 主视觉区域 (Hero) ===== */
  .hero {
    min-height: auto;
    height: auto;
    padding: 40px 15px 30px;
    background-image: url('../figma/image/mmlegc0w-22xvof6.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  /* ===== 5. 重要日期时间轴 ===== */
  .dates-section {
    padding: 0;
  }

  .dates-timeline {
    flex-direction: column;
  }

  .timeline-item:not(:first-child),
  .timeline-item:not(:last-child) {
    margin-left: 0;
    margin-right: 0;
    clip-path: none;
  }

  .timeline-item {
    min-height: 60px;
  }

  /* ===== 6. 演讲者与主席板块 ===== */
  /* 6.1 通用卡片网格 */
  .chairs-grid,
  .chairs-grid.chairs-grid-small,
  .speakers-grid {
    grid-template-columns: 280px;
    gap: 1.5rem;
    justify-content: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .chairs-title::before,
  .chairs-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: #961F12;
  }

  .chairs-title::before {
    left: -90px;
  }

  .chairs-title::after {
    right: -90px;
  }

  /* 为org-general-chairs区域的chairs-title添加白色线条 */
  .org-general-chairs .chairs-title::before,
  .org-general-chairs .chairs-title::after {
    background: #FFFFFF;
  }

  .org-general-chairs .chairs-title {
    position: relative;
    display: inline-block;
    padding: 0 2rem;
    max-width: 350px;
  }

  /* 6.2 主席卡片 */
  .chair-card {
    width: 100%;
    max-width: 280px;
    height: 380px;
    padding: 1rem 0.8rem 0.8rem;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
  }

  /* 确保chair-card-1的样式优先级足够高 */
  .chairs-section.program-chairs .chair-card.chair-card-1 {
    background-image: url('../images/chair-card-bg-1.png') !important;
    background-size: cover !important;
    background-position: center !important;
  }

  /* 确保chair-card-2的样式优先级足够高 */
  .chair-card.chair-card-2 {
    background-image: url('../images/speaker-card-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
  }

  /* 确保chair-card-3的样式优先级足够高 */
  .chair-card.chair-card-3 {
    background-image: url('../images/chair-card-bg-2.png') !important;
    background-size: cover !important;
    background-position: center !important;
  }

  /* 确保chair-card-new-2的样式优先级足够高 */
  .chair-card.chair-card-new.chair-card-new-2 {
    background-image: url('../images/chair-card-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    width: 100%;
    max-width: 280px;
    height: 380px;
    padding: 1rem 0.8rem 0.8rem;
    margin: 0 auto;
  }

  /* 确保wtsp-chairs区域中的chair-card-new-2样式优先级足够高 */
  .wtsp-chairs .chairs-grid .chair-card.chair-card-new.chair-card-new-2 {
    background-image: url('../images/chair-card-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    width: 280px !important;
    height: 380px !important;
    padding: 1rem 0.8rem 0.8rem !important;
    margin: 0 auto !important;
  }

  .chair-image {
    width: 180px;
    height: 180px;
    margin-bottom: 1.2rem;
  }

  .chair-name {
    font-size: 16px;
  }

  .chair-affiliation {
    font-size: 14px;
  }

  /* 确保chairs-row在移动端正确显示 */
  .chairs-row {
    flex-direction: column;
    gap: 2rem;
  }

  .chairs-row .chairs-category {
    min-width: 100%;
  }

  .chairs-row .chairs-grid {
    grid-template-columns: 280px;
    gap: 1.5rem;
    justify-content: center;
  }

  /* 确保industry-chairs区域的chair-card正确显示 */
  .industry-chairs .chairs-grid {
    display: grid !important;
    grid-template-columns: 280px;
    gap: 1.5rem;
    justify-content: center;
  }

  /* 确保industry-chairs区域中的chair-card-3样式优先级足够高 */
  .industry-chairs .chairs-grid .chair-card.chair-card-new.chair-card-3 {
    background-image: url('../images/chair-card-bg-2.png') !important;
    background-size: cover !important;
    background-position: center !important;
    width: 280px !important;
    height: 380px !important;
    padding: 1rem 0.8rem 0.8rem !important;
    margin: 0 auto !important;
  }

  /* 确保Demo Chairs和Proceedings Chairs区域的chair-card正确显示 */
  .ddpv-chairs .chairs-grid {
    grid-template-columns: 280px;
    gap: 1.5rem;
    justify-content: center;
  }

  .ddpv-chairs .chairs-grid[style*="display: block"] {
    display: grid !important;
    grid-template-columns: 280px;
    gap: 1.5rem;
    justify-content: center;
  }

  /* 确保ddpv-chairs区域中的chair-card-new-2样式优先级足够高 */
  .ddpv-chairs .chairs-grid .chair-card.chair-card-new.chair-card-new-2 {
    background-image: url('../images/chair-card-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    width: 280px !important;
    height: 380px !important;
    padding: 1rem 0.8rem 0.8rem !important;
    margin: 0 auto !important;
  }

  /* 确保Demo Chairs区域的chair-card正确显示 */
  .ddpv-chairs .chairs-category:nth-child(2) .chairs-grid .chair-card.chair-card-new.chair-card-new-2 {
    background-image: url('../images/chair-card-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    width: 280px !important;
    height: 380px !important;
    padding: 1rem 0.8rem 0.8rem !important;
    margin: 0 auto !important;
  }

  /* 6.3 演讲者卡片 */
  .speaker {
    width: 100%;
    height: auto;
    min-height: 350px;
    background-position: top left;
    /* 修正背景图位置 */
  }

  .speaker img {
    width: 160px;
    height: 160px;
  }

  /* ===== 7. 征文 (CFP) 与主题列表板块 ===== */
  .cfp-section {
    padding: 1.5rem 1rem;
  }

  .cfp-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .cfp-section h2::after {
    height: 10px;
    bottom: -15px;
    width: 60px;
  }

  .cfp-section p {
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 1.2rem;
  }

  .cfp-section h3 {
    font-size: 20px;
    margin: 1.5rem 0 0.8rem;
  }

  .cfp-section ul {
    font-size: 16px;
    margin-left: 1.2rem;
  }

  .topics-section {
    padding: 2rem 1rem;
    margin: 20px 0 0 0 !important;
    /* 覆盖行内样式 */
    clip-path: none !important;
  }

  .topics-section h2 {
    font-size: 24px;
  }

  .topics-section .topics-description {
    font-size: 13px;
  }

  .topic-list li {
    font-size: 13px;
  }

  /* ===== 8. 页脚 (Footer) ===== */
  .footer h2 {
    font-size: 20px;
  }

  .footer p {
    font-size: 12px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 1rem;
  }

  .footer-links {
    gap: 1.5rem;
    justify-content: center;
  }

  /* ===== 9. 联系区域 ===== */
  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-content p {
    font-size: 18px;
    margin-bottom: 1.2rem;
  }

  .contact-btn {
    font-size: 18px;
    padding: 0.6rem 1.5rem;
  }

  /* ===== 10. 当前区域移动端适配 ===== */
  .program-chairs .container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .chairs-row {
    flex-direction: column;
    gap: 2rem;
  }

  .chairs-row .chairs-category {
    min-width: 100%;
  }

  .chairs-row .chairs-title {
    font-size: 24px;
    padding: 0 0.5rem;
  }

  .chairs-row .chairs-title::before,
  .chairs-row .chairs-title::after {
    width: 30px;
  }

  .chairs-row .chairs-title::before {
    left: -38px;
  }

  .chairs-row .chairs-title::after {
    right: -38px;
  }

  .chairs-row .chairs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .chair-card-new {
    width: 100%;
    max-width: 280px;
    height: 380px;
    padding: 1rem 0.8rem 0.8rem;
    margin: 0 auto;
  }

  .chair-card-new .chair-image {
    width: 180px;
    height: 180px;
    margin-bottom: 1.2rem;
    border: 3px solid #D9D9D9;
  }

  .chair-name-new {
    font-size: 16px;
  }
.org-general-chairs{
padding: 2rem 2rem 0 2rem;
  }
.best-paper-award-chairs .chair-card,
.org-program-chairs .chair-card,   
.org-general-chairs .chair-card{
  width: 280px;
  height: 380px;
}
.best-paper-award-chairs .chair-card .chair-image,
.org-program-chairs .chair-card .chair-image, 
.org-general-chairs .chair-card .chair-image{
  width: 180px;
  height: 180px;
}

  .chair-affiliation.chair-name-new {
    font-size: 14px;
  }
   .chairs-title::before{
    left: -45px;
  }
  .chairs-title::after{
    right: -45px;
  }
  .org-program-chairs .chairs-title{
    max-width: 250px;
  }
  .org-general-chairs .chairs-title::before,
  .org-general-chairs .chairs-title::after {
    width: 50px;
  }
  .org-program-chairs .chairs-title::before,
  .org-program-chairs .chairs-title::after {
    width: 50px;
  }
  .org-program-chairs  .chairs-category:last-child .chairs-title::before,
  .org-program-chairs  .chairs-category:last-child .chairs-title::after {
    width: 50px;
  }
  .chairs-category{
    margin-bottom:0;
  }
  .best-paper-award-chairs{
    padding: 0 2rem;
  }
  .ddpv-chairs .chairs-title,
  .best-paper-award-chairs .chairs-title{
    max-width: 240px;
  }
  .chairs-row{
    gap: 1rem;
    margin-bottom:0;
  }
  .ww-chairs,.ddpv-chairs{
    padding: 1rem 2rem;
  }
  .chairs-title{
    font-size: 24px;
  }
  .ddpv-chairs .container{
    padding: 0;
  }

  /* ====== Venue & Travel 页面移动端适配 ====== */
  .conference-Venue {
    padding: 1.5rem 0.8rem;
  }
  
  .conference-Venue .container {
    padding: 0 0.8rem;
  }
  
  .venue-layout {
    flex-direction: column;
    gap: 1rem;
  }
  
  .venue-left {
    min-width: 100%;
  }
  
  .venue-right {
    min-width: 100%;
  }
  
  .venue-title {
    font-size: 20px;
    margin-bottom: 0.8rem;
  }
  
  .venue-description {
    font-size: 16px;
    margin-bottom: 0.8rem;
    line-height: 1.4;
  }
  
  .venue-location {
    padding-top: 1.2rem;
  }
  
  .venue-location p {
    font-size: 16px;
  }
  .hotel-location .to-hotel p {
		font-size: 16px;
	}
  .conference-reach {
    padding: 1.5rem 0.8rem;
  }
  
  .conference-reach .container {
    padding: 0 0.8rem;
  }
  
  .how-to-reach-title {
    width: 100%;
    height: auto;
    font-size: 24px;
  }
  
  .how-to-reach-sub-title {
    font-size: 14px;
    margin-top: 12px;
  }

  .how-to-reach-title::before,.how-to-reach-title::after{
    display: none;
  }
  
  .how-to-reach-item {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .item-content {
    padding: 0 0.8rem;
  }
  
  .item-title {
    font-size: 18px;
    margin-bottom: 0.6rem;
  }
  
  .item-text {
    font-size: 14px;
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }
  
  .item-note {
    font-size: 14px;
  }

  .cffp-section{
    padding: 1.5rem 1rem;
  }

  /* ====== 表格响应式样式 ====== */
  .pc-table {
    display: none;
  }

  .mobile-tables {
    display: block;
  }

  .mobile-table-container {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }

  .mobile-table-container h3 {
    font-size: 16px;
    padding: 10px;
    margin: 0;
    background-color: #7A1207;
    border-bottom: 1px solid #ddd;
  }

  .mobile-table {
    width: 100%;
    border-collapse: collapse;
  }

  .mobile-table th,
  .mobile-table td {
    padding: 4px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
  }

  .mobile-table th {
    font-size: 16px;
    background-color: #f9f9f9;
    font-weight: bold;
  }

  /* 时间列样式 */
  .mobile-table td:first-child {
    white-space: nowrap;
    min-width: 100px;
    vertical-align: top;
  }

  

  /* 确保表格内容在移动端正确换行 */
  .mobile-table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }

  /* 最后一行的单元格不显示下边框 */
  .mobile-table tr:last-child td {
    border-bottom: none;
  }

  /* ====== Program Overview 页面移动端适配 ====== */
  .overview-content-section h2 {
    font-size: 24px;
  }

  .overview-content a {
    font-size: 18px;
    line-height: 36px;
  }

  .overview-content div {
    font-size: 16px;
  }

  .overview-content p {
    font-size: 16px;
  }
}   