
/* lawyer detail */
.lawyer_detail_page {
    padding-top: 140px;
}
main {
    margin-bottom: var(--detail-sec-gap);
}
/* hero */
.profile_hero {  
    margin-bottom: var(--detail-sec-gap);
}

.profile_hero .inner {
    padding-top: var(--detail-sec-gap);
    position: relative;
}

.en_name {
    text-align: center;
    font-size: clamp(80px, 12vw, 180px);
    font-weight: var(--bold);
    line-height: 1;
    color: var(--bg-dark);
    letter-spacing: -0.06em;
    margin-bottom: 30px;
}

.profile_visual {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    margin-top: -20px;
    background: url('/images/lawyer_detail_bg.png') no-repeat center / cover fixed;
}

/* .profile_visual .bg {
    position: absolute;
    inset: 0;
    margin: 0;
}

.profile_visual .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
     */

.profile_inner {
    width: 100%;
    position: relative;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--con-gap);
}
.m_profile_inner {
    display: none;
}
.profile_inner .info_box {
    width: 27%;
}

.profile_inner .name_row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile_inner h1 {
    font-size: var(--ft32);
    font-weight: var(--semi-bold);
    color: white;
}

.profile_inner .name_row span,
.profile_inner p {
    font-size: var(--ft16);
    color: white;
}

.profile_inner .tag_box {
    display: flex;
    gap: 6px;
    margin-top: 30px;
}

.profile_inner .tag_box span {
    padding: 6px 12px;
    border-radius: 99px;
    background: white;
    color: var(--ft-main);
    font-size: var(--ft14);
    font-weight: var(--medium);
}

.sns_box {   
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.sns_box a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--white-300);
    border: 1px solid var(--white-400);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sns_box .icon {
    width: 20px;
    height: 20px;
}

.sns_box .btn:hover {
    background: var(--hover-light);
}


.profile_img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: auto;
    height: 100%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
}

.profile_img img {
    width: 100%;
    overflow: visible;
}


/* profile_intro */
.profile_intro .inner {
    position: relative;
}

.intro_title {
    position: relative;
    padding-bottom: 150px;
}

.intro_title h2 {
    font-size: var(--ft32);
    font-weight: var(--semi-bold);
    color: transparent;
}
.intro_title h2 span {
    display: inline;
    color: transparent;
    background-image: linear-gradient(to right, var(--ft-main) 50%, rgba(0,0,0,.18) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    background-clip: text;
    -webkit-background-clip: text;
}



.intro_title .watermark {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 30%;
    max-width: 440px;
    height: auto;
}
.intro_title .watermark img {
    opacity: 0.05;
}

.career_item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 40px 0 80px;
    border-top: 1px solid var(--line);
}
.career_item:last-child {
    padding-bottom: 0;
}
.career_item h3 {
    font-size: var(--ft24);
    font-weight: var(--semi-bold);
    color: var(--ft-main);
    padding-right: var(--con-gap);
}

.career_list li {
    font-size: var(--ft18);
    color: var(--gray-800);
    line-height: 1.6;
}

/***** contact sec *****/

.contact_sec .bg {
    position: absolute;
    z-index: 0;
    inset: 0;
    bottom: calc(var(--footer-height) * -1);
    border-top-right-radius: var(--radius-lg);
    border-top-left-radius: var(--radius-lg);
    overflow: hidden;
}
.contact_sec .inner {
    position: relative;
    z-index: 1;
}
.contact_sec .sec_content {
    padding: var(--detail-sec-gap) 0;
}
.contact_sec .sec_title {
    font-size: var(--ft32);
    color: white;
    font-weight: var(--semi-bold);
    margin-bottom: 50px;
    text-align: center;
}
.contact_sec p {
    font-size: var(--ft20);
    color: white;
    font-weight: var(--medium);
    text-align: center;
}
.contact_btn_box {
    max-width: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    gap: 20px;
    margin: 0 auto;
}
.contact_btn_box .btn {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-direction: column;
    position: relative;
    border-radius: var(--radius-md);
    transition: background .4s ease;
}
.contact_btn_box .btn:hover {
    background: var(--white-100);
}
.contact_btn_box .btn:not(:last-child)::after {
    content: '';
    display: block;
    width: 1px;
    height: 70%;
    right: -10px;
    position: absolute;
    background: var(--white-200);
}
.contact_btn_box .icon {
    width: 28px;
    height: 28px;
}
.contact_btn_box .btn_text {
    font-size: var(--ft18);
    font-weight: var(--medium);
    color: white;
}


