/* ============================================================
   AI Lawyer Profile Page — lawyer-profile.css
   Scope: #ai-lawyer-profile
   Naming: .ai-lp-* (lawyer profile)
   ============================================================ */

/* ---------- Paperlogy Font Import ---------- */
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Paperlogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

/* ---------- Reset & Base ---------- */
#ai-lawyer-profile * {
    box-sizing: border-box;
}

#ai-lawyer-profile {
    font-family: 'Paperlogy', 'Pretendard', sans-serif;
    background: #fff;
}

/* 1320px 중앙 정렬 그리드 컨테이너 */
#ai-lawyer-profile .wd1320 {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* ---------- sub_top 배너 ---------- */
#ai-lawyer-profile .sub_top {
    background: #1a1a2e;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

#ai-lawyer-profile .sub_top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(159, 129, 86, 0.15) 0%, transparent 60%);
}

#ai-lawyer-profile .sub_nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

#ai-lawyer-profile .sub_nav p {
    margin: 0;
}

#ai-lawyer-profile .sub_nav p::after {
    content: '›';
    margin-left: 8px;
    color: rgba(255,255,255,0.4);
}

#ai-lawyer-profile .sub_nav p:last-child::after {
    display: none;
}

#ai-lawyer-profile .sub_nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

#ai-lawyer-profile .sub_nav a:hover {
    color: #9F8156;
}

#ai-lawyer-profile .sub_nav img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(0.7);
}

#ai-lawyer-profile .sub_top_content {
    position: relative;
    z-index: 1;
}

#ai-lawyer-profile .sub_top_depth {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -1px;
}

#ai-lawyer-profile .sub_top_title {
    font-size: 16px;
    color: #9F8156;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}

#ai-lawyer-profile .sub_top_desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.7;
}

/* ---------- .lawyer_view (변호사 상세 박스 - 2컬럼 레이아웃) ---------- */
#ai-lawyer-profile .lawyer_view {
    max-width: 1320px; /* 시안과 동일하게 최대 가로폭 1320px 컨테이너 적용 */
    margin: 0 auto; /* 중앙 정렬로 좌우 세련된 흰색 여백 연출 */
    padding: 0;
    display: flex;
    align-items: stretch; /* 좌우 높이 동일하게 맞춤 */
    background: #ffffff;
    min-height: 600px; /* 안정적인 비율 유지를 위한 최소 높이 */
}

#ai-lawyer-profile .lawyer_view_left {
    flex: 0 0 50%; /* 시안과 동일하게 좌측 50% 비율 면 분할 */
    background: #110e19; /* 그라데이션 이미지 뒤 백업 다크 배경 */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#ai-lawyer-profile .lawyer_view_img {
    width: 100%;
    height: 100%;
    margin: 0;
}

#ai-lawyer-profile .lawyer_view_img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center bottom; /* 인물이 하단에 걸치도록 정렬 */
}

#ai-lawyer-profile .lawyer_view_right {
    flex: 0 0 50%; /* 시안과 동일하게 우측 50% 비율 면 분할 */
    padding: 100px 80px; /* 시안처럼 널찍하고 품격 있는 여백 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 이름 + 직함 */
#ai-lawyer-profile .lawyer_view_name {
    margin: 0 0 50px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

#ai-lawyer-profile .lawyer_view_name strong {
    font-size: 38px;
    font-weight: 800;
    color: #1c1c19;
    letter-spacing: -1px;
}

#ai-lawyer-profile .lawyer_view_name span {
    font-size: 15px;
    font-weight: 500;
    color: #8e8e93;
    letter-spacing: -0.3px;
}

/* 약력 제목 */
#ai-lawyer-profile .career_book_title {
    font-size: 16px;
    font-weight: 700;
    color: #1c1c19;
    margin: 0 0 24px;
    padding: 0;
    border: none;
    letter-spacing: 1px;
}

#ai-lawyer-profile .lawyer_part {
    font-size: 15px;
    font-weight: 500;
    color: #3a3a3c;
    line-height: 1.6;
    margin: 0 0 40px;
    padding-left: 2px;
}

/* 약력 컨테이너 */
#ai-lawyer-profile .lawyer_view_career {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#ai-lawyer-profile .career_book {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

#ai-lawyer-profile .career_term {
    font-size: 32px;
    font-weight: 800;
    color: #5c5c5c; /* 시안처럼 짙은 회색 */
    line-height: 1.1;
    width: 40px;
    flex-shrink: 0;
    text-align: center;
    letter-spacing: -1px;
}

#ai-lawyer-profile .career_term.curr_state {
    color: #c5a880; /* 시안과 유사한 황동색(골드베이지) */
}

