@font-face {
    font-family: "eb";
    src: url("/theme/bootstrap_onepage/fonts/NotoSansKR-Bold.ttf");
}
.pc {display: block;}
.mb {display: none;}

body{
    background-image: url(./../../../new/img/team-bg.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

body::before {
    content: "";
    background-image: url(./../../../new/img/team-bg-2.png);
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
    position: absolute;
    top: 6vw;
    right: 0px;
    width: 15vw;
    height: 50vw;
    z-index: -1;
}

#people {
    max-width: 100%; 
    margin: 0 auto; 
    
}

#people .people-inner{
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 200px 20px;
}

#people h2{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 120px;
    font-size: 96px;
    color: #00A1E9;
    font-weight: 600;
    line-height: 100px;
}

#people .team-title {
    display: inline-block;
    font-size: 24px;
    border: 1px solid #000;
    padding: 10px;
    border-radius: 30px;
    font-weight: 600;
}

#people .people-inner .chairman-profile {
    width: 355px;
    margin: 58px 0 120px;
    cursor: pointer;
}

#people .people-inner .profile-image {
    width: 100%;
}

#people .people-inner .profile-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

#people .people-inner .chairman-profile .profile-info p {
    margin: 25px 0 10px;
}

#people .people-inner .team-section .advisors-grid {
    padding: 100px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    align-items: start;
    justify-items: center;
}

#people .people-inner .team-section .advisors-grid .advisor-info p {
    margin: 25px 0 10px;
}

#people .people-inner .team-section .advisors-grid .advisor-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    cursor: pointer;
}
#people .people-inner .team-section .advisors-grid .advisor-image {
    width: 100%;
    max-width: 355px;
}

#people .people-inner .team-section .advisors-grid .advisor-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
}
#people .people-inner .team-section .advisors-grid .advisor-info {
    text-align: left;
    width: 100%;
    max-width: 355px;
}

.people-title {
    font-weight: bold;
    font-size: 55px;
    font-family: 'eb';
    color: #fff;
}

.people-wrap {
    font-size: 45px;
    font-weight: bold;
    font-family: "eb";
    color: #00a1e9;
}

/* 인물 클릭시 팝업 */
.profile-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    max-width: 1400px;
    width: 90%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.popup-content::before {
    content: "";
    background-image: url(./../../../new/img/news-bg-2.png);
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0px;
    width: 965px;
    height: 800px;
    z-index: 0;
    opacity: 50%;
}

.popup-image {
    position: relative;
    z-index: 1;
}

.popup-info {
    position: relative;
    z-index: 1;
}

.close-popup {
    position: absolute;
    top: 50px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid #1D1B20;
    width: 30px;
    height: 30px;
    background-color: #1D1B20;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.popup-body {
    padding: 200px 50px;
    overflow-x: hidden;
}

.popup-body p {
    margin: 0 0 10px 0;
    font-size: 30px;
}

.popup-body p.team-category {
    margin: 0 0 3vw 0;
    color: #000;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid #000;
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
}

.popup-body h2.position {
    margin: 0 0 30px 0;
    font-size: 30px;
}

.popup-image {
    flex: 0 0 200px;
}

.popup-info img {
    width: 100%;
    max-width: 537px;
    height: auto;
}

.popup-info {
    display: flex;
}

.popup-info-content {
    margin-left: 4vw;
}

.popup-career {
    flex: 1;
}

.popup-career p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 20px;
}

@media all and (min-width: 1201px) {
    .popup-info img {
        width: 537px;
        max-width: none;
    }
}


@media all and (max-width: 1200px) {
    .popup-info img {
        width: 33vw;
    }

    .popup-body p.team-category {
        font-size: 20px;
    }

    .popup-body p {
        font-size: 25px;
    }

    .popup-body h2.position {
        font-size: 25px;
    }

    .popup-body p {
        font-size: 16px;
    }

    .popup-content::before {
        width: 80vw;
        height: 66vw;
    }
}

@media all and (max-width: 1100px){
    .pc {display: none;}
    .mb {display: block;}

    body::before {
        width: 30vw;
        height: 75vw;
        background-size: contain;
        background-position: right top;
    }

    #people .people-inner {
        padding: 23.66vw 1.66vw 1.66vw;
    }

    #people h2 {
        font-size: 8vw;
        padding: 1.66vw 0 10vw;
    }

    #people .people-inner .chairman-profile {
        margin: 4.83vw 0 10vw;
    }

    .close-popup {
        top: 80px;
    }
}

@media all and (max-width: 768px){
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    body::before {
        width: 30vw;
        height: 80vw;
        background-size: contain;
        background-position: right top;
        top: 25vw;
    }

    #people h2 {
        font-size: 40px;
        padding: 6vw 0 10vw;
        line-height: 11vw;
    }

    #people .team-title {
        font-size: 18px;
    }

    #people .people-inner .chairman-profile {
        width: 162px;
    }

    #people .people-inner .profile-image img {
        height: 195px;
    }

    #people .people-inner .team-section .advisors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    #people .people-inner .team-section .advisors-grid .advisor-image {
        width: 162px;
    }

    #people .people-inner .team-section .advisors-grid .advisor-image img {
        height: 195px;
    }

    #people .people-inner .chairman-profile .profile-info p {
        margin: 10px 0 0;
        font-size: 18px;
    }

    #people .people-inner .chairman-profile .profile-info h3 {
        font-size: 16px;
    }

    #people .people-inner .team-section .advisors-grid .advisor-info p {
        margin: 10px 0 0;
        font-size: 18px;
    }

    #people .people-inner .team-section .advisors-grid .advisor-info h3 {
        font-size: 16px;
    }

    .popup-content {
        width: 100%;
        max-width: 100%;
    }

    .popup-body {
        flex-direction: column;
        padding: 100px 20px;
    }
    
    .popup-body p.team-category {
        font-size: 16px;
        margin: 0 0 12px 0;
    }
    
    .popup-body h2 {
        font-size: 20px;
    }
    
    .popup-body p.position {
        font-size: 14px;
        margin: 0 0 15px 0;
    }
    
    .popup-image {
        flex: 0 0 auto;
        text-align: left;
    }
    
    .popup-image img {

    }
    
    .popup-info {
        display: block;
        margin-top: 20px;
    }
    
    .popup-info img {
        width: 100%;
        max-width: 100%;
    }
    
    .popup-content::before {
        width: 80vw;
        height: 100vw;
        top: 50%;
        left: 0;
    }
    
    .popup-info-content {
        margin-left: 1vw;
    }
}

@media all and (max-width: 375px){
    #people .people-inner {
        padding: 100px 15px;
    }
    
    #people .people-inner .team-section .advisors-grid {
        gap: 15px;
        padding: 15px;
    }
    
    #people .people-inner .chairman-profile {
        width: 140px;
    }
    
    #people .people-inner .team-section .advisors-grid .advisor-image {
        width: 140px;
    }
    
    .popup-content {
    }
    
    .popup-info img {
    }
    
    .popup-content::before {
    }
    
    .popup-info-content {
        margin-left: 2vw;
    }
}


