/* ==========================================================================
   HUB MAIN SECTIONS — Shared Stylesheet
   --------------------------------------------------------------------------
   통합관리자 허브가 모든 워드프레스 사이트에 공통으로 내려주는 메인 섹션 디자인.
   각 사이트 <head> 에 한 번만 연결합니다.

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

   Naming     BEM  .hubms-{block}__{element}  /  --{modifier}  /  .is-{state}
   Responsive Desktop-first (max-width). 레이아웃 구간은 원본 breakpoint를 유지하고, 타이포그래피는 clamp()로 유동화
   --------------------------------------------------------------------------
   TABLE OF CONTENTS

     00. Design Tokens
     01. Legacy · Generic Layout      .hubms-section / grid / card / badge
     02. Component · Button
     03. Shared Pattern · Section Header
     04. Section · Hero               메인 비주얼
     05. Section · HeroBar            로고(신뢰) 바
     06. Section · Lawyer             변호사 슬라이더
     07. Section · Case               성공사례
     08. Section · Path               상황별 안내 (FIND YOUR PATH)
     09. Section · Review             고객후기 (한 줄 롤링 + 확대 보기)
     10. Responsive                   1024 · 960 · 900 · 768 · 640 · 600 · 560 (layout preserved)
     11. Accessibility                reduced motion
     12. Section · Press              언론보도 (미디어 카드형 · 자체 반응형 포함)
   ========================================================================== */


/* ==========================================================================
   00. DESIGN TOKENS
   ========================================================================== */
:root {
    /* Layout */
    --hubms-container: 1280px;

    /* Brand — 와인 계열이 섹션별로 조금씩 달라 값을 그대로 보존했습니다.
       하나로 통일하려면 아래 토큰의 값만 같게 바꾸면 됩니다.
       (2026-11-30) 사이트별 브랜드색: 사이트가 자기 CSS 에서 body { --hubms-accent: … } 로 덮어쓰면 그 사이트만 바뀜
       (예: 마약 사이트 테마 assets/css/hub_css.css 맨 아래 「hub 브랜드색」) — 여기 값은 기본값(assault) */
    --hubms-accent: #8b1528;           /* 변호사 · 성공사례 */
    --hubms-accent-hover: #6d101f;     /* 변호사 프로필 버튼 hover */
    --hubms-accent-alt: #8b1e1e;       /* 상황별 안내 · 고객후기 */
    --hubms-hero-accent: #8c2a2a;      /* 히어로 강조 */
    --hubms-btn-bg: #6b1d24;           /* 히어로 Primary 버튼 */
    --hubms-btn-bg-hover: #52141a;

    /* Neutral */
    --hubms-ink: #1f2228;

    /* 글자 통일 — 맨 아래 「99. 글자 통일 레이어」가 이 값만 씀 (한 줄 바꾸면 모든 메인 섹션이 같이 바뀜) */
    /* 크기 (PC 기준 · 태블릿 · 모바일 값은 99 번의 @media) */
    --hubt-eyebrow: 14px;          /* 작은 영문 라벨 */
    --hubt-h2: 38px;               /* 섹션 제목 */
    --hubt-desc: 18px;             /* 섹션 설명 */
    --hubt-h3: 20px;               /* 카드 제목 */
    --hubt-review-title: 15px;     /* 고객후기 카드 제목 (작은 카드라 따로 · 제목 한 줄 유지) */
    --hubt-text: 15px;             /* 카드 본문 */
    --hubt-btn: 16px;              /* 버튼 · 탭 */
    --hubt-badge: 14px;            /* 배지 */
    /* 색 */
    --hubt-color-title: #111111;                   /* 섹션 제목 */
    --hubt-color-accent: var(--hubms-accent);      /* 작은 라벨 · 제목 강조 줄 */
    --hubt-color-desc: #555555;                    /* 섹션 설명 */
    --hubt-color-card-title: #111111;              /* 카드 제목 */
    --hubt-color-text: #666666;                    /* 카드 본문 */
}


/* ==========================================================================
   01. LEGACY · GENERIC LAYOUT
   ========================================================================== */
.hubms-section {
    padding: 64px 20px;
}

.hubms-section:nth-of-type(even) {
    background: #f7f8f9;
}

.hubms-container {
    max-width: 1120px;
    margin: 0 auto;
}

.hubms-h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 1.94vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #16202a;
    text-align: center;
}

.hubms-subtitle {
    margin: 0 0 36px;
    font-size: clamp(13px, 1.04vw, 15px);
    color: #667080;
    text-align: center;
}

.hubms-h2 + .hubms-grid,
.hubms-h2 + .hubms-press-list {
    margin-top: 36px;
}

/* Grid */
.hubms-grid {
    display: grid;
    gap: 22px;
}

.hubms-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.hubms-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Card */
.hubms-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e6e9ec;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hubms-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 30, 45, 0.08);
}

/* Badge */
.hubms-badge {
    align-self: flex-start;
    margin: 14px 16px 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: clamp(10px, 0.76vw, 11px);
    font-weight: 700;
    color: #2f6fed;
    background: #eef4ff;
}


/* ==========================================================================
   02. COMPONENT · BUTTON
   ========================================================================== */
.hubms-btn--primary,
.hubms-btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(13px, 1.04vw, 15px);
    font-weight: 500;
    text-decoration: none;
}

/* Primary — 버건디 채움 버튼 */
.hubms-btn--primary {
    gap: 10px;
    padding: 14px 28px;
    color: #fff;
    background-color: var(--hubms-btn-bg);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hubms-btn--primary:hover {
    background-color: var(--hubms-btn-bg-hover);
}

/* Secondary — 하단선 링크 */
.hubms-btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border: 1px solid #d9d9d9;
    color: #333;
    background-color: #f7f7f7;
    transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
}

.hubms-btn--secondary:hover {
    border-color: #999;
    color: #111;
    background-color: #fff;
}

/* Arrow */
.hubms-btn__arrow {
    transition: transform 0.2s ease;
}

.hubms-btn:hover .hubms-btn__arrow {
    transform: translateX(4px);
}


/* ==========================================================================
   03. SHARED PATTERN · SECTION HEADER
   변호사 · 성공사례 · 상황별 안내 · 고객후기가 같은 구조의 헤더를 사용합니다.
   (섹션 고유 값 — 여백, 글자 크기 등 — 은 각 섹션 블록에서 지정)
   ========================================================================== */

/* Wrapper */
.hubms-lawyer__header,
.hubms-case__header,
.hubms-path__header,
.hubms-review__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* Eyebrow — 변호사 · 성공사례 */
.hubms-lawyer__eyebrow,
.hubms-case__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hubms-accent);
}

.hubms-lawyer__eyebrow .line,
.hubms-case__eyebrow .line {
    /*display: inline-block;*/
    display: none;
    width: 40px;
    height: 1px;
    background-color: var(--hubms-accent);
}

/* Title — 변호사 · 성공사례 */
.hubms-lawyer__section-title,
.hubms-case__section-title {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    word-break: keep-all;
}

.hubms-lawyer__section-title-line.is-accent,
.hubms-case__section-title-line.is-accent {
    color: var(--hubms-accent);
}

/* Description — 변호사 · 성공사례 */
.hubms-lawyer__section-desc,
.hubms-case__section-desc {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Title line — 상황별 안내 · 고객후기 */
.hubms-path__title-line,
.hubms-review__section-title-line {
    display: block;
}

/* More link — 상황별 안내 · 고객후기 (공통 뼈대) */
.hubms-path__more,
.hubms-review__more-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    font-size: clamp(12px, 0.97vw, 14px);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}


/* ==========================================================================
   04. SECTION · HERO
   ========================================================================== */
.hubms-hero {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    background-color: #f7f6f5;
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 좌측 텍스트 가독성을 위한 소프트 오버레이 */
.hubms-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(247, 246, 245, 0.95) 0%, rgba(247, 246, 245, 0.75) 45%, rgba(247, 246, 245, 0) 80%);
}

.hubms-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--hubms-container);
    margin: 0 auto;
    padding: 60px 24px 0;
}

.hubms-hero__content {
    max-width: 580px;
}

/* Eyebrow */
.hubms-hero__eyebrow {
    margin-bottom: 16px;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hubms-hero-accent);
}

/* Title */
.hubms-hero__title {
    margin-bottom: 24px;
    font-size: clamp(32px, 2.92vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #111;
    word-break: keep-all;
}

.hubms-hero__line.is-accent {
    color: var(--hubms-hero-accent);
}

/* Description */
.hubms-hero__desc {
    margin-bottom: 36px;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.65;
    color: #555;
    word-break: keep-all;
}

/* Buttons (스타일은 02. Button) */
.hubms-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}


/* ==========================================================================
   05. SECTION · HEROBAR
   ========================================================================== */
.hubms-herobar--dark {
    width: 100%;
    padding: 30px 0;
    box-sizing: border-box;
    color: #fff;
    background-color: #121212;
}

.hubms-herobar__container {
    max-width: var(--hubms-container);
    margin: 0 auto;
    /*padding: 0 20px;*/
}

.hubms-herobar__list {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(180px, 100%), 1fr)
    );
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 24px 0;
    list-style: none;
}

.hubms-herobar__item {
    position: relative;
    padding: 0;                     /* 여백은 내부 링크 영역에서 처리 */
    box-sizing: border-box;
}

/* 세로 구분선 (|) */
.hubms-herobar__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-50%);
    display: none;
}

/* Link / Inner — 영역 전체가 클릭되도록 */
.hubms-herobar__link,
.hubms-herobar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hubms-herobar__link:hover {
    opacity: 0.85;
    cursor: pointer;
}

.hubms-herobar__link:hover .hubms-herobar__title {
    text-decoration: underline;
}

/* Icon — 흰색 선 아이콘(SVG/PNG) 기준.
   검은색 PNG 를 흰색으로 바꾸려면 filter: brightness(0) invert(1); 추가 */
.hubms-herobar__img {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Text */
.hubms-herobar__text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
}

.hubms-herobar__title {
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    white-space: nowrap;
}

