/* ==========================================================================
 * preview.css — 미리보기(/preview/*) 전용 스타일
 *  · src/preview.ts 인라인 <style> 에서 분리 (서버 템플릿 변수 의존 없음)
 * ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0px auto 80px;
    padding: 20px 20px 90px;
}

.service-header {
    display: none;
    /* 메인 페이지에서 이미 표시된 정보이므로 숨김 */
}

.service-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.service-header h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.service-content {
    background: white;
    padding: 60px;
    border-radius: 15px;
    /*box-shadow: 0 4px 20px rgba(0,0,0,0.08);*/
}

.service-content h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.service-content h2:first-child {
    margin-top: 0;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.service-content p {
    line-height: 2;
    margin-bottom: 20px;
    font-size: 16px;
}

.service-content ul, .service-content ol {
    margin: 20px 0 20px 30px;
}

.service-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 16px;
}

.service-content ul li {
    list-style-type: disc;
}

.service-content ol li {
    list-style-type: decimal;
}

.btn-back {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 16px;
}

.btn-back:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 95, 158, 0.3);
}

@media (max-width: 768px) {
    .btn-back:hover {
        background: var(--primary-color);
        transform: none;
        box-shadow: none;
    }
}

.btn-back:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

.service-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-service {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 35px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 16px;
    /*line-height: 1.5;*/
}

.btn-service:hover {
    background: #c19d2f;       /* #5a6d7f; (회색) */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 123, 140, 0.3);
}

@media (max-width: 768px) {
    .btn-service:hover {
        background: var(--accent-color);
        transform: none;
        box-shadow: none;
    }
}

.btn-service:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

@media (max-width: 768px) {
    .container {
        padding: 0px 0px 60px;
        margin: 0px auto 80px;
    }
    
    .service-header h1 {
        font-size: 28px;
    }
    
    .service-icon {
        font-size: 60px;
    }

   .service-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    }

    .service-content {
        padding: 40px 25px;
    }
    
    .service-content h2 {
        font-size: 24px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
}
