/* 광고 사례 상세(/cases/<id>/) 전용 — 팀이 11/3 CSS 대정리에서 상세 페이지(case.html)를 없애며 지운 .cd-head/.cd-title/.cd-main/.cd-img/.cd-strategy/.cd-cards/.cd-nav/.btn--list 규칙을
   옛 style.css(아카이브 88f9a0c)에서 그대로 떼어 둔 것. 상세 페이지는 구 /portfolio/<id>/ 색인 78건을 잇기 위해 bunyang-front 가 정적으로 유지한다. 팀 파일 아님(public/case-detail.css, importer 가 안 건드림). */
:where(.p-cases):where(.site-by, .site-by *) .cd-head {
    padding: calc(var(--header-h) + 64px) 0 0;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
}
:where(.p-cases):where(.site-by, .site-by *) .cd-back:hover {
    color: var(--ink);
}
:where(.p-cases):where(.site-by, .site-by *) .cd-head .cs-loc {
    margin-top: 40px;
    font-size: 18px;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-title {
    margin-top: 8px;
    font-size: 54px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -1.35px;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-head .cs-tags {
    margin-top: 20px;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-head .cs-tags li {
    padding: 6px 14px;
    font-size: 15px;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-main {
    margin-top: 56px;
    padding-bottom: 120px;
    align-items: start;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-img {
    grid-column: span 7;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
}
:where(.p-cases):where(.site-by, .site-by *) .cd-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1240 / 900;
    object-fit: cover;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-strategy {
    background: var(--surface);
    padding: 120px 0;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-strategy .sec-head {
    max-width: 920px;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-strategy .sub--muted {
    line-height: 1.6;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-cards {
    margin-top: 64px;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-nav {
    padding: 80px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}
:where(.p-cases):where(.site-by, .site-by *) .cd-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 40%;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-nav a:last-child {
    text-align: right;
    align-items: flex-end;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-nav small {
    font-size: 14px;
    color: var(--gray);
}
:where(.p-cases):where(.site-by, .site-by *) .cd-nav strong {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.5px;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-nav a:hover strong {
    color: var(--main);
}
:where(.p-cases):where(.site-by, .site-by *) .cd-nav .btn--list {
    flex: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: none;
    height: 52px;
    padding: 0 28px;
    border-radius: var(--r-full);
    border: 1px solid var(--line);
    font-size: 16px;
    font-weight: 600;
}
:where(.p-cases):where(.site-by, .site-by *) .cd-nav .btn--list:hover {
    border-color: var(--ink);
}
@media (max-width: 1023px) {
  :where(.p-cases):where(.site-by, .site-by *) .cd-head {
        padding-top: calc(56px + 32px);
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-back {
        font-size: 14px;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-head .cs-loc {
        margin-top: 24px;
        font-size: 14px;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-title {
        font-size: 28px;
        line-height: 38px;
        letter-spacing: -.7px;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-head .cs-tags {
        margin-top: 12px;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-head .cs-tags li {
        padding: 4px 10px;
        font-size: 13px;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-img,
    :where(.p-cases):where(.site-by, .site-by *) .cd-info,
    :where(.p-cases):where(.site-by, .site-by *) .cd-card {
        grid-column: auto;
    }
  /* style.css 의 MO 1열 규칙을 이 파일이 덮지 않게 */
    :where(.p-cases):where(.site-by, .site-by *) .cd-main {
        margin-top: 28px;
        padding-bottom: 60px;
        row-gap: 32px;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-img {
        border-radius: var(--r-md);
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-strategy {
        padding: 60px 0;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-cards {
        margin-top: 40px;
        row-gap: 12px;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-nav {
        padding: 40px 0;
        flex-wrap: wrap;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-nav a {
        max-width: none;
        flex: 1;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-nav strong {
        font-size: 15px;
    }
  :where(.p-cases):where(.site-by, .site-by *) .cd-nav .btn--list {
        order: 3;
        width: 100%;
        height: 48px;
    }
}
