/* 블로그 상세 (YK 레퍼런스 구조: 브레드크럼 · 분야 · 제목 · 태그 · 히어로 · 본문 · 이전·다음) */
.blog-detail-page .contents {
  background: #1d1d1f;
  /* fixed 헤더 아래로 본문 시작 (style.css .header 높이와 동일: PC 7rem / mobilelayout 5rem) */
  padding-top: calc(7rem + clamp(0.75rem, 2vw, 1.5rem));
}

.blog-detail-page.mobilelayout .contents {
  padding-top: calc(5rem + clamp(0.75rem, 2vw, 1.5rem));
}

.blog-detail-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 4rem;
  box-sizing: border-box;
}

/* 풀너비 상단 헤더(제목·브레드크럼) — 본문 2열은 그 아래 */
.blog-lst-header-outer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, #18181c 0%, #1d1d1f 50%, #1d1d1f 100%);
  border-bottom: 1px solid #2e2f35;
}

.blog-lst-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
  box-sizing: border-box;
}

/* 상세 2열: 본문 + 우측 관련 변호사(일반 스크롤, sticky 없음) */
.blog-detail-inner.blog-detail-layout {
  max-width: 1180px;
  display: grid;
  gap: 2rem 2.5rem;
  align-items: start;
  grid-template-columns: 1fr;
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 1024px) {
  .blog-detail-inner.blog-detail-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

.blog-detail-main {
  min-width: 0;
}

.blog-related-lawyers {
  min-width: 0;
}

.blog-related-lawyers__sticky {
  position: static;
  padding-bottom: 0;
}

.blog-related-lawyers__heading {
  font-size: clamp(1.45rem, 1.9vw, 1.65rem);
  font-weight: 700;
  color: #f2f2f2;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #2e2f35;
  letter-spacing: -0.02em;
}

.blog-related-lawyers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-related-lawyer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: #18181b;
  border-radius: 10px;
  border: 1px solid #2a2a2d;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.blog-related-lawyer:hover {
  border-color: #346655;
  background: #1f2025;
}

.blog-related-lawyer__img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  border: 1px solid #2e2f35;
}

.blog-related-lawyer__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-related-lawyer__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.blog-related-lawyer__name {
  font-size: clamp(1.4rem, 1.75vw, 1.55rem);
  font-weight: 700;
  color: #f2f2f2;
}

.blog-related-lawyer__role {
  font-size: clamp(1.2rem, 1.5vw, 1.35rem);
  color: #8b8d96;
  line-height: 1.35;
}

.blog-related-lawyers__foot {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #2e2f35;
}

.blog-related-lawyers__more {
  font-size: clamp(1.3rem, 1.65vw, 1.45rem);
  font-weight: 600;
  color: #5eb89a;
  text-decoration: none;
}

.blog-related-lawyers__more:hover {
  text-decoration: underline;
}

/* YK TempDetailHeader_lstHeader_wrap 유사: 상단 브레드크럼 바 + 분류·제목·태그 */
.blog-lst-header {
  margin: 0;
  padding: clamp(0.5rem, 1.5vw, 1rem) 0 1.5rem;
  border-bottom: none;
  background: none;
  border-radius: 0;
}

.blog-lst-header__bar {
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #2a2b31;
}

.blog-lst-header__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: clamp(1.3rem, 1.65vw, 1.45rem);
  color: #8b8d96;
  margin: 0;
}

.blog-lst-header__breadcrumb a {
  color: #a9abb2;
  text-decoration: none;
}

.blog-lst-header__breadcrumb a:hover {
  color: #5eb89a;
}

.blog-lst-header__home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #a9abb2 !important;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.blog-lst-header__home-link:hover {
  color: #5eb89a !important;
}

.blog-lst-header__home-icon {
  display: flex;
  color: currentColor;
}

.blog-lst-header__home-icon svg {
  display: block;
}

.blog-lst-header__crumb-sep {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.85;
}

.blog-lst-header__crumb-current {
  color: #e0e1e5;
  font-weight: 500;
}

.blog-lst-header__contents {
  padding-top: 1.25rem;
}

.blog-lst-header__contents .blog-detail-tags {
  margin-bottom: 0;
}

/* YK TempDetailHeader_share_wrap 유사 */
.blog-detail-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #2a2b31;
}

.blog-detail-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #3a3b42;
  border-radius: 8px;
  background: #141518;
  color: #c4c6cd;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.blog-detail-share__btn:hover {
  border-color: #346655;
  background: #1a1f1d;
  color: #5eb89a;
}

