@charset "utf-8";
/* 게시판 공통 ***********************************************/

#bo_w,
#bo_v,
#bo_list {
    max-width: 1440px;
}

#bo_v {
    padding-bottom: 40px !important;
}

#bo_v_img {
    display: none;
}

.gall_row {
    grid-template-columns: repeat(1, 1fr);
}

.gall_row li .gall_box .gall_con {
    display: flex;
}

.gall_row li .gall_box .gall_con .gall_img {
    width: 40%;
}


.gall_row li .gall_box .gall_con .gall_text_href {
    flex: 1;
}

.gall_row li .gall_box .gall_con .gall_text_href > a {
    padding: 20px 40px;
    width: 100%;
    height: 100%;
}

.gall_row li .gall_box .gall_con .gall_text_href h2 {
    font-size: 24px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 16px;
}

.gall_row li .gall_box .gall_con .gall_text_href > a:hover h2 {
    text-decoration: underline;
}

.gall_row li .gall_box .gall_con .gall_text_href .bo_cnt {
    font-size: 17px;
    line-height: 30px;
    color: #acacac;
    max-width: 540px;
    font-weight: 400;
    word-break: keep-all;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
/*    height: 90px;*/
}

.gall_row li .gall_box .gall_con .gall_text_href .date {
    color: #888;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 60px 0 100px;
}

.share-buttons .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    width: 220px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #ddd;
    background: #fff;
    gap: 8px;
    line-height: 1;
    cursor: pointer;
}

.share-buttons .btn .icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* ✅ 각 버튼별 스타일 */
.share-buttons .kakao-share {
    background-color: #ffe812;
    color: #191919;
    border: none;
}

.share-buttons .url-share {
    color: #ABABAB;
}

/*  프로필  */
.lawyer-profile {
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 10px;
}

.lawyer-profile .profile-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lawyer-profile .img-wrap img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.lawyer-profile .txt-wrap .name {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.lawyer-profile .txt-wrap .org {
    font-weight: 400;
    color: #555;
    font-size: 16px;
}

.lawyer-profile .txt-wrap .badge img {
    width: 20px;
    height: 20px;
    display: block;
}

.lawyer-profile .txt-wrap .desc {
    margin: 8px 0 12px;
    color: #666;
    font-size: 15px;
}

.lawyer-profile .btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lawyer-profile .btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    color: #fff !important;
}

.lawyer-profile .btn-intro {
    background: #b8aa84;
    color: #fff;
}

.lawyer-profile .btn-consult {
    background: var(--primary);
    color: #fff;
}


.bo_sch .sch_btn {
    background: var(--primary) !important;
}


.inquiry-banner {
    position: fixed;
    left: 50%;
    bottom: -120px;
    /* 처음에는 숨김 */
    transform: translateX(-50%);
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);

    transition: bottom 0.4s ease;
    z-index: 999;
    max-width: 640px;
    border-radius: 50px;
    overflow: hidden;
}

.inquiry-banner.active {
    bottom: 20px;
    /* 보이게 */
}

.inquiry-banner .banner-inner {
    padding: 16px 30px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

}

.inquiry-banner .banner-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
}

.inquiry-banner .banner-text .emoji {
    font-size: 20px;
}

.inquiry-banner .banner-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.inquiry-banner .banner-sub {
    margin: 2px 0 0;
    font-size: 14px;
    color: #777;
}

