/* ========================= 상담 배너 영역 스타일 ========================= */

/* 상담 배너 별도 섹션 스타일 */
.nit_consult-section {
    padding: 80px 0;
    background: #f0f7ff; /* 밝은 하늘색 계열 */
    position: relative;
    overflow: hidden;
}

.nit_consult-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0px;
}

.nit_consult-area {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.nit_consult-left {
    flex: 2;
    display: flex;
    gap: 30px;
}

.nit_consult-inquiry, .nit_consult-simple {
    background: none;
    border: none;
    box-shadow: none;
    margin-bottom: 20px;
    width: 460px;
    height: auto;
    animation: slideUpFromBottom 0.8s ease-out;
}

@keyframes slideUpFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.nit_consult-header {
    background: #2c3e50;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.nit_consult-inquiry .nit_consult-header {
    background: #34495e;
}

.nit_consult-simple .nit_consult-header {
    background: #2c3e50;
}

.nit_consult-body {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: auto;
}

.nit_consult-plus {
    font-size: 22px;
    color: #bbb;
    font-weight: 400;
    margin-left: 8px;
    cursor: pointer;
}

.nit_consult-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nit_consult-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.nit_consult-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.nit_consult-list li:last-child {
    border-bottom: none;
}

.nit_consult-list li span:first-child {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.nit_consult-date {
    text-align: right;
    color: #aaa;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
}

.nit_consult-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    margin-bottom: 10px;
    background: #fafbfc;
}

.nit_consult-textarea {
    width: 100%;
    min-height: 280px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    margin-bottom: 10px;
    background: #fafbfc;
    resize: vertical;
}

.nit_consult-agree {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.nit_consult-btn {
    width: 100%;
    padding: 12px 0;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.nit_consult-btn:hover {
    background: #0052a3;
}

.nit_consult-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 450px;
}

.nit_consult-kakao, .nit_consult-homepage, .nit_consult-phone {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 120px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nit_consult-kakao:hover, .nit_consult-homepage:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}

.nit_consult-info {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 170px;
}

.nit_consult-banner-icon {
    margin: 0 20px 0 20px;
	width: 73px;
    height: 73px;
    object-fit: contain;
    flex-shrink: 0;
}

.nit_consult-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
}

.nit_consult-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.nit_consult-infotitle {
    font-size: 18px;
    padding-left: 20px;	
    font-weight: 800;
    color: #0052a3;
    margin-bottom: 2px;
    line-height: 2;
}

.nit_consult-infonum {
    font-size: 15px;
    margin-left: 20px; 	
    font-weight: 450;
    color: #000;
    margin-bottom: 2px;
    line-height: 1.5;	
}

.nit_consult-infotime {
    font-size: 14px;
    color: #888;
    font-weight: 450;
    line-height: 1.5;
}

.nit_consult-body img {
    width: 100%;
    height: 187px;
    display: block;
    margin: 0 auto;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.nit_consult-list .loading {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* 반응형 스타일 */
@media (max-width: 1200px) {
    .nit_consult-area {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
    }
    .nit_consult-left, .nit_consult-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nit_consult-section {
        padding: 40px 0;
    }
    
    .nit_consult-container {
        padding: 0 8px;
    }
    
    .nit_consult-area {
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
        margin-bottom: 24px;
        padding: 0 8px;
    }
    
    .nit_consult-left {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }
    
    .nit_consult-right {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }
    
    .nit_consult-inquiry, .nit_consult-simple, .nit_consult-kakao, .nit_consult-homepage, .nit_consult-phone, .nit_consult-info {
        width: 100%;
        padding: 14px 10px;
    }
    
    .nit_consult-title {
        font-size: 15px;
    }
    
    .nit_consult-infonum {
        font-size: 20px;
    }
    
    .nit_consult-header {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .nit_consult-header::after {
        display: none;
    }
    
    .nit_consult-inquiry, 
    .nit_consult-simple {
        width: 100%;
        height: auto;
        min-height: 400px;
        animation: slideUpFromBottom 0.8s ease-out;
        margin-bottom: 20px;
    }
    
    .nit_consult-body {
        padding: 15px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .nit_consult-area {
        padding: 0 10px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nit_consult-left {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }
    
    .nit_consult-right {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }
    
    .nit_consult-inquiry, 
    .nit_consult-simple {
        width: 100%;
        margin-bottom: 0;
    }
    
    .nit_consult-kakao, 
    .nit_consult-homepage, 
    .nit_consult-phone, 
    .nit_consult-info {
        width: 100%;
        margin-bottom: 0;
    }
    
    .nit_consult-title {
        font-size: 13px;
    }
    .nit_consult-infonum {
        font-size: 16px;
    }
}

/* ========================= 상담 배너 영역 스타일 끝 ========================= */
