/* ===================================
   RECRUIT PAGE - 통합 CSS
   =================================== */

/* 기본 컨테이너 스타일 */
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

.page-container {
    width: 100%;
    max-width: 100vw;
    margin-top: 280px;
    overflow-x: initial;
}

.content-section {
    width: 100%;
    max-width: 100vw;
    padding: 20px 0;
}

.section-wrapper {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 40px;
}

.section-side {
    width: 400px;
    flex-shrink: 0;
    min-width: 0;
}

.section-content {
    flex: 1;
    position: relative;
    min-width: 0;
    width: 100%;
}

/* 모든 이미지 반응형 처리 */
img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   TYPOGRAPHY & COMMON ELEMENTS
   =================================== */

.side-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.history-number {
    font-size: 18px;
    color: #ffcd3c;
    display: block;
}


.header-title-2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.space-20 {
    margin: 20px 0;
}

.space-100 {
    margin: 100px 0;
}

.history-intro {
    position: sticky;
    top: 100px;
}

/* ===================================
   VALUES GRID STYLES
   =================================== */

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 40px 0;
    gap: 0 !important;
    width: 100%;
}

.value-card {
    background: #fff;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    border-radius: 0 !important;
    width: 100%;
    min-width: 0;
}

.value-number {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    color: #666;
}

.value-content {
    flex: 1;
    min-width: 0;
}

.value-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.value-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    word-wrap: break-word;
}

/* ===================================
   PROCESS CONTAINER STYLES
   =================================== */

.process-container {
    display: flex;
    align-items: stretch;
    gap: 15px;
    margin: 50px 0;
    width: 100%;
}

.process-item {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
    padding: 0 10px;
    flex: 0 0 auto;
}

.process-number {
    font-size: 20px;
    font-weight: 700;
    color: #999;
    margin-bottom: 20px;
}

.process-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.process-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    word-wrap: break-word;
}

/* ===================================
   RECRUIT LINK STYLES
   =================================== */

.recruit-link-wrapper {
    text-align: center;
    padding: 50px 0;
    border-radius: 16px;
    margin: 40px 0;
    width: 100%;
}

.recruit-link-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.recruit-link-wrapper p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    word-wrap: break-word;
}

.recruit-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.recruit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background: #4A75E6;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    word-wrap: break-word;
}

.recruit-btn:hover {
    background: #3557b7;
    transform: translateY(-2px);
    color: #fff;
}

/* ===================================
   ANIMATED LINK STYLES
   =================================== */

.link-wrapper {
    margin: 30px 0;
}

.animated-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 5px 0;
    overflow: hidden;
    padding-bottom: 2px;
}

.link-text {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-arrow {
    margin-left: 8px;
    font-size: 14px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.animated-link:hover .link-text {
    transform: translateY(-150%);
}

.animated-link::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.animated-link:hover::after {
    transform: translateY(-120%);
}

.animated-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.animated-link:hover::before {
    width: 80%;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* 태블릿 */
@media (max-width: 1024px) {
    .section-wrapper {
        flex-direction: column;
        padding: 50px 20px;
        max-width: 100%;
    }

    .section-side {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .values-grid {
        gap: 0 !important;
    }
    
    .process-container {
        gap: 12px;
    }
}

/* 모바일 */
@media (max-width: 768px) {

    .header-image.recruit{
        height: 100px;
    }



    .header-image.ethics   {
        height: 150px !important;
    }

    .header-image-area{
        height: 160px;
    }



    .page-container{
        margin-top: 50px;
    }

    .mobile-logo{
        background: white;
    }


    .section-side {
        margin-bottom: 0 !important;
    }



    .mobile-logo{
        background: white;
    }

    
    .section-wrapper {
        padding-top: 30px;
        pading-left: 15px;
        padding-right: 15px;

        padding-bottom:  0 ;
        max-width: 100%;
    }

    .content-section{
        padding: 0;
    }

    .section-side {
        margin-bottom: 20px;
    }

    .side-title {
        font-size: 2rem;
        word-break: keep-all;
    }

    .header-title {
        font-size: 1.5rem;
        word-break: keep-all;
    }

    .header-title-2 {
        font-size: 1.2rem;
        word-break: keep-all;
    }

    .history-number {
        font-size: 16px;
    }

    .space-100 {
        margin: 50px 0;
    }

    /* Values Grid 모바일 스타일 */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 0 !important;
        margin: 0;
    }

    .value-card {
        padding: 25px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .value-number {
        width: 55px;
        height: 55px;
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .value-content h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .value-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Process Container 모바일 스타일 */
    .process-container {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }

    .process-arrow {
        transform: rotate(90deg);
        padding: 0;
        height: 30px;
    }

    .process-item {
        padding: 20px;
    }

    .process-number {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .process-content h4 {
        font-size: 16px;
    }

    .process-content p {
        font-size: 14px;
    }

    /* Recruit Link 모바일 스타일 */
    .recruit-link-wrapper {
        padding: 0;
    }

    .recruit-link-wrapper h3 {
        font-size: 20px;
    }

    .recruit-link-wrapper p {
        font-size: 14px;
    }

    .recruit-buttons {
        gap: 15px;
    }

    .recruit-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .animated-link {
        font-size: 14px;
    }

    .link-arrow {
        font-size: 12px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    
    .section-wrapper {

        padding-top: 20px;
        padding-right: 10px;
        padding-left: 10px;
        padding-bottom: 0;

    }



    .side-title {
        font-size: 1.5rem;
    }

    .header-title {
        font-size: 1.3rem;
    }

    .header-title-2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .space-100 {
        margin: 30px 0;
    }

    .value-card {
        padding: 20px 15px;
    }

    .value-number {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
        font-size: 15px;
    }

    .value-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .value-content p {
        font-size: 13px;
    }

    .process-item {
        padding: 15px;
    }

    .process-number {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .process-content h4 {
        font-size: 15px;
    }

    .process-content p {
        font-size: 13px;
    }

    .recruit-link-wrapper {
        padding: 25px 15px;
    }

    .recruit-link-wrapper h3 {
        font-size: 18px;
    }

    .recruit-link-wrapper p {
        font-size: 13px;
    }

    .recruit-buttons {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .recruit-btn {
        padding: 12px 25px;
        font-size: 13px;
        width: 100%;
        max-width: 250px;
    }
} 