.hubms-herobar__desc {
    font-size: clamp(13px, 1.04vw, 15px);
    line-height: 1.3;
    color: #a0a0a0;
    white-space: nowrap;
}


/* ==========================================================================
   06. SECTION · LAWYER
   ========================================================================== */
.hubms-lawyer-section {
    width: 100%;
    background-color: #fff;
}

.hubms-lawyer {
    max-width: var(--hubms-container);
    margin: 0 auto;
    padding: 80px 20px;
    box-sizing: border-box;
}

/* ── Header (공통 구조는 03. Shared Pattern) ───────────────────────────── */
.hubms-lawyer__header {
    margin-bottom: 40px;
}

.hubms-lawyer__header-left {
    max-width: 760px;
}

.hubms-lawyer__section-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 2.64vw, 38px);
}

.hubms-lawyer__section-desc {
    font-size: clamp(15px, 1.25vw, 18px);
}

/* ── Prev / Next ──────────────────────────────────────────────────────── */
.hubms-lawyer__nav {
    display: flex;
    gap: 10px;
}

.hubms-lawyer__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hubms-lawyer__nav-btn.next {
    border-color: var(--hubms-accent);
    color: #fff;
    background-color: var(--hubms-accent);
}

.hubms-lawyer__nav-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* ── Slider ───────────────────────────────────────────────────────────── */
.hubms-lawyer__slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;               /* 영역 밖 카드는 숨김 */
}

/* PC: JS 로 이동 / 모바일: 네이티브 스크롤 */
.hubms-lawyer__track {
    display: flex;
    gap: 24px;
    margin-bottom: -10px;
    padding: 10px 4px 20px;         /* 그림자 잘림 방지 여백 */
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;       /* IE / Edge */
    scrollbar-width: none;          /* Firefox */
}

.hubms-lawyer__track::-webkit-scrollbar {
    display: none;                  /* Chrome / Safari */
}

/* ── Card ─────────────────────────────────────────────────────────────── */
.hubms-lawyer__card {
    position: relative;
    display: flex;
    /*flex: 0 0 520px;*/
    flex: 0 0 600px;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    scroll-snap-align: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hubms-lawyer__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* PC 시안: 첫 번째 카드를 더 넓게 */
.hubms-lawyer__card.is-first {
    /*flex: 0 0 675px;*/
}

.hubms-lawyer__card-num {
    display: none;
}

.hubms-lawyer__photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 42%;
    background-color: #f4f4f4;
    overflow: hidden;
}

.hubms-lawyer__photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    /*
     * 카드용 저용량 배경 (원본 Main_hero 740KB → 35KB · 보이는 왼쪽만 잘라 밝기 0.6 미리 적용 · 1년 캐시)
     * 뒤에 깔린 흐린 미리보기(116B, CSS 안에 포함)가 즉시 보이고, 실제 이미지가 오면 그 위에 덮임 → 빈 여백 없음
     * 배경을 바꾸면: node scripts/optimize-lawyer-bg.js 실행 후 아래 주소·미리보기·색 갱신
     */
    background-color: #998478;
    background-image:
        url('https://anlab-hub.com/assets/img/sm/lawyer-bg.c647718f.avif'),
        url('data:image/webp;base64,UklGRmwAAABXRUJQVlA4IGAAAACwBACdASoYABIAPu1kqE2ppaOiMBgMATAdiWcAs4AMOquz4Kk7H7tRyEX+GAssAP7L1Y5UKkP/J8qcG1EG/Ynk1NKF71gHM1/DWdMADyqh+lfCgvWiwAXZtuns4zK1gAA=');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}

.hubms-lawyer__photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: top;
}

.hubms-lawyer__overlay-text {
    position: absolute;
    top: 20px;
    z-index: 2;
    right: 16px;
    left: 16px;
    font-size: clamp(15px, 0.9vw, 18px);
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    word-break: keep-all;
}

/* Body */
.hubms-lawyer__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 20px;
}

.hubms-lawyer__content{
    flex: 1 1 auto;
    padding-bottom: 16px;
}

.hubms-lawyer__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
    margin: 0 0 12px;
}

/* 강조 라인(출신): 혼자 한 줄 전체를 차지 */
.hubms-lawyer__title-line.is-accent {
    width: 100%;
    margin-bottom: 4px;
    font-size: clamp(13px, 1.04vw, 15px);
    font-weight: 700;
    color: var(--hubms-accent);
}

/* 일반 라인(이름 · 직함): 한 줄에 나란히 */
.hubms-lawyer__title-line:not(.is-accent) {
    display: inline-block;
    font-size: clamp(19px, 1.53vw, 22px);
    font-weight: 700;
    color: #111;
}

.hubms-lawyer__slogan {
    margin: 0 0 14px;
    padding: 0;
    font-size: clamp(15px, 0.9vw, 18px);
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.hubms-lawyer__history {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.hubms-lawyer__history li {
    position: relative;
    padding-left: 10px;
    font-size: clamp(15px, 0.9vw, 18px);
    line-height: 1.5;
    color: #666;
}

.hubms-lawyer__history li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #aaa;
}

.hubms-lawyer__cases{
    display: none;
}

.hubms-lawyer__cases-label {
    display: block;
    margin-bottom: 6px;
    font-size: clamp(15px, 0.9vw, 18px);
    font-weight: 600;
    color: #888;
}

.hubms-lawyer__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hubms-lawyer__tag {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: clamp(15px, 0.9vw, 18px);
    color: #555;
    background-color: #f2f2f2;
}

/* Profile link */
.hubms-lawyer__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px;
    border-radius: 3px;
    font-size: clamp(13px, 1.04vw, 15px);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background-color: var(--hubms-accent);
    transition: background-color 0.2s ease;
}

.hubms-lawyer__link:hover {
    background-color: var(--hubms-accent-hover);
}

/* '변호사 전체 보기' 버튼: PC에서도 다른 섹션 '더보기'(.hubms-more-foot)와 같은 하단 가운데 버튼으로 노출 */
.hubms-lawyer__mobile-footer {
    display: flex;
    justify-content: center;
    margin-top: 56px;               /* .hubms-more-foot PC 간격과 동일 */
}

.hubms-lawyer__footer-text {
    display: none;                  /* 버튼 옆 문구는 숨김 (모바일과 동일) */
}


/* ==========================================================================
   07. SECTION · CASE (성공사례)
   ========================================================================== */
.hubms-case-section {
    width: 100%;
    background-color: #f8fafc;
    /*background: linear-gradient(*/
    /*        to bottom,*/
    /*        #000000 0%,*/
    /*        #000000 1%,*/
    /*        #f8fafc 10%,*/
    /*        #f8fafc 100%*/
    /*);*/ 
}

.hubms-case {
    max-width: var(--hubms-container);
    margin: 0 auto;
    padding: 0 20px 60px;
    box-sizing: border-box;
}

/* 태블릿(641~1279px): 사이트 GNB(#site-header, absolute)가 90px → 61px 로 줄어드는 구간.
   위 여백(90px)이 그대로면 GNB 와 성공사례 히어로 배경(.hubms-case__header-bg) 사이에 29px 흰 여백이 생기므로
   모바일(≤640px, 60px)처럼 GNB 높이에 맞춰 붙인다. (PC ≥1280px 은 GNB 90px = 여백 90px 그대로) */
@media (min-width: 641px) and (max-width: 1279px) {
    .hubms-case {
        padding-top: 60px;
    }
}

/* ── Header (공통 구조는 03. Shared Pattern) ───────────────────────────── */
.hubms-case__header {
    margin-bottom: 32px;
}

.hubms-case__section-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 2.64vw, 38px);
}

.hubms-case__section-desc {
    font-size: clamp(15px, 1.25vw, 18px);
}

.hubms-case__more-link {
    padding-bottom: 2px;
    border-bottom: 1px solid #111;
    font-size: clamp(13px, 0.83vw, 15px);
    font-weight: 400;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hubms-case__more-link:hover {
    border-color: var(--hubms-accent);
    color: var(--hubms-accent);
}

/* ── Category tabs (pill) ─────────────────────────────────────────────── */

/* 사례 카테고리 필터 */
.hubms-case__tabs-wrap {
    width: 100%;
    overflow: visible;
    margin-bottom: 32px;
}

.hubms-case__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    overflow: visible;
}

/* 기본 탭 */
.hubms-case__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: clamp(13px, 1.04vw, 15px);
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease;
}

/* 선택 상태 */
.hubms-case__tab.is-active {
    background: #222;
    border-color: #222;
    color: #fff;
}

/* 모바일 */
/*@media (max-width: 600px) {*/
/*    .hubms-case__tabs {*/
/*        display: grid;*/
/*        grid-template-columns: repeat(2, minmax(0, 1fr));*/
/*        gap: 8px;*/
/*    }*/

/*    .hubms-case__tab {*/
/*        width: 100%;*/
/*        min-width: 0;*/
/*        min-height: 42px;*/
/*        padding: 9px 8px;*/
/*        font-size: 13px;*/
/*        white-space: normal;*/
/*        overflow-wrap: anywhere;*/
/*        text-align: center;*/
/*    }*/
/*}*/

/* ── Grid (3 columns) ─────────────────────────────────────────────────── */
.hubms-case__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hubms-case__card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hubms-case__card:hover {
    transform: translateY(-5px);
}

.hubms-case__card-inner {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ── Paper (판결문 서류 느낌의 카드 상단) ──────────────────────────────── */
.hubms-case__paper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 340px;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    background-color: #f9f9fb;
}

/* 카드 배경 위에 중앙이 밝고 주변이 어두워지는 스포트라이트 오버레이 추가 */
.hubms-case__paper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3); /* 30% 투명도의 다크 틴트 필터 */
    pointer-events: none;
}

.hubms-case__paper-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9;
    /*filter: grayscale(100%);*/
}

.hubms-case__paper-header {
    position: absolute;
    inset: 0;
    z-index: 3;
    top: 9px;
    left: 9px;
    /*display: flex;*/
    align-items: center;
    justify-content: flex-start;
    pointer-events: none; /* 카드 전체 링크 클릭 방해 방지 */
}

