/* S-CoreDream 웹폰트 */
@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff');
@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff');
@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff');
@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff');

@font-face {
    font-family: 'S-CoreDream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'S-CoreDream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'S-CoreDream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'S-CoreDream';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* KAICE 주요 사업 스타일 */
.kaice-business-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    font-family: 'S-CoreDream', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.kaice-business-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kaice-business-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.kaice-business-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.kaice-business-item[open] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.kaice-business-item[open] .kaice-business-summary {
    border-bottom: none;
}

.kaice-business-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.kaice-business-summary:hover {
    background-color: #f9fafb;
}

.kaice-business-summary::-webkit-details-marker {
    display: none;
}

.kaice-business-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    flex-shrink: 0;
}

.kaice-business-icon i {
    font-size: 32px;
    color: #408090;
}

.kaice-business-content {
    flex: 1;
}

.kaice-business-content h3 {
    color: #333333;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'S-CoreDream', 'Noto Sans KR', sans-serif;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.kaice-business-content p {
    color: #333333;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'S-CoreDream', 'Noto Sans KR', sans-serif;
    margin: 0;
    line-height: 1.5;
}

.kaice-business-arrow {
    transition: transform 0.2s ease;
    color: #6b7280;
}

.kaice-business-item[open] .kaice-business-arrow {
    transform: rotate(180deg);
}

.kaice-business-details {
    padding: 0 24px 24px;
}

.kaice-business-goal {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.kaice-business-goal h4 {
    display: flex;
    align-items: center;
    color: #333333;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'S-CoreDream', 'Noto Sans KR', sans-serif;
    margin: 0 0 12px 0;
}

.kaice-business-goal p {
    color: #333333;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'S-CoreDream', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    margin: 0;
}

.kaice-business-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-left: 10px;
}

.kaice-business-activities h4,
.kaice-business-targets h4 {
    display: flex;
    align-items: center;
    color: #333333;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'S-CoreDream', 'Noto Sans KR', sans-serif;
    margin: 0 0 16px 0;
}

.kaice-business-activities ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kaice-business-activities li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #333333;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: 'S-CoreDream', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
}

.kaice-business-activities li:before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #408090;
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
}

.kaice-business-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kaice-business-badge {
    background-color: #e8f4f8;
    color: #408090;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'S-CoreDream', 'Noto Sans KR', sans-serif;
    display: inline-block;
}

/* FontAwesome 아이콘이 없는 경우 기본 아이콘 */
.kaice-business-icon i:before {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "dashicons";
    font-weight: 900;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .kaice-business-container {
        padding: 0 16px;
    }
    
    .kaice-business-summary {
        padding: 20px;
        gap: 16px;
    }
    
    .kaice-business-icon {
        width: 50px;
        height: 50px;
    }
    
    .kaice-business-icon i {
        font-size: 24px;
    }
    
    .kaice-business-content h3 {
        font-size: 1.1rem;
    }
    
    .kaice-business-content p {
        font-size: 0.9rem;
    }
    
    .kaice-business-details {
        padding: 0 20px 20px;
    }
    
    .kaice-business-goal {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .kaice-business-container {
        padding: 0 12px;
    }
    
    .kaice-business-summary {
        padding: 16px;
        gap: 12px;
    }
    
    .kaice-business-icon {
        width: 40px;
        height: 40px;
    }
    
    .kaice-business-icon i {
        font-size: 20px;
    }
    
    .kaice-business-content h3 {
        font-size: 1rem;
    }
    
    .kaice-business-content p {
        font-size: 0.85rem;
    }
    
    .kaice-business-details {
        padding: 0 16px 16px;
    }
    
    .kaice-business-badges {
        gap: 6px;
    }
    
    .kaice-business-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* 접근성 개선 */
.kaice-business-summary:focus {
    outline: 2px solid #408090;
    outline-offset: 2px;
}

.kaice-business-item details > summary {
    outline: none;
}

/* 인쇄 스타일 */
@media print {
    .kaice-business-container {
        max-width: none;
        padding: 0;
    }
    
    .kaice-business-item {
        border: 1px solid #ccc;
        break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .kaice-business-item[open] .kaice-business-details {
        display: block;
    }
    
    .kaice-business-arrow {
        display: none;
    }
}