.blog-detail-share__btn--ext {
  cursor: pointer;
}

/* 구 브레드크럼 (단독 사용 시) */
.blog-detail-breadcrumb {
  font-size: clamp(1.35rem, 1.8vw, 1.5rem);
  color: #8b8d96;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.blog-detail-breadcrumb a {
  color: #a9abb2;
  text-decoration: none;
}

.blog-detail-breadcrumb a:hover {
  color: #5eb89a;
}

.blog-detail-breadcrumb [aria-current="page"] {
  color: #e8e9ec;
}

.blog-detail-breadcrumb .sep {
  color: #555;
  user-select: none;
}

.blog-detail-cat {
  font-size: clamp(1.45rem, 2vw, 1.65rem);
  font-weight: 600;
  color: #5eb89a;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.blog-detail-title,
.blog-detail-inner > article > h1 {
  font-size: clamp(2.2rem, 4vw, 2.85rem);
  font-weight: 700;
  color: #f2f2f2;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.blog-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.blog-detail-tags li {
  font-size: clamp(1.35rem, 1.8vw, 1.5rem);
  color: #8b8d96;
}

.blog-detail-tags a {
  color: #b8bac1;
  text-decoration: none;
}

.blog-detail-tags a:hover {
  color: #5eb89a;
}

.blog-detail-hero {
  margin: 0 0 2rem;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: transparent;
  border: none;
}

.blog-detail-hero img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.blog-detail-naver-source {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2a2a2d;
  font-size: clamp(1.35rem, 1.9vw, 1.5rem);
}

.blog-detail-naver-source a {
  color: #5eb89a;
  text-decoration: none;
}

.blog-detail-naver-source a:hover {
  text-decoration: underline;
}

.blog-article-body mark {
  background: rgba(52, 102, 85, 0.25);
  color: inherit;
  padding: 0 0.15em;
}

.blog-detail-lead {
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  color: #d5d6da;
  line-height: 1.75;
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #17181c 0%, #1f2025 100%);
  border-left: 4px solid #346655;
  border-radius: 0 10px 10px 0;
}

.blog-article-body {
  font-size: clamp(1.5rem, 2.1vw, 1.75rem);
  color: #c4c6cd;
  line-height: 1.75;
}

.blog-article-body h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.1rem);
  color: #f2f2f2;
  margin: 2.25rem 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.blog-article-body h3 {
  font-size: clamp(1.55rem, 2.1vw, 1.85rem);
  color: #e8e9ec;
  margin: 1.75rem 0 0.75rem;
  font-weight: 600;
}

.blog-article-body p {
  margin: 0 0 1rem;
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35em;
}

.blog-article-body li {
  margin-bottom: 0.4rem;
}

.blog-article-body strong {
  color: #f2f2f2;
  font-weight: 600;
}

.blog-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: clamp(1.35rem, 1.9vw, 1.55rem);
}

.blog-article-body th,
.blog-article-body td {
  border: 1px solid #3a3b42;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.blog-article-body th {
  background: #222326;
  color: #e8e9ec;
}

.blog-detail-prevnext {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin: 3rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #2e2f35;
}

.blog-detail-prevnext > span {
  flex: 1 1 200px;
  box-sizing: border-box;
}

.blog-detail-prevnext a {
  flex: 1 1 200px;
  max-width: 100%;
  padding: 1rem 1.15rem;
  background: #18181b;
  border: 1px solid #2a2a2d;
  border-radius: 10px;
  color: #d5d6da;
  text-decoration: none;
  font-size: clamp(1.45rem, 2vw, 1.65rem);
  transition: border-color 0.2s, background 0.2s;
}

.blog-detail-prevnext a:hover {
  border-color: #346655;
  background: #1f2025;
}

.blog-detail-prevnext .pn-dir {
  display: block;
  font-size: clamp(1.25rem, 1.6vw, 1.4rem);
  color: #8b8d96;
  margin-bottom: 0.35rem;
}

.blog-detail-prevnext .pn-title {
  color: #f2f2f2;
  font-weight: 600;
}

.blog-detail-prevnext a.is-disabled {
  pointer-events: none;
  opacity: 0.35;
}

.blog-back-to-list-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-back-to-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: clamp(1.45rem, 2vw, 1.65rem);
  font-weight: 600;
  color: #fff;
  background: #346655;
  border-radius: 8px;
  text-decoration: none;
}

.blog-back-to-list:hover {
  background: #3d7a63;
}