.hubms-case__paper-badge {
    pointer-events: auto;
    padding: 6px 14px;
    /*border: 2px solid #111;*/
    font-size: 16px;
    letter-spacing: -0.5px;
    /*color: var(--hubms-accent);*/
    /*background: rgba(255, 255, 255, 0.95);*/
    /*box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);*/
    color: var(--hubms-accent-alt);
    font-weight: 600;
    background: #f7ecec;
    border-radius: 60px;
}

.hubms-case__paper-no {
    font-size: clamp(10px, 0.83vw, 12px);
    font-weight: 600;
    color: #aaa;
}


/* 붉은 결과 스탬프 (기울어진 박스) */
.hubms-case__stamp {
    position: relative;
    z-index: 2;
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    padding: 6px 16px;
    border: 2px solid var(--hubms-accent);
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--hubms-accent) 15%, transparent);
    transform: rotate(-6deg);
}

.hubms-case__stamp-text {
    font-size: clamp(14px, 1.18vw, 17px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--hubms-accent);
}

/* ── Body ─────────────────────────────────────────────────────────────── */
.hubms-case__body {
    padding: 20px 18px;
}

.hubms-case__title {
    margin: 0 0 8px;
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    word-break: keep-all;
}

.hubms-case__summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: clamp(13px, 1.04vw, 15px);
    line-height: 1.5;
    color: #666;
    word-break: keep-all;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* ==========================================================================
   08. SECTION · PATH (상황별 안내 / FIND YOUR PATH)
   ========================================================================== */
.hubms-path-section {
    padding: 72px 0 80px;
    background: #f8fafc;
}

.hubms-path {
    max-width: var(--hubms-container);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ── Header (공통 구조는 03. Shared Pattern) ───────────────────────────── */
.hubms-path__header {
    gap: 24px;
    margin-bottom: 36px;
}

.hubms-path__eyebrow {
    margin-bottom: 14px;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hubms-accent-alt);
}

.hubms-path__title {
    margin: 0 0 14px;
    font-size: clamp(28px, 2.5vw, 38px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--hubms-ink);
}

.hubms-path__title-line.is-accent {
    color: var(--hubms-accent-alt);
}

.hubms-path__desc {
    margin: 0 0 12px;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: #555;
}

.hubms-path__note {
    max-width: 640px;
    margin: 0;
    font-size: clamp(12px, 0.97vw, 14px);
    line-height: 1.7;
    color: #555a63;
}

.hubms-path__more {
    gap: 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--hubms-ink);
    color: var(--hubms-ink);
    font-size: clamp(13px, 0.83vw, 15px);
}

/* Arrow */
.hubms-path__more .arrow,
.hubms-path__link .arrow {
    font-style: normal;
    transition: transform 0.2s;
}

.hubms-path__more:hover .arrow,
.hubms-path__card:hover .hubms-path__link .arrow {
    transform: translateX(4px);
}

/* ── Grid (큰 카드 2 + 작은 카드 4) ───────────────────────────────────── */
.hubms-path__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hubms-path__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    padding: 28px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 6px;
    color: #fff;
    background: #1c2230;
}

.hubms-path__card.is-wide {
    grid-column: span 2;
}

/* 한 줄 전체 카드 (4칸 합침) — 맨 아래 정리 카드 · 글은 왼쪽, 링크는 오른쪽 · 템플릿 situation.js 의 situationCardSize */
/* ── 레이아웃 「가로 큰1 + 큰3」 (situation_full3) : 3칸 그리드 · 1번 한 줄 전체 · 2번부터 큰 카드 한 줄 3개 ── */
.hubms-path__grid.hubms-path__grid--full3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hubms-path__grid.hubms-path__grid--full3 .hubms-path__card.is-wide {
    grid-column: auto;
}
@media (max-width: 960px) {
    .hubms-path__grid.hubms-path__grid--full3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .hubms-path__grid.hubms-path__grid--full3 {
        grid-template-columns: 1fr;
    }
}
.hubms-path__card.is-full {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 200px;
    padding: 36px 44px;
}

.hubms-path__card.is-full .hubms-path__top {
    display: none;
}

.hubms-path__card.is-full .hubms-path__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 40px;
}

.hubms-path__card.is-full .hubms-path__card-title {
    grid-column: 1;
    font-size: clamp(22px, 1.81vw, 26px);
}

.hubms-path__card.is-full .hubms-path__card-desc {
    grid-column: 1;
    margin-bottom: 0;
}

.hubms-path__card.is-full .hubms-path__link {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    white-space: nowrap;
}

/* 배경 이미지 + 어두운 오버레이 */
.hubms-path__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease;
}

.hubms-path__card:hover .hubms-path__bg {
    transform: scale(1.05);
}

.hubms-path__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 16, 26, 0.55) 0%, rgba(12, 16, 26, 0.82) 100%);
}

.hubms-path__top,
.hubms-path__content {
    position: relative;
    z-index: 1;
}

.hubms-path__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.hubms-path__no {
    font-size: clamp(10px, 0.83vw, 12px);
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
}

.hubms-herobar__icon,
.hubms-path__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: #fff;
}

.hubms-path__top{
    /*display: none;*/
    opacity: 0;
}

.hubms-herobar__icon svg,
.hubms-path__icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.hubms-herobar__icon{
    border: none;
}
.hubms-herobar__icon svg{
    width: 42px;
    height: 42px;
}

.hubms-path__card-title {
    margin: 0 0 10px;
    font-size: clamp(17px, 1.39vw, 20px);
    font-weight: 500;
    line-height: 1.45;
    color: #fff;
}

.hubms-path__card.is-wide .hubms-path__card-title {
    font-size: clamp(22px, 1.81vw, 26px);
}

.hubms-path__card-desc {
    margin: 0 0 18px;
    font-size: clamp(11px, 0.9vw, 13px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

.hubms-path__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    font-size: clamp(10px, 0.83vw, 12px);
    color: #fff;
    text-decoration: none;
}

/* 카드 전체를 클릭 가능하게 */
.hubms-path__link::after {
    content: "";
    position: absolute;
    inset: 0;
}


/* ==========================================================================
   09. SECTION · REVIEW (고객후기)
   한 줄 자동 롤링 + 드래그 + 클릭 시 확대 보기 (동작은 템플릿이 함께 내려주는 스크립트)

   .hubms-review-section
     └ .hubms-review[data-hubms-review]
         ├ .hubms-review__header
         └ .hubms-review__viewport
             └ .hubms-review__track
                 └ .hubms-review__card × N      (복제 카드는 스크립트가 추가)
   .hubms-review-lb                             (확대 보기 — 스크립트가 body 에 추가)
   ========================================================================== */

/* Tokens — 후기 섹션과 확대 보기가 함께 사용 */
.hubms-review-section,
.hubms-review-lb {
    --hubms-review-accent: var(--hubms-accent-alt);
    --hubms-review-accent-hover: #911d0c;       /* 더보기 링크 hover 만 다른 와인색 (통일 가능) */
    --hubms-review-accent-bg: #f7ecec;
    --hubms-review-ink: var(--hubms-ink);
    --hubms-review-muted: #7a808a;
    --hubms-review-line: #e5e1da;
}

.hubms-review-section *,
.hubms-review-section *::before,
.hubms-review-section *::after,
.hubms-review-lb *,
.hubms-review-lb *::before,
.hubms-review-lb *::after {
    box-sizing: border-box;
}

.hubms-review-section {
    width: 100%;
    padding: 72px 0 80px;
}

.hubms-review {
    width: 100%;
    max-width: var(--hubms-container);
    margin: 0 auto;
    padding: 60px 24px 0;
}

/* ── Header (공통 구조는 03. Shared Pattern) ───────────────────────────── */
.hubms-review__header {
    gap: 24px;
    margin-bottom: 32px;
}

.hubms-review__header-left {
    min-width: 0;
}

.hubms-review__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hubms-review-accent);
}

.hubms-review__eyebrow .line {
    display: block;
    width: 40px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.hubms-review__section-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 14px;
    font-size: clamp(28px, 2.5vw, 38px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--hubms-review-ink);
}

.hubms-review__section-title-line.is-accent {
    color: var(--hubms-review-accent);
}

.hubms-review__section-desc {
    margin: 0;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: #555;
}

.hubms-review__more-link {
    gap: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--hubms-review-ink);
    color: var(--hubms-review-ink);
    transition: color 0.2s ease;
    font-size: clamp(13px, 0.83vw, 15px);
    font-weight: 400;
}

.hubms-review__more-link:hover {
    color: var(--hubms-review-accent-hover);
}

/* ── Rolling viewport ─────────────────────────────────────────────────── */
.hubms-review__viewport {
    position: relative;
    padding: 8px 0 18px;            /* 호버로 떠오르는 카드와 그림자가 잘리지 않도록 */
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;            /* 세로 스크롤은 페이지, 가로 드래그는 롤링이 처리 */
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    /* 양쪽 가장자리를 부드럽게 */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

.hubms-review__viewport.is-dragging {
    cursor: grabbing;
}

.hubms-review__track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

/* ── Card ─────────────────────────────────────────────────────────────── */
.hubms-review__card {
    display: flex;
    flex: 0 0 240px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--hubms-review-line);
    border-radius: 10px;
    background: #fff;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hubms-review__card:focus-visible {
    outline: 2px solid var(--hubms-review-accent);
    outline-offset: 2px;
}

@media (hover: hover) {
    .hubms-review__card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(31, 34, 40, 0.12);
    }
}

/* Image — 카톡 캡처처럼 세로로 긴 이미지 기준 */
.hubms-review__image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f3f1ed;
}

.hubms-review__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;           /* 대화 캡처는 위쪽부터 보이게 */
    pointer-events: none;           /* 이미지가 직접 클릭 · 우클릭 대상이 되지 않게 */
    -webkit-user-drag: none;
    user-select: none;
}

/* 투명 덮개 — 우클릭해도 "이미지 저장" 메뉴가 뜨지 않게 하는 억제 장치 (완전 차단은 불가능) */
.hubms-review__image::after {
    content: "";
    position: absolute;
    inset: 0;
}

/* Body */
.hubms-review__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 16px 14px;
}

