/* 회사연혁 게시판 스타일 */
#company_history {
    position: relative;
}

/* 연혁 사이 이미지 스타일 */
#company_history .history_image {
    margin: 6.4rem 0;
    text-align: center;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#company_history .history_image img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#company_history .history_image:hover img {
    transform: scale(1.05);
}

#company_history .con_wrap {
    display: flex;
    gap: 12rem;
}

#company_history .con_wrap>* {
    flex: 1;
}

#company_history .con_wrap .content_photo {
    position: sticky;
    top: 16rem;

    border-radius: 2rem;
    overflow: hidden;
}


#company_history .con_wrap .desc {
    flex: 2;
}


#company_history .itm {
    position: relative;
    display: flex;
    gap: 12rem;
}

#company_history .itm time {
    flex: 1;

    font-size: 4rem;
    font-weight: 700;

    color: var(--primary-color);
}



#company_history .itm .con {
    flex: 4;
    position: relative;
    padding-right: 4.8rem;
}

#company_history .itm .con strong {
    display: block;
    margin-bottom: 1.6rem;
    line-height: 1.4;
    font-size: 2.4rem;
    font-weight: 700;
}

#company_history .itm .con p {
    font-size: 1.6rem;
    margin-bottom: 3.2rem;
}



#company_history .itm .con {
    padding-bottom: 3.2rem;
}

#company_history .itm .con::before {
    content: "";
    position: absolute;
    top: 1.6rem;
    left: -6rem;
    z-index: 2;
    transform: translate(-50%, 0);

    width: 16px;
    height: 16px;

    border: 4px solid var(--primary-color);
    background: var(--background-color);
    border-radius: 50%;
}

#company_history .itm .con::after {
    content: "";
    position: absolute;
    top: 4rem;
    bottom: 0;
    left: -6rem;
    transform: translate(-50%, 0);

    width: 1px;

    background: var(--line-color);
}

.admin_controls {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.admin_controls a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #666;
    color: white;
    border-radius: 3px;
    margin-right: 0.5rem;
}

.empty_list {
    padding: 5rem 0;
    text-align: center;
    font-size: 1.6rem;
    color: #999;
}

.notice_icon {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--primary-color);
    color: white;
    border-radius: 3px;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.bo_fx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #company_history .itm {
        gap: 2.4rem;
    }

    #company_history .con_wrap .photo {
        display: none;
    }

    #company_history .history_image {
        margin: 4.8rem 0;
    }

    #company_history .history_image img {
        height: 20rem;
    }

    #company_history .itm .con::before {
        content: "";
        position: absolute;
        top: 0;
        left: auto;
        right: 0;
        z-index: 2;
        transform: translate(-50%, 0);

        width: 16px;
        height: 16px;

        border: 4px solid var(--primary-color);
        background: var(--background-color);
        border-radius: 50%;
    }

    #company_history .itm .con::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: auto;
        right: 15px;
        transform: translate(0, 0);

        width: 1px;
    }
}