.inquiry-banner .banner-btn {
    display: inline-block;
    padding: 10px 18px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.inquiry-banner .banner-btn:hover {
    opacity: .8;
}

.recommend-articles {
    padding: 100px 0;
}

.recommend-articles .inner {
    max-width: 1280px;
    margin: 0 auto;
}

.recommend-articles .article-head {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recommend-articles .article-head h3 {
    font-size: 24px;
    line-height: 1;
}

.recommend-articles .article-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recommend-articles .article-card {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all .2s;
}

.recommend-articles .article-card:hover {
    transform: translateY(-5px);
}

.recommend-articles .article-card .thumb img {
    width: 100%;
}

.recommend-articles .article-list .text {
    padding: 20px;
}

.recommend-articles .article-list h4 {
    color: #111827;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.24px;
    line-height: 150%;
    margin: 6px 0;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recommend-articles .article-list .desc {
    color: #374151;
    font-size: 15px;
    font-weight: 400;
    line-height: 160%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recommend-articles .article-list .ca-name {
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 160%;
    padding: 6px 8px;
    background: #eee;
}

/* 카테고리별 색상 지정 */
.recommend-articles .article-list .ca-name.cate-인사이트 {
    background: #4cafef;
}

.recommend-articles .article-list .ca-name.cate-마케팅 {
    background: #ff9800;
}

.recommend-articles .article-list .ca-name.cate-트렌드 {
    background: #4caf50;
}

.article-list-btn a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-list-btn a:hover {
    color: #000;
}

.article-list-btn a .arrow {
    transition: transform 0.3s ease;
}

.article-list-btn a:hover .arrow {
    transform: translateX(4px);
}

.recommend-articles .btn-list {
    margin-top: 50px;
    /* 위쪽 여백 */
    text-align: center;
    /* 가운데 정렬 */
}

.recommend-articles .btn-list a {
    display: inline-block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    border: 2px solid #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recommend-articles .btn-list a:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

@media (max-width:1460px) {
    #bo_list {
        padding: 150px 40px;
    }
}

@media (max-width:1300px) {
    .recommend-articles {
        padding: 100px 40px;
    }
}

@media (max-width:1200px) {
    .recommend-articles .article-list h4 {
        font-size: 18px;
    }

    .inquiry-banner .banner-title {
        font-size: 17px;
    }
}

@media (max-width:1024px) {
    .gall_row li .gall_box .gall_con .gall_text_href h2 {
        font-size: 20px;
    }

    .gall_row {
        grid-template-columns: repeat(2, 1fr);
    }

    .gall_row li .gall_box .gall_con {
        flex-direction: column;
    }

    .gall_row li .gall_box .gall_con .gall_text_href,
    .gall_row li .gall_box .gall_con .gall_img {
        width: 100%;
    }
}



@media (min-width:769px) {
    .mbr {
        display: none;
    }
}

@media (max-width:768px) {
    .inquiry-banner {
        display: none;
    }
    
    .gall_row {
        grid-template-columns: repeat(1, 1fr);
    }

    .gall_row li .gall_box .gall_con .gall_text_href > a {
        padding: 12px 16px;
    }

    .mbr {
        display: block;
    }

    #bo_list {
        padding: 150px 20px 60px;
    }

    .inquiry-banner {
        border-radius: 12px;
        width: 94%;
    }

    .inquiry-banner .banner-inner {
        padding: 12px 16px;
    }

    .inquiry-banner .banner-title {
        font-size: 15.5px;
    }

    .recommend-articles {
        padding: 60px 20px;
    }

    .recommend-articles .article-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .recommend-articles .article-head h3 {
        font-size: 20px;
    }

    .recommend-articles .article-card a {
        display: flex;
    }

    .recommend-articles .article-card a .thumb {
        width: 35%;
    }

    .recommend-articles .article-list .text {
        padding: 0;
        flex: 1;
    }

    .recommend-articles .article-list .text .pd {
        padding: 12px;
    }

    .recommend-articles .article-list h4 {
        font-size: 14px;
    }

    .recommend-articles .article-list .desc {
        font-size: 13.5px;
        color: #888;
    }

    .lawyer-profile .profile-wrap {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .lawyer-profile .btns,
    .lawyer-profile .txt-wrap .name {
        justify-content: center;
    }

    .lawyer-profile .txt-wrap .desc {
        text-align: center;
        margin-bottom: 12px;
    }


    .lawyer-profile .txt-wrap .org {
        font-size: 14px;
    }
}