/* 결과 배지는 제목 위로 */
.hubms-review__result {
    order: -1;
    margin: 0;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: clamp(13px, 0.83vw, 15px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--hubms-review-accent);
    background: var(--hubms-review-accent-bg);
}

.hubms-review__title {
    display: -webkit-box;
    min-height: 2em;
    margin: 0;
    overflow: hidden;
    font-size: clamp(13px, 0.83vw, 15px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--hubms-review-ink);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hubms-review__date {
    display: none;
    margin-top: auto;
    padding-top: 8px;
    font-size: clamp(13px, 0.83vw, 15px);
    color: var(--hubms-review-muted);
}

/* ── Lightbox (확대 보기) ─────────────────────────────────────────────── */
html.hubms-review-lb-lock {
    overflow: hidden;
}

.hubms-review-lb {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: rgba(12, 14, 18, 0.88);
}

.hubms-review-lb.is-open {
    display: flex;
}

.hubms-review-lb [hidden] {
    display: none !important;
}

.hubms-review-lb__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(92vw, 640px);
    margin: 0;
}

.hubms-review-lb__img {
    position: relative;
    width: 100%;
    height: min(78vh, 860px);
    background: center / contain no-repeat;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.hubms-review-lb__img::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hubms-review-lb figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    margin-top: 16px;
    color: #fff;
    text-align: center;
}

.hubms-review-lb__result {
    padding: 3px 12px;
    border-radius: 999px;
    font-size: clamp(10px, 0.83vw, 12px);
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    background: var(--hubms-review-accent);
}

.hubms-review-lb__title {
    font-size: clamp(13px, 1.04vw, 15px);
    font-weight: 600;
    line-height: 1.5;
}

.hubms-review-lb__date {
    font-size: clamp(10px, 0.83vw, 12px);
    color: rgba(255, 255, 255, 0.65);
}

.hubms-review-lb__close {
    position: absolute;
    top: 14px;
    right: 20px;
    padding: 0 6px;
    border: 0;
    font-size: clamp(32px, 2.64vw, 38px);
    line-height: 1;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.hubms-review-lb__nav {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    font-size: clamp(26px, 2.08vw, 30px);
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition: background 0.15s ease;
}

.hubms-review-lb__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}


/* ==========================================================================
   10. RESPONSIVE
   Desktop-first. 큰 구간 → 작은 구간 순서로 작성해야 아래쪽 규칙이 위쪽을 덮어씁니다.
   (구간을 추가할 때도 이 순서를 지켜주세요)
   레이아웃 breakpoint는 기존 값을 유지합니다. font-size만 clamp()로 유동 처리합니다.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ≤ 1024px · Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hubms-herobar__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;

    }

    .hubms-herobar__item:not(:last-child)::after {
        display: none;
    }

    /* Case */
    .hubms-case__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Review */
    .hubms-review__card {
        flex-basis: 220px;
    }

    .hubms-herobar__inner{
        justify-content: start;
    }
}

/* --------------------------------------------------------------------------
   ≤ 960px
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {

    /* Path */
    .hubms-path__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hubms-path__title {
        /*font-size: clamp(27px, 2.22vw, 32px);*/
    }

    .hubms-path__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   ≤ 900px
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {

    /* Generic */
    .hubms-grid--3,
    .hubms-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hubms-press-row {
        grid-template-columns: 84px 1fr;
    }

    .hubms-press-row__date {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   ≤ 768px · Mobile (Lawyer 카드가 세로형으로 전환)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    .hubms-lawyer__slider-wrap {
        overflow: visible;
    }

    .hubms-lawyer__track {
        gap: 16px;
        padding-right: 0;
        padding-left: 0;
    }

    /* 세로형 카드 — 다음 카드가 살짝 보이는 규격 */
    .hubms-lawyer__card,
    .hubms-lawyer__card.is-first {
        flex: 0 0 82%;
        flex-direction: column;
    }

    /* 상단 인덱스 (01, 02 …) */
    .hubms-lawyer__card-num {
        padding: 14px 16px 6px;
        font-size: clamp(13px, 1.04vw, 15px);
        font-weight: 800;
        color: var(--hubms-accent);
        display: none;
    }

    .hubms-lawyer__photo-wrap {
        width: 100%;
        height: 240px;
    }

    .hubms-lawyer__body {
        padding: 16px;
    }

    /* 하단 전체보기 영역 */
    .hubms-lawyer__mobile-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;               /* 다른 섹션 '더보기'(.hubms-more-foot 모바일)와 같은 간격 */
    }

    .hubms-lawyer__footer-text {
        margin: 0;
        font-size: clamp(11px, 0.9vw, 13px);
        font-weight: 700;
        line-height: 1.4;
        color: #333;
        display: none;
    }

    .hubms-lawyer__more-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 0;
        border: none;
        border-bottom: 1px solid #333;
        border-radius: 0;
        font-size: clamp(13px, 0.83vw, 15px);
        font-weight: 400;
        text-decoration: none;
        background: transparent;
        transition: color 0.2s ease, border-color 0.2s ease;
    }

    .hubms-lawyer__more-btn:hover {
        color: #222;
        border-color: #222;
    }

    .hubms-lawyer__more-btn:hover::after {
        transform: translate(2px, -2px);
    }

    .hubms-lawyer__header {
        display: block;
        position: relative;
    }

    .hubms-lawyer__header-left {
        width: 100%;
    }

    .hubms-lawyer__nav {
        width: 100%;
        margin-top: 24px;
        position: absolute;
        bottom: -35px;
        justify-content: end;
    }

}

/* --------------------------------------------------------------------------
   ≤ 640px · Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .hubms-hero{
        min-height: 590px;
    }
    /* Case */
    .hubms-lawyer {
        padding: 40px 16px;
    }

    .hubms-case {
        padding: 60px 16px 30px;
    }

    .hubms-case__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 40px 0!important;
    }

    /*.hubms-case__section-title {*/
    /*    font-size: clamp(32px, 2.64vw, 38px);*/
    /*}*/
    .hubms-case__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        /*padding: 0 16px 12px 16px;
        /*margin: 0 -16px;
        /* 스크롤바 숨기기 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hubms-case__grid::-webkit-scrollbar {
        display: none;
    }

    /* ── Case Card (다음 카드 엿보기 눈속임 설정) ────────────────── */
    .hubms-case__card {
        flex: 0 0 65%;
        max-width: 65%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
    .hubms-case__paper{
        height: 250px;
    }
    .hubms-case__body{
        padding: 20px 12px;
    }

    /* 맨 첫 번째 카드가 왼쪽 여백에 딱 맞도록 조정 (선택사항) */
    .hubms-case__card:first-child {
        scroll-snap-align: start;
    }


    .hubms-case__paper {
        /*height: auto;*/
    }

    .hubms-case__stamp-text {
        font-size: clamp(13px, 1.04vw, 15px);
    }

    /* Review */
    .hubms-review-section {
        padding: 40px 0;
    }

    .hubms-review {
        padding: 0 16px;
    }

    .hubms-review__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .hubms-review__section-title {
        /*font-size: clamp(22px, 1.81vw, 26px);*/
    }

    .hubms-review__track {
        gap: 12px;
    }

    .hubms-review__card {
        flex-basis: 220px;
    }

    .hubms-review__body {
        gap: 6px;
        padding: 12px 12px 10px;
    }

    .hubms-review__title {
        /*font-size: clamp(11px, 0.9vw, 13px);*/
    }

    .hubms-review__result {
        padding: 2px 9px;
        /*font-size: clamp(10px, 0.76vw, 11px);*/
    }

    /* Review · 확대 보기 — 이전/다음 버튼을 화면 양옆에 겹쳐 배치 */
    .hubms-review-lb {
        padding: 16px 8px;
    }

    .hubms-review-lb__nav {
        position: absolute;
        top: 50%;
        width: 38px;
        height: 38px;
        margin-top: -19px;
        background: rgba(0, 0, 0, 0.45);
    }

    .hubms-review-lb__nav.is-prev {
        left: 8px;
    }

    .hubms-review-lb__nav.is-next {
        right: 8px;
    }

    .hubms-path {
        padding: 0 16px;
    }
}

/* --------------------------------------------------------------------------
   ≤ 600px
   -------------------------------------------------------------------------- */
.hubms-herobar__item--clone {
    display: none;   /* 데스크톱/태블릿은 그리드라서 복제 불필요 */
}
@media (max-width: 600px) {
    .hubms-case__tabs{
        gap: 0;
    }
    .hubms-herobar {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        position: relative;
    }
    .hubms-herobar--dark{
        padding: 16px 0;
    }

    .hubms-lawyer__photo{
        margin: 0 auto;
        width: 80%;
    }

    .hubms-herobar__list {
        display: flex;
        align-items: center;
        gap: 0;                      /* gap 대신 margin 사용 (아래 설명 참고) */
        flex-wrap: nowrap;
        padding: 0;
        width: max-content;
        animation: hubms-herobar-scroll var(--hubms-dur, 20s) linear infinite;
        will-change: transform;
    }

    .hubms-herobar__list:hover {
        animation-play-state: paused;
    }

    .hubms-herobar__list > li {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .hubms-herobar__item {
        justify-content: flex-start;
        padding-left: 10px;
        margin-right: 20px;          /* 기존 gap: 20px 대체 */
    }

    .hubms-herobar__item--clone {
        display: block;              /* 모바일에서만 복제 항목 표시 */
    }

    @keyframes hubms-herobar-scroll {
        from { transform: translateX(0); }
        to   { transform: translateX(calc(-100% / var(--hubms-loops, 2))); }
    }
}
@media (prefers-reduced-motion: reduce) {
    .hubms-herobar__list { animation: none; }
    .hubms-herobar__item--clone { display: none; }
}
/* --------------------------------------------------------------------------
   ≤ 560px · Small mobile
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
    .hubms-case-section  {
        background: linear-gradient(to bottom, #000000 0%, #000000 0%, #f8fafc 8%, #f8fafc 100%);
    }
    .hubms-hero__overlay {
        background: linear-gradient(
                135deg,
                rgba(247, 246, 245, 0.98) 0%,
                rgba(247, 246, 245, 0.75) 60%,
                rgba(247, 246, 245, 0.1) 100%
        );
    }

    /* Generic */
    .hubms-section {
        padding: 44px 16px;
    }

    .hubms-h2 {
        font-size: clamp(19px, 1.53vw, 22px);
    }

    .hubms-grid--3,
    .hubms-grid--4 {
        grid-template-columns: 1fr;
    }

    /* Path */
    .hubms-path-section {
        padding: 40px 0;
    }

    .hubms-path__grid {
        grid-template-columns: 1fr;
    }

    /* 모바일: 안 보이는 번호줄(.hubms-path__top, opacity 0)이 자리를 차지해 글이 아래로 쏠리던 것 →
       번호줄을 빼고 글(.hubms-path__content)을 카드 정중앙에, 위·아래 빈 공간도 줄임 (PC는 그대로) */
    .hubms-path__card {
        justify-content: center;
        min-height: 180px;
        padding: 28px 22px;
    }

    .hubms-path__top {
        display: none;
    }

    .hubms-path__card.is-wide {
        grid-column: auto;
    }

    .hubms-path__title {
        /*font-size: clamp(22px, 1.81vw, 26px);*/
    }

    .hubms-path__card.is-wide .hubms-path__card-title {
        font-size: clamp(19px, 1.53vw, 22px);
    }

    .hubms-lawyer__section-desc{
        padding-bottom: 12px;
    }
}