#ai-lawyer-profile .career_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#ai-lawyer-profile .career_list li {
    font-size: 15px;
    color: #3a3a3c;
    line-height: 1.6;
    padding-left: 12px;
    position: relative;
}

#ai-lawyer-profile .career_list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #8e8e93; /* 튀지 않게 회색 가운데 점 */
    font-weight: 700;
}


/* ---------- 성공사례 / 후기 슬라이더 ---------- */
#ai-lawyer-profile .main.main1 {
    padding: 80px 0;
    background: #f8f6f3;
}

#ai-lawyer-profile .main.main1.main5 {
    background: #fff;
}

#ai-lawyer-profile .sub_cm_title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 32px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#ai-lawyer-profile .sub_cm_title a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #9F8156;
    text-decoration: none;
}

#ai-lawyer-profile .sub_cm_title a span {
    font-size: 13px;
}

#ai-lawyer-profile .sub_cm_title a img {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* 슬라이드 카드 공통 */
#ai-lawyer-profile .main1_li a,
#ai-lawyer-profile .main5_li a {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

#ai-lawyer-profile .main1_li a:hover,
#ai-lawyer-profile .main5_li a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

#ai-lawyer-profile .main1_sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

#ai-lawyer-profile .main1_sort span {
    font-size: 11px;
    font-weight: 700;
    color: #9F8156;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#ai-lawyer-profile .main1_sort img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

#ai-lawyer-profile .main1_img img,
#ai-lawyer-profile .main5_img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

#ai-lawyer-profile .main1_subject {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 12px 16px 6px;
    line-height: 1.4;
}

#ai-lawyer-profile .main1_result {
    font-size: 12px;
    font-weight: 700;
    color: #9F8156;
    padding: 0 16px;
    letter-spacing: 0.5px;
}

#ai-lawyer-profile .main1_cont {
    font-size: 12px;
    color: #888;
    padding: 8px 16px 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#ai-lawyer-profile .main5_subject {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 12px 16px 6px;
    line-height: 1.4;
}

#ai-lawyer-profile .main5_cont {
    font-size: 12px;
    color: #888;
    padding: 6px 16px 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 스와이퍼 버튼 */
#ai-lawyer-profile .swp_box {
    position: relative;
    padding: 0 52px;
}

#ai-lawyer-profile .swp_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

#ai-lawyer-profile .swp_btn:hover {
    background: #9F8156;
}

#ai-lawyer-profile .swp_btn::after {
    color: #333;
    font-size: 16px;
}

#ai-lawyer-profile .swp_btn:hover::after {
    color: #fff;
}

#ai-lawyer-profile .swp_prev { left: 0; }
#ai-lawyer-profile .swp_next { right: 0; }

#ai-lawyer-profile .ver3 .swp_btn {
    top: 40%;
}

/* ---------- ft_fix ---------- */
#ai-lawyer-profile .ft_fix {
    background: #1a1a2e;
    padding: 60px 0;
}

#ai-lawyer-profile .ft_fix ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}

#ai-lawyer-profile .ft_fix li {
    background: rgba(255,255,255,0.03);
    transition: background 0.25s;
}

#ai-lawyer-profile .ft_fix li:hover {
    background: rgba(159,129,86,0.12);
}

#ai-lawyer-profile .ft_fix a {
    display: block;
    padding: 36px 28px;
    text-decoration: none;
    color: inherit;
}

#ai-lawyer-profile .ft_fix_desc {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0 0 16px;
}

#ai-lawyer-profile .ft_fix_desc b {
    color: rgba(255,255,255,0.85);
}

#ai-lawyer-profile .ft_fix_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
}

#ai-lawyer-profile .ft_fix_title img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

#ai-lawyer-profile .ft_fix_ic img {
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

/* ---------- main7 상담 폼 ---------- */
#ai-lawyer-profile .main7 {
    padding: 80px 0;
    background: #f8f6f3;
}

#ai-lawyer-profile .main7 .wd1320 {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

#ai-lawyer-profile .main7_lt {
    flex: 0 0 380px;
    padding-top: 20px;
}

#ai-lawyer-profile .main7_rt {
    flex: 1;
}

#ai-lawyer-profile .main_cate span {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #9F8156;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid #9F8156;
    border-radius: 50px;
}

#ai-lawyer-profile .main_subject {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

#ai-lawyer-profile .main_subject span {
    color: #9F8156;
}

#ai-lawyer-profile .main_desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

#ai-lawyer-profile .main7_frm {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#ai-lawyer-profile .main7_frm li {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

#ai-lawyer-profile .main7_frm li.ver2 {
    gap: 0;
    flex-direction: column;
}

#ai-lawyer-profile .main7_th {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin: 0 0 6px;
}

#ai-lawyer-profile .main7_td {
    flex: 1;
}

#ai-lawyer-profile .main7_td input,
#ai-lawyer-profile .main7_td textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4ccc0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