@media all and (max-width: 1600px) {
    .lawyer_detail_page {
        padding-top: var(--header-gap);
    }

    /*-- profile_hero --*/
    .profile_visual {
        min-height: 400px;
    }
}

@media all and (max-width: 1400px) {
    .detail_page .breadcrumb {
        margin-bottom: 20px;
    }
    
    /*-- profile_hero --*/
    .profile_visual {
        min-height: 300px;
    }
    .profile_inner {
        display: none;
    }
    .m_profile_inner {
        margin-top: 40px;
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }
    .m_profile_inner .name_row {
        margin-bottom: 16px;
        display: flex;
        gap: 10px;
        align-items: end;
    }
    .m_profile_inner h1 {
        font-size: var(--ft50);
        font-weight: var(--semi-bold);
        color: var(--ft-main);
    }

    .m_profile_inner .name_row span {
        margin-bottom: 6px;
        font-size: var(--ft20);
        color: var(--gray-700);
    }
    .m_profile_inner p {
        font-size: var(--ft24);
        color: var(--gray-800);
    }

    .m_profile_inner .tag_box {
        display: flex;
        gap: 6px;
        margin-top: 30px;
    }

    .m_profile_inner .tag_box span {
        padding: 6px 12px;
        border-radius: 99px;
        background: var(--gray-100);
        color: var(--ft-main);
        font-size: var(--ft14);
        font-weight: var(--medium);
    }

    .sns_box a {
        border: none;
        background: var(--gray-500);
    }
}

@media all and (max-width: 1024px) {

    /*-- profile_hero --*/
    .profile_visual {
        min-height: 250px;
    }
    .m_profile_inner h1 {
        font-size: var(--ft40);
    }
    .m_profile_inner p {
        font-size: var(--ft20);
    }
    
    
    /*-- profile_intro --*/
    .intro_title {
        padding-bottom: 80px;
    }
    .intro_title h2 {
        font-size: var(--ft28);
    }
    .career_item {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /*-- contact_sec --*/
    .contact_sec .sec_title {
        margin-bottom: 32px;
        font-size: var(--ft28);
    }
}

@media all and (max-width: 768px) {

    /*-- profile_hero --*/
    .profile_visual {
        min-height: 200px;
    }
    .en_name {
        font-size: 11vw;
    }
    .m_profile_inner {
        margin-top: 24px;
        flex-direction: column;
    }
    .m_profile_inner .name_row {
        margin-bottom: 10px;
    }
    .m_profile_inner h1 {
        font-size: var(--ft32);
    }
    .m_profile_inner .name_row span {
        font-size: var(--ft16);
    }
    .m_profile_inner p {
        font-size: var(--ft18);
    }
    .m_profile_inner .tag_box {
        margin-top: 20px;
    }
    .sns_box {
        padding-bottom: 28px;
        border-bottom: 1px solid var(--line);
        flex-direction: row;
        justify-content: start;
        align-items: start;
        gap: 6px;
    }
    .sns_box a {
        width: 32px;
        height: 32px;
    }
    .sns_box .icon {
        width: 14px;
        height: 14px;
    }


    /*-- profile_intro --*/
    .career_item {
        padding: 30px 0;
    }
    .intro_title h2 {
        font-size: var(--ft24);
    }
    .career_item h3 {
        font-size: var(--ft20);
    }

    /*-- contact_sec --*/
    .contact_sec .sec_content {
        padding: 60px 0 30px;
    }
    .contact_sec .sec_title {
        font-size: var(--ft22);
        margin-bottom: 16px;
    }
    .contact_btn_box {
        margin-top: 10px;
        padding: 0 20px;
    }
    .contact_btn_box .icon {
        width: 20px;
        height: 20px;
    }
    .contact_btn_box .btn_text {
        font-size: var(--ft16);
    }
}