/* 가공 분야별 페이지 (cnc-turning.html 등) */
.breadcrumbs h1.svc-h1 { font-size: 24px; font-weight: 600; margin: 0; }
@media (max-width: 992px) { .breadcrumbs h1.svc-h1 { margin-bottom: 10px; } }

.svc { padding: 40px 0 60px; }
.svc-lead { font-size: 18px; line-height: 1.75; margin-bottom: 20px; }
.svc-lang a { color: #676775; text-decoration: underline; }

.svc-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #f3f3f3; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.svc-photo:hover img { transform: scale(1.04); }

.svc-card { height: 100%; padding: 24px; border: 1px solid #e6e6e6; border-radius: 6px; background: #fff; }
.svc-card h2, .svc-quote h2, .svc-others h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.svc-card ul { padding-left: 18px; margin: 0; }
.svc-card li { margin-bottom: 6px; line-height: 1.6; }

.svc-quote { padding: 28px; border-left: 4px solid var(--color-primary); background: #fafafa; border-radius: 6px; }
.svc-quote ol { padding-left: 20px; }
.svc-quote li { margin-bottom: 6px; line-height: 1.6; }
.svc-contact { margin: 14px 0 18px; }
.svc-contact a { color: var(--color-default); text-decoration: underline; }
.svc-btn { display: inline-block; padding: 12px 28px; border-radius: 50px; background: var(--color-primary); color: #fff; font-weight: 600; }
.svc-btn:hover { color: #fff; opacity: .9; }

.svc-others ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.svc-others a { display: inline-block; padding: 8px 16px; border: 1px solid #ddd; border-radius: 50px; color: var(--color-default); }
.svc-others a:hover { border-color: var(--color-primary); color: var(--color-primary); }


.svc-photo-main { aspect-ratio: 4 / 3; }
.svc-photos { margin-top: 12px; }
.svc-sections { margin-top: 24px; }
.svc-quote, .svc-others { margin-top: 40px; }
.svc-others h2 { margin-bottom: 16px; }

/* 가공 분야 사진 카드 (홈·제품·분야 안내·각 분야 페이지) */
.svc-home { padding: 40px 0 20px; }
.svc-tile { display: flex; flex-direction: column; height: 100%; border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; background: #fff; color: var(--color-default); transition: box-shadow .2s, border-color .2s; }
.svc-tile:hover { border-color: var(--color-primary); box-shadow: 0 6px 18px rgba(0,0,0,.08); color: var(--color-default); }
.svc-tile-img { display: block; aspect-ratio: 4 / 3; background: #f3f3f3; overflow: hidden; }
.svc-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.svc-tile:hover .svc-tile-img img { transform: scale(1.05); }
.svc-tile-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.svc-tile-body strong { font-size: 16px; }
.svc-tile-body small { font-size: 13px; color: #676775; line-height: 1.5; }
.svc-tile-body em { font-style: normal; font-size: 13px; color: var(--color-primary); font-weight: 600; margin-top: 4px; }
@media (max-width: 575px) { .svc-tile-body strong { font-size: 14px; } .svc-tile-body small { display: none; } }

/* 흰 배경 장비 사진은 잘리지 않게 */
.svc-photo img[src$=".png"], .svc-tile-img img[src$=".png"] { object-fit: contain; background: #fff; }

/* 홈·제품의 가공 분야 카드: 언어에 맞는 것만 보이기 (그 밖의 언어는 영어) */
html:not([lang="ko"]) .only-ko { display: none; }
html:not([lang="ja"]) .only-ja { display: none; }
html[lang="ko"] .only-en, html[lang="ja"] .only-en { display: none; }

/* 칼럼 (docs/gen_column_pages.py) */
.col-body { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.85; }
.col-body h1 { font-size: 30px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.col-body h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
.col-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.col-body p, .col-body ul { margin-bottom: 18px; }
.col-body a { text-decoration: underline; }
.col-date { color: #676775; font-size: 14px; }
.col-fig { margin: 24px 0; }
.col-fig img { width: 100%; border-radius: 6px; }
.col-fig figcaption { font-size: 14px; color: #676775; margin-top: 6px; }
.col-hero img { aspect-ratio: 16 / 9; object-fit: cover; }
.col-article .svc-quote, .col-article .svc-others, .col-all { max-width: 760px; margin-left: auto; margin-right: auto; }
.col-all { margin-top: 32px; }
.col-list .svc-tile-body small { display: block; }
@media (max-width: 575px) { .col-body { font-size: 16px; } .col-body h1 { font-size: 24px; } }
.col-video video { display: block; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 8px; background: #222; aspect-ratio: 9 / 16; }
.col-video figcaption { text-align: center; }
.col-yt-box { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #222; }
.col-yt-short .col-yt-box { max-width: 360px; margin: 0 auto; aspect-ratio: 9 / 16; }
.col-yt-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.col-yt figcaption { text-align: center; }
