/* Expert Image Fix */
.expert-card .expert-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #6ec1e4;
}

/* 添加新的样式 */
.info-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.info-section .section-title {
    text-align: center;
    color: #1e40af;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
}

.info-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-text {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-text p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-text p:last-child {
    margin-bottom: 0;
}

.info-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-card h4 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: center;
}

.info-card p {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.sleep-position-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.position-text ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.position-text li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.5;
}

.position-text li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.position-text li strong {
    color: #1e40af;
    font-weight: 600;
}

.position-image {
    text-align: center;
}

.position-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-cta {
    background-color: #e0f2fe;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #6ec1e4;
}

.info-cta p {
    color: #1e40af;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.info-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .sleep-position-info {
        grid-template-columns: 1fr;
    }
    
    .position-image {
        margin-top: 1rem;
    }
    
    .info-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .info-buttons .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .info-section {
        padding: 60px 0;
    }
    
    .info-section .section-title {
        font-size: 1.8rem;
    }
    
    .info-text, .info-card, .info-cta {
        padding: 1.5rem;
    }
    
    .info-card h4 {
        font-size: 1.3rem;
    }
} 

/* ================================
   Mobile Navigation Fix (global)
   Ensures .nav-toggle correctly shows the menu on all pages
================================ */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%; /* hidden by default */
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 90px; /* account for header height */
    padding-left: 24px;
    transition: left 0.3s ease;
    z-index: 9998; /* below nav-toggle (relative) */
  }
  .nav-menu.active {
    left: 0 !important; /* slide in */
  }
  /* Ensure body overflow hidden when menu open (optional) */
  body.nav-open {
    overflow: hidden;
  }
} 