/* ==================== 모바일 전체 화면 강제 설정 ==================== */
/* 모든 기종에서 좌우 여백 없이 꽉 차게 만들기 */

html {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* 모든 섹션 강제 100% */
section, div, header, footer, main, article, aside, nav {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 고정 요소 강제 설정 */
.floating-banner,
.consultation-ticker,
.floating-action {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* 티커 글씨 잘림 방지 */
.ticker-content {
    display: flex !important;
    white-space: nowrap !important;
}

.ticker-item {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.ticker-item * {
    white-space: nowrap !important;
}

/* 컨테이너 강제 설정 */
.container {
    width: 100% !important;
    max-width: 1200px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 모바일 전용 */
@media (max-width: 768px) {
    html, body {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .hero, .why-section, .stats-section, .types-section, .event-section, .cta-section {
        width: 100vw !important;
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .banner-content {
        padding: 0 10px !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* 제목 텍스트 줄바꿈 개선 */
    .section-title,
    h1, h2, h3 {
        word-break: keep-all !important;
        white-space: normal !important;
        line-height: 1.5 !important;
    }
}
