/* ==========================================================================
   HUB CASE CONTENT — 성공사례 본문 템플릿 디자인
   --------------------------------------------------------------------------
   허브 작성기(미리보기)와 워드프레스 성공사례 상세 페이지가 함께 사용합니다.
   사이트에서는 성공사례 상세 페이지의 <head> 에 한 번만 연결하세요.

       <link rel="stylesheet" href="https://{허브도메인}/public-assets/case-content.css">

   마크업은 public/js/shared/case-templates.js 가 만듭니다.
   Naming  .hubcase--{템플릿}  /  .hubcase__{요소}
           .hubcase--simple · --highlight · --process 는 템플릿별 구분용(hook) 클래스입니다.
           템플릿마다 따로 손볼 일이 생길 때 .hubcase--highlight .hubcase__text { … } 처럼 사용하세요.
   ========================================================================== */

.hubcase {
    --hubcase-accent: #8b1528;
    --hubcase-accent-soft: #f7ecee;
    --hubcase-ink: #1f2228;
    --hubcase-text: #3a3f47;
    --hubcase-muted: #7a808a;
    --hubcase-line: #e5e1da;
    --hubcase-bg: #f8f6f3;

    color: var(--hubcase-text);
    font-size: 16px;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.hubcase *,
.hubcase *::before,
.hubcase *::after {
    box-sizing: border-box;
}

/* ---------- Shared ---------- */
.hubcase__section {
    margin: 0 0 40px;
}

.hubcase__label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--hubcase-accent);
}

/*.hubcase__label::after {*/
/*    content: "";*/
/*    flex: 0 0 36px;*/
/*    height: 1px;*/
/*    background: currentColor;*/
/*    opacity: 0.5;*/
/*}*/

.hubcase__text {
    margin: 0;
}

.hubcase__figure {
    margin: 40px 0 0;
}

.hubcase__figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--hubcase-line);
    border-radius: 8px;
    margin: 0 auto;
    max-width: 375px;
}

.hubcase__figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--hubcase-muted);
    text-align: center;
}

/* 결과 박스 (simple · process 공통) */
.hubcase__result {
    margin: 0 0 40px;
    padding: 22px 26px;
    border-left: 4px solid var(--hubcase-accent);
    border-radius: 0 8px 8px 0;
    background: var(--hubcase-accent-soft);
}

.hubcase__result-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--hubcase-accent);
}

.hubcase__result-text {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--hubcase-ink);
}

.hubcase__result-desc {
    margin: 10px 0 0;
    font-size: 15px;
    color: var(--hubcase-text);
}

/* ---------- A. 간단히 보기 ---------- */
.hubcase__points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hubcase__points li {
    position: relative;
    margin: 0 0 10px;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--hubcase-line);
    border-radius: 8px;
    background: #fff;
}

.hubcase__points li::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #fff;
    background: var(--hubcase-accent);
    transform: translateY(-50%);
}

/* ---------- B. 효과 강조형 ---------- */
.hubcase__hero {
    margin: 0 0 28px;
    padding: 44px 32px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1f2228 0%, #3b2229 100%);
}

.hubcase__badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--hubcase-accent);
}

.hubcase__headline {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #fff;
}

.hubcase__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 0 0 44px;
    padding: 0;
    list-style: none;
}

.hubcase__stat {
    padding: 22px 16px;
    border: 1px solid var(--hubcase-line);
    border-radius: 10px;
    text-align: center;
    background: var(--hubcase-bg);
}

.hubcase__stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--hubcase-accent);
}

.hubcase__stat-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--hubcase-muted);
}

.hubcase__block {
    display: flex;
    gap: 20px;
    margin: 0 0 32px;
}

.hubcase__block-no {
    flex: 0 0 auto;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--hubcase-accent);
    opacity: 0.35;
}

.hubcase__block-body {
    flex: 1;
    min-width: 0;
}

/* ---------- C. 진행 과정형 ---------- */
.hubcase__timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hubcase__timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 2px;
    background: var(--hubcase-line);
}

.hubcase__step {
    position: relative;
    margin: 0 0 24px;
    padding-left: 36px;
}

.hubcase__step:last-child {
    margin-bottom: 0;
}

.hubcase__step-dot {
    position: absolute;
    top: 6px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--hubcase-accent);
    box-shadow: 0 0 0 1px var(--hubcase-accent);
}

.hubcase__step-body {
    min-width: 0;
}

.hubcase__step-when {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hubcase-accent);
}

.hubcase__step-title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--hubcase-ink);
}