/* ==========================================================================
   11. ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .hubms-review__card {
        transition: none;
    }
}


/* 비디오 추가 */
.hubms-hero { position: relative; overflow: hidden; background-color: #111; }
.hubms-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hubms-hero__overlay { z-index: 1; }
.hubms-hero__container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hubms-hero__video { display: none; } }

/* 변호사 로고 영역 */
.hubms-lawyer__logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 234px;
    max-width: 100%;
    margin-bottom: 12px;
}

/* 개별 로고 */
.hubms-lawyer__logo-item {
    display: flex;
    /*flex: 1 1 0;*/
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 42px;
    overflow: hidden;
}

/* 로고 이미지 */
.hubms-lawyer__logo-item img {
    display: block;
    width: 100%;
    max-width: 41px;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.hubms-case__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 60px 0 40px;
    z-index: 1;
}

.hubms-case__header-left,
.hubms-case__more-link {
    position: relative;
    z-index: 2;
}

.hubms-case__header-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 99vw;
    max-width: none;
    height: 100%;
    object-fit: none;
    object-position: 0% 40%;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.03) 0%,
            rgba(0, 0, 0, 0.15) 60%,
            rgba(0, 0, 0, 0.35) 80%,
            rgba(0, 0, 0, 0.45) 100%
    );
    mask-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.03) 0%,
            rgba(0, 0, 0, 0.15) 60%,
            rgba(0, 0, 0, 0.35) 80%,
            rgba(0, 0, 0, 0.45) 100%
    );
}

@media screen and (min-width: 768px) {
    .hubms-case__header-bg {
        object-position: center center; /* PC에서는 중앙 정렬로 복귀 */

        /* 기존에 쓰시던 PC용 마스크 그라데이션 */
        -webkit-mask-image: linear-gradient(
                to right,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.25) 45%,
                rgba(0, 0, 0, 1) 80%,
                rgba(0, 0, 0, 1) 100%
        );
        mask-image: linear-gradient(
                to right,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.25) 45%,
                rgba(0, 0, 0, 1) 80%,
                rgba(0, 0, 0, 1) 100%
        );
    }
}


/* ==========================================================================
   12. SECTION · PRESS (언론보도 · 미디어 카드형)        template: press_media
   --------------------------------------------------------------------------
   썸네일 4열 그리드 · 분류 탭 · 더보기 · 스크롤 등장 효과
   헤더 구조는 성공사례(.hubms-case__header)와 같은 톤을 따릅니다.
   ========================================================================== */
.hubms-press-section {
    width: 100%;
    background: #fff;
}

.hubms-press {
    --hubms-press-gap-x: 24px;
    --hubms-press-gap-y: 44px;
    max-width: var(--hubms-container);
    margin: 0 auto;
    padding: 100px 20px 110px;
    box-sizing: border-box;
}

/* ── Header ───────────────────────────────────────────────────────────── */
.hubms-press__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.hubms-press__eyebrow {
    margin: 0 0 16px;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hubms-accent);
}

.hubms-press__section-title {
    display: flex;
    flex-direction: column;
    margin: 0 0 16px;
    font-size: clamp(28px, 2.64vw, 38px);
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    word-break: keep-all;
}

.hubms-press__section-title-line.is-accent {
    color: var(--hubms-accent);
}

.hubms-press__section-desc {
    margin: 0;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: #555;
    word-break: keep-all;
}

.hubms-press__more-link {
    display: none;
    /*display: inline-flex;*/
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    padding-bottom: 2px;
    border-bottom: 1px solid #111;
    font-size: clamp(13px, 0.83vw, 15px);
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hubms-press__more-link i {
    font-style: normal;
    transition: transform 0.2s ease;
}

.hubms-press__more-link:hover {
    border-color: var(--hubms-accent);
    color: var(--hubms-accent);
}

.hubms-press__more-link:hover i {
    transform: translateX(3px);
}

/* ── 언론 출연 롤링 띠 (헤더 ↔ 카드 목록 사이 · press.js pressRolling / 사이트 main-feed.php) ──
   - 화면 왼쪽 끝 ~ 오른쪽 끝까지 꽉 차게 (가운데 컨테이너 밖으로 100vw · 섹션에서 가로 넘침만 잘라냄)
   - 스크립트(hubmsRollingInit)가 천천히 흘려 보내고, 마우스로 끌거나 손가락으로 밀면 그만큼 좌우로 넘어감
     → 손을 떼고 잠시 뒤 다시 흐름 · 스크립트가 없으면 아래 CSS 애니메이션으로만 흐름 */
.hubms-press-section {
    overflow-x: clip;
}

.hubms-press__rolling {
    --hubms-press-roll-w: 250px;      /* 이미지 한 장 폭 (850x492 비율) · PC */
    --hubms-press-roll-gap: 16px;
    --hubms-press-roll-h: calc(var(--hubms-press-roll-w) * 492 / 850);   /* 이미지 높이 (모든 장 같은 높이 · 폭은 원본 비율대로) */
    position: relative;
    width: 100vw;
    margin: 0 calc(50% - 50vw) 44px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.hubms-press__rolling::-webkit-scrollbar {
    display: none;
}

.hubms-press__rolling.is-dragging {
    cursor: grabbing;
}

.hubms-press__rolling-track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 6px 0 24px;             /* 아래 그림자가 잘리지 않게 */
    list-style: none;
    animation: hubms-press-roll var(--hubms-press-roll-dur, 60s) linear infinite;
}

/* 스크립트가 움직일 때는 CSS 애니메이션 끔 (스크롤 위치로 이동) */
.hubms-press__rolling.is-js .hubms-press__rolling-track {
    animation: none;
}

.hubms-press__rolling-item {
    flex: 0 0 auto;
    width: auto;                     /* 이미지 원본 비율대로 (잘림 없음) */
    margin-right: var(--hubms-press-roll-gap);   /* gap 대신 margin: 한 세트 길이가 정확히 절반이 되도록 */
}

.hubms-press__rolling-link {
    display: block;
}

.hubms-press__rolling-img {
    display: block;
    width: auto;
    height: var(--hubms-press-roll-h);
    max-width: none;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    pointer-events: none;            /* 끌 때 이미지가 따로 잡히지 않게 */
    -webkit-user-drag: none;
}

@keyframes hubms-press-roll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .hubms-press__rolling { --hubms-press-roll-w: 230px; }   /* 태블릿 */
}

@media (max-width: 768px) {
    .hubms-press__rolling {
        --hubms-press-roll-w: 250px;
        --hubms-press-roll-gap: 10px;
        margin-bottom: 20px;
    }
    .hubms-press__rolling-img { border-radius: 8px; }
}

@media (max-width: 420px) {
    .hubms-press__rolling { --hubms-press-roll-w: 230px; }
}

@media (prefers-reduced-motion: reduce) {
    .hubms-press__rolling-track { animation: none; }
}

/* ── Category tabs ────────────────────────────────────────────────────── */
.hubms-press__tabs {
    /*display: flex;*/
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 32px;
}

.hubms-press__tab {
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #e3e3e3;
    border-radius: 999px;
    background: #fff;
    font-family: inherit;
    font-size: clamp(13px, 1.04vw, 15px);
    font-weight: 500;
    line-height: 1.4;
    color: #555;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hubms-press__tab:hover {
    border-color: #bbb;
    color: #222;
}

.hubms-press__tab.is-active {
    border-color: #222;
    background: #222;
    color: #fff;
}

/* ── Grid ─────────────────────────────────────────────────────────────── */
.hubms-press__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--hubms-press-gap-y) var(--hubms-press-gap-x);
    margin: 0;
    padding: 0;
    list-style: none;
}

.hubms-press__item {
    min-width: 0;
}

.hubms-press__item.is-collapsed {
    display: none;
}

.hubms-press__empty {
    grid-column: 1 / -1;
    padding: 60px 0;
    font-size: 15px;
    color: #888;
    text-align: center;
}

/* ── Card ─────────────────────────────────────────────────────────────── */
.hubms-press__card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hubms-press__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #eef0f3;
    isolation: isolate;
}

.hubms-press__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hubms-press__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hubms-press__noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #9aa1ab;
    text-align: center;
}

/* 유튜브 영상 카드 — 재생 아이콘 */
.hubms-press__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(2px);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.hubms-press__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
    transform: translate(-50%, -50%);
}

.hubms-press__body {
    padding-top: 16px;
}

.hubms-press__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: clamp(15px, 1.18vw, 17px);
    font-weight: 600;
    line-height: 1.45;
    color: #111;
}

