/* sub2.css - Corporate Culture Page Styles */

/* 1. Reuse Sub Base (Banner, LNB, Sidebar) - Synchronized with sub1.css */
.sub_wrapper {
    background-color: #fff;
    min-height: 100vh;
}

/* 2. Sub Hero Banner (Refactored for <img> Gap-less Rendering) */
.sub_hero {
    position: relative;
    width: 100%;
    margin: -1px 0 !important; /* Force overlap to kill gaps */
    padding: 0 !important;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    background: none !important;
}

.sub_hero img {
    width: 100%;
    height: auto !important;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* 3. LNB Breadcrumb (Rounded Design) - Exact Match with sub1.css */
.sub_lnb {
    border-bottom: 1px solid #eee;
    background-color: #fcfcfc;
    position: relative; /* Fixed: Switched from sticky to relative to kill gap */
    z-index: 900;
    height: 60px; /* Fixed height for perfect vertical centering */
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 5px !important;
    border-top: none !important;
}

.sub_lnb .lnb_inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sub_lnb .home_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    font-size: 16px;
    color: #444;
    transition: 0.3s;
}

.sub_lnb .home_btn:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.sub_lnb .lnb_item {
    position: relative;
}

.sub_lnb .lnb_btn {
    height: 44px;
    padding: 0 25px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.sub_lnb .lnb_btn:hover {
    border-color: var(--accent-color);
}

.sub_lnb .lnb_btn.color_accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: rgba(130, 180, 41, 0.05);
}

.sub_lnb .lnb_dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: auto;
    min-width: 160px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: none;
    padding: 10px 0;
    overflow: hidden;
}

.sub_lnb .lnb_dropdown.show {
    display: block;
}

.sub_lnb .lnb_dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    transition: 0.2s;
}

.sub_lnb .lnb_dropdown li a:hover,
.sub_lnb .lnb_dropdown li.active a {
    background-color: #f9f9f9;
    color: var(--accent-color);
    font-weight: 700;
}

/* 4. Content Area Layout - Restored Sidebar for PC */
.sub_content_area {
    padding: 80px 0 120px;
}

.sub_content_area .content_inner {
    display: flex;
    gap: 80px;
}