.hubcase__step-desc {
    margin: 0;
    font-size: 15px;
    color: var(--hubcase-text);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .hubcase {
        font-size: 15px;
    }

    .hubcase__hero {
        padding: 32px 20px;
    }

    .hubcase__headline {
        font-size: 23px;
    }

    .hubcase__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hubcase__stat-value {
        font-size: 26px;
    }

    .hubcase__block {
        gap: 14px;
    }

    .hubcase__result {
        padding: 18px 18px;
    }

    .hubcase__result-text {
        font-size: 19px;
    }
}
/* -------------------------------------------------------------------------------------------*/
/* 성공사례 본문: 텍스트/이미지/유튜브 블록 스타일. 기존 case-content.css 뒤에 로드됩니다. */
.hubcase-block { margin: 38px 0; }
.hubcase-block__heading { margin: 0 0 12px; font-size: 22px; line-height: 1.45; font-weight: 750; letter-spacing: -.025em; color: #24272d; }
.hubcase-block--text .hubcase__text { margin: 0; font-size: 16px; line-height: 1.9; color: #41454d; overflow-wrap: anywhere; }
.hubcase-block--image { margin: 32px 0; }
.hubcase-block--image img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 375px; border-radius: 10px; object-fit: contain; }
.hubcase-block--image figcaption, .hubcase-block--video figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; text-align: center; color: #777e88; }
.hubcase-block--video { margin: 32px 0; }
.hubcase-video { position: relative; width: 100%; overflow: hidden; border-radius: 10px; background: #101010; aspect-ratio: 16 / 9; }
.hubcase-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hubcase-video__invalid { padding: 12px 14px; border-radius: 8px; color: #8a5a00; background: #fff6df; font-size: 13px; }

.hubcase-block__sub-heading {
    margin: 12px 0 8px;
    font-size: 18px;
    font-weight: 600;
}
@media (max-width: 640px) {
    .hubcase-block { margin: 48px 0; }
    .hubcase-block__heading { font-size: 19px; }
    .hubcase-block--text .hubcase__text { font-size: 15px; }
    .hubcase-block--image img { border-radius: 7px; }
}

/* 관련 링크 목록 */
.hubcase-related-links__list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    border-top: 1px solid #ededed;
}

/* 카드 스타일 완전히 제거 */
.hubcase-related-links__list li {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #ededed;
    border-radius: 0;
    background: transparent;
}

/* 행 전체를 클릭할 수 있는 링크 */
.hubcase-related-links__list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 0;
    color: #555;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

/* 왼쪽 대시 표시: 기본 상태에서는 공간만 확보 */
.hubcase-related-links__list li a::before {
    content: "—";
    flex: 0 0 14px;
    color: #777;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* 호버 및 키보드 포커스 */
.hubcase-related-links__list li a:hover,
.hubcase-related-links__list li a:focus-visible {
    color: #111;
    font-weight: 600;
}

.hubcase-related-links__list li a:hover::before,
.hubcase-related-links__list li a:focus-visible::before {
    opacity: 1;
}

/* 이전 CSS에서 추가했던 화살표 제거 */
.hubcase-related-links__list li a::after {
    content: none;
}

/* 키보드 접근성 */
.hubcase-related-links__list li a:focus-visible {
    outline: 2px solid #aaa;
    outline-offset: -2px;
}

/* 모바일 */
@media (max-width: 640px) {
    .hubcase-related-links__list li a {
        padding: 13px 0;
        font-size: 14px;
        gap: 8px;
    }
}
.hubcase-related-links__list li a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.hubcase-related-links__list li a:hover {
    padding-left: 6px;
}
/* 변호사 카드 목록!!!!! */
.hubcase-lawyer-cards {
    display: grid;
    max-width: 320px;
    /*grid-template-columns: repeat(2, minmax(0, 1fr));*/
    gap: 12px;
    margin-top: 18px;
}

/* 가벼운 가로형 카드 */
.hubcase-lawyer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 12px 14px;
    background: #faf9f7;
    border: 1px solid #eeece8;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}

/* 클릭 가능한 카드 */
.hubcase-lawyer-card--linked {
    cursor: pointer;
    transition:
            background 0.2s ease,
            border-color 0.2s ease,
            transform 0.2s ease;
}

.hubcase-lawyer-card--linked:hover {
    background: #fff;
    border-color: #d4cfc7;
    transform: translateY(-2px);
}

.hubcase-lawyer-card--linked:focus-visible {
    outline: 2px solid #6b7280;
    outline-offset: 3px;
}

/* 사진 영역 */
.hubcase-lawyer-card__photo {
    display: block;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    overflow: hidden;
    border-radius: 10px;
    background: #f0eeeb;
}

/* 실제 사진 */
.hubcase-lawyer-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* 사진 없을 때 */
.hubcase-lawyer-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    font-weight: 600;
    color: #aaa49c;
}

/* 텍스트 영역 */
.hubcase-lawyer-card__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 0;
}

/* 이름 */
.hubcase-lawyer-card__name {
    display: block;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #24272d;
}

/* 직책 */
.hubcase-lawyer-card__position {
    display: block;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    color: #858585;
}

/* 상세페이지 이동 아이콘 */
.hubcase-lawyer-card__arrow {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
    color: #aaa;
    transition:
            color 0.2s ease,
            transform 0.2s ease;
}

.hubcase-lawyer-card--linked:hover .hubcase-lawyer-card__arrow {
    color: #333;
    transform: translate(2px, -2px);
}

/* 모바일 */
@media (max-width: 640px) {
    .hubcase-lawyer-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hubcase-lawyer-card {
        padding: 10px 12px;
        gap: 12px;
    }

    .hubcase-lawyer-card__photo {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .hubcase-lawyer-card__name {
        font-size: 15px;
    }
}


/* ==========================================================================
   본문 디자인 v2 (2026-11-26) — 검색 최적화 · 가독성 개선
   허브 편집기로 쓴 본문(.hub-content-inner) 전용 · 위의 예전 규칙보다 우선 (선택자에 .hub-content-inner 를 붙임)
   구성: 번호 제목 띠 · 왼쪽 막대 소제목 · 굵은 핵심 문장 · 목차 · 강조 상자(요약 / 판례 / 결과) · 체크 리스트
         · 이미지 설명 띠 · 관련 링크 상자 · 담당 변호사 카드
   마크업은 허브 편집기 블록(public/js/components/case-composer/blocks) = 사이트 PHP(hub_success_case_blocks_to_html) 와 같음
   ========================================================================== */
.hub-content-inner {
    --hc-accent: var(--hubcase-accent, #8b1528);
    --hc-accent-dark: #5e0e1c;
    --hc-accent-soft: #f8eef0;
    --hc-ink: #16181d;
    --hc-text: #34373d;
    --hc-muted: #80858f;
    --hc-line: #dfe2e7;
    --hc-surface: #f5f6f8;
    color: var(--hc-text);
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: -0.02em;
    word-break: keep-all;
    counter-reset: hc-check;
}

.hub-content-inner .hubcase-block {
    margin: 0 0 44px;
}

/* ── 텍스트: 제목(번호 띠) · 소제목(왼쪽 막대) · 본문 ───────────────── */
.hub-content-inner .hubcase-block--text > .hubcase-block__heading {
    margin: 64px 0 26px;
    padding: 15px 22px 15px 24px;
    border-radius: 4px;
    background: var(--hc-accent);
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.03em;
    scroll-margin-top: 120px;
}

.hub-content-inner .hubcase-block:first-child.hubcase-block--text > .hubcase-block__heading {
    margin-top: 0;
}

.hub-content-inner .hubcase-block__num {
    margin-right: 2px;
    font-weight: 800;
    opacity: 0.85;
}

.hub-content-inner .hubcase-block--text > .hubcase-block__sub-heading {
    margin: 30px 0 14px;
    padding: 2px 0 2px 16px;
    border-left: 4px solid var(--hc-accent);
    color: var(--hc-accent-dark);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.03em;
    scroll-margin-top: 120px;
}

.hub-content-inner .hubcase-block--text .hubcase__text {
    margin: 0;
    color: var(--hc-text);
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

/* 굵은 핵심 문장 — 형광펜처럼 아래쪽만 옅게 칠함 */
.hub-content-inner strong {
    color: var(--hc-ink);
    font-weight: 700;
    background: linear-gradient(transparent 62%, rgba(139, 21, 40, 0.12) 62%);
}

/* ── 목차 ───────────────────────────────────────────────────────── */
.hub-content-inner .hubcase-toc {
    margin: 0 0 52px;
    padding: 34px 40px 30px;
    border: 1px solid var(--hc-line);
    border-radius: 6px;
    background: #fff;
}

.hub-content-inner .hubcase-toc__title {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hc-line);
    color: var(--hc-ink);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.hub-content-inner .hubcase-toc__list,
.hub-content-inner .hubcase-toc__sub {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hub-content-inner .hubcase-toc__item {
    margin: 0;
    padding: 9px 0;
}

.hub-content-inner .hubcase-toc__item > a {
    color: var(--hc-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.15s ease;
}

.hub-content-inner .hubcase-toc__num {
    color: var(--hc-accent);
    font-weight: 800;
}

.hub-content-inner .hubcase-toc__sub {
    margin-top: 6px;
    padding-left: 22px;
}

.hub-content-inner .hubcase-toc__sub a {
    position: relative;
    display: inline-block;
    padding-left: 14px;
    color: #5a5f68;
    font-size: 15.5px;
    line-height: 1.6;
    text-decoration: none;
}

.hub-content-inner .hubcase-toc__sub a::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9aa0aa;
}

.hub-content-inner .hubcase-toc a:hover,
.hub-content-inner .hubcase-toc a:focus-visible {
    color: var(--hc-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── 강조 상자: 요약 · 판례/법조문 · 결과 ─────────────────────────── */
.hub-content-inner .hubcase-callout {
    padding: 28px 32px;
    border-radius: 6px;
}

.hub-content-inner .hubcase-callout__label {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0;
}

.hub-content-inner .hubcase-callout__text {
    margin: 0;
    font-size: 17px;
    line-height: 1.85;
}

.hub-content-inner .hubcase-callout__source {
    margin: 14px 0 0;
    color: var(--hc-muted);
    font-size: 13.5px;
    line-height: 1.5;
    text-align: right;
}

.hub-content-inner .hubcase-callout--summary {
    background: var(--hc-accent-soft);
}

.hub-content-inner .hubcase-callout--summary .hubcase-callout__label {
    color: var(--hc-accent);
}

.hub-content-inner .hubcase-callout--summary .hubcase-callout__text {
    color: var(--hc-accent-dark);
    font-weight: 600;
}

.hub-content-inner .hubcase-callout--summary strong {
    color: var(--hc-accent);
    background: none;
}

.hub-content-inner .hubcase-callout--quote {
    position: relative;
    padding: 30px 32px 26px 66px;
    border: 3px solid #eceef1;
    background: #fff;
}

.hub-content-inner .hubcase-callout--quote::before {
    content: "\201C";
    position: absolute;
    top: 14px;
    left: 24px;
    color: var(--hc-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.hub-content-inner .hubcase-callout--quote .hubcase-callout__label {
    color: var(--hc-ink);
}

.hub-content-inner .hubcase-callout--quote .hubcase-callout__text {
    color: #454950;
    font-size: 16px;
}

.hub-content-inner .hubcase-callout--result {
    background: var(--hc-ink);
}

.hub-content-inner .hubcase-callout--result .hubcase-callout__label {
    color: #f2a7b3;
}

.hub-content-inner .hubcase-callout--result .hubcase-callout__text {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.hub-content-inner .hubcase-callout--result strong {
    color: #fff;
    background: linear-gradient(transparent 60%, rgba(242, 167, 179, 0.38) 60%);
}

/* ── 체크 리스트 ─────────────────────────────────────────────────── */
.hub-content-inner .hubcase-checklist__title {
    margin: 0 0 12px;
    color: var(--hc-ink);
    font-size: 18px;
    font-weight: 700;
}

.hub-content-inner .hubcase-checklist__list {
    margin: 0;
    padding: 20px 26px;
    border-radius: 6px;
    background: var(--hc-surface);
    list-style: none;
}

.hub-content-inner .hubcase-checklist__list li {
    position: relative;
    margin: 0;
    padding: 7px 0 7px 34px;
    color: var(--hc-ink);
    font-size: 16.5px;
    line-height: 1.65;
}

.hub-content-inner .hubcase-checklist__list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--hc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ── 이미지 · 영상 ───────────────────────────────────────────────── */
.hub-content-inner .hubcase-block--image {
    margin: 0 0 44px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--hc-surface);
}

.hub-content-inner .hubcase-block--image img {
    display: block;
    width: 100%;
    max-height: 560px;
    border-radius: 0;
    object-fit: contain;
    background: var(--hc-surface);
}

.hub-content-inner .hubcase-block--image figcaption,
.hub-content-inner .hubcase-block--video figcaption {
    margin: 0;
    padding: 11px 16px;
    background: var(--hc-surface);
    color: #5d626b;
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
}

/* ── 블록 제목(관련 링크 · 담당 변호사): 굵은 제목 + 아래 진한 선 ────── */
.hub-content-inner .hubcase-block--related-links > .hubcase-block__heading,
.hub-content-inner .hubcase-block--lawyer-cards > .hubcase-block__heading {
    margin: 0 0 4px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--hc-ink);
    color: var(--hc-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.hub-content-inner .hubcase-block--related-links > .hubcase__text,
.hub-content-inner .hubcase-block--lawyer-cards > .hubcase__text {
    margin: 14px 0 0;
    color: #5d626b;
    font-size: 15.5px;
    line-height: 1.75;
}

/* ── 관련 링크: 회색 상자 안 줄 목록 + 오른쪽 화살표 ───────────────── */
.hub-content-inner .hubcase-related-links__list {
    margin: 16px 0 0;
    padding: 6px 24px;
    border: 0;
    border-radius: 6px;
    background: var(--hc-surface);
}

.hub-content-inner .hubcase-related-links__list li {
    border-bottom: 1px solid #e4e6ea;
}

.hub-content-inner .hubcase-related-links__list li:last-child {
    border-bottom: 0;
}

.hub-content-inner .hubcase-related-links__list li a {
    justify-content: space-between;
    padding: 16px 0;
    color: var(--hc-ink);
    font-size: 16px;
    font-weight: 600;
}

.hub-content-inner .hubcase-related-links__list li a::before {
    content: none;
}

.hub-content-inner .hubcase-related-links__list li a::after {
    content: "\2192";
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--hc-accent);
    font-size: 15px;
    font-weight: 700;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.hub-content-inner .hubcase-related-links__list li a:hover {
    padding-left: 0;
    color: var(--hc-accent);
    font-weight: 600;
}

.hub-content-inner .hubcase-related-links__list li a:hover::after {
    background: var(--hc-accent);
    color: #fff;
}

/* ── 담당 변호사 카드: PC 한 줄 3명 세로 카드 (사진 · 이름 · 직책) / 모바일 1명씩 가로 줄 ── */
.hub-content-inner .hubcase-lawyer-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 16px;
    margin-top: 20px;
}

.hub-content-inner .hubcase-lawyer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 26px 16px 22px;
    border: 1px solid var(--hc-line);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hub-content-inner .hubcase-lawyer-card--linked:hover {
    border-color: var(--hc-accent);
    box-shadow: 0 10px 24px rgba(22, 24, 29, 0.08);
    transform: translateY(-2px);
}

.hub-content-inner .hubcase-lawyer-card__photo {
    display: flex;
    flex: none;
    align-items: flex-end;
    justify-content: center;
    width: 104px;
    height: 104px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(180deg, #f1f2f4, #e2e4e8);
}

.hub-content-inner .hubcase-lawyer-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hub-content-inner .hubcase-lawyer-card__placeholder {
    align-self: center;
    color: #9aa0aa;
    font-size: 34px;
    font-weight: 700;
}

.hub-content-inner .hubcase-lawyer-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.hub-content-inner .hubcase-lawyer-card__name {
    margin: 0;
    color: var(--hc-ink);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.hub-content-inner .hubcase-lawyer-card__position {
    margin: 0;
    color: var(--hc-accent);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    word-break: keep-all;
}

.hub-content-inner .hubcase-lawyer-card__arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--hc-line);
    border-radius: 50%;
    color: var(--hc-muted);
    font-size: 13px;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.hub-content-inner .hubcase-lawyer-card--linked:hover .hubcase-lawyer-card__arrow {
    border-color: var(--hc-accent);
    background: var(--hc-accent);
    color: #fff;
}

/* ── 진행 과정: 세로 타임라인 (번호 원 + 연결선) ─────────────────── */
.hub-content-inner .hubcase-steps__title {
    margin: 0 0 18px;
    color: var(--hc-ink);
    font-size: 19px;
    font-weight: 700;
}

.hub-content-inner .hubcase-steps__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hub-content-inner .hubcase-steps__item {
    position: relative;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0 0 26px;
}

.hub-content-inner .hubcase-steps__item:last-child {
    padding-bottom: 0;
}

.hub-content-inner .hubcase-steps__item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 42px;
    bottom: 4px;
    left: 19px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--hc-line) 0 6px, transparent 6px 10px);
}

.hub-content-inner .hubcase-steps__num {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hc-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 0 0 5px var(--hc-accent-soft);
}

.hub-content-inner .hubcase-steps__body {
    flex: 1;
    min-width: 0;
    padding: 2px 0 0;
}

.hub-content-inner .hubcase-steps__when {
    margin: 0 0 2px;
    color: var(--hc-accent);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
}

.hub-content-inner .hubcase-steps__name {
    margin: 0;
    color: var(--hc-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.hub-content-inner .hubcase-steps__desc {
    margin: 6px 0 0;
    color: #555a62;
    font-size: 15.5px;
    line-height: 1.75;
}

/* ── 성과 강조: 결과 배지 + 큰 한 줄 + 숫자 칸 ──────────────────── */
.hub-content-inner .hubcase-stats {
    padding: 34px 36px 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--hc-ink) 0%, #2c3038 100%);
    color: #fff;
}

.hub-content-inner .hubcase-stats__badge {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--hc-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.hub-content-inner .hubcase-stats__headline {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.hub-content-inner .hubcase-stats__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.hub-content-inner .hubcase-stats__list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.hub-content-inner .hubcase-stats__value {
    color: #f2a7b3;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    background: none;
}

.hub-content-inner .hubcase-stats__label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

/* ── 모바일 ─────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .hub-content-inner {
        font-size: 16px;
    }

    .hub-content-inner .hubcase-block {
        margin-bottom: 34px;
    }

    .hub-content-inner .hubcase-block--text > .hubcase-block__heading {
        margin: 48px 0 20px;
        padding: 13px 16px;
        font-size: 19px;
    }

    .hub-content-inner .hubcase-block--text > .hubcase-block__sub-heading {
        margin: 24px 0 12px;
        padding-left: 12px;
        font-size: 17.5px;
    }

    .hub-content-inner .hubcase-block--text .hubcase__text,
    .hub-content-inner .hubcase-callout__text {
        font-size: 16px;
        line-height: 1.85;
    }

    .hub-content-inner .hubcase-toc {
        padding: 22px 20px 18px;
    }

    .hub-content-inner .hubcase-toc__title {
        font-size: 20px;
    }

    .hub-content-inner .hubcase-toc__item > a {
        font-size: 16px;
    }

    .hub-content-inner .hubcase-toc__sub a {
        font-size: 14.5px;
    }

    .hub-content-inner .hubcase-callout {
        padding: 22px 20px;
    }

    .hub-content-inner .hubcase-callout--quote {
        padding: 24px 20px 20px 50px;
    }

    .hub-content-inner .hubcase-callout--quote::before {
        top: 12px;
        left: 16px;
        font-size: 38px;
    }

    .hub-content-inner .hubcase-checklist__list {
        padding: 14px 16px;
    }

    .hub-content-inner .hubcase-checklist__list li {
        font-size: 15.5px;
    }

    .hub-content-inner .hubcase-related-links__list {
        padding: 4px 16px;
    }

    .hub-content-inner .hubcase-related-links__list li a {
        font-size: 15px;
    }

    .hub-content-inner .hubcase-lawyer-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hub-content-inner .hubcase-lawyer-card {
        flex-direction: row;
        gap: 14px;
        padding: 14px 16px;
        text-align: left;
    }

    .hub-content-inner .hubcase-lawyer-card__photo {
        width: 64px;
        height: 64px;
    }

    .hub-content-inner .hubcase-lawyer-card__placeholder {
        font-size: 24px;
    }

    .hub-content-inner .hubcase-lawyer-card__info {
        align-items: flex-start;
    }

    .hub-content-inner .hubcase-lawyer-card__name {
        font-size: 17px;
    }

    .hub-content-inner .hubcase-lawyer-card__arrow {
        position: static;
        margin-left: auto;
    }

    .hub-content-inner .hubcase-steps__item {
        gap: 14px;
    }

    .hub-content-inner .hubcase-steps__num {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .hub-content-inner .hubcase-steps__item:not(:last-child)::before {
        top: 38px;
        left: 16px;
    }

    .hub-content-inner .hubcase-steps__name {
        font-size: 16.5px;
    }

    .hub-content-inner .hubcase-stats {
        padding: 24px 20px 20px;
    }

    .hub-content-inner .hubcase-stats__headline {
        font-size: 20px;
    }

    .hub-content-inner .hubcase-stats__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hub-content-inner .hubcase-stats__list li {
        padding: 14px;
    }

    .hub-content-inner .hubcase-stats__value {
        font-size: 24px;
    }
}


/* ==========================================================================
   본문 디자인 v3 (2026-11-26) — 상단 소개(제목 · 분야 · 해시태그 · 사건 요약) 통일 + 링크 박스형
   사이트 상세 템플릿(inc/hub/templates/desktop.php · mobile.php) · 허브 편집기 미리보기가 같은 마크업
   ========================================================================== */

/* ── 상단 소개 ─────────────────────────────────────────────────── */
.hubcase-intro {
    --hc-accent: var(--hubcase-accent, #8b1528);
    --hc-accent-dark: #5e0e1c;
    --hc-accent-soft: #f8eef0;
    margin: 0 0 48px;
    color: #34373d;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.hubcase-intro__badges {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 16px;
}

.hubcase-intro__badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 16px;
    border: 1.5px solid var(--hc-accent);
    background: #fff;
    color: var(--hc-accent);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.hubcase-intro__badge--result {
    border-color: var(--hc-accent);
    background: var(--hc-accent);
    color: #fff;
}

.hubcase-intro__badge + .hubcase-intro__badge {
    margin-left: -1.5px;
}

.hubcase-intro .hubcase-intro__title {
    margin: 0 0 16px;
    color: #16181d;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.04em;
}

.hubcase-intro__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.hubcase-intro__tags li {
    margin: 0;
    color: #80858f;
    font-size: 15px;
    font-weight: 500;
}

.hubcase-intro__summary {
    padding: 26px 30px;
    border-radius: 6px;
    background: var(--hc-accent-soft);
}

.hubcase-intro__summary-label {
    margin: 0 0 8px;
    color: var(--hc-accent);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.hubcase-intro__summary-text {
    margin: 0;
    color: var(--hc-accent-dark);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.85;
}

@media (max-width: 640px) {
    .hubcase-intro {
        margin-bottom: 34px;
    }

    .hubcase-intro__badge {
        min-height: 30px;
        padding: 3px 12px;
        font-size: 14px;
    }

    .hubcase-intro .hubcase-intro__title {
        font-size: 23px;
    }

    .hubcase-intro__tags li {
        font-size: 13.5px;
    }

    .hubcase-intro__summary {
        padding: 20px;
    }

    .hubcase-intro__summary-text {
        font-size: 15.5px;
        line-height: 1.8;
    }
}

/* ── 링크 박스형: 회색 상자 · 왼쪽 안내 아이콘 · 큰 글씨 · 「더보기」 버튼 · 점선 구분 ── */
.hub-content-inner .hubcase-links--box .hubcase-related-links__list {
    position: relative;
    margin-top: 16px;
    padding: 22px 26px 22px 72px;
    border: 2px solid #eeeeee;
    border-radius: 10px;
    background: #f1f2f4;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 26px;
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M0 17a17 17 0 1 1 34 0 17 17 0 0 1-34 0Zm14.875 0a2.125 2.125 0 0 0 4.25 0v-6.375a2.125 2.125 0 0 0-4.25 0V17Zm4.25 6.375a2.125 2.125 0 1 0-4.25 0 2.125 2.125 0 0 0 4.25 0Z' fill='%238b1528'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li {
    border-bottom: 0;
    background-image: repeating-linear-gradient(to right, #cfd2d7 0 6px, transparent 6px 9px);
    background-position: left bottom;
    background-size: 100% 1px;
    background-repeat: no-repeat;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li:last-child {
    background-image: none;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li a {
    gap: 16px;
    padding: 14px 0;
    color: #16181d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.04em;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li:first-child a {
    padding-top: 2px;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li:last-child a {
    padding-bottom: 2px;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li a::after {
    content: none;
}

.hub-content-inner .hubcase-links__text {
    flex: 1;
    min-width: 0;
}

.hub-content-inner .hubcase-links__more {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08);
    color: var(--hc-accent);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.hub-content-inner .hubcase-links__more::after {
    content: "\2192";
    font-size: 14px;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li a:hover {
    color: var(--hc-accent);
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li a:hover .hubcase-links__more {
    background: var(--hc-accent);
    color: #fff;
}

@media (max-width: 640px) {
    .hub-content-inner .hubcase-links--box .hubcase-related-links__list {
        padding: 16px 16px 16px 46px;
    }

    .hub-content-inner .hubcase-links--box .hubcase-related-links__list::before {
        top: 19px;
        left: 16px;
        width: 20px;
        height: 20px;
    }

    .hub-content-inner .hubcase-links--box .hubcase-related-links__list li a {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 16px;
    }

    .hub-content-inner .hubcase-links__more {
        align-self: flex-end;
        padding: 6px 13px;
        font-size: 13.5px;
    }
}


/* ==========================================================================
   본문 색감 (2026-11-26) — 글마다 고른 색 하나로 강조색 전체를 바꿈
   허브 편집기 「본문 색감」 → 본문 래퍼 · 상단 소개에 style="--hc-accent:…;--hc-accent-dark:…;--hc-accent-soft:…;--hc-on-accent:…"
   (변수가 없으면 위에서 정한 사이트 기본색 버건디)
   ========================================================================== */
.hub-content-inner .hubcase-block--text > .hubcase-block__heading,
.hub-content-inner .hubcase-steps__num,
.hub-content-inner .hubcase-stats__badge,
.hubcase-intro__badge--result {
    color: var(--hc-on-accent, #fff);
}

.hub-content-inner strong {
    background: linear-gradient(transparent 62%, color-mix(in srgb, var(--hc-accent) 14%, transparent) 62%);
}

.hub-content-inner .hubcase-callout--result .hubcase-callout__label,
.hub-content-inner .hubcase-stats__value {
    color: color-mix(in srgb, var(--hc-accent) 38%, #ffffff);
}

.hub-content-inner .hubcase-callout--result strong {
    background: linear-gradient(transparent 60%, color-mix(in srgb, var(--hc-accent) 55%, transparent) 60%);
}

/* 링크 박스형 안내 아이콘 — 그림 대신 모양 틀(mask)에 색감을 칠함 */
.hub-content-inner .hubcase-links--box .hubcase-related-links__list::before {
    background: var(--hc-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M0 17a17 17 0 1 1 34 0 17 17 0 0 1-34 0Zm14.875 0a2.125 2.125 0 0 0 4.25 0v-6.375a2.125 2.125 0 0 0-4.25 0V17Zm4.25 6.375a2.125 2.125 0 1 0-4.25 0 2.125 2.125 0 0 0 4.25 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M0 17a17 17 0 1 1 34 0 17 17 0 0 1-34 0Zm14.875 0a2.125 2.125 0 0 0 4.25 0v-6.375a2.125 2.125 0 0 0-4.25 0V17Zm4.25 6.375a2.125 2.125 0 1 0-4.25 0 2.125 2.125 0 0 0 4.25 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hub-content-inner .hubcase-links--box .hubcase-related-links__list li a:hover .hubcase-links__more,
.hub-content-inner .hubcase-related-links__list li a:hover::after,
.hub-content-inner .hubcase-lawyer-card--linked:hover .hubcase-lawyer-card__arrow {
    color: var(--hc-on-accent, #fff);
}


/* ── 진행 과정 「단계 카드」: 가로로 나란한 카드 · STEP 번호 · 카드 사이 화살표 (모바일은 세로) ── */
.hub-content-inner .hubcase-steps--cards .hubcase-steps__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 22px;
    counter-reset: none;
}

.hub-content-inner .hubcase-steps--cards .hubcase-steps__item {
    position: relative;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: visible;
    border: 1px solid var(--hc-line);
    border-top: 4px solid var(--hc-accent);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(22, 24, 29, 0.05);
}

.hub-content-inner .hubcase-steps--cards .hubcase-steps__item:not(:last-child)::before {
    content: "";
    top: 50%;
    bottom: auto;
    left: auto;
    right: -17px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--hc-accent);
    border-right: 2px solid var(--hc-accent);
    background: none;
    transform: translateY(-50%) rotate(45deg);
}

.hub-content-inner .hubcase-steps--cards .hubcase-steps__num {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 16px 18px 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--hc-accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.hub-content-inner .hubcase-steps--cards .hubcase-steps__body {
    padding: 8px 18px 20px;
}

.hub-content-inner .hubcase-steps--cards .hubcase-steps__when {
    display: inline-block;
    margin: 0 0 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--hc-accent-soft);
    color: var(--hc-accent-dark);
    font-size: 12.5px;
}

.hub-content-inner .hubcase-steps--cards .hubcase-steps__name {
    font-size: 17px;
    line-height: 1.45;
}

.hub-content-inner .hubcase-steps--cards .hubcase-steps__desc {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .hub-content-inner .hubcase-steps--cards .hubcase-steps__list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hub-content-inner .hubcase-steps--cards .hubcase-steps__item:not(:last-child)::before {
        top: auto;
        right: auto;
        bottom: -13px;
        left: 50%;
        transform: translateX(-50%) rotate(135deg);
    }
}

/* ── PC 에서 본문 이미지 크게 (2026-11-27 요청) ──────────────────────
   세로로 긴 이미지(판결문 · 캡처 등)가 높이 제한(560px) 때문에 작게 보여서 PC 에서만 더 크게.
   폭은 본문 폭(100%)을 넘지 않고, 비율은 그대로(contain). 휴대폰은 기존 크기 유지. */
@media (min-width: 769px) {
    .hub-content-inner .hubcase-block--image img { max-height: 820px; }
    .hubcase-block--image img { max-height: 820px; }
}

/* ── 본문 이미지 크기 · 정렬 (2026-12-02) ─────────────────────────────
   허브 편집기 「본문 이미지」 블록의 크기(작게 · 보통 · 크게 · 직접 입력) · 정렬(왼쪽 · 가운데 · 오른쪽)
   figure 에 hubcase-img--size-* · hubcase-img--align-* 클래스 (직접 입력은 figure style="max-width:NNNpx", 세로는 img style="height:NNNpx")
   크기 클래스가 없으면 예전처럼 본문 폭에 꽉 차게 */
.hubcase-block--image[class*="hubcase-img--size-"],
.hub-content-inner .hubcase-block--image[class*="hubcase-img--size-"] { width: 100%; }
.hubcase-block--image.hubcase-img--size-sm,
.hub-content-inner .hubcase-block--image.hubcase-img--size-sm { max-width: 40%; }
.hubcase-block--image.hubcase-img--size-md,
.hub-content-inner .hubcase-block--image.hubcase-img--size-md { max-width: 65%; }
.hubcase-block--image.hubcase-img--size-lg,
.hub-content-inner .hubcase-block--image.hubcase-img--size-lg { max-width: 85%; }

.hubcase-block--image.hubcase-img--align-left,
.hub-content-inner .hubcase-block--image.hubcase-img--align-left { margin-left: 0; margin-right: auto; }
.hubcase-block--image.hubcase-img--align-center,
.hub-content-inner .hubcase-block--image.hubcase-img--align-center { margin-left: auto; margin-right: auto; }
.hubcase-block--image.hubcase-img--align-right,
.hub-content-inner .hubcase-block--image.hubcase-img--align-right { margin-left: auto; margin-right: 0; }

/* 직접 입력한 세로 높이: 높이 제한(560 · 820px)을 풀고 그 높이 안에 잘리지 않게 */
.hubcase-block--image.hubcase-img--h img,
.hub-content-inner .hubcase-block--image.hubcase-img--h img { max-height: none; object-fit: contain; }

/* 휴대폰: 너무 작아지지 않게 한 단계씩 크게 · 직접 입력은 화면 폭을 넘지 않음(max-width 가 px 라 자동) */
@media (max-width: 768px) {
    .hubcase-block--image.hubcase-img--size-sm,
    .hub-content-inner .hubcase-block--image.hubcase-img--size-sm { max-width: 65%; }
    .hubcase-block--image.hubcase-img--size-md,
    .hub-content-inner .hubcase-block--image.hubcase-img--size-md { max-width: 85%; }
    .hubcase-block--image.hubcase-img--size-lg,
    .hub-content-inner .hubcase-block--image.hubcase-img--size-lg { max-width: 100%; }
    .hubcase-block--image.hubcase-img--h img,
    .hub-content-inner .hubcase-block--image.hubcase-img--h img { height: auto !important; }
}