.hubms-press__tag {
    display: none;
    flex-shrink: 0;
    padding: 2px 8px;
    border: 1px solid color-mix(in srgb, var(--hubms-accent) 28%, transparent);
    border-radius: 4px;
    font-size: 0.76em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--hubms-accent);
    background: color-mix(in srgb, var(--hubms-accent) 4%, transparent);
}

.hubms-press__title-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.hubms-press__summary {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    font-size: clamp(13px, 0.97vw, 14px);
    line-height: 1.6;
    color: #777;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: keep-all;
}

.hubms-press__meta {
    /*display: flex;*/
    display: none;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 0 0;
    font-size: 12.5px;
    color: #a0a4ab;
}

.hubms-press__meta span + span::before {
    content: "";
    display: inline-block;
    width: 2px;
    height: 2px;
    margin: 0 8px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
}

/* hover (마우스 환경만) */
@media (hover: hover) {
    a.hubms-press__card:hover .hubms-press__img {
        transform: scale(1.05);
    }

    a.hubms-press__card:hover .hubms-press__thumb::after {
        opacity: 1;
    }

    a.hubms-press__card:hover .hubms-press__play {
        background: var(--hubms-accent);
        transform: translate(-50%, -50%) scale(1.06);
    }

    a.hubms-press__card:hover .hubms-press__title-text {
        color: var(--hubms-accent);
    }
}

a.hubms-press__card:focus-visible {
    outline: 2px solid var(--hubms-accent);
    outline-offset: 6px;
    border-radius: 10px;
}

/* ── Load more ────────────────────────────────────────────────────────── */
/* .hubms-more-foot / .hubms-more-btn : 성공사례 · 상황별 · 후기 섹션의 '더보기'도 언론보도와 똑같은 하단 가운데 버튼 */
.hubms-press__foot,
.hubms-more-foot {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.hubms-press__foot[hidden],
.hubms-more-foot[hidden] {
    display: none;
}

.hubms-press__load-more,
.hubms-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 14px 28px;
    border: 1px solid #222;
    border-radius: 999px;
    background: #222;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hubms-press__load-more i,
.hubms-more-btn i {
    font-style: normal;
    font-size: 18px;
    line-height: 1;
}

.hubms-press__load-more:hover,
.hubms-more-btn:hover {
    background: #fff;
    color: #222;
}

/* 더보기가 링크(<a>)일 때 밑줄 · 방문색 없이 버튼과 똑같이 */
a.hubms-press__load-more,
a.hubms-press__load-more:visited,
a.hubms-more-btn,
a.hubms-more-btn:visited {
    color: #fff;
    text-decoration: none;
}

a.hubms-press__load-more:hover,
a.hubms-more-btn:hover {
    color: #222;
}

/* ── Scroll reveal (JS 가 .is-reveal 을 붙였을 때만 동작) ───────────────── */
.hubms-press.is-reveal .hubms-press__item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease var(--hubms-press-delay, 0ms),
                transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--hubms-press-delay, 0ms);
}

