/**
 * EICP 테마 - 서브페이지 공통 스타일
 * 경영자문, 기업지원, 종합컨설팅, 프로세스, 비교, 체크리스트 페이지
 *
 * @package eicp
 */

/* ==========================================================================
   Content Section
   ========================================================================== */
.content-section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .content-section {
        padding: 50px 0;
    }
}

/* ==========================================================================
   Service Detail (공통 서비스 상세 레이아웃)
   ========================================================================== */
.service-detail {
    max-width: 900px;
    margin: 0 auto;
}

.service-intro {
    margin-bottom: 50px;
}

.service-intro h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.service-intro p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================================================
   Service Problems & Solutions
   ========================================================================== */
.service-problems,
.service-solutions,
.service-benefits {
    margin-bottom: 50px;
}

.service-problems h3,
.service-solutions h3,
.service-benefits h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-problems h3 i {
    color: #e74c3c;
}

.service-solutions h3 i,
.service-benefits h3 i {
    color: var(--primary-color);
}

/* Problem List */
.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
    color: var(--text-light);
}

.problem-list li::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #e74c3c;
}

/* ==========================================================================
   Solution Cards (2열 그리드)
   ========================================================================== */
.solution-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .solution-cards {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

.solution-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Process Timeline (프로세스 페이지)
   ========================================================================== */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 576px) {
    .timeline-item {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   Compare Table (서비스 비교 페이지)
   ========================================================================== */
.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.compare-table th,
.compare-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.compare-table tr:hover {
    background: var(--bg-light);
}

.compare-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   Checklist (자가진단 체크리스트 페이지)
   ========================================================================== */
.checklist-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.checklist-intro {
    margin-bottom: 40px;
}

.checklist-group {
    margin-bottom: 30px;
}

.checklist-group h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.checklist label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
}

.checklist input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

/* ==========================================================================
   Related Services (관련 서비스 카드 섹션)
   ========================================================================== */
.related-services {
    padding: 60px 0;
    background: var(--bg-light);
}

.related-services .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.related-services .section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.related-services .section-header p {
    font-size: 16px;
    color: var(--text-light);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    display: block;
    background: #fff;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--text-color);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--text-color);
}

.related-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.related-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.related-card .arrow {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}
