/* ===== 서브페이지 스타일 ===== */
.subpage-navigation {
    background-color: transparent;
    position: relative;
    z-index: 100;
}

.subpage-navigation .sticky-nav-container {
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: none !important;
    z-index: 1000;
    padding: 10px 20px;
    width: 1920px !important;
    max-width: 100%;
    margin: 0 auto;
}

.subpage-navigation .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.subpage-navigation .nav-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    padding-left: 10px;
    margin: 0;
    width: calc(100% - 220px);
    justify-content: space-between;
}

.subpage-navigation .logo {
    display: block;
}

.subpage-navigation .logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu li a:hover {
    color: #00BF73;
    background-color: rgba(0, 191, 115, 0.05);
}

.nav-menu li a.active {
    color: #00BF73;
    font-weight: 700;
    background-color: rgba(0, 191, 115, 0.1);
    box-shadow: 0 2px 5px rgba(0, 191, 115, 0.2);
}

.subpage-header {
    background-color: #f8f9fa;
    padding: 60px 0 40px;
    border-bottom: 1px solid #eee;
}

.subpage-title {
    max-width: 1920px;
    margin: 0 auto;
    font-size: 2.5rem;
    color: #00BF73;
    font-weight: 700;
}

.subpage-subtitle {
    max-width: 1920px;
    margin: 10px auto 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.subpage-content {
    padding: 60px 0;
}

.content-placeholder {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-placeholder h2 {
    margin-bottom: 20px;
    color: #333;
}

.content-placeholder p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 서브페이지 네비게이션 스타일 */
.nav-menu li a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
}

.nav-menu li a:hover {
    color: #00BF73;
}

/* 서브페이지 반응형 스타일 */
@media (max-width: 768px) {
    .subpage-hero {
        height: 180px;
        min-height: 180px;
    }
    
    .subpage-title {
        font-size: 2rem;
    }
    
    .subpage-subtitle {
        font-size: 1rem;
    }
    
    .content-placeholder {
        padding: 30px 20px;
    }
}

/* 모바일 텍스트 크기 조정 */
@media (max-width: 991px) {
    /* 서브페이지 히어로 섹션 텍스트 크기 조정 */
    .subpage-hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    
    .subpage-hero-description {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    
    .subpage-hero-subtitle {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* 섹션 제목 크기 조정 */
    .section-title {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .section-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
    
    /* 일반 텍스트 크기 조정 */
    .intro-text p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
    
    /* 말풍선 섹션 - 2개씩 배치 */
    .speech-bubble-section {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 15px 0 30px !important;
    }
    
    .speech-bubble {
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 8px !important;
        margin: 0 !important;
        background-color: #f9f9f9 !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    
    .speech-bubble .character-icon {
        margin-right: 0 !important;
        margin-bottom: 8px !important;
    }
    
    .speech-bubble .character-icon img {
        width: 30px !important;
        height: 30px !important;
    }
    
    .speech-bubble .bubble-content {
        width: 100% !important;
    }
    
    .speech-bubble .bubble-content p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 5px !important;
        text-align: center !important;
    }
    
    /* 특징 카드 2개씩 배치 */
    .loan-features,
    .feature-container,
    .loan-info-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .feature-card,
    .loan-info-card {
        width: 100% !important;
        padding: 10px !important;
        margin-bottom: 0 !important;
    }
    
    .feature-card h3,
    .loan-info-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }
    
    .feature-card p,
    .loan-info-card p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    .feature-card ul li,
    .info-list li {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
    }
    
    /* 프로세스 단계 2개씩 배치 */
    .timeline-steps,
    .process-steps {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .timeline-step,
    .step {
        text-align: center !important;
        padding: 10px !important;
        margin-bottom: 0 !important;
    }
    
    .step-content h4,
    .step-label h4 {
        font-size: 0.75rem !important;
        margin-bottom: 5px !important;
        text-align: center !important;
    }
    
    .step-content p,
    .step-label p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    .step-number {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    /* 하이라이트 컨테이너 2개씩 배치 */
    .highlights-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .highlight-item {
        padding: 10px !important;
        flex-direction: column !important;
        text-align: center !important;
        min-width: auto !important;
    }
    
    .highlight-icon {
        width: 30px !important;
        height: 30px !important;
        margin-right: 0 !important;
        margin-bottom: 5px !important;
        font-size: 1rem !important;
    }
    
    .highlight-item p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        text-align: center !important;
    }
    
    /* CTA 섹션 텍스트 크기 조정 */
    .cta-section h3 {
        font-size: 1.1rem !important;
        text-align: center !important;
    }
    
    .cta-section p {
        font-size: 0.7rem !important;
        text-align: center !important;
    }
    
    .cta-button {
        font-size: 0.7rem !important;
        padding: 8px 15px !important;
    }
    
    /* 모든 섹션의 하이라이트 메시지 */
    .highlight-message {
        margin: 20px auto !important;
        padding: 15px !important;
        text-align: center !important;
    }
    
    .highlight-message p {
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
    }
    
    /* Fixed Form 완전 숨기기 */
    .fixed-form-container,
    [class*="fixed-"],
    [class*="floating-"] {
        display: none !important;
    }
}

/* 추가적인 모바일 최적화 */
@media (max-width: 767px) {
    /* 더 작은 화면에서 추가 텍스트 크기 조정 */
    .subpage-hero-title {
        font-size: 1.6rem !important;
    }
    
    .section-title {
        font-size: 1.2rem !important;
    }
    
    .feature-card h3 {
        font-size: 1rem !important;
    }
    
    .speech-bubble .bubble-content p {
        font-size: 0.75rem !important;
    }
}

/* 네비게이션 스타일 */
.subpage-nav {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 페이지 제목 섹션 */
.page-title-section {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
}
