/* --- 기본 설정 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    background: linear-gradient(to bottom right, #f0f4f8, #e0f2f1);
    color: #1f2937;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 공통 레이아웃 --- */
header, main, footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 헤더 --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}

.logo img {
    max-width: 180px;
    height: auto;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    background-color: #014B96;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: #003a75;
}


/* --- 메인 컨텐츠 --- */
main {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* --- 도움말 검색 섹션 --- */
.support-hero {
    text-align: center;
    background-color: #fff;
    border-radius: 16px;
    padding: 80px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #ced4da;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-box input {
    flex-grow: 1;
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
}

.search-box input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #014B96;
}

.search-box button {
    background-color: #014B96;
    color: white;
    border: none;
    padding: 0 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #003a75;
}

/* --- 도움말 주제 섹션 --- */
.support-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.topic-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.topic-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.topic-card p {
    color: #6c757d;
    margin-bottom: 24px;
}

.card-link {
    font-weight: 600;
    color: #014B96;
}

.card-link:hover {
    text-decoration: underline;
}


/* --- 반응형 디자인 --- */
@media (max-width: 768px) {
    .support-hero {
        padding: 60px 20px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    .search-box {
        flex-direction: column;
    }
    .search-box input {
        border-bottom: 1px solid #ced4da;
    }
    .search-box input:focus {
        box-shadow: none; /* 모바일에서는 포커스 효과 단순화 */
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}

/* ▼▼▼ 아래 코드 추가 ▼▼▼ */
.logo-area {
    display: flex;
    align-items: center;
    gap: 16px; /* 로고와 제목 사이 간격 */
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    padding-left: 16px; /* 구분선과의 간격 */
    border-left: 1px solid #e0e0e0; /* 로고와 제목을 나누는 세로선 */
}
/* ▲▲▲ 코드 추가 완료 ▲▲▲ */


.logo img {
    max-width: 180px;
    height: auto;
    display: block; /* 이 속성은 logo-area가 flex이므로 필수는 아님 */
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

footer { background-color: #1f2937; color: #d1d5db; font-size: 0.9rem; line-height: 1.8; padding: 60px 40px; margin-top: 80px; max-width: none; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; }
.footer-info { flex-grow: 1; }
.footer-info p { margin-bottom: 5px; color: #9ca3af; }
.footer-info strong { font-weight: 600; color: #f9fafb; }
.footer-bottom { text-align: right; flex-shrink: 0; }
.footer-links a { color: #d1d5db; text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }
.footer-links span { margin: 0 12px; color: #4b5563; }
.footer-copyright { margin-top: 20px; color: #6b7280; font-size: 0.85rem; }


