/*
Theme Name: Samsam Magazine
Theme URI: https://www.samsammulsan.com/
Author: Optify
Description: 삼삼물산 공식 홈페이지(samsammulsan.com)의 디자인을 그대로 옮긴 지식 블로그 테마 — 지식 아카이브 · 굴·수산물 백과 · 삼삼 소식. NanumSquare + Roboto, 네이비 #0f2d52 · 블루 #2e6dbb, 투명 헤더 + MENU 블록, 둥근 이미지 카드, 하늘색 푸터.
Version: 1.1.4
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: samsam-magazine
*/

/* =========================================================================
   0. 토큰 · 리셋 (공식 홈 default.css 의 색·서체 그대로)
   ====================================================================== */
:root {
	--navy: #0f2d52;
	--blue: #2e6dbb;
	--blue-dark: #23469f;
	--blue-light: #f1f8ff;
	--sky: #c0d9f8;          /* 푸터 배경 */
	--ink: #111;
	--text: #333;
	--muted: #8897a9;
	--line: #e0e2e5;
	--line2: #d0d1d5;
	--gray-bg: #ececec;      /* 제품 썸네일 배경 */
	--radius-card: 30px;
	--font-kr: 'NanumSquare', 'Malgun Gothic', dotum, sans-serif;
	--font-en: 'Roboto', 'NanumSquare', sans-serif;
	--header-h: 130px;
	--wrap: 1240px;
	--wrap-wide: 1600px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-kr);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: #fff;
	word-break: keep-all;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
