/* =========================================================
   Dplaza 분야별 전문가 추천 페이지 - 2026 카드형 디자인
   글씨 크기 규칙:
   - 큰글씨: 24px
   - 중간글씨: 16px
   - 작은글씨: 14px
   목적:
   - 기존 4열 구조 유지
   - 전문가 사진/업체명/전문분야/상담버튼이 잘 보이게 정리
   - 50~60대 사용자도 편하게 볼 수 있도록 여백과 대비 강화
========================================================= */
/*{box-sizing:border-box;}*/

body{
    margin:0;
    color:#222;
    font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif;
}

/* 전체 페이지 폭 */
.dplaza-master-wrap{
    width:980px;
    margin:0 auto;
    padding:18px 0 35px 0;
    box-sizing:border-box;
    font-family:"Malgun Gothic","맑은 고딕",Dotum,Arial,sans-serif;
    color:#222;
}

/* 상단 소개 영역 */
.dprank-title{
    margin:0 0 18px 0;
    padding:14px 18px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:7px;
    box-sizing:border-box;
}

.dprank-title h2{
    margin:0 0 6px 0;
    font-size:24px;
    line-height:1.25;
    color:#111827;
	font-weight: 600;
	letter-spacing: -.7px;
}

.dprank-title p{
    margin:0;
    font-size:15px;
	font-weight: 500;
	letter-spacing: -.7px;
    line-height:1.5;
    color:#666;
}

/* 분야 탭 */
.expert-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 18px;
}

.expert-tab{
    display:inline-block;
    min-width:72px;
    padding:10px 14px;
    border-radius:999px;
    background:#fff;
    border:1px solid #d9e2ef;
    color:#26364d;
    text-decoration:none;
    text-align:center;
    font-size:15px; /* 중간글씨 */
    line-height:1;
    font-weight:600;
	letter-spacing: -.7px;
    box-shadow:0 3px 10px rgba(20,40,80,.05);
}

.expert-tab:hover{
    background:#eaf2ff;
    border-color:#91b8ef;
}

.expert-tab.active{
    background:#1769e0;
    border-color:#1769e0;
    color:#fff;
}

/* 광고 배너 영역 */
.expert-ad-box{
    background:#fff;
    border:1px solid #e1e7f0;
    border-radius:7px;
    padding:12px;
    margin-bottom:22px;
    box-shadow:0 5px 16px rgba(20,40,80,.07);
}

.expert-top-banner img{
    width:100%;
    display:block;
    border-radius:7px;
}

.expert-ad-grid{
    display:grid;
    grid-template-columns:2fr .8fr .65fr;
    gap:10px;
    margin-top:10px;
}

.expert-ad-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
    border-radius:7px;
}

.section-title{
    margin:4px 0 14px;
    font-size:24px; /* 큰글씨 */
    line-height:1.35;
    color:#182235;
    font-weight:600;
	letter-spacing: -.7px;
}

/* 전문가 카드 4열 */
.expert-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.expert-card{
    position:relative;
    display:block;
    min-height:100%;
    background:#fff;
    border:1px solid #e0e7f1;
    border-radius:7px;
    overflow:hidden;
    text-decoration:none;
    color:#222;
    box-shadow:0 6px 18px rgba(20,40,80,.08);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.expert-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 28px rgba(20,40,80,.14);
    border-color:#b9cff0;
}

.expert-photo-wrap{
    position:relative;
    width:100%;
    background:#edf2f8;
}

.expert-photo{
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    display:block;
}

.expert-badge{
    position:absolute;
    left:10px;
    top:10px;
    padding:7px 10px;
    border-radius:7px;
    background:#ffefc1;
    color:#8a5200;
    font-size:13px; /* 작은글씨 */
    line-height:1;
    font-weight:600;
	letter-spacing: -.7px;
    box-shadow:0 3px 8px rgba(0,0,0,.12);
}

.expert-info{
    padding:14px 14px 16px;
}

.expert-company{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0 0 8px;
    font-size:15px; /* 중간글씨 */
    line-height:1.35;
    color:#14213d;
    font-weight:600;
    letter-spacing:-.7px;
}

.expert-home-icon{
    width:18px;
    height:18px;
    flex:0 0 auto;
}

.expert-memo{
    margin:0 0 10px;
    min-height:44px;
    font-size:15px; /* 작은글씨 */
    line-height:1.55;
    color:#e03434;
    font-weight:600;
    letter-spacing:-.7px;
}

.expert-biz-list{
    margin:0 0 12px;
    padding:0;
    list-style:none;
}

.expert-biz-list li{
    margin:0 0 4px;
    font-size:15px; /* 작은글씨 */
    line-height:1.4;
	letter-spacing: -.7px;
    color:#4d596d;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.expert-keywords{
    margin:0 0 14px;
    height:42px;
    overflow:hidden;
    font-size:15px; /* 작은글씨 */
	font-weight: 600;
	letter-spacing: -.7px;
    line-height:1.45;
    color:#1769e0;
    word-break:break-all;
}

.expert-button{
    display:block;
    width:100%;
    padding:10px 0;
    border-radius:999px;
    background:#162033;
    color:#fff;
    text-align:center;
    font-size:15px; /* 중간글씨 */
    line-height:1;
    font-weight:600;
	letter-spacing: -.7px;
}

.expert-paging{
    clear:both;
    text-align:center;
    padding:26px 0 10px;
    font-size:16px; /* 중간글씨 */
}

.expert-hit-count{
    text-align:center;
    color:#8b96a8;
    font-size:14px; /* 작은글씨 */
    padding-bottom:12px;
}

/* 노트북/태블릿 대응 */
@media screen and (max-width:980px){
    .dprank-page{
        width:100%;
        padding:14px 12px 28px 12px;
    }
    .expert-grid{
        gap:14px;
    }
}

@media screen and (max-width:900px){
    .expert-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .expert-ad-grid{
        grid-template-columns:1fr;
    }
    .expert-ad-grid img{
        height:auto;
    }
}

@media screen and (max-width:600px){
    .dplaza-master-wrap{
        padding:12px 10px 26px;
    }
    .expert-grid{
        grid-template-columns:1fr;
    }
    .expert-hero{
        padding:18px 16px;
    }
}