#ai-lawyer-profile .main7_td select {
    width: 100%;
    height: 52px !important;
    padding: 0 40px 0 16px !important;
    border: 1px solid #d4ccc0;
    border-radius: 8px;
    font-size: 14px !important;
    font-family: 'Paperlogy', 'Pretendard', sans-serif;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    line-height: normal !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239F8156' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}


#ai-lawyer-profile .main7_td select:focus,
#ai-lawyer-profile .main7_td input:focus,
#ai-lawyer-profile .main7_td textarea:focus {
    border-color: #9F8156;
}

#ai-lawyer-profile .main7_td textarea {
    height: 120px;
    resize: none;
}

#ai-lawyer-profile .main7_chk_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

#ai-lawyer-profile .main7_chk {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin: 0;
}

#ai-lawyer-profile .main7_chk input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #9F8156;
}

#ai-lawyer-profile .agreeDetail {
    font-size: 12px;
    color: #9F8156;
    background: none;
    border: 1px solid #9F8156;
    border-radius: 4px;
    padding: 3px 8px;
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
}

#ai-lawyer-profile .main7_btn {
    width: 100%;
    height: 54px;
    background: #9F8156;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'Pretendard', sans-serif;
    transition: background 0.2s;
}

#ai-lawyer-profile .main7_btn:hover {
    background: #8a6d45;
}



/* fixedBan */
#ai-lawyer-profile #fixedBan {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1a1a2e;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

#ai-lawyer-profile .banWrap {
    display: flex;
    align-items: stretch;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

#ai-lawyer-profile .banWrap__left {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px 14px 0;
    border-right: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    position: relative;
}

#ai-lawyer-profile .fixedBan__speech-bubble {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    white-space: nowrap;
}

#ai-lawyer-profile .fixedBan__speech-bubble h5 {
    font-size: 12px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

#ai-lawyer-profile .fixedBan__speech-bubble h5 span {
    color: #9F8156;
    font-weight: 700;
}

#ai-lawyer-profile .fixedBan__speech-bubble svg {
    position: absolute;
    bottom: -12px;
    left: 20px;
}

#ai-lawyer-profile .banWrap__left img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

#ai-lawyer-profile .banWrap__left span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

#ai-lawyer-profile .banWrap__left span b {
    color: #fff;
}

#ai-lawyer-profile .banRight {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 0 12px 24px;
    gap: 12px;
}

#ai-lawyer-profile .banRight ul {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

#ai-lawyer-profile .banRight li {
    display: flex;
    align-items: center;
    gap: 8px;
}

#ai-lawyer-profile .banRight span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

#ai-lawyer-profile .fixedBan__select-li {
    display: flex;
    align-items: center;
    gap: 8px;
}

#ai-lawyer-profile .fixedBan__select-wrap select {
    height: 36px;
    padding: 0 28px 0 12px !important;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 13px;
    font-family: 'Paperlogy', 'Pretendard', sans-serif;
    outline: none;
    line-height: normal !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}


#ai-lawyer-profile .banRight input {
    height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 13px;
    font-family: 'Pretendard', sans-serif;
    outline: none;
}

#ai-lawyer-profile .banRight label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

#ai-lawyer-profile .banRight .contact {
    height: 40px;
    padding: 0 24px;
    background: #9F8156;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

#ai-lawyer-profile .banRight .contact:hover {
    background: #8a6d45;
}

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
    #ai-lawyer-profile .lawyer_view {
        flex-direction: column;
        min-height: auto;
    }
    #ai-lawyer-profile .lawyer_view_left {
        flex: none;
        width: 100%;
        height: 480px;
    }
    #ai-lawyer-profile .lawyer_view_img img {
        object-position: center 10%; /* 태블릿 뷰에서 얼굴 잘림 방지 */
    }
    #ai-lawyer-profile .lawyer_view_right {
        padding: 60px 24px;
    }
    #ai-lawyer-profile .ft_fix ul {
        grid-template-columns: repeat(2, 1fr);
    }
    #ai-lawyer-profile .main7 .wd1320 {
        flex-direction: column;
        gap: 40px;
    }
    #ai-lawyer-profile .main7_lt {
        flex: none;
    }
}

@media (max-width: 768px) {
    #ai-lawyer-profile .sub_top {
        padding: 60px 0 40px;
    }
    #ai-lawyer-profile .sub_top_depth {
        font-size: 26px;
    }
    #ai-lawyer-profile .lawyer_view_left {
        height: 420px; /* 얼굴 및 상반신이 안정적으로 다 표현될 수 있게 380px에서 420px로 확장 */
    }
    #ai-lawyer-profile .lawyer_view_img img {
        object-position: center 10%; /* 모바일 뷰에서 얼굴 잘림 방지 */
    }
    #ai-lawyer-profile .lawyer_view_name strong {
        font-size: 32px;
    }
    #ai-lawyer-profile .career_book {
        gap: 16px;
    }
    #ai-lawyer-profile .career_term {
        font-size: 24px;
        width: 30px;
    }
    #ai-lawyer-profile .swp_box {
        padding: 0 44px;
    }
    #ai-lawyer-profile .banRight ul {
        display: none;
    }
}