body.am-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea { font: inherit; }
em, i, cite { font-style: normal; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; left: 16px; top: 16px; width: auto; height: auto; padding: 10px 16px; background: var(--blue); color: #fff; clip: auto; z-index: 3000; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
.wrap-wide { width: 100%; max-width: var(--wrap-wide); margin: 0 auto; padding: 0 5%; }
.en { font-family: var(--font-en); }
#wrap { position: relative; width: 100%; }

/* 스크롤 등장 */
[data-fade] { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-fade].in { opacity: 1; transform: none; }
[data-fade="2"] { transition-delay: .1s; }
[data-fade="3"] { transition-delay: .2s; }
[data-fade="4"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
	[data-fade] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   1. 헤더 (공식 홈 #header · .menu · .searchBox · .language · .allmenu)
   ====================================================================== */
.site-header {
	position: fixed; left: 0; top: 0; width: 100%; height: var(--header-h); z-index: 1000;
	transition: background .3s, height .3s, border-color .3s;
	border-bottom: 1px solid transparent;
}
.hd-in { position: relative; height: 100%; display: flex; align-items: center; gap: 22px; padding: 0 calc(var(--header-h) + 24px) 0 80px; }
.site-header .logo { position: relative; flex: 0 0 auto; align-self: flex-end; margin: 0 0 26px; z-index: 10; font-size: 0; line-height: 0; transition: margin .3s; }
.site-header .logo a { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.logo-img { display: block; width: 178px; height: 45px; background: url(assets/img/logo-white.svg) no-repeat left center / 100% auto; transition: background .2s; }
.logo-tag { display: inline-block; font-size: 11px; line-height: 1; font-weight: 800; color: #fff; border: 1.5px solid rgba(255,255,255,.85); border-radius: 20px; padding: 5px 9px 4px; margin: 0; letter-spacing: 1.5px; white-space: nowrap; transition: all .2s; }

/* GNB */
.gnb { position: relative; flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; height: 100%; z-index: 9; }
.gnb .menu { display: flex; height: 100%; margin: 0; white-space: nowrap; }
.gnb .menu > li { position: relative; height: 100%; }
.gnb .menu > li > a {
	display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 clamp(10px, 1.4vw, 34px);
	font-size: clamp(15px, 1.1vw, 21px); font-weight: 400; color: #fff; letter-spacing: -.2px; position: relative; white-space: nowrap;
}
.gnb .menu > li > a::after {
	content: ""; position: absolute; left: 50%; bottom: 21px; width: 0; height: 7px; transform: translateX(-50%); opacity: 0;
	background: var(--blue); transition: all .4s;
}
.gnb .menu > li:hover > a::after,
.gnb .menu > li.current-menu-item > a::after,
.gnb .menu > li.current-menu-ancestor > a::after,
.gnb .menu > li.current_page_parent > a::after { width: min(100px, calc(100% - 20px)); opacity: 1; }
/* JS(fitHeader)가 메뉴가 안 들어가는 폭을 감지하면 GNB·검색을 접고 MENU 버튼만 남긴다 */
.site-header.hd-compact .hd-search, .site-header.gnb-collapsed .gnb, .site-header.gnb-collapsed .hd-search { display: none; }
.gnb .sub-menu {
	position: absolute; left: 0; top: 100%; width: 100%; padding: 30px 0 0; margin: 0; text-align: center;
	opacity: 0; visibility: hidden; transition: opacity .2s ease .1s, visibility .2s;
}
.gnb .sub-menu li a { display: inline-block; padding: 8px 0; font-size: 18px; font-weight: 400; color: var(--ink); white-space: nowrap; }
.gnb .sub-menu li a::before { content: ""; display: inline-block; width: 0; height: 0; border-radius: 5px; background: var(--blue); margin-right: 0; transition: all .3s; vertical-align: 2px; }
.gnb .sub-menu li a:hover::before { width: 7px; height: 7px; margin-right: 6px; }
.site-header.open .gnb .sub-menu { opacity: 1; visibility: visible; }
.gnb-bg {
	position: absolute; left: 0; top: 100%; width: 100%; height: 0; opacity: 0; background: #fff;
	border-bottom: 1px solid var(--line2); transition: all .25s; z-index: 1;
}
.site-header.open .gnb-bg { height: 300px; opacity: 1; }
.site-header.open { background: #fff; border-color: var(--line2); }

/* 검색 · 언어 · MENU */
.hd-search { position: relative; flex: 0 0 auto; display: flex; border-radius: 30px; overflow: hidden; z-index: 9; }
.hd-search input {
	width: clamp(140px, 11vw, 200px); height: 35px; padding: 0 0 0 20px; border: 0; border-radius: 30px 0 0 30px;
	background: rgba(15, 45, 82, .1); color: #fff; font-size: 14px; outline: none;
	backdrop-filter: blur(4px);
}
.hd-search input::placeholder { color: rgba(255,255,255,.85); }
.hd-search button { width: 50px; height: 35px; background: rgba(15, 45, 82, .1); border-radius: 0 30px 30px 0; display: flex; align-items: center; justify-content: center; }
.hd-search button i { display: block; width: 20px; height: 21px; background: url(assets/img/i-search.png) no-repeat center / 20px 21px; }
.language { position: relative; flex: 0 0 auto; margin-left: 6px; z-index: 20; }
.language .lang-cur { font-family: var(--font-en); font-size: 12px; font-weight: 500; color: #fff; padding: 0 16px 5px 0; position: relative; }
.language .lang-cur::after { content: "▼"; position: absolute; right: 0; top: 0; font-size: 9px; }
.language .lang-cur::before { content: ""; position: absolute; left: 0; bottom: 0; width: 14px; height: 2px; background: #fff; transition: width .3s; }
.language:hover .lang-cur::before, .language.open .lang-cur::before { width: 100%; }
.language ul { display: none; position: absolute; left: 0; top: 100%; margin-top: 6px; min-width: 60px; background: #fff; border: 1px solid #fff; padding: 6px 8px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.language.open ul { display: block; }
.language ul li a { display: block; padding: 4px 0; font-family: var(--font-en); font-size: 11px; color: var(--navy); }
.language ul li a:hover, .language ul li a.on { font-weight: 700; }
.allmenu {
	position: absolute; right: 0; top: 0; width: var(--header-h); height: var(--header-h); background: var(--blue);
	display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; z-index: 20;
	transition: width .3s, height .3s;
}
.allmenu i { display: block; width: 41px; height: 3px; background: #fff; margin: 5px 0; position: relative; left: 0; transition: left .2s; }
.allmenu em { font-family: var(--font-en); font-size: 11px; letter-spacing: 3.7px; margin: 5px 0 5px 4px; }
.allmenu:hover i:nth-child(1) { left: -8px; }
.allmenu:hover i:nth-child(2) { left: 8px; }

/* 스크롤 시 (공식 홈 #header.on) */
.site-header.on { background: #fff; border-color: var(--muted); height: 90px; }
.site-header.on .logo { align-self: center; margin: 0; }
.site-header.on .logo-img, .site-header.open .logo-img { background-image: url(assets/img/logo-color.svg); }
.site-header.on .logo-tag, .site-header.open .logo-tag { color: var(--navy); border-color: var(--navy); }
.site-header.on .gnb .menu > li > a, .site-header.open .gnb .menu > li > a { color: var(--ink); }
.site-header.on .gnb .menu > li > a::after { bottom: 12px; }
.site-header.on .hd-search input, .site-header.open .hd-search input { color: var(--navy); }
.site-header.on .hd-search input::placeholder, .site-header.open .hd-search input::placeholder { color: var(--muted); }
.site-header.on .hd-search button i, .site-header.open .hd-search button i { filter: brightness(.35); }
.site-header.on .language .lang-cur, .site-header.open .language .lang-cur { color: var(--navy); }
.site-header.on .language .lang-cur::before, .site-header.open .language .lang-cur::before { background: var(--navy); }
.site-header.on .allmenu { width: 90px; height: 90px; }
.site-header.on .gnb-bg { top: 100%; }

/* 전체 메뉴 (공식 홈 #amWrap · .amNav) */
.am-wrap { position: fixed; inset: 0; z-index: 2000; transform: translateX(100%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.am-wrap.show { transform: none; opacity: 1; }
.am-wrap section { display: flex; height: 100%; background: #fff; position: relative; }
.am-left { flex: 0 0 30%; background: var(--blue); position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 78px 80px 90px; }
.am-logo { display: block; width: 178px; height: 45px; background: url(assets/img/logo-white.svg) no-repeat left center / 100% auto; }
.am-tag { font-size: 34px; line-height: 1.35; font-weight: 800; color: #fff; }
.am-lang { display: flex; gap: 22px; }
.am-lang a { font-family: var(--font-en); font-size: 14px; color: rgba(255,255,255,.7); padding-bottom: 6px; border-bottom: 2px solid transparent; }
.am-lang a.on { color: #fff; border-color: #fff; }
.am-right { flex: 1 1 70%; background: #f5f5f5; display: flex; align-items: flex-start; overflow: auto; }
.am-right-in { width: 100%; display: flex; flex-direction: column; margin: auto 0; }
.am-search { display: flex; width: min(520px, calc(100% - 201px)); margin: 20px 60px 0 141px; border: 1px solid var(--navy); border-radius: 30px; overflow: hidden; background: #fff; }
.am-search input { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 22px; border: 0; outline: none; font-size: 16px; color: var(--navy); }
.am-search input::placeholder { color: var(--muted); }
.am-search button { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; }
.am-search button i { width: 18px; height: 19px; background: url(assets/img/i-search.png) no-repeat center / contain; filter: brightness(.35); }
.amNav { display: flex; gap: 24px; padding: 30px 60px 40px 141px; width: 100%; }
.amNav > li { flex: 1 1 0; min-width: 0; max-width: 240px; }
.amNav > li .ig { display: block; width: 53px; height: 37px; background-repeat: no-repeat; background-position: left center; }
.amNav > li .ig1 { background-image: url(assets/img/menu-ig1.png); }
.amNav > li .ig2 { background-image: url(assets/img/menu-ig2.png); }
.amNav > li .ig3 { background-image: url(assets/img/menu-ig3.png); }
.amNav > li .ig4 { background-image: url(assets/img/menu-ig4.png); }
.amNav > li .ig5 { background-image: url(assets/img/menu-ig5.png); }
.amNav > li h2 { margin: 41px 0 14px; position: relative; }
.amNav > li h2 a { font-size: 26px; font-weight: 900; line-height: 1.2; color: var(--navy); word-break: keep-all; }
.amNav > li h2 .am-toggle { display: none; }
.amNav > li > i { display: block; width: 1px; height: 23px; background: var(--navy); margin-left: 5px; }
.amNav > li ul { padding: 15px 0 0; }
.amNav > li ul li a { display: inline-block; padding: 12px 0; font-size: 19px; line-height: 1; color: var(--navy); transition: padding-left .3s var(--ease); }
.amNav > li ul li a:hover { padding-left: 10px; color: var(--blue); }
.amClose { position: absolute; right: 44px; top: 44px; width: 44px; height: 44px; z-index: 5; }
.amClose i { position: absolute; left: 2px; top: 20px; width: 40px; height: 3px; background: var(--navy); transform: rotate(45deg); }
.amClose i:nth-child(2) { transform: rotate(-45deg); }

/* =========================================================================
   2. 공통 UI — 버튼 · 섹션 제목 · 카드
   ====================================================================== */
/* 공식 홈 .section1_in a em (알약 + 화살표) */
.btn-pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	border-radius: 25px; background: var(--blue); border: 2px solid var(--blue); color: #fff; padding: 12px 26px;
	font-size: 15px; font-weight: 700; transition: all .5s;
}
.btn-pill .line-go { display: block; width: 100px; height: 16px; background: url(assets/img/ling-go.svg) no-repeat center / 100% auto; transition: all .5s; }
.btn-pill:hover { background: #fff; color: var(--blue); }
.btn-pill:hover .line-go { background-image: url(assets/img/ling-go-hover.svg); }
.btn-pill.only-arrow { padding: 14px 25px; }
/* 공식 홈 .link-dp a */
.btn-dp {
	display: inline-flex; align-items: center; gap: 24px; border-radius: 30px; background: var(--blue); border: 1px solid var(--blue);
	padding: 14px 26px; color: #fff; font-size: 15px; font-weight: 700; position: relative; overflow: hidden; transition: all .3s var(--ease);
}
.btn-dp .line-go { display: block; width: 60px; height: 10px; background: url(assets/img/ling-go.svg) no-repeat center / 100% auto; }
.btn-dp:hover { background: var(--navy); border-color: var(--navy); }
.btn { display: inline-flex; align-items: center; gap: 14px; border-radius: 30px; padding: 15px 28px; font-size: 15px; font-weight: 700; transition: all .3s; }
.btn .arr { display: inline-block; width: 22px; height: 1.5px; background: currentColor; position: relative; }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.btn-white { background: #fff; color: var(--navy); border: 1px solid #fff; }
.btn-white:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-line:hover { background: #fff; color: var(--navy); }
.btn-blue { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.btn-blue:hover { background: var(--navy); border-color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* 공식 홈 #section2_n h3 (가운데 제목 + 짧은 선) */
.sec-center { text-align: center; }
.sec-center h2 { font-size: 60px; font-weight: 700; line-height: 1.15; color: var(--navy); position: relative; padding-bottom: 37px; }
.sec-center h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 50px; height: 1px; margin-left: -25px; background: var(--navy); }
.sec-center p { font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--navy); padding: 35px 0 10px; }
.sec-center .sec-en { display: block; font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 4px; color: var(--blue); margin-bottom: 22px; }
/* 공식 홈 .section1_in div (좌측 제목 블록) */
.sec-side h2 { font-size: 58px; font-weight: 700; line-height: 1.2; color: var(--navy); }
.sec-side p { margin: 30px 0; font-size: 22px; font-weight: 400; line-height: 1.6; color: var(--navy); }
.sec-side .sec-en { display: block; font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 4px; color: var(--blue); margin-bottom: 20px; }

/* 정사각 라운드 카드 (공식 홈 358px 이미지 카드) */
.sq-card { display: block; }
.sq-card .sq-img { display: block; position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 1 / 1; background: var(--gray-bg); }
.sq-card .sq-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.sq-card:hover .sq-img img { transform: scale(1.07); }
.sq-card .sq-cat { position: absolute; left: 22px; top: 22px; padding: 7px 14px; border-radius: 20px; background: rgba(15,45,82,.8); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(4px); }
.sq-card .sq-body { padding: 22px 8px 0; }
.sq-card h3 { font-size: 20px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.sq-card h3 a:hover, .card h3 a:hover { color: var(--blue); }
.sq-card .sq-ex { margin-top: 10px; font-size: 15px; line-height: 1.7; color: #555; }
.sq-card .sq-meta { margin-top: 12px; font-family: var(--font-en); font-size: 13px; color: var(--muted); }
/* 4:3 카드 (아카이브) */
.card { display: flex; flex-direction: column; }
.card .card-img { display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--gray-bg); position: relative; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover .card-img img { transform: scale(1.06); }
.card .card-img .ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--font-en); font-weight: 700; letter-spacing: 3px; color: var(--muted); background: var(--blue-light); }
.card .card-body { padding: 20px 6px 0; }
.card .card-cat { font-size: 13px; font-weight: 800; color: var(--blue); }
.card h3 { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.card .card-ex { margin-top: 10px; font-size: 15px; line-height: 1.7; color: #555; }
.card .card-meta { margin-top: 12px; font-family: var(--font-en); font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 태그 · 칩 */
.chip { display: inline-block; padding: 10px 18px; border-radius: 30px; border: 1px solid #b6cce7; color: var(--navy); font-size: 15px; font-weight: 700; transition: all .25s; }
.chip:hover, .chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.tag-blue { display: inline-block; padding: 5px 10px; border-radius: 6px; background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 800; }

/* =========================================================================
   3. 홈 — 히어로 (공식 홈 #mvBox · .mTxt_n2)
   ====================================================================== */
.hero {
	position: relative; min-height: clamp(620px, 100vh, 960px); padding-top: var(--header-h); display: flex; align-items: center; justify-content: center; overflow: hidden;
	background: var(--navy) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,45,82,.55) 0%, rgba(15,45,82,.25) 40%, rgba(15,45,82,.6) 100%); }
.hero .mTxt { position: relative; z-index: 2; width: 100%; max-width: 1450px; margin: 0 auto; padding: 20px 30px 90px; display: flex; align-items: center; justify-content: center; }
.hero .mTxt > div {
	flex: 0 0 650px; position: relative; display: inline-flex; flex-direction: column; justify-content: center; padding: 14px 40px; color: #fff;
	opacity: 0; transform: scale(1.06); filter: blur(8px); transition: opacity 1.2s ease, transform 1.2s ease, filter 1.2s ease;
}
.hero .mTxt > div span { display: block; font-size: 30px; line-height: 1; font-weight: 300; text-align: center; letter-spacing: 1px; }
.hero .mTxt > div strong { display: block; font-size: 52px; line-height: 1.25; font-weight: 700; text-align: center; padding-top: 20px; }
.hero .mTxt > div strong .hero-title-sub { display: block; margin-top: 14px; font-size: clamp(15px, .5em, 26px); line-height: 1.5; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.92); }
/* 대괄호 장식 */
.hero .mTxt > div i:nth-of-type(1), .hero .mTxt > div i:nth-of-type(2) { position: absolute; top: 0; height: 100%; width: 7px; background: #fff; }
.hero .mTxt > div i:nth-of-type(1) { left: 0; }
.hero .mTxt > div i:nth-of-type(2) { right: 0; }
.hero .mTxt > div i::before, .hero .mTxt > div i::after { content: ""; position: absolute; width: 35px; height: 7px; background: #fff; }
.hero .mTxt > div i:nth-of-type(1)::before { left: 0; top: 0; }
.hero .mTxt > div i:nth-of-type(1)::after { left: 0; bottom: 0; }
.hero .mTxt > div i:nth-of-type(2)::before { right: 0; top: 0; }
.hero .mTxt > div i:nth-of-type(2)::after { right: 0; bottom: 0; }
.hero .mTxt article { width: 520px; margin-left: 50px; color: #fff; opacity: 0; transform: scale(1.06); filter: blur(8px); transition: opacity 1s ease .3s, transform 1s ease .3s, filter 1s ease .3s; }
.hero .mTxt article p { font-size: 18px; line-height: 1.9; font-weight: 300; }
.hero .mTxt article .hero-meta { margin-top: 18px; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.8); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.hero .mTxt article .hero-meta b { color: #fff; font-weight: 700; }
.hero .mTxt article em { display: inline-flex; margin-top: 26px; opacity: 0; transform: scale(1.1); transition: opacity .8s ease .8s, transform .8s ease .8s; }
.hero .readMore { position: relative; display: inline-block; padding: 18px 44px 22px 20px; font-family: var(--font-en); font-size: 16px; font-weight: 300; letter-spacing: .5px; color: #fff; border: 1px solid transparent; transition: border .6s; }
.hero .readMore::before { content: ""; position: absolute; left: 20px; bottom: 14px; width: calc(100% - 40px); height: 2px; background: #fff; }
.hero .readMore::after { content: "+"; position: absolute; right: 20px; top: 16px; font-size: 16px; }
.hero .readMore:hover { border-color: #fff; }
.hero.is-show .mTxt > div, .hero.is-show .mTxt article { opacity: 1; transform: none; filter: blur(0); }
.hero.is-show .mTxt article em { opacity: 1; transform: none; }
.hero .scroll-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.75); font-family: var(--font-en); font-size: 11px; letter-spacing: 3px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero .scroll-hint::after { content: ""; width: 1px; height: 40px; background: linear-gradient(#fff, transparent); animation: ss-scroll 1.8s infinite; }
@keyframes ss-scroll { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 홈 히어로 하단 서브 카드 3개 (목업의 hero-side 콘텐츠를 공식 홈 카드 스타일로) */
.hero-sub { position: relative; z-index: 3; margin-top: -70px; }
.hero-sub .hs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hs-card { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; background: #fff; border-radius: 24px; padding: 16px; box-shadow: 0 16px 40px rgba(15,45,82,.12); transition: transform .35s var(--ease), box-shadow .35s; }
.hs-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(15,45,82,.18); }
.hs-card .hs-img { border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--gray-bg); }
.hs-card .hs-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-card .hs-cat { font-size: 12px; font-weight: 800; color: var(--blue); }
.hs-card h3 { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.hs-card .hs-date { margin-top: 8px; font-family: var(--font-en); font-size: 12px; color: var(--muted); }

/* =========================================================================
   4. 홈 — 섹션들
   ====================================================================== */
.home-section { padding: 130px 0; }
.home-section.tight { padding-top: 110px; }
/* 좌 제목 + 우 카드 3 (공식 홈 .section1_in) */
.s-split { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
.s-split .sec-side { flex: 0 0 420px; position: sticky; top: 130px; }
.s-split .s-cards { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; }
.s-split .s-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* FAQ (가장 많이 받는 질문) — 하늘색 밴드 (공식 홈 .section2_in) */
.s-faq { background: var(--blue-light); padding: 120px 0 130px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 60px; }
.qcard { display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: 26px; padding: 34px 32px 32px; box-shadow: 0 4px 0 rgba(46,109,187,.06); transition: transform .35s var(--ease), box-shadow .35s; }
.qcard:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,45,82,.12); }
.qcard .q { display: flex; gap: 12px; align-items: flex-start; }
.qcard .q em { font-family: var(--font-en); font-size: 24px; font-weight: 900; line-height: 1; color: var(--blue); }
.qcard .q span { font-size: 19px; font-weight: 800; line-height: 1.45; color: var(--navy); }
.qcard .a { font-size: 15px; line-height: 1.75; color: #444; }
.qcard .go { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
.qcard .go::after { content: " →"; }

/* 공장 밴드 (TONGYEONG SINCE 1976) */
.s-factory { padding: 130px 0 0; }
.s-factory .factory-photo { margin-top: 70px; border-radius: 40px 40px 0 0; overflow: hidden; aspect-ratio: 16 / 7; background: var(--navy); }
.s-factory .factory-photo img { width: 100%; height: 100%; object-fit: cover; }
.s-stats { background: var(--blue-light); padding: 70px 0 80px; }
.s-stats ul { display: flex; justify-content: center; gap: 0; }
.s-stats li { flex: 0 0 25%; text-align: center; padding: 0 20px; position: relative; }
.s-stats li + li::before { content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: rgba(15,45,82,.12); }
.s-stats .ico { display: block; width: 96px; height: 96px; margin: 0 auto 22px; background: no-repeat center / contain; }
.s-stats .num { display: block; font-family: var(--font-en); font-size: 46px; font-weight: 300; line-height: 1; color: var(--navy); letter-spacing: -1px; }
.s-stats .lbl { display: block; margin-top: 16px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--navy); }

/* 제품 (콘텐츠에서 제품으로) + 동피랑 (공식 홈 #section4_n) */
.p-card { display: block; text-align: center; }
.p-card .p-img { border-radius: var(--radius-card); background: var(--gray-bg); aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 8%; }
.p-card .p-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s; }
.p-card:hover .p-img img { transform: scale(1.06); }
.p-card .p-cat { display: block; margin-top: 20px; font-size: 12px; font-weight: 800; color: var(--blue); }
.p-card h3, .p-card strong { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--navy); }
.p-card .p-en { display: block; margin-top: 4px; font-family: var(--font-en); font-size: 12px; color: var(--muted); }
.p-card .p-ex { margin-top: 10px; font-size: 14px; line-height: 1.7; color: #555; }
.s-mall { margin-top: 110px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 60px 70px; border-radius: 40px; background: var(--blue-light); }
.s-mall .mall-logo { flex: 0 0 240px; }
.s-mall .mall-logo img { width: 240px; }
.s-mall .mall-text { flex: 1 1 auto; }
.s-mall .mall-text h3 { font-size: 40px; font-weight: 800; line-height: 1.2; color: var(--navy); }
.s-mall .mall-text h3 span { color: var(--blue); }
.s-mall .mall-text p { margin-top: 16px; font-size: 18px; color: var(--navy); }
.s-mall .btn-dp { flex: 0 0 auto; }

/* 백과 칩 */
.s-glossary .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 50px; }
.s-glossary .chips .chip { font-size: 16px; padding: 12px 22px; background: #fff; }
.s-glossary .chips .chip.more { border-style: dashed; }

/* 소식 목록 */
.news-list { display: flex; flex-direction: column; }
.news-row { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.news-row:first-child { border-top: 1px solid var(--navy); }
.news-row .nr-date { font-family: var(--font-en); font-size: 16px; color: var(--muted); }
.news-row .nr-body .tag-blue { margin-right: 8px; vertical-align: 2px; }
.news-row h3 { display: inline; font-size: 21px; font-weight: 800; line-height: 1.45; color: var(--navy); }
.news-row h3 a:hover { color: var(--blue); }
.news-row p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: #555; }
.news-row.has-thumb { grid-template-columns: 240px 1fr; align-items: center; }
.news-row .nr-thumb { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--gray-bg); }
.news-row .nr-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-row:hover .nr-thumb img { transform: scale(1.05); }
.news-row .nr-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

/* =========================================================================
   5. 서브 비주얼 · 서브 내비 (공식 홈 .svBox · .sta .snb)
   ====================================================================== */
.sv { position: relative; height: 560px; display: flex; align-items: center; background: var(--navy) center / cover no-repeat; overflow: hidden; }
.sv::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,45,82,.55), rgba(15,45,82,.3) 60%, rgba(15,45,82,.55)); }
.sv .sv-in { position: relative; z-index: 2; width: 100%; max-width: 1530px; margin: 0 auto; padding: var(--header-h) 30px 0; color: #fff; }
.sv h2, .sv h1 { font-size: 72px; line-height: 1.05; font-weight: 900; color: #fff; text-shadow: 0 2px 24px rgba(15,45,82,.35); }
.sv .sv-en, .sv .sv-desc, .sv .post-meta { text-shadow: 0 1px 12px rgba(15,45,82,.45); }
.sv .sv-en { display: block; margin-top: 22px; font-family: var(--font-en); font-size: 30px; font-weight: 300; letter-spacing: 1px; color: rgba(255,255,255,.9); }
.sv .sv-desc { margin-top: 26px; max-width: 640px; font-size: 18px; line-height: 1.8; font-weight: 400; color: rgba(255,255,255,.88); }
/* 글 상세용 서브 비주얼 */
.sv.sv-post { height: 640px; }
.sv.sv-post::before { background: linear-gradient(180deg, rgba(15,45,82,.55), rgba(15,45,82,.35) 50%, rgba(15,45,82,.75)); }
.sv.sv-post .sv-in { max-width: var(--wrap); }
.sv.sv-post .post-cat { display: inline-block; padding: 8px 16px; border-radius: 20px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; }
.sv.sv-post h1 { margin-top: 22px; font-size: 50px; line-height: 1.3; max-width: 900px; }
.sv.sv-post .sv-desc { max-width: 760px; }
.sv.sv-post .post-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: rgba(255,255,255,.85); }
.sv.sv-post .post-meta b { font-weight: 700; color: #fff; margin-right: 6px; }
.sv.sv-post .post-meta .en { font-family: var(--font-en); }

.sta { border-bottom: 1px solid var(--line2); background: #fff; }
.sta .sta-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; min-height: 96px; }
.sta h2, .sta .sta-label { font-family: var(--font-en); font-size: 22px; font-weight: 900; color: var(--navy); position: relative; padding: 22px 0 25px; white-space: nowrap; }
.sta h2::before, .sta .sta-label::before { content: ""; position: absolute; left: 0; top: 0; width: 37px; height: 3px; background: var(--blue); }
.sta .snb { display: flex; justify-content: flex-start; margin-left: auto; gap: 0 60px; overflow-x: auto; scrollbar-width: none; max-width: 100%; flex: 0 1 auto; }
.sta.has-crumbs .snb { gap: 0 36px; }
.sta.has-crumbs .snb a { font-size: 17px; }
.sta.has-crumbs .crumbs li:last-child { max-width: 300px; }
.sta .snb::-webkit-scrollbar { display: none; }
.sta .snb a { display: block; padding: 30px 0 25px; font-size: 19px; color: var(--navy); position: relative; white-space: nowrap; }
.sta .snb a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 5px; background: var(--blue); transition: width .3s; }
.sta .snb a:hover::after, .sta .snb a.on::after { width: 100%; }
.sta .snb a.on { font-weight: 800; }
.crumbs { font-size: 14px; color: var(--muted); padding: 24px 0 22px; min-width: 0; flex: 0 1 auto; }
.crumbs ol { display: flex; flex-wrap: nowrap; gap: 6px; }
.crumbs li { white-space: nowrap; }
.crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #b6c2cf; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--navy); font-weight: 700; }

/* 아카이브 본문 */
.archive-wrap { padding: 70px 30px 130px; }
.archive-meta { margin-bottom: 30px; font-size: 15px; color: var(--muted); }
.archive-meta strong { color: var(--navy); font-family: var(--font-en); font-size: 17px; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); font-size: 17px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 70px; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; font-family: var(--font-en); font-size: 15px; color: var(--navy); transition: all .2s; }
.pager .page-numbers:hover { background: var(--blue-light); }
.pager .page-numbers.current { background: var(--blue); color: #fff; font-weight: 700; }
.pager .page-numbers.dots { color: var(--muted); }
.pager .prev, .pager .next { font-family: var(--font-kr); font-weight: 700; }

/* =========================================================================
   6. 글 상세
   ====================================================================== */
.single-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; padding: 70px 30px 110px; align-items: start; }
.single-wrap > .post, .single-wrap > .side, .term-body, .news-body { min-width: 0; max-width: 100%; }
.prose { min-width: 0; overflow-wrap: anywhere; }
.post-cover { border-radius: 30px; overflow: hidden; margin-bottom: 40px; }
.post-cover img { width: 100%; }
.post-cover figcaption { padding: 12px 6px 0; font-size: 14px; color: var(--muted); }
.post-summary { margin-bottom: 44px; padding: 30px 34px; border-radius: 24px; background: var(--blue-light); }
.post-summary strong { display: block; font-size: 14px; font-weight: 800; letter-spacing: 1px; color: var(--blue); margin-bottom: 12px; }
.post-summary ul li { position: relative; padding-left: 18px; font-size: 17px; line-height: 1.8; color: var(--navy); font-weight: 700; }
.post-summary ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.post-summary.plain ul li { font-weight: 400; }

.prose { font-size: 18px; line-height: 1.95; color: var(--text); }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { position: relative; margin-top: 2.6em; padding-top: 20px; font-size: 28px; line-height: 1.4; font-weight: 800; color: var(--navy); }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 37px; height: 3px; background: var(--blue); }
.prose h3 { margin-top: 2em; font-size: 22px; font-weight: 800; color: var(--navy); }
.prose h2 + *, .prose h3 + * { margin-top: 1em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--navy); }
.prose strong { color: var(--navy); font-weight: 800; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue); }
.prose img { border-radius: 20px; }
.prose figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.prose blockquote { position: relative; margin: 2.2em 0; padding: 34px 40px 30px 60px; border-radius: 24px; background: var(--blue-light); }
.prose blockquote::before { content: "“"; position: absolute; left: 26px; top: 18px; font-family: var(--font-en); font-size: 60px; line-height: 1; font-weight: 900; color: var(--blue); }
.prose blockquote p { font-size: 21px; line-height: 1.6; font-weight: 700; color: var(--navy); }
.prose blockquote cite { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }
.prose blockquote cite::before { content: "— "; }
.prose .note, .prose .tip { padding: 26px 30px; border-radius: 20px; background: #fafafa; border-left: 4px solid var(--navy); }
.prose .note { background: var(--blue-light); border-left-color: var(--blue); }
.prose .note strong, .prose .tip strong { display: block; margin-bottom: 8px; font-size: 15px; letter-spacing: .5px; color: var(--blue); }
.prose .tip strong { color: var(--navy); }
.prose .note p, .prose .tip p { font-size: 16px; line-height: 1.8; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.6em; max-width: 100%; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; min-width: 520px; }
.prose thead th { background: var(--navy); color: #fff; font-weight: 700; padding: 14px 16px; text-align: left; }
.prose thead th:first-child { border-radius: 12px 0 0 0; }
.prose thead th:last-child { border-radius: 0 12px 0 0; }
.prose tbody th { background: var(--blue-light); color: var(--navy); font-weight: 800; text-align: left; padding: 14px 16px; }
.prose tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #fafbfd; }
.prose details.faq { border-top: 1px solid var(--line); }
.prose details.faq + details.faq { margin-top: 0; }
.prose details.faq:last-of-type { border-bottom: 1px solid var(--line); }
.prose details.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 40px; position: relative; font-size: 18px; font-weight: 800; color: var(--navy); }
.prose details.faq summary::-webkit-details-marker { display: none; }
.prose details.faq summary::before { content: "Q."; position: absolute; left: 4px; top: 20px; font-family: var(--font-en); font-weight: 900; color: var(--blue); }
.prose details.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .3s; }
.prose details.faq[open] summary::after { transform: rotate(-135deg); }
.prose details.faq p { padding: 0 8px 22px 40px; font-size: 16px; line-height: 1.8; }
.prose details.faq p + p { margin-top: .6em; }

.post-foot { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { display: inline-block; padding: 8px 14px; border-radius: 20px; background: var(--blue-light); color: var(--navy); font-size: 14px; font-weight: 700; }
.post-tags a:hover { background: var(--blue); color: #fff; }
.copy-btn { padding: 10px 18px; border-radius: 20px; border: 1px solid var(--navy); font-size: 14px; font-weight: 700; color: var(--navy); transition: all .2s; }
.copy-btn:hover, .copy-btn.done { background: var(--navy); color: #fff; }

/* 우측 레일 */
.side { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 22px; }
.side-box { border: 1px solid var(--line); border-radius: 24px; padding: 26px 26px 24px; }
.side-box h2 { font-size: 15px; font-weight: 800; letter-spacing: .5px; color: var(--navy); margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.side-box h2 .more { font-family: var(--font-en); font-size: 18px; color: var(--blue); }
.rail-toc li { font-size: 14.5px; line-height: 1.5; }
.rail-toc li + li { margin-top: 8px; }
.rail-toc li.lv3 { padding-left: 14px; }
.rail-toc a { display: block; padding-left: 14px; border-left: 2px solid var(--line); color: #555; transition: all .2s; }
.rail-toc a:hover, .rail-toc a.on { color: var(--navy); border-color: var(--blue); font-weight: 700; }
.side-terms li + li { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.side-terms a strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy); }
.side-terms a strong small { font-family: var(--font-en); font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 6px; }
.side-terms a span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.55; color: #666; }
.side-terms a:hover strong { color: var(--blue); }
.side-cats li a { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; font-weight: 700; color: var(--navy); border-bottom: 1px solid #f0f2f5; }
.side-cats li a em { font-family: var(--font-en); font-weight: 400; color: var(--muted); font-size: 13px; }
.side-cats li.on a, .side-cats li a:hover { color: var(--blue); }
.side-cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-cta .en { display: block; font-size: 11px; letter-spacing: 3px; color: #9ed4ff; font-weight: 700; }
.side-cta strong { display: block; margin-top: 10px; font-size: 20px; font-weight: 800; line-height: 1.4; }
.side-cta p { margin: 10px 0 18px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.8); }
.side-cta .btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 14px; }
.side-cta .btn + .btn { margin-top: 8px; }
.side-products .p-card { display: grid; grid-template-columns: 70px 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; text-align: left; }
.side-products .p-card .p-img { grid-row: 1 / span 2; align-self: center; }
.side-products .p-card strong, .side-products .p-card .p-en, .side-products .p-card .p-ex { grid-column: 2; }
.side-products .p-card strong { align-self: end; }
.side-products .p-card .p-en { align-self: start; }
.side-products .p-card + .p-card { margin-top: 12px; }
.side-products .p-card .p-img { border-radius: 14px; padding: 6px; }
.side-products .p-card strong { margin: 0; font-size: 15px; }
.side-products .p-card .p-en { margin-top: 2px; font-size: 11px; }
.side-products .p-card .p-cat { display: none; }

/* 관련 제품 · 관련 글 · 이전/다음 */
.related { padding: 90px 0 110px; background: var(--blue-light); }
.related.white { background: #fff; padding-top: 0; }
.related .sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.related .sec-head h2 { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.related .sec-head .sec-en { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--blue); margin-bottom: 12px; }
.related .sec-head .more { font-size: 15px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 2px; }
.related .sec-head .more:hover { color: var(--blue); border-color: var(--blue); }
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 30px 110px; }
.prevnext a { display: block; padding: 24px 28px; border: 1px solid var(--line); border-radius: 20px; transition: all .25s; }
.prevnext a:hover { border-color: var(--blue); background: var(--blue-light); }
.prevnext .lbl { display: block; font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: 1px; }
.prevnext strong { display: block; margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.prevnext .next { text-align: right; }

/* =========================================================================
   7. 백과 (glossary)
   ====================================================================== */
.gl-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.gl-search { display: flex; align-items: center; border: 1px solid var(--navy); border-radius: 30px; overflow: hidden; width: 360px; max-width: 100%; }
.gl-search input { flex: 1 1 auto; height: 48px; padding: 0 20px; border: 0; outline: none; font-size: 15px; color: var(--navy); }
.gl-search button { width: 52px; height: 48px; display: flex; align-items: center; justify-content: center; }
.gl-search button i { width: 18px; height: 19px; background: url(assets/img/i-search.png) no-repeat center / contain; filter: brightness(.35); }
.gl-count { font-size: 15px; color: var(--muted); }
.gl-count b { font-family: var(--font-en); color: var(--navy); font-size: 17px; }
.gl-index { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; }
.gl-index button { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 20px; border: 1px solid var(--line2); font-size: 14px; font-weight: 700; color: var(--navy); transition: all .2s; }
.gl-index button:disabled { color: #c3cbd4; border-color: #eef1f4; cursor: default; }
.gl-index button:not(:disabled):hover, .gl-index button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.term-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.term { border: 1px solid var(--line); border-radius: 22px; transition: all .25s; background: #fff; }
.term:hover { border-color: var(--blue); box-shadow: 0 14px 30px rgba(15,45,82,.1); transform: translateY(-3px); }
.term.hide { display: none; }
.term > a { display: flex; flex-direction: column; height: 100%; padding: 28px 28px 24px; }
.term h3 { font-size: 22px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.term .term-en { display: block; margin-top: 4px; font-family: var(--font-en); font-size: 13px; font-weight: 400; color: var(--muted); }
.term p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: #444; flex: 1 1 auto; }
.term .term-more { margin-top: 18px; font-size: 13px; font-weight: 800; color: var(--blue); }
.term .term-more::after { content: " →"; }
.gl-empty { padding: 60px 0; text-align: center; color: var(--muted); }
/* 용어 상세 */
.term-head { padding: 80px 30px 50px; }
.term-head .term-label { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--blue); }
.term-head h1 { margin-top: 16px; font-size: 52px; font-weight: 900; line-height: 1.15; color: var(--navy); }
.term-head .term-en { display: block; margin-top: 10px; font-family: var(--font-en); font-size: 20px; font-weight: 300; color: var(--muted); }
.term-def { margin-top: 30px; padding: 30px 34px; border-radius: 24px; background: var(--blue-light); font-size: 19px; line-height: 1.75; font-weight: 700; color: var(--navy); }
.term-body { padding: 0 30px 90px; max-width: 900px; }
.term-body .prose { max-width: 820px; }
.term-nav { margin-top: 50px; display: flex; flex-wrap: wrap; gap: 10px; }

/* =========================================================================
   8. 소식 (news)
   ====================================================================== */
.news-head { padding: 80px 30px 30px; }
.news-head .nh-meta { display: flex; align-items: center; gap: 14px; }
.news-head .nh-meta time { font-family: var(--font-en); font-size: 16px; color: var(--muted); }
.news-head h1 { margin-top: 18px; font-size: 44px; font-weight: 900; line-height: 1.3; color: var(--navy); max-width: 900px; }
.news-head .nh-ex { margin-top: 18px; font-size: 19px; line-height: 1.7; color: #555; max-width: 820px; }
.news-body { padding: 20px 30px 90px; max-width: 900px; }
.news-body .post-cover { margin-bottom: 40px; }

/* =========================================================================
   9. CTA 밴드 · 푸터 (공식 홈 #footer)
   ====================================================================== */
.cta-band { background: var(--navy); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 90px; padding-bottom: 90px; }
.cta-en { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 4px; color: #9ed4ff; margin-bottom: 18px; }
.cta-text h2 { font-size: 40px; font-weight: 800; line-height: 1.25; }
.cta-text p { margin-top: 18px; max-width: 640px; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.82); }
.cta-btns { display: flex; flex-direction: column; gap: 12px; flex: 0 0 auto; }
.cta-btns .btn { justify-content: space-between; min-width: 280px; }

.site-footer { background: var(--sky); color: var(--navy); }
.foot_top { width: 100%; max-width: 1233px; margin: 0 auto; padding: 70px 30px 90px; }
.foot-menu { display: flex; justify-content: center; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.foot-menu li { flex: 1; }
.foot-menu li a { display: flex; align-items: center; justify-content: center; height: 44px; font-family: var(--font-en); font-size: 17px; font-weight: 700; color: var(--navy); }
.foot-menu li a:hover { color: var(--blue); }
.foot_left { order: 1; flex: 0 0 460px; }
.foot_logo { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 30px; }
.foot_logo img { width: 164px; }
.foot-mag { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--navy); padding-bottom: 4px; }
.foot_bottom { width: 100%; max-width: 1233px; margin: 0 auto; padding: 0 30px 90px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.foot_bottom ul li { font-size: 15px; line-height: 1.5; font-weight: 500; }
.foot_bottom dl { order: 2; padding-top: 2px; } /* 첫 dt 글자 상단을 왼쪽 로고 상단에 맞춤 */
.foot_bottom dt { font-size: 19px; line-height: 1.2; font-weight: 700; padding-bottom: 10px; }
.foot_bottom dt:nth-of-type(2) { margin-top: 20px; }
.foot_bottom dd { font-size: 18px; line-height: 1.5; font-weight: 500; margin-bottom: 8px; }
.foot_bottom dd i { display: inline-block; width: 15px; }

/* TOP 버튼 (공식 홈 #top_btn) */
#top_btn {
	position: fixed; right: 30px; bottom: 40px; width: 54px; height: 54px; border-radius: 50%; z-index: 90;
	background: #fff url(assets/img/top.png) no-repeat center; box-shadow: 0 5px 10px rgba(0,0,0,.15);
	opacity: 0; visibility: hidden; transition: all .25s;
}
#top_btn.show { opacity: 1; visibility: visible; }
#top_btn:hover { background: var(--blue) url(assets/img/top-ov.png) no-repeat center; }

/* 검색 결과 */
.search-list { display: flex; flex-direction: column; }
.search-item { display: grid; grid-template-columns: 180px 1fr; gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.search-item .si-thumb { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--gray-bg); }
.search-item .si-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-item h3 { margin-top: 8px; font-size: 20px; font-weight: 800; color: var(--navy); }
.search-item p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: #555; }
.search-item .si-meta { margin-top: 10px; font-family: var(--font-en); font-size: 13px; color: var(--muted); }
.search-form-big { display: flex; max-width: 560px; border: 1px solid var(--navy); border-radius: 30px; overflow: hidden; margin: 30px 0 0; }
.search-form-big input { flex: 1; height: 52px; padding: 0 22px; border: 0; outline: none; font-size: 16px; }
.search-form-big button { padding: 0 26px; background: var(--navy); color: #fff; font-weight: 700; }

/* =========================================================================
   10. 반응형
   ====================================================================== */
@media (max-width: 1780px) {
	.hd-in { padding-left: 50px; gap: 16px; }
	.hd-search input { width: 150px; }
}
@media (max-width: 1550px) {
	.sv .sv-in { max-width: 100%; padding-left: 60px; padding-right: 60px; }
	.hd-in { padding-left: 40px; gap: 12px; }
	.hd-search { display: none; }
	.am-search { margin-left: 80px; width: min(520px, calc(100% - 140px)); }
	.s-split .sec-side { flex-basis: 360px; }
}
@media (max-width: 1450px) {
	.hero .mTxt { flex-direction: column; text-align: center; }
	.hero .mTxt > div { flex: 0 0 auto; width: min(650px, 100%); }
	.hero .mTxt article { width: min(640px, 100%); margin: 40px 0 0; text-align: center; }
	.hero .mTxt article .hero-meta { justify-content: center; }
	.sec-center h2 { font-size: 46px; }
	.sec-side h2 { font-size: 44px; }
	.sec-side p { font-size: 19px; }
	.s-split { flex-direction: column; }
	.s-split .sec-side { position: static; flex-basis: auto; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
	.s-split .sec-side p { margin: 16px 0 0; flex: 1 1 100%; }
	.s-split .sec-side h2 br { display: none; }
	.s-split .s-cards { width: 100%; }
	.amNav { padding-left: 80px; }
}
@media (max-width: 1340px) {
	.logo-img { width: 150px; height: 38px; }
	.logo-tag { font-size: 10px; padding: 4px 8px 3px; }
}
@media (max-width: 1200px) {
	:root { --header-h: 80px; }
	.hd-in { padding: 0 calc(var(--header-h) + 16px) 0 22px; }
	.site-header .logo, .site-header.on .logo { align-self: center; margin: 0; }
	.logo-img { width: 122px; height: 30px; }
	.logo-tag { font-size: 10px; padding: 4px 8px 3px; letter-spacing: 1px; }
	.site-header .logo a { gap: 4px; }
	.gnb, .language { display: none; }
	.allmenu, .site-header.on .allmenu { width: 80px; height: 80px; }
	.allmenu i { width: 36px; }
	.site-header.on { height: 80px; }
	.am-left { flex: 0 0 90px; padding: 30px 0; align-items: center; }
	.am-logo, .am-tag { display: none; }
	.am-lang { flex-direction: column; align-items: center; gap: 14px; margin-top: auto; }
	.am-right-in { margin: 0; }
	.am-search { width: calc(100% - 60px); margin: 84px 30px 0; }
	.am-search input { height: 46px; font-size: 15px; }
	.amNav { display: block; padding: 20px 30px 60px; }
	.amNav > li { width: 100%; }
	.amNav > li .ig, .amNav > li > i { display: none; }
	.amNav > li h2 { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
	.amNav > li h2 a { font-size: 22px; font-weight: 700; }
	.amNav > li h2 .am-toggle { display: block; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; transform: translateY(-50%); }
	.amNav > li h2 .am-toggle::before, .amNav > li h2 .am-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--blue); }
	.amNav > li h2 .am-toggle::before { width: 15px; height: 4px; margin: -2px 0 0 -7.5px; }
	.amNav > li h2 .am-toggle::after { width: 4px; height: 15px; margin: -7.5px 0 0 -2px; transition: transform .2s; }
	.amNav > li.open h2 .am-toggle::after { transform: scaleY(0); }
	.amNav > li ul { display: none; padding: 8px 0 8px 22px; }
	.amNav > li.open ul { display: block; }
	.amNav > li ul li a { display: block; padding: 12px 0; font-size: 17px; }
	.amClose { right: 20px; top: 20px; }
	.hero { min-height: clamp(560px, 88vh, 760px); }
	.hero .mTxt > div span { font-size: 22px; }
	.hero .mTxt > div strong { font-size: 40px; }
	.hero-sub .hs-grid { gap: 16px; }
	.hs-card { grid-template-columns: 84px 1fr; padding: 12px; }
	.sv { height: 440px; }
	.sv h2, .sv h1 { font-size: 52px; }
	.sv .sv-en { font-size: 22px; }
	.sv.sv-post { height: 520px; }
	.sv.sv-post h1 { font-size: 38px; }
	.sv .sv-in { padding-left: 30px; padding-right: 30px; }
	.home-section { padding: 90px 0; }
	.s-faq { padding: 90px 0 100px; }
	.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.s-mall { padding: 44px 40px; flex-wrap: wrap; }
	.s-mall .mall-text h3 { font-size: 32px; }
	.single-wrap { grid-template-columns: 1fr; gap: 50px; }
	.side { position: static; }
	.side-toc { display: none; }
	.prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cta-in { flex-direction: column; align-items: flex-start; padding-top: 70px; padding-bottom: 70px; }
	.cta-btns { flex-direction: row; flex-wrap: wrap; }
	.foot_bottom { flex-direction: column; }
	.foot_left { flex-basis: auto; }
	.foot_top { padding: 50px 30px 60px; }
}
@media (max-width: 1024px) {
	.card-grid, .card-grid.cols-4, .term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.s-split .s-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.sq-card h3 { font-size: 17px; }
	.s-stats ul { flex-wrap: wrap; }
	.s-stats li { flex: 0 0 50%; margin-bottom: 40px; }
	.s-stats li:nth-child(3)::before { display: none; }
	.hero-sub .hs-grid { grid-template-columns: 1fr; }
	.hero-sub { margin-top: -40px; }
	.hs-card { grid-template-columns: 72px 1fr; }
	.news-row.has-thumb { grid-template-columns: 160px 1fr; }
	.sta .sta-in { flex-direction: column; align-items: flex-start; gap: 0; }
	.sta .snb { margin-left: 0; }
	.crumbs li:last-child { max-width: 240px; }
	.sta h2, .sta .sta-label { padding-bottom: 10px; }
	.sta .snb { width: 100%; justify-content: flex-start; gap: 0 32px; }
	.sta .snb a { padding: 12px 0 18px; font-size: 16px; }
}
@media (max-width: 768px) {
	body { font-size: 15px; }
	.wrap, .wrap-wide { padding-left: 20px; padding-right: 20px; }
	.hero { min-height: clamp(520px, 84vh, 680px); }
	.hero .mTxt { padding: 10px 20px 70px; }
	.hero .mTxt > div { padding: 12px 24px; }
	.hero .mTxt > div span { font-size: 17px; }
	.hero .mTxt > div strong { font-size: 28px; padding-top: 14px; }
	.hero .mTxt > div strong .hero-title-sub { margin-top: 10px; font-size: 15px; line-height: 1.5; }
	.hero .mTxt > div i:nth-of-type(1), .hero .mTxt > div i:nth-of-type(2) { width: 5px; }
	.hero .mTxt > div i::before, .hero .mTxt > div i::after { width: 30px; height: 5px; }
	.hero .mTxt article { margin-top: 26px; }
	.hero .mTxt article p { font-size: 15px; line-height: 1.75; }
	.hero .mTxt article .hero-meta { font-size: 12px; }
	.hero .scroll-hint { display: none; }
	.hero-sub { margin-top: 24px; }
	.hs-card { box-shadow: 0 10px 24px rgba(15,45,82,.08); }
	.home-section, .s-factory { padding: 70px 0; }
	.home-section.tight { padding-top: 60px; }
	.s-faq { padding: 70px 0 80px; }
	.sec-center h2 { font-size: 34px; padding-bottom: 26px; }
	.sec-center h2::after { width: 40px; margin-left: -20px; }
	.sec-center p { font-size: 17px; padding: 26px 0 0; }
	.sec-side h2 { font-size: 32px; }
	.sec-side p { font-size: 16px; }
	.s-split .sec-side { flex-direction: column; align-items: flex-start; }
	.s-split .s-cards, .s-split .s-cards.cols-2 { grid-template-columns: 1fr; gap: 28px; }
	.sq-card .sq-img { border-radius: 24px; }
	.faq-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
	.qcard { padding: 26px 24px; }
	.s-factory .factory-photo { margin-top: 40px; border-radius: 24px 24px 0 0; aspect-ratio: 4 / 3; }
	.s-stats { padding: 50px 0 20px; }
	.s-stats .ico { width: 72px; height: 72px; }
	.s-stats .num { font-size: 34px; }
	.s-stats .lbl { font-size: 15px; }
	.s-mall { margin-top: 60px; padding: 36px 24px; text-align: center; flex-direction: column; border-radius: 28px; }
	.s-mall .mall-logo { flex-basis: auto; }
	.s-mall .mall-logo img { width: 180px; margin: 0 auto; }
	.s-mall .mall-text h3 { font-size: 26px; }
	.s-mall .mall-text p { font-size: 15px; }
	.s-glossary .chips { gap: 8px; margin-top: 30px; }
	.s-glossary .chips .chip { font-size: 14px; padding: 10px 16px; }
	.news-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
	.news-row.has-thumb { grid-template-columns: 1fr; }
	.news-row h3 { font-size: 18px; }
	.sv { height: 340px; }
	.sv h2, .sv h1 { font-size: 36px; }
	.sv .sv-en { font-size: 16px; margin-top: 12px; }
	.sv .sv-desc { font-size: 15px; margin-top: 16px; }
	.sv.sv-post { height: auto; min-height: 460px; padding-bottom: 40px; }
	.sv.sv-post h1 { font-size: 27px; margin-top: 16px; }
	.sv.sv-post .post-meta { gap: 6px 16px; font-size: 13px; }
	.sv .sv-in { padding-left: 20px; padding-right: 20px; }
	.archive-wrap { padding: 40px 20px 80px; }
	.card-grid, .card-grid.cols-4, .card-grid.cols-2, .term-grid { grid-template-columns: 1fr; gap: 28px; }
	.single-wrap { padding: 40px 20px 70px; }
	.post-cover { border-radius: 20px; margin-bottom: 28px; }
	.post-summary { padding: 22px 22px; }
	.post-summary ul li { font-size: 15.5px; }
	.prose { font-size: 16.5px; line-height: 1.9; }
	.prose h2 { font-size: 23px; margin-top: 2.2em; }
	.prose h3 { font-size: 19px; }
	.prose blockquote { padding: 30px 24px 26px 46px; }
	.prose blockquote::before { left: 16px; font-size: 48px; }
	.prose blockquote p { font-size: 18px; }
	.prose .note, .prose .tip { padding: 20px 20px; }
	.prose details.faq summary { font-size: 16px; padding: 16px 36px 16px 34px; }
	.prose details.faq summary::before { left: 2px; top: 16px; }
	.prose details.faq p { padding: 0 4px 18px 34px; font-size: 15px; }
	.related { padding: 60px 0 70px; }
	.related .sec-head h2 { font-size: 26px; }
	.prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.prevnext { grid-template-columns: 1fr; padding: 0 20px 70px; }
	.prevnext .next { text-align: left; }
	.term-head { padding: 50px 20px 30px; }
	.term-head h1 { font-size: 36px; }
	.term-def { font-size: 17px; padding: 22px 22px; }
	.term-body { padding: 0 20px 60px; }
	.news-head { padding: 50px 20px 20px; }
	.news-head h1 { font-size: 28px; }
	.news-head .nh-ex { font-size: 16px; }
	.news-body { padding: 10px 20px 60px; }
	.cta-text h2 { font-size: 28px; }
	.cta-text p { font-size: 15px; }
	.cta-btns { flex-direction: column; width: 100%; }
	.cta-btns .btn { min-width: 0; width: 100%; }
	.foot-menu { flex-wrap: wrap; }
	.foot-menu li { flex: 0 0 50%; }
	.foot-menu li a { height: 40px; font-size: 14px; }
	.foot_top { padding: 40px 20px 40px; }
	.foot_logo { margin-bottom: 24px; }
	.foot_bottom { padding: 0 20px 60px; gap: 24px; }
	.foot_bottom ul li { font-size: 13px; }
	.foot_bottom dt { font-size: 16px; }
	.foot_bottom dd { font-size: 14px; }
	.foot_bottom dd i { display: block; height: 4px; }
	#top_btn { right: 20px; bottom: 20px; width: 50px; height: 50px; }
	.search-item { grid-template-columns: 1fr; gap: 12px; }
	.gl-tools { margin-bottom: 20px; }
	.gl-search { width: 100%; }
	.gl-index { gap: 4px; margin-bottom: 26px; }
	.gl-index button { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }
	.crumbs { font-size: 13px; padding: 16px 0; }
}