/* Sidebar - Restored Visibility */
.sub_sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sub_sidebar .side_title_box {
    background: linear-gradient(45deg, var(--accent-color), #6e9a0f);
    padding: 30px 25px;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.sub_sidebar .side_title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sub_sidebar .side_menu_list {
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.sub_sidebar .side_menu_list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 16px;
    color: #555;
    font-weight: 500;
    border-bottom: 1px solid #f2f2f2;
    transition: 0.3s;
}

.sub_sidebar .side_menu_list li.active a {
    background-color: #f8faf2;
    color: var(--accent-color);
    font-weight: 700;
}

/* Main Content Wrapper */
.sub_main_content {
    flex: 1;
}

/* Hanja Font Styling */
.hanja {
    font-family: 'Noto Serif KR', 'Batang', 'serif';
    font-weight: 700;
}

/* 2. Culture Page Specific Content */
.content_header { margin-bottom: 60px; }
.content_header .page_title { font-size: 36px; font-weight: 800; color: #111; margin-bottom: 15px; }
.content_header .title_bar { width: 40px; height: 4px; background-color: var(--accent-color); }

.culture_section { margin-bottom: 120px; }
.culture_sec_title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.culture_sec_title::before, .culture_sec_title::after {
    content: '';
    width: 100px;
    height: 1px;
    background-color: #ddd;
}

/* Motto Circles */
.motto_circles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.motto_item {
    text-align: center;
}
.motto_circles .circle_wrap {
    width: 220px;
    height: 220px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}
.motto_circles .circle_wrap:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}
.motto_icon { width: 100px; height: 100px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; }
.motto_icon img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 50%; }
.motto_kr { font-size: 34px; font-weight: 800; color: #111; margin-bottom: 5px; letter-spacing: 2px; }
.motto_en { font-size: 15px; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.motto_plus { font-size: 24px; color: #ddd; }

/* Management Policy Box */
.policy_box {
    display: flex;
    background-color: #fff;
    border-radius: 30px;
    overflow: hidden;
    height: 380px;
    border: 1px solid #eee;
    box-shadow: 0 25px 50px rgba(0,0,0,0.04);
}
.policy_img { width: 450px; flex-shrink: 0; }
.policy_img img { width: 100%; height: 100%; object-fit: cover; }
.policy_txt_area { flex: 1; padding: 0 50px; display: flex; flex-direction: column; justify-content: center; }
.policy_main_ttl { font-size: 28px; font-weight: 800; color: #222; margin-bottom: 40px; letter-spacing: -0.5px; }

.policy_steps { display: flex; gap: 20px; }
.step_item {
    flex: 1;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 0.3s;
    padding: 15px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.step_item .num { font-size: 24px; font-weight: 900; margin-bottom: 5px; opacity: 0.8; }
.step_item p { font-size: 13px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.step_item p .hanja { font-size: 14px; font-weight: 800; }

.step_item.step1 { background-color: #5d6741; }
.step_item.step2 { background-color: #8eb444; }
.step_item.step3 { background-color: #3e7a00; }

/* Ideology Grid (Sub2 Specific: Full Width Cards as User Liked) */
.ideology_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.ideo_item {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 40px 60px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    transition: 0.3s;
}
.ideo_item:hover { border-color: var(--accent-color); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.ideo_icon { width: 100px; height: 100px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; border-radius: 50%; background-color: #fff; transition: 0.3s; overflow: hidden; }
.ideo_icon img { max-width: 80%; max-height: 80%; object-fit: contain; border-radius: 50%; }
.ideo_txt { font-size: 22px; font-weight: 800; color: #111; letter-spacing: -0.5px; }
.ideo_desc { margin-top: 40px; text-align: center; color: #888; font-size: 15px; border-bottom: 1px solid #eee; padding-bottom: 40px; margin-bottom: 40px; line-height: 1.8; word-break: keep-all; }

/* Summary Box */
.culture_summary_box {
    background-color: #f7f9f3;
    padding: 40px;
    border-radius: 12px;
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    word-break: keep-all;
}
.culture_summary_box span { color: var(--accent-color); font-weight: 700; }

/* Tablet / Mobile Adjustments */
@media screen and (max-width: 1024px) {
    .sub_content_area .content_inner {
        display: block;
    }
    .sub_sidebar {
        display: none; /* Hide sidebar ONLY on mobile */
    }
    .sub_main_content {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .sub_content_area {
        padding: 50px 0 100px;
    }
    .content_header .page_title {
        font-size: 28px;
    }
    .culture_section {
        margin-bottom: 80px;
    }
    .culture_sec_title {
        font-size: 20px;
        margin-bottom: 40px;
        gap: 15px;
    }
    .culture_sec_title::before, .culture_sec_title::after {
        width: 40px;
    }

    /* Refined Motto Row */
    .motto_circles {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .motto_plus {
        display: none;
    }
    .motto_circles .circle_wrap {
        width: 105px;
        height: 105px;
        padding: 10px;
    }
    .motto_icon {
        width: 40px;
        height: 40px;
        margin-bottom: 5px;
    }
    .motto_kr {
        font-size: 16px;
        letter-spacing: 1px;
    }
    .motto_en {
        font-size: 9px;
        letter-spacing: 0;
    }

    .policy_box {
        flex-direction: column;
        height: auto;
    }
    .policy_img {
        width: 100%;
        height: 180px;
    }
    .policy_txt_area {
        padding: 30px 15px;
        text-align: center;
    }
    .policy_main_ttl {
        font-size: 20px;
        margin-bottom: 25px;
        word-break: keep-all;
    }
    .policy_steps {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .step_item {
        width: 90px;
        height: 90px;
        padding: 10px;
    }
    .step_item .num { font-size: 18px; }
    .step_item p { font-size: 11px; }
    .step_item p .hanja { font-size: 11px; }

    /* Ideology Grid Re-optimization */
    .ideology_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ideo_item {
        padding: 20px 10px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        border-radius: 15px;
    }
    .ideo_icon {
        width: 60px;
        height: 60px;
    }
    .ideo_txt {
        font-size: 14px;
        word-break: keep-all;
    }
    .ideo_desc {
        font-size: 14px;
        padding: 0 5px 30px;
        word-break: keep-all;
    }

    /* Summary Box */
    .culture_summary_box {
        padding: 20px;
        font-size: 15px;
        line-height: 1.7;
        word-break: keep-all;
    }

    .sub_lnb {
        height: auto;
        padding: 0 0 10px 0; /* Final mobile gap kill */
        overflow: visible;
    }
    .sub_lnb .lnb_inner {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 5px;
        overflow: visible;
    }
    .sub_lnb .lnb_dropdown {
        z-index: 1000;
    }
    .sub_lnb .home_btn { width: 40px; height: 40px; min-width: 40px; }
    .sub_lnb .lnb_btn { padding: 0 15px; font-size: 13px; }
}
