/* 납품사례 상세 – 공통 디자인 */
.tm2cv { font-family: var(--tm2-ko); color: var(--tm2-ink); }
.tm2cv * { box-sizing: border-box; }
.tm2cv-hero { background: var(--tm2-bg); border-radius: 0 0 0 120px; }
.tm2cv-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.tm2cv-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--tm2-mute); }
.tm2cv-crumb a { color: var(--tm2-mute) !important; text-decoration: none !important; }
.tm2cv-crumb a:last-child { color: var(--tm2-ink) !important; }
.tm2cv-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 32px 0 0; font-size: 14px; font-weight: 700; color: var(--tm2-g1); }
.tm2cv-status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--tm2-g1); color: #fff; font-size: 12.5px; }
.tm2cv-title { margin: 18px 0 0; font-size: 42px; font-weight: 800; letter-spacing: -.05em; line-height: 1.3; word-break: keep-all; }
.tm2cv-lead { max-width: 560px; margin: 16px 0 0; font-size: 17px; line-height: 1.75; color: #4B5157; word-break: keep-all; }
.tm2cv-facts { display: flex; flex-wrap: wrap; row-gap: 18px; margin: 34px 0 0 -26px; }
.tm2cv-facts > div { padding: 2px 26px; border-left: 1px solid #D5DAD7; }
.tm2cv-facts dt { font-size: 13px; font-weight: 700; color: var(--tm2-mute); }
.tm2cv-facts dd { margin: 6px 0 0; font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.tm2cv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.tm2cv-btn { display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 8px 0 28px; border-radius: 999px; background: var(--tm2-ink); color: #fff !important; font-size: 16px; font-weight: 800; text-decoration: none !important; }
.tm2cv-btn i, .tm2cv-info__cta i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tm2-g1); color: #fff; }
.tm2cv-btn svg, .tm2cv-info__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm2cv-btn--line { padding: 0 28px; border: 1px solid #C9CFCB; background: transparent; color: var(--tm2-ink) !important; }
.tm2cv-date { margin: 26px 0 0; font-family: var(--tm2-en); font-size: 14px; font-weight: 600; color: var(--tm2-mute); }
.tm2cv-media { position: relative; }
.tm2cv-media__view { position: relative; aspect-ratio: 4 / 3; border-radius: 40px; overflow: hidden; background: #fff; }
.tm2cv-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease; }
.tm2cv-slide.is-active { opacity: 1; visibility: visible; }
.tm2cv-slide__frame { position: absolute; inset: 0; }
.tm2cv-slide__frame img, .tm2cv-slide__frame video, .tm2cv-slide__frame iframe { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; border: 0; }
.tm2cv-slide__frame a { display: block; width: 100%; height: 100%; }
.tm2cv-slide figcaption { position: absolute; left: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 8px 14px; border-radius: 999px; background: rgba(20, 22, 26, .7); color: #fff; font-size: 13px; }
.tm2cv-media__ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.tm2cv-media__ctrl > button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #D5DAD7; border-radius: 50%; background: #fff; color: var(--tm2-ink); cursor: pointer; }
.tm2cv-media__ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tm2cv-media__dots { display: flex; gap: 6px; }
.tm2cv-media__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #C9CFCB; cursor: pointer; transition: width .2s ease; }
.tm2cv-media__dots button.is-active { width: 24px; background: var(--tm2-ink); }
.tm2cv-media__empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 40px; background: #fff; font-family: var(--tm2-en); font-size: 24px; font-weight: 700; line-height: 1.2; text-align: center; color: #B4BAB6; }
.tm2cv-sec { padding-top: 120px; }
.tm2cv-head { margin-bottom: 40px; }
.tm2cv-h { margin: 0; font-family: var(--tm2-en); font-size: 48px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.tm2cv-h em { font-style: normal; color: var(--tm2-g1); }
.tm2cv-sub { margin: 12px 0 0; font-size: 17px; font-weight: 600; color: var(--tm2-text); }
.tm2cv-story { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.tm2cv-body { font-size: 17px; line-height: 1.9; color: #2A2E33; word-break: keep-all; }
.tm2cv-body p { margin: 0 0 1.1em; }
.tm2cv-body h2, .tm2cv-body h3 { margin: 1.8em 0 .6em; font-size: 22px; font-weight: 800; letter-spacing: -.04em; color: var(--tm2-ink); }
.tm2cv-body img { max-width: 100% !important; height: auto !important; border-radius: 20px; }
.tm2cv-body a { color: var(--tm2-g1); }
.tm2cv-info { position: sticky; top: 120px; padding: 30px 30px 26px; border-radius: var(--tm2-r); background: var(--tm2-bg); }
.tm2cv-info.is-wide { position: static; grid-column: 1 / -1; }
.tm2cv-info h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.tm2cv-info dl { margin: 0; }
.tm2cv-info dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid #DADFDC; }
.tm2cv-info dt { font-size: 13.5px; font-weight: 700; color: var(--tm2-g1); }
.tm2cv-info dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.55; }
.tm2cv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.tm2cv-tags span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--tm2-text); }
.tm2cv-info__cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 56px; margin-top: 22px; padding: 0 7px 0 24px; border-radius: 999px; background: var(--tm2-ink); color: #fff !important; font-size: 15px; font-weight: 800; text-decoration: none !important; }
.tm2cv-band { margin-top: 120px; padding: 100px 0 110px; background: var(--tm2-bg); border-radius: 120px 0 0 0; }
.tm2cv-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tm2cv-gallery figure { margin: 0; }
.tm2cv-gallery__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #fff; cursor: zoom-in; }
.tm2cv-gallery__img img, .tm2cv-gallery__img video, .tm2cv-gallery__img iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; border: 0; transition: transform .4s ease; }
button.tm2cv-gallery__img:hover img { transform: scale(1.03); }
.tm2cv-gallery figcaption { margin: 12px 6px 0; font-size: 14px; color: var(--tm2-text); }
.tm2cv-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; margin: 0; padding: 0; list-style: none; }
.tm2cv-prod { display: flex; flex-direction: column; color: var(--tm2-ink) !important; text-decoration: none !important; }
.tm2cv-prod__img { position: relative; display: block; height: 220px; border-radius: var(--tm2-r); background: var(--tm2-bg); overflow: hidden; }
.tm2cv-prod__img img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; mix-blend-mode: multiply; }
.tm2cv-prod__group { margin: 14px 6px 0; font-size: 13px; font-weight: 700; color: var(--tm2-g1); }
.tm2cv-prod b { margin: 2px 6px 0; font-size: 17px; font-weight: 800; letter-spacing: -.03em; line-height: 1.4; }
.tm2cv-prod__img + b { margin-top: 14px; }
a.tm2cv-prod:hover b { color: var(--tm2-g1); }
.tm2cv-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; margin-top: 110px; }
.tm2cv-nav > a, .tm2cv-nav > span { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 92px; padding: 18px 28px; border-radius: var(--tm2-r); background: var(--tm2-bg); color: var(--tm2-ink) !important; text-decoration: none !important; }
.tm2cv-nav > span.is-empty { background: transparent; }
.tm2cv-nav .is-next { align-items: flex-end; text-align: right; }
.tm2cv-nav span { font-size: 13px; font-weight: 700; color: var(--tm2-mute); }
.tm2cv-nav b { font-size: 16px; font-weight: 800; letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.tm2cv-nav > a:hover b { color: var(--tm2-g1); }
.tm2cv-nav .tm2cv-nav__list { align-items: center; justify-content: center; min-width: 120px; padding: 0 30px; background: var(--tm2-ink); color: #fff !important; font-size: 15px; font-weight: 800; }
.tm2cv-admin { display: flex; justify-content: flex-end; gap: 6px; margin-top: 18px; }
.tm2cv-admin a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--tm2-line2); border-radius: 999px; color: var(--tm2-ink) !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important; }
@media (max-width: 1023px) {
    .tm2cv-hero { border-radius: 0 0 0 56px; }
    .tm2cv-hero__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 48px; }
    .tm2cv-kicker { margin-top: 22px; }
    .tm2cv-title { font-size: 28px; }
    .tm2cv-lead { font-size: 15.5px; }
    .tm2cv-facts { margin: 24px 0 0; flex-direction: column; gap: 12px; }
    .tm2cv-facts > div { padding: 0 0 0 14px; }
    .tm2cv-btn { height: 52px; font-size: 15px; }
    .tm2cv-media__view, .tm2cv-media__empty { border-radius: 26px; }
    .tm2cv-sec { padding-top: 80px; }
    .tm2cv-h { font-size: 36px; }
    .tm2cv-story { grid-template-columns: 1fr; gap: 32px; }
    .tm2cv-body { font-size: 16px; }
    .tm2cv-info { position: static; }
    .tm2cv-band { margin-top: 80px; padding: 64px 0 72px; border-radius: 56px 0 0 0; }
    .tm2cv-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tm2cv-prods { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
    .tm2cv-prod__img { height: 150px; border-radius: 22px; }
    .tm2cv-nav { grid-template-columns: 1fr; margin-top: 72px; }
    .tm2cv-nav .is-next { align-items: flex-start; text-align: left; }
    .tm2cv-nav > span.is-empty { display: none; }
    .tm2cv-nav .tm2cv-nav__list { min-height: 56px; }
}