.hubms-press.is-reveal .hubms-press__item.is-inview {
    opacity: 1;
    transform: none;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hubms-press__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hubms-press {
        --hubms-press-gap-x: 14px;
        --hubms-press-gap-y: 32px;
        padding: 64px 20px 72px;
    }

    .hubms-press__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .hubms-press__tabs {
        flex-wrap: nowrap;
        margin: 0 -20px 24px;
        padding: 0 20px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hubms-press__tabs::-webkit-scrollbar {
        display: none;
    }

    .hubms-press__tab {
        flex-shrink: 0;
    }

    /* 모바일(768px 이하): 한 줄에 하나씩 — 이미지 / 분류 / 제목 / 요약 / 날짜 */
    .hubms-press__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hubms-press__body {
        padding-top: 12px;
    }

    .hubms-press__title {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .hubms-press__title-text {
        display: -webkit-box;
        white-space: normal;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .hubms-press__play {
        width: 42px;
        height: 42px;
    }

    .hubms-press__play::before {
        border-width: 7px 0 7px 12px;
    }

    .hubms-press__foot,
    .hubms-more-foot {
        margin-top: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hubms-press.is-reveal .hubms-press__item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hubms-press__img,
    .hubms-press__play {
        transition: none;
    }
}

/* ==========================================================================
   13. SECTION · QNA (Q&A · 리스트형)        template: qna_list
   --------------------------------------------------------------------------
   다른 메인 섹션과 같은 흐름: 대타이틀(맨 위) → 콘텐츠 → 하단 가운데 '전체보기'
   PC·태블릿(769px~) : 질문 카드 2열 (기본 6개 = 2열 × 3줄)
   모바일(~768px)     : 1열 · 허브 「모바일 보여줄 개수」만큼 (언론보도와 같은 설정 · .is-mobile-hidden)
   행 디자인은 사이트 /qna/ 목록(.aqx-list)을 따름
   마크업: 허브 templates/qna.js = 사이트 inc/hub/main-feed.php › hub_main_render_qna
   ========================================================================== */
.hubms-qna-section {
    width: 100%;
    background: #f7f7f9;
}

.hubms-qna {
    max-width: var(--hubms-container);
    margin: 0 auto;
    padding: 100px 20px 110px;
    box-sizing: border-box;
    font-family: "Pretendard Variable", Pretendard, sans-serif;
    letter-spacing: -0.48px;
    word-break: keep-all;
}

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

/* ── Header (언론보도 .hubms-press__header 와 같은 톤) ─────────────────── */
.hubms-qna__header {
    margin-bottom: 40px;
}

.hubms-qna__eyebrow {
    margin: 0 0 16px;
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hubms-accent);
}

.hubms-qna__section-title {
    display: flex;
    flex-direction: column;
    margin: 0 0 16px;
    font-size: clamp(28px, 2.64vw, 38px);
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.hubms-qna__section-title-line.is-accent {
    color: var(--hubms-accent);
}

.hubms-qna__section-desc {
    margin: 0;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: #555;
}

/* ── Search (설명 문구 아래 · 캡슐형: 흰 캡슐 + 그림자, 왼쪽 돋보기, 안쪽 포인트색 버튼) ── */
.hubms-qna__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hubms-qna__search {
    display: flex;
    align-items: center;
    max-width: 680px;
    margin: 28px 0 0;
    padding: 6px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08), 0 0 0 1px #ebedf1;
    transition: box-shadow 0.2s ease;
}

.hubms-qna__search:focus-within {
    box-shadow: 0 12px 34px rgba(17, 17, 17, 0.12), 0 0 0 2px var(--hubms-accent);
}

.hubms-qna__search input {
    flex: 1;
    min-width: 0;
    height: 52px;
    margin: 0;
    padding: 0 16px 0 50px;
    border: 0;
    border-radius: 999px;
    /* 돋보기 아이콘 */
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23999' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15.5 15.5 4.5 4.5'/%3E%3C/svg%3E") no-repeat 20px 50%;
    font: inherit;
    font-size: 16px;            /* 16px 미만이면 iOS 가 입력 시 화면을 확대함 */
    letter-spacing: -0.02em;
    color: #111;
    text-overflow: ellipsis;    /* 안내 문구가 길면 … 처리 */
    -webkit-appearance: none;
    appearance: none;
}

.hubms-qna__search input::placeholder {
    color: #9aa0aa;
}

.hubms-qna__search input:focus {
    outline: none;
}

.hubms-qna__search button {
    flex: none;
    height: 52px;
    margin: 0;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--hubms-accent);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.48px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.hubms-qna__search button:hover,
.hubms-qna__search button:focus-visible {
    background: #111;
}

.hubms-qna__status {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.hubms-qna__status[hidden] {
    display: none;
}

.hubms-qna__status b {
    color: #111;
}

.hubms-qna__status a,
.hubms-qna__reset {
    margin-left: 10px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.hubms-qna__status a:hover,
.hubms-qna__reset:hover {
    color: #111;
}

/* 분류 칩 (검색창 아래 · 글이 있는 분류만 · 선택 = 포인트색) — PC · 모바일 모두 줄바꿈으로 전부 노출 (메인 성공사례 탭과 같은 방식) */
.hubms-qna__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: none; /* PC 는 한 줄로 (칩 10개 ≈ 980px · 섹션 안쪽 폭 1240px) — 예전 900px 이라 두 줄로 넘어갔음 · 칩이 더 늘면 자연스럽게 줄바꿈 */
    margin: 16px 0 0;
}

.hubms-qna__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    height: 36px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #e1e3e8;
    border-radius: 999px;
    background: #fff;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.hubms-qna__chip:hover,
.hubms-qna__chip:focus-visible {
    border-color: #111;
    outline: none;
}

/* 칩 옆 글 개수 — 2026-11-26 잠시 숨김 (마크업 · 기능은 그대로 · 다시 보이려면 display: none 줄만 지우기) */
.hubms-qna__chip-count {
    display: none;
    font-size: 12.5px;
    font-weight: 600;
    color: #9aa0aa;
}

.hubms-qna__chip.is-active {
    border-color: var(--hubms-accent);
    background: var(--hubms-accent);
    color: #fff;
}

.hubms-qna__chip.is-active .hubms-qna__chip-count {
    color: rgba(255, 255, 255, 0.75);
}

.hubms-qna.is-searching .hubms-qna__body {
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

/* ── List : 2열 카드 (/qna/ 목록 .aqx-row 와 같은 카드 · 호버는 테두리만 검정 톤) ── */
.hubms-qna__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hubms-qna__item {
    display: flex;          /* 같은 줄 카드 높이를 맞춘다 */
    min-width: 0;
}

.hubms-qna__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px;
    align-items: center;
    column-gap: 16px;
    width: 100%;
    padding: 18px 24px;
    border: 1px solid #e7e8ec;
    border-radius: 14px;
    background: #fff;
    color: #111;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hubms-qna__row:hover,
.hubms-qna__row:focus-visible {
    border-color: #111;
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.06);
    outline: none;
}

.hubms-qna__text {
    min-width: 0;
}

.hubms-qna__title {
    margin: 0;
    overflow: hidden;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: #111;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hubms-qna__title b {
    margin-right: 6px;
    color: var(--hubms-accent);
}

.hubms-qna__ans {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hubms-qna__ans b {
    margin-right: 4px;
    color: var(--hubms-accent);
}

.hubms-qna__arrow {
    font-size: 22px;
    line-height: 1;
    color: #a0a5af;
    transition: color 0.15s ease, transform 0.15s ease;
}

.hubms-qna__row:hover .hubms-qna__arrow {
    color: #111;
    transform: translateX(3px);
}

.hubms-qna__empty {
    margin: 0;
    padding: 48px 20px;
    border: 1px dashed #e7e8ec;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    color: #555;
}

/* 전체보기: 다른 섹션과 같은 하단 가운데 버튼(.hubms-more-foot · .hubms-more-btn) 그대로 */

/* ── Scroll reveal (JS 가 .is-reveal 을 붙였을 때만 · 언론보도와 같은 효과) ──────── */
.hubms-qna.is-reveal .hubms-qna__item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease var(--hubms-qna-delay, 0ms),
                transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--hubms-qna-delay, 0ms);
}

.hubms-qna.is-reveal .hubms-qna__item.is-inview {
    opacity: 1;
    transform: none;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hubms-qna__title {
        font-size: 17px;
    }

    .hubms-qna__ans {
        font-size: 14.5px;
    }
}

@media (max-width: 768px) {
    .hubms-qna {
        padding: 64px 20px 72px;
    }

    .hubms-qna__header {
        margin-bottom: 28px;
    }

    .hubms-qna__search {
        margin-top: 20px;
        padding: 5px;
    }

    .hubms-qna__search input,
    .hubms-qna__search button {
        height: 46px;
    }

    .hubms-qna__search input {
        padding-left: 42px;
        background-position: 14px 50%;
    }

    /* 칩: 가로 스크롤 없이 줄바꿈으로 전부 노출 (메인 성공사례 탭과 같은 방식) */
    .hubms-qna__chips {
        gap: 6px;
        margin: 14px 0 0;
    }

    .hubms-qna__chip {
        height: 34px;
        padding: 0 13px;
        font-size: 14px;
    }

    .hubms-qna__search button {
        padding: 0 18px;
    }

    .hubms-qna__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    /* 모바일은 허브에서 정한 개수만 (넘는 카드에 .is-mobile-hidden) */
    .hubms-qna__item.is-mobile-hidden {
        display: none;
    }

    .hubms-qna__row {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 16px;
        border-radius: 12px;
    }

    .hubms-qna__title {
        font-size: 16.5px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .hubms-qna__ans {
        font-size: 14px;
    }

    .hubms-qna__arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hubms-qna__row,
    .hubms-qna__arrow {
        transition: none;
    }

    .hubms-qna.is-reveal .hubms-qna__item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   14. SECTION · LOCATION (오시는 길 · 지점 탭 + 네이버 지도)        template: location_map
   --------------------------------------------------------------------------
   디자인: 사이트 소개페이지(templates/page-about.php)의 #about-location (.abt-way …) 을 그대로 옮김
   모바일 : 지점 탭·주소가 위, 지도가 아래 / PC(1100px~) : 지도 왼쪽(58%) · 정보 오른쪽
   마크업: 허브 templates/location.js (허브가 HTML + 스크립트 완성 → 사이트는 그대로 출력)
   ========================================================================== */
.hubms-loc-section {
    width: 100%;
    background: #fff;
}

.hubms-loc {
    --hubms-loc-point: #a31c0e;
    --hubms-loc-line: #e5e7eb;
    max-width: var(--hubms-container);   /* 다른 메인 섹션과 같은 너비 (1280px) */
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    color: #111;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

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

/* ── Header (소개페이지 .abt-title) ─────────────────────────────────── */
.hubms-loc__eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hubms-loc-point);
}

.hubms-loc__title {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    color: #111;
}

.hubms-loc__title-line.is-accent {
    color: var(--hubms-loc-point);
}

.hubms-loc__desc {
    margin: 14px 0 0;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: #333;
}

/* ── 지도 + 정보 ───────────────────────────────────────────────────── */
.hubms-loc__way {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 28px;
}

.hubms-loc__way-info { order: 1; min-width: 0; }   /* 모바일: 지점·주소를 먼저, 지도는 아래 */
.hubms-loc__way-map { order: 2; min-width: 0; }

.hubms-loc__map {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border: 1px solid var(--hubms-loc-line);
    border-radius: 12px;
    background: #e9ecef;
}

.hubms-loc__canvas { width: 100%; height: 100%; }

.hubms-loc__fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    background: #f3f4f6;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: #6b7280;
}

.hubms-loc__fallback p { margin: 0; }
.hubms-loc__map.is-fallback .hubms-loc__canvas { visibility: hidden; }
.hubms-loc__map.is-fallback .hubms-loc__fallback { display: flex; }

.hubms-loc__map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid var(--hubms-loc-point);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--hubms-loc-point);
    text-decoration: none;
}

.hubms-loc__map-link[hidden] { display: none; }
.hubms-loc__map-link:hover { background: var(--hubms-loc-point); color: #fff; }

/* 지점 탭 (열 수는 지점 수에 맞춰 인라인 style · 최대 6칸, 넘으면 다음 줄) */
.hubms-loc__tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
}

.hubms-loc__tab {
    appearance: none;
    height: 44px;
    padding: 0 4px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.hubms-loc__tab:hover { border-color: var(--hubms-loc-point); color: var(--hubms-loc-point); }
.hubms-loc__tab[aria-selected="true"] { border-color: var(--hubms-loc-point); color: var(--hubms-loc-point); background: #fff7f5; }
.hubms-loc__tab:focus-visible { outline: 2px solid var(--hubms-loc-point); outline-offset: 2px; }

/* 주소 · 교통 */
.hubms-loc__panels { margin-top: 24px; }
.hubms-loc__panel[hidden] { display: none; }

.hubms-loc__address {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.5;
    color: #444343;
}

.hubms-loc__transit {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.hubms-loc__transit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.hubms-loc__line {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.hubms-loc__exit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0 2px;
    border: 1px solid #161616;
    border-radius: 50%;
    background: #ffe740;
    font-size: 13px;
    font-weight: 800;
    color: #111;
}

/* 연락처 */
.hubms-loc__contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 32px;
    margin-top: 26px;
}

.hubms-loc__contact-label { margin-right: 8px; font-size: 14px; font-weight: 600; color: #444; }

.hubms-loc__contact-tel {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #222;
    text-decoration: none;
}

/* 지도 안 정보창 (네이버 InfoWindow 내용) */
.hubms-loc__iw { min-width: 220px; padding: 14px 16px; background: #fff; text-align: left; }
.hubms-loc__iw h6 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--hubms-point, #BD1A03); }
.hubms-loc__iw p { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: #333; }
.hubms-loc__iw-link { text-align: right; }
.hubms-loc__iw-link a { font-size: 12px; font-weight: 600; color: var(--hubms-point, #BD1A03); text-decoration: none; border-bottom: 1px solid var(--hubms-point, #BD1A03); }

/* ── 태블릿 (768px~) ───────────────────────────────────────────────── */
@media (min-width: 768px) {
    .hubms-loc { padding: 80px 20px; }
    .hubms-loc__title { font-size: 34px; }
    .hubms-loc__desc { font-size: 19px; }
    .hubms-loc__map { height: 340px; }
    .hubms-loc__contact-tel { font-size: 26px; }
}

/* ── 데스크톱 (1100px~) ───────────────────────────────────────────── */
@media (min-width: 1100px) {
    .hubms-loc { padding: 100px 20px 110px; }   /* 다른 섹션(Q&A 등)과 같은 위아래 여백 */
    .hubms-loc__title { font-size: 38px; }
    .hubms-loc__way { flex-direction: row; align-items: flex-start; gap: 56px; }
    .hubms-loc__way-map { order: 1; flex: 0 0 58%; max-width: 700px; }
    .hubms-loc__way-info { order: 2; flex: 1; }
    .hubms-loc__map { height: 380px; }
    .hubms-loc__tab { height: 41px; }
    .hubms-loc__address { font-size: 17px; }
    .hubms-loc__transit-row { font-size: 15px; }
    .hubms-loc__contact-tel { font-size: 30px; }
}

/* ==========================================================================
   15. 메인 첫 섹션 (사이트 GNB 와의 경계)
   --------------------------------------------------------------------------
   사이트가 허브 섹션들을 <main class="hubms-main"> 으로 감싸고, 본문을 GNB 높이만큼 내려서 시작하는 경우
   (assault 2026-11 GNB 리뉴얼 · home.php / gnb.css 의 body.agnb-full-offset)
   → 어떤 섹션이 첫 번째로 오든 GNB 에 붙거나 겹쳐 보이지 않게, 예전 GNB 에 맞춰 넣어둔 값을 첫 섹션에서만 걷어낸다.
   (.hubms-main 이 없는 사이트는 영향 없음)
   ========================================================================== */
.hubms-main {
    display: block;
}

/* 성공사례가 첫 섹션: 예전 GNB(90px) 자리를 비우던 위 여백 · 검정 그라데이션 제거 → 배너가 GNB 바로 아래에서 시작 */
.hubms-main > .hubms-case-section:first-child {
    background: #f8fafc;
}

.hubms-main > .hubms-case-section:first-child .hubms-case {
    padding-top: 0;
}

@media (max-width: 640px) {
    .hubms-main > .hubms-case-section:first-child .hubms-case__header {
        padding-top: 32px !important;
    }
}


/* 한 줄 전체 카드 — 모바일(640 이하)은 다른 카드처럼 위아래로 (글 → 링크) */
@media (max-width: 640px) {
    .hubms-path__card.is-full {
        min-height: 180px;
        padding: 28px 22px;
    }

    .hubms-path__card.is-full .hubms-path__content {
        display: block;
    }

    .hubms-path__card.is-full .hubms-path__card-title {
        font-size: clamp(17px, 1.39vw, 20px);
    }

    .hubms-path__card.is-full .hubms-path__card-desc {
        margin-bottom: 18px;
    }
}



/* ==========================================================================
   99. 글자 통일 레이어 (크기 · 굵기 · 색) — 2026-11-26
   --------------------------------------------------------------------------
   메인 섹션마다 제각각이던 라벨 · 제목 · 설명 · 카드 글자를 한 기준으로 맞춥니다.
   값은 전부 맨 위 「00. DESIGN TOKENS」의 --hubt-* 변수에서 가져옵니다.
     → 예) 설명 글 색을 바꾸려면 :root 의 --hubt-color-desc 한 줄만 바꾸면 모든 섹션이 같이 바뀜
     → 화면 크기별 글자 크기는 아래 @media 의 변수 값만 바꾸면 됨
   이미지 · 어두운 배경 위 흰 글씨(상황별 카드 · 영상 섹션)는 색 통일에서 제외합니다.
   (2026-11-23 assault 로컬 시안 hub-typography.css 를 옮겨 오고 색 변수를 더함)
   ========================================================================== */
@media (max-width: 1024px) {
    :root { --hubt-eyebrow: 13px; --hubt-h2: 32px; --hubt-desc: 17px; --hubt-h3: 19px; --hubt-review-title: 14px; }
}

@media (max-width: 767px) {
    :root { --hubt-eyebrow: 12.5px; --hubt-h2: 26px; --hubt-desc: 15.5px; --hubt-h3: 17px; --hubt-review-title: 14px; --hubt-text: 14px; --hubt-btn: 15px; --hubt-badge: 13px; }
}

/* 작은 영문 라벨 (섹션 제목 위) */
.hubms-main [class*="__eyebrow"] {
    font-size: var(--hubt-eyebrow);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--hubt-color-accent);
}

/* 섹션 제목 · 강조 줄 */
.hubms-main [class*="-section"] h2,
.hubms-main [class*="__section-title"],
.hubms-main .hubms-path__title,
.hubms-main .hubms-loc__title {
    font-size: var(--hubt-h2);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.02em;
    color: var(--hubt-color-title);
}

/* 제목 줄 — 변호사 카드 제목 줄(출신 · 이름 · 직함)은 카드 안 전용 디자인이라 제외 (03. LAWYER 의 .hubms-lawyer__title-line) */
.hubms-main [class*="__section-title-line"],
.hubms-main [class*="__title-line"]:not(.hubms-lawyer__title-line) {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.hubms-main [class*="__section-title-line"].is-accent,
.hubms-main [class*="__title-line"].is-accent:not(.hubms-lawyer__title-line) {
    color: var(--hubt-color-accent);
}

/* 영상 섹션의 h2 는 영상 제목(어두운 배경 흰 글씨)이라 제외 */
.hubms-main .video-section h2 {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: normal;
    color: inherit;
}

/* 섹션 설명 */
.hubms-main [class*="__section-desc"],
.hubms-main .hubms-path__desc,
.hubms-main .hubms-loc__desc {
    font-size: var(--hubt-desc);
    font-weight: 400;
    line-height: 1.7;
    color: var(--hubt-color-desc);
}
/* (2026-12-04) 성공사례 섹션 설명만 더 진하게 — 뒤 배경(밝은 사진)에 묻혀 흐리게 보이던 문제 (다른 섹션 설명은 그대로 #555) */
.hubms-main .hubms-case__section-desc {
    color: #111;
    font-weight: 700;   /* (2026-12-04 3차) 설명 글자 전체를 굵게 · **강조** 는 굵기 대신 형광펜 칠로 구분 */
    /* (2026-12-04 2차) 색만으로는 사진(창문 · 사무실) 위에서 여전히 흐려서 → 글자 둘레에 옅은 흰 빛을 번지게 해 배경과 분리 */
    text-shadow: 0 0 2px #fff, 0 0 8px rgba(255, 255, 255, .95), 0 0 14px rgba(255, 255, 255, .8);
}
/* (2026-12-04) 섹션 설명 안 **강조** → <strong> (허브 templates/*.js · 사이트 inc/hub/*.php 가 변환) — 굵게 + 형광펜 칠
   (성공사례 설명은 글자 전체가 이미 700 이라 형광펜 칠로만 구분됨) */
.hubms-main [class*="__section-desc"] strong,
.hubms-main .hubms-path__desc strong,
.hubms-main .hubms-loc__desc strong,
.hubms-hero__desc strong {
    font-weight: 700;
    color: inherit;
    /* (2026-12-04 2차) 형광펜 칠한 것처럼 — 글자 아래쪽 절반만 사이트 포인트색(--hubms-accent)을 옅게 깔기
       · 사이트마다 자동으로 색이 맞음 (성범죄 와인 · 마약 주황) · color-mix 못 쓰는 옛 브라우저는 옅은 노랑
       · box-decoration-break: 두 줄로 넘어가도 줄마다 칠이 끊기지 않게 */
    padding: 0 1px;
    /* (4차) 두께 = 처음 안(아래 45%)과 얇은 안(아래 22%)의 중간 → 아래 약 1/3 (64% ~ 96%) · 진하기도 중간 40% */
    /* (5차) 모든 사이트 같은 노랑 형광펜 — 사이트 포인트색 대신 · 노랑은 글자를 덜 가려서 두께를 키움 (아래 약 절반: 50% ~ 98%) */
    background: linear-gradient(transparent 50%, rgba(255, 221, 0, .62) 50%, rgba(255, 221, 0, .62) 98%, transparent 98%);
    text-shadow: none;   /* 성공사례 설명의 흰 빛 번짐이 칠을 덮어 흐려지지 않게 (강조 글자만) */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* 카드 제목 (변호사 이름 블록은 직책 · 이름 · 직위 조합이라 크기는 제외) */
.hubms-main h3:not(.hubms-lawyer__title),
.hubms-main .video-section h3 {
    font-size: var(--hubt-h3);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.hubms-main h3 {
    color: var(--hubt-color-card-title);
}

/* 고객후기 카드 제목만 따로 (카드가 작아 카드 제목 크기보다 작게 · 크기는 --hubt-review-title) */
.hubms-main h3.hubms-review__title,
.hubms-main .hubms-review__title {
    font-size: var(--hubt-review-title);
    font-weight: 600;
    line-height: 1.5;
}

/* 카드 본문 */
.hubms-main .hubms-case__summary,
.hubms-main .hubms-press__summary,
.hubms-main .hubms-qna__ans,
.hubms-main .hubms-path__card-desc,
.hubms-main .video-section p {
    font-size: var(--hubt-text);
    font-weight: 400;
    line-height: 1.65;
}

.hubms-main .hubms-case__summary,
.hubms-main .hubms-press__summary,
.hubms-main .hubms-qna__ans {
    color: var(--hubt-color-text);
}

/* 이미지 · 어두운 배경 위 흰 글씨는 원래 색 유지 (상황별 카드 · 영상 섹션) */
.hubms-main .hubms-path__card h3,
.hubms-main .video-section h3 {
    color: #fff;
}

/* 버튼 · 탭 (좌우 화살표 버튼은 아이콘이라 제외) */
.hubms-main .hubms-more-btn,
.hubms-main .hubms-press__load-more,
.hubms-main .hubms-case__tab,
.hubms-main .btn-go-channel,
.hubms-main .hubms-loc__tab,
.hubms-main [class*="__tab"]:not([class*="__tabs"]) {
    font-size: var(--hubt-btn);
    font-weight: 600;
}

/* 배지 */
.hubms-main .hubms-case__paper-badge,
.hubms-main [class*="__badge"] {
    font-size: var(--hubt-badge);
    font-weight: 600;
}

/* 상황별 카드: 넓은 카드(is-wide) · 한 줄 카드(is-full)만 제목이 더 크게 잡혀 있던 것도 같은 크기로 */
.hubms-main .hubms-path__card.is-wide .hubms-path__card-title,
.hubms-main .hubms-path__card.is-full .hubms-path__card-title {
    font-size: var(--hubt-h3);
}

/* ==========================================================================
   (2026-11-27) 메인 성공사례 섹션 머리 — 배경 사진 꽉 채우기
   · 어둡게 바꾼 버전(흰 글자 · #da1d02)은 같은 날 원래 밝은 버전으로 되돌림 (사용자 요청)
   · PC: 사진(1920px)을 원본 크기(object-fit: none)로 깔아서 브라우저 배율을 95% · 90% 등으로 줄이면
     화면이 1920px 보다 넓어져 좌우에 빈 여백이 보였음 → cover 로 바꿔 어떤 폭이든 꽉 채움
     (1920px 이하에서는 거의 원본 크기 그대로라 보이는 모습은 같음)
   · 폭은 모바일 100vw · PC(768px 이상) 99vw (2026-12-03)
   ========================================================================== */
.hubms-case__header-bg {
    width: 100vw;
}

@media screen and (min-width: 768px) {
    .hubms-case__header-bg {
        width: 99vw; /* (2026-12-03) PC 는 99vw 요청 */
        object-fit: cover;
        object-position: center center;
    }
}

/* ==========================================================================
   (2026-11-27) 상황별 카드 — 작은 카드(3~6번 · 1칸) 설명 줄바꿈 정리 (PC)
   · 글자 통일(15px) 뒤로 넓은 카드 기준으로 넣은 줄바꿈(<br>)이 좁은 카드(글 폭 242px)에서 3~4줄로 넘치고
     단어 중간에서 끊겼음 (예: "여러 혐의 / 가 동시에")
   · 작은 카드에서만: 글자 13.5px · 단어 안 끊김(keep-all) · 좌우 여백 28 → 22px · 넣어 둔 줄바꿈 무시하고 자연스럽게
     → 운영 문구 기준 4장 모두 3줄로 고르게 · 넓은 카드(1·2번) · 한 줄 카드(7번~)는 그대로
   · 모바일(767px 이하)은 카드가 한 줄 전체라 해당 없음
   ========================================================================== */
@media screen and (min-width: 768px) {
    .hubms-path__card:not(.is-wide):not(.is-full) {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hubms-main .hubms-path__card:not(.is-wide):not(.is-full) .hubms-path__card-desc {
        font-size: 13.5px;
        letter-spacing: -0.01em;
        word-break: keep-all;
        text-wrap: pretty;
    }

    .hubms-path__card:not(.is-wide):not(.is-full) .hubms-path__card-desc br {
        display: none;
    }
}
