/* 소개 페이지 스타일 */
.about-page {
    max-width: 800px;
    margin: 0 auto;
}

.about-page h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.about-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h2 {
    color: #3498db;
    margin-bottom: 1rem;
}

.about-section ul {
    padding-left: 1.5rem;
}

.about-section li {
    margin-bottom: 0.5rem;
}

/* 개인정보 처리방침 스타일 */
.privacy-page {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-page h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    color: #3498db;
    margin-bottom: 1rem;
}

.privacy-section ul {
    padding-left: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

/* 이용 약관 스타일 */
.terms-page {
    max-width: 800px;
    margin: 0 auto;
}

.terms-page h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.terms-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    color: #3498db;
    margin-bottom: 1rem;
}

.terms-section ol, 
.terms-section ul {
    padding-left: 1.5rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
}

.terms-section ol li {
    margin-bottom: 1rem;
}

.terms-section ol li ul {
    margin-top: 0.5rem;
}

.terms-section ol li ul li {
    margin-bottom: 0.3rem;
}

/* 서비스 소개 페이지에 있는 FAQ 섹션 스타일 */
.about-section.faq-section .faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.about-section.faq-section .faq-item h3 {
    color: #3498db;
    margin-bottom: 1rem;
    cursor: pointer;
    position: relative;
}

.about-section.faq-section .faq-item .faq-content {
    margin-left: 1rem;
    display: block; /* 기본적으로 보이기 */
}

.about-section.faq-section .faq-item .faq-content h4 {
    color: #2c3e50;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.about-section.faq-section .faq-item .faq-content h5 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.about-section.faq-section .faq-item .faq-content h4:first-child {
    margin-top: 0;
}

.about-section.faq-section .faq-item .faq-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-section.faq-section .faq-item .faq-content ul, 
.about-section.faq-section .faq-item .faq-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.about-section.faq-section .faq-item .faq-content li {
    margin-bottom: 0.5rem;
}

/* 모바일 대응 스타일 */
@media (max-width: 768px) {
    .about-page,
    .privacy-page,
    .terms-page {
        padding: 0 1rem;
    }
    
    .about-section h2,
    .privacy-section h2,
    .terms-section h2 {
        font-size: 1.3rem;
    }
    
    .about-section.faq-section .faq-item h3 {
        font-size: 1.2rem;
    }
    
    .about-section.faq-section .faq-item .faq-content {
        margin-left: 0.5rem;
    }
    
    .about-section.faq-section .faq-item .faq-content h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-page h1,
    .privacy-page h1,
    .terms-page h1 {
        font-size: 1.5rem;
    }
    
    .about-section h2,
    .privacy-section h2,
    .terms-section h2 {
        font-size: 1.2rem;
    }
    
    .about-section.faq-section .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .about-section.faq-section .faq-item .faq-content {
        margin-left: 0;
    }
    
    .about-section.faq-section .faq-item .faq-content h4 {
        font-size: 0.95rem;
    }
    
    .about-section.faq-section .faq-item .faq-content h5 {
        font-size: 0.9rem;
    }
}
