/* ====== 平板和移动端通用样式 ====== */
@media (max-width: 1199px) {
    /* 隐藏桌面导航 */
    .nav {
        display: none !important;
    }
    
    /* 显示移动端菜单按钮 */
    .mobile-menu-button {
        display: block !important;
        cursor: pointer;
        z-index: 1000;
    }
    
    /* 显示头部右侧容器（包含搜索和菜单按钮） */
    .header-right {
        display: flex !important;
        align-items: center;
        gap: 15px;
    }
    
    /* 隐藏桌面搜索，移动端可能用不同的搜索方式 */
    .desktop-search {
        display: none !important;
    }
    
    /* 调整头部布局 */
    .header {
        justify-content: space-between;
        padding: 0 20px 0 0;
    }
    
    /* 移动端导航样式 - 从图片看是深红色背景 */
    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #961f12; /* 深红色背景 */
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
    }
    
    .mobile-nav.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-nav-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-nav-header h2 {
        color: white;
        font-family: "Archivo Black", sans-serif;
        font-size: 28px;
        font-weight: 900;
        margin: 0;
    }
    
    .close-button {
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .close-button span {
        position: absolute;
        width: 100%;
        height: 3px;
        background: white;
    }
    
    .close-button span:first-child {
        transform: rotate(45deg);
    }
    
    .close-button span:last-child {
        transform: rotate(-45deg);
    }
    
    .mobile-nav-items {
        flex: 1;
    }
    
    .mobile-nav-item {
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }
    
    .mobile-nav-item:last-child {
        border-bottom: none;
    }
    
    .mobile-nav-item a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        font-weight: 600;
        display: block;
        padding: 10px 0;
    }
    
    .mobile-dropdown {
        margin-left: 20px;
        margin-top: 10px;
        display: none;
    }
    
    .mobile-nav-item.active .mobile-dropdown {
        display: block;
    }
    
    .mobile-dropdown a {
        font-size: 16px;
        font-weight: 500;
        padding: 8px 0;
        opacity: 0.9;
    }
    
    /* 响应式调整 */
    .hero {
        padding-top: 80px;
    }
    
    .info-container {
        flex-direction: column;
        margin-top: 50px;
    }
    
    .box1, .box2, .box3 {
        width: 100%;
        min-width: auto;
    }

    /* 基础样式调整 */
    body {
        font-size: 15px;
    }
    
    /* 增大内边距 */
    .hero {
        padding: 60px 20px 40px;
    }
    
    .info-container {
        padding: 0 1.5rem;
        gap: 1.5rem;
    }
    
    .box1, .box2, .box3 {
        padding: 1.2rem;
    }
    
    .cfp-section {
        padding: 3rem 1.5rem;
    }
    
    .topics-section {
        padding: 3rem 1.5rem;
        margin: 20px 1.5rem 0;
    }
    
    .chairs-section {
        padding: 3rem 1.5rem;
    }
    
    .chairs-section.best-paper-award-chairs {
        padding: 0rem 1.5rem;
    }
    
    .contact-section {
        padding: 3rem 1.5rem;
    }
    
    /* 调整网格为1列（移动端样式） */
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .chairs-grid {
        grid-template-columns: 300px;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .chairs-grid.chairs-grid-small {
        grid-template-columns: 300px;
        justify-content: center;
    }
    
    .chairs-row {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 0;
    }
    
    .chairs-row .chairs-category {
        min-width: 100%;
    }
    
    .chairs-row .chairs-grid {
        grid-template-columns: 300px;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    /* 微调字体大小 */
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .info-label {
        font-size: 22px;
    }
    
    .info-value {
        font-size: 22px;
    }
    
    .registration-text h3 {
        font-size: 24px;
    }
    
    .registration-text p {
        font-size: 22px;
    }
    
    .registration-button a {
        font-size: 24px;
    }
    
    .intro-section h3 {
        font-size: 28px;
    }
    
    .intro-section p {
        font-size: 24px;
    }
    
    .speakers-section h2 {
        font-size: 32px;
    }
    
    .speaker h3 {
        font-size: 24px;
    }
    
    .speaker p {
        font-size: 20px;
    }
    
    .cfp-section h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .cfp-section h3 {
        font-size: 24px;
    }
    
    .cfp-section p {
        font-size: 20px;
    }
    
    .cfp-section ul {
        font-size: 20px;
    }
    
    .topics-section h2 {
        font-size: 32px;
    }
    
    .topics-section .topics-description {
        font-size: 16px;
    }
    
    .topic-list li {
        font-size: 16px;
    }
    
    .chairs-title {
        font-size: 24px;
        padding: 0 0.5rem;
    }
    
    .chairs-title::before {
        left: -45px;
        width: 50px;
    }
    
    .chairs-title::after {
        right: -45px;
        width: 50px;
    }
    
    .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;
    }
    
    .chair-name {
        font-size: 24px;
    }
    
    .chair-affiliation {
        font-size: 20px;
    }
    
    .contact-content p {
        font-size: 22px;
    }
    
    .contact-btn {
        font-size: 22px;
    }
    
    .footer h2 {
        font-size: 24px;
    }
    
    /* 调整卡片大小（移动端样式） */
    .speaker {
        width: 100%;
        max-width: 300px;
        height: auto;
        min-height: 350px;
        margin: 0 auto;
        background-position: top left;
    }
    
    .speaker img {
        width: 160px;
        height: 160px;
        margin-bottom: 1.5rem;
    }
    
    .chair-card {
        width: 100%;
        max-width: 300px;
        height: 380px;
        margin: 0 auto;
    }
    
    .chair-image {
        width: 180px;
        height: 180px;
        margin-bottom: 1.2rem;
    }
    
    .chair-card-new {
        width: 100%;
        max-width: 300px;
        height: 380px;
        padding: 1rem 0.8rem 0.8rem;
        margin: 0 auto;
    }
    
    .best-paper-award-chairs .chair-card,
    .org-program-chairs .chair-card,   
    .org-general-chairs .chair-card,
    .program-chairs .chair-card {
        width: 300px;
        height: 380px;
    }
    
    .best-paper-award-chairs .chair-card .chair-image,
    .org-program-chairs .chair-card .chair-image, 
    .org-general-chairs .chair-card .chair-image,
    .program-chairs .chair-card .chair-image {
        width: 180px;
        height: 180px;
    }
    
    .chairs-category {
        margin-bottom: 0;
    }
    
    /* 调整industry-chairs和best-paper-award-chairs之间的间距 */
    .industry-chairs {
        margin-bottom: 1rem;
    }
    
    .best-paper-award-chairs {
        margin-top: 1rem;
    }
    
    /* 调整时间线（移动端样式） */
    .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;
        padding: 1.5rem 1rem;
    }
    
    .timeline-item h3 {
        font-size: 20px;
    }
    
    .timeline-item p {
        font-size: 16px;
    }
    
    /* 调整导航样式 */
    .mobile-nav-header h2 {
        font-size: 24px;
    }
    
    .mobile-nav-item a {
        font-size: 17px;
    }
    
    .mobile-dropdown a {
        font-size: 15px;
    }
    
    /* ====== Venue & Travel 页面适配 ====== */
    .conference-Venue {
        padding: 2rem 1rem;
    }
    
    .conference-Venue .container {
        padding: 0 1rem;
    }
    
    .venue-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .venue-left {
        min-width: 100%;
    }
    
    .venue-right {
        min-width: 100%;
    }
    
    .venue-title {
        font-size: 24px;
        margin-bottom: 1rem;
    }
    
    .venue-description {
        font-size: 18px;
        margin-bottom: 1rem;
    }
    
    .venue-location {
        padding-top: 1.5rem;
    }
    
    .venue-location p {
        font-size: 18px;
    }
	.hotel-location .to-hotel p {
		font-size: 18px;
	}
    
    .conference-reach {
        padding: 2rem 1rem;
    }
    
    .conference-reach .container {
        padding: 0 1rem;
    }
    
    .how-to-reach-title {
        width: 100%;
        height: auto;
        font-size: 28px;
    }
    
    
    .how-to-reach-sub-title {
        font-size: 16px;
        margin-top: 15px;
    }
    .how-to-reach-title::before{
        left: -50px;
    }
    
    .how-to-reach-title::after {
        right: -50px;
    }
    
    .how-to-reach-item {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }
    
    .transport-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .item-content {
        padding: 0 1rem;
        width: 100%;
    }
    
    .item-title {
        font-size: 20px;
        margin-bottom: 0.8rem;
    }
    
    .item-text {
        font-size: 16px;
        margin-bottom: 0.8rem;
    }
    
    .item-note {
        font-size: 16px;
    }
	.conference-reach .mtr-note{
		padding: 0.75rem 1rem;
		margin-left: 1rem;
		margin-top:  .75rem;
	}
	.conference-reach .mtr-note p:first-child{
		font-size: 16px;
		margin-bottom: .5rem;
	}
	.conference-reach .mtr-note p:not(:first-child) {
		font-size: 14px;
	}

  .overview-content{
    padding: 0 1rem;
  }
}  