/* ================================================
   Client Reviews Section (Homepage Design Transplanted)
   Scope: #ai-lawyer-profile
   ================================================ */
#ai-lawyer-profile .ai-home-reviews-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    #ai-lawyer-profile .ai-home-reviews-section {
        padding: 120px 0;
    }
}

#ai-lawyer-profile .ai-home-reviews-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

#ai-lawyer-profile .ai-home-reviews-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
    align-items: center;
    text-align: center;
}

#ai-lawyer-profile .ai-home-reviews-tag-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

#ai-lawyer-profile .ai-home-reviews-section-tag {
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    #ai-lawyer-profile .ai-home-reviews-section-tag {
        font-size: 1.25rem;
    }
}

#ai-lawyer-profile .ai-home-reviews-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c29c66;
}

#ai-lawyer-profile .ai-home-reviews-title {
    font-family: 'Paperlogy', 'Pretendard', sans-serif !important;
    font-size: 26px;
    color: #1a1a2e;
    line-height: 1.35;
    font-weight: 600;
}

@media (min-width: 768px) {
    #ai-lawyer-profile .ai-home-reviews-title {
        font-size: 38px;
    }
}

#ai-lawyer-profile .ai-home-reviews-title span {
    color: #c29c66;
}

#ai-lawyer-profile .ai-home-reviews-desc {
    color: #666;
    font-size: 1.05rem;
    margin-top: 24px;
}

@media (min-width: 768px) {
    #ai-lawyer-profile .ai-home-reviews-desc {
        font-size: 1.125rem;
    }
}

/* Reviews Swiper Wrapper */
#ai-lawyer-profile .ai-home-reviews-slider-wrapper {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    #ai-lawyer-profile .ai-home-reviews-slider-wrapper {
        padding-left: 60px;
        padding-right: 60px;
    }
}

#ai-lawyer-profile .ai-home-reviews-swiper {
    width: 100%;
    padding: 16px 4px 32px 4px;
    overflow: hidden;
}

#ai-lawyer-profile .ai-home-reviews-swiper .swiper-slide {
    height: auto !important;
    display: flex !important;
    flex-direction: column;
}

#ai-lawyer-profile .ai-home-review-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

#ai-lawyer-profile .ai-home-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
    border-color: rgba(194, 156, 102, 0.3);
}

#ai-lawyer-profile .ai-home-review-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: inherit;
    height: 100%;
    padding: 32px;
}

#ai-lawyer-profile .ai-home-review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

#ai-lawyer-profile .ai-home-review-card-cate {
    font-size: 13px;
    color: #a88a55;
    background-color: rgba(168, 138, 85, 0.08);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

#ai-lawyer-profile .ai-home-review-card-icon {
    color: #dfc38d;
    font-size: 20px;
}

#ai-lawyer-profile .ai-home-review-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#ai-lawyer-profile .ai-home-review-card-title {
    font-size: 18px;
    color: #1a1a2e;
    font-weight: 600;
    line-height: 1.4;
}

#ai-lawyer-profile .ai-home-review-card-quote {
    font-family: 'Paperlogy', 'Pretendard', sans-serif !important;
    font-size: 24px;
    color: #a88a55;
    line-height: 1.2;
    margin: 4px 0;
}

#ai-lawyer-profile .ai-home-review-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

#ai-lawyer-profile .ai-home-review-card-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888;
}

#ai-lawyer-profile .ai-home-review-card-author {
    font-weight: 600;
    color: #1a1a2e;
}

#ai-lawyer-profile .ai-home-review-card-date {
    opacity: 0.8;
}

/* Swiper navigation */
#ai-lawyer-profile .ai-home-reviews-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

#ai-lawyer-profile .ai-home-reviews-nav-btn:hover {
    background-color: #a88a55;
    border-color: #a88a55;
    color: #ffffff;
}

#ai-lawyer-profile .ai-home-reviews-nav-btn.prev-btn {
    left: 8px;
}

#ai-lawyer-profile .ai-home-reviews-nav-btn.next-btn {
    right: 8px;
}

@media (min-width: 768px) {
    #ai-lawyer-profile .ai-home-reviews-nav-btn.prev-btn {
        left: 0;
    }
    #ai-lawyer-profile .ai-home-reviews-nav-btn.next-btn {
        right: 0;
    }
}

