@charset "utf-8";

/* 새글 스킨 (latest) */
.yl-lawyer-column { background:#f5f5f7; padding: 120px 16px; }
.yl-lawyer-column .yl-lawyer-inner { max-width:1240px; margin:0 auto; }

.yl-lawyer-column .yl-lawyer-head{
  margin-bottom: 46px;
}

.yl-lawyer-column .yl-lawyer-title{
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  word-break:keep-all;
  line-height:1.3;
}

.yl-lawyer-column .yl-lawyer-sub{
  margin: 0;
  font-size: 16px;
  color:#666;
  line-height: 1.5;
  word-break:keep-all;
}

.yl-lawyer-column .yl-lawyer-sub span{
  color:#0aa8bd;
  font-weight: 800;
}


.yl-lawyer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.yl-lawyer-card{ border:0; }
.yl-lawyer-card-link{ display:block; text-decoration:none; color:inherit; }

.yl-lawyer-thumb{
  border:1px solid #909090;
  background:#fff;
}
.yl-lawyer-thumb img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  display:block;
}

.yl-lawyer-subject{
  font-size:18px;
  font-weight:800;
  margin:14px 0 8px;
  line-height:1.35;
  word-break:keep-all;
}

.yl-lawyer-excerpt{
  font-size:14px;
  line-height:1.5;
  color:#6b6b6b;
  margin:0;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.yl-lawyer-empty{
  grid-column: 1 / -1;
  text-align:center;
  padding:40px 0;
  color:#777;
}

/* 더보기 버튼(메인 버튼 느낌) */
.yl-lawyer-column .kj_more_wrap { text-align:center; margin-top:50px; }
.yl-lawyer-column .kj_more_btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  min-width: 260px;
  padding: 16px 18px;
  border-radius: 10px;

  background:#0f2439;
  color:#fff;
  font-weight: 800;
  font-size: 16px;
  text-decoration:none;

  transition: filter .15s ease, transform .15s ease;
}
.yl-lawyer-column .kj_more_btn i{
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease;
}
.yl-lawyer-column .kj_more_btn:hover{
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.yl-lawyer-column .kj_more_btn:hover i{
  transform: translateX(4px);
}

/* 반응형 */
@media (max-width: 1200px){
  .yl-lawyer-grid{ grid-template-columns: repeat(2, 1fr); }
  .yl-lawyer-column .yl-lawyer-title{ font-size: 44px; }
}
@media (max-width:768px){
  .yl-lawyer-column { padding: 80px 16px; }
  .yl-lawyer-column .yl-lawyer-title{ font-size: 32px; }
  
  /* ✅ 제목 2줄 제한 */
  .yl-lawyer-subject{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

