/* =====================================================================
   模板二 · 墨金（tpl2）
   风格：深墨底 + 香槟金，衬线标题，杂志式留白，适合高端/精品/艺考类
   ===================================================================== */

body.tpl2 {
	--s-brand: #b08d57;
	--s-brand-2: #8f7038;
	--s-brand-soft: #f5efe4;
	--s-accent: #b08d57;
	--s-ink: #1b1915;
	--s-ink-2: #463f33;
	--s-muted: #8b8272;
	--s-line: #e7e0d4;
	--s-bg: #fcfaf6;
	--s-surface: #f5f1e8;
	--s-dark: #111009;
	--s-radius: 2px;
	--s-radius-sm: 2px;
	--s-font-title: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
	--s-cta-bg: #b08d57;
	--s-cta-ink: #fff;
	background: var(--s-bg);
}

/* ---------------- 顶部 ---------------- */
body.tpl2 .hd {
	background: rgba(17, 16, 9, .88);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	backdrop-filter: blur(10px);
}
body.tpl2 .hd-name b { color: #fff; font-weight: 600; letter-spacing: 1px; }
body.tpl2 .hd-name i { color: rgba(255, 255, 255, .45); letter-spacing: 1.4px; }
body.tpl2 .hd-mark { background: transparent; border: 1px solid var(--s-brand); color: var(--s-brand); border-radius: 0; font-family: var(--s-font-title); }
body.tpl2 .hd-logo img { border-radius: 0; }
body.tpl2 .hd-item > a { color: rgba(255, 255, 255, .74); font-size: 14px; letter-spacing: 1.2px; border-radius: 0; }
body.tpl2 .hd-item > a:hover { background: transparent; color: var(--s-brand); }
body.tpl2 .hd-item.on > a { color: var(--s-brand); }
body.tpl2 .hd-item.on > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
	background: var(--s-brand);
}
body.tpl2 .hd-sub { background: #17150f; border-color: rgba(255, 255, 255, .1); border-radius: 0; }
body.tpl2 .hd-sub a { color: rgba(255, 255, 255, .7); border-radius: 0; }
body.tpl2 .hd-sub a:hover, body.tpl2 .hd-sub a.on { background: rgba(176, 141, 87, .14); color: var(--s-brand); }
body.tpl2 .hd-tel { color: rgba(255, 255, 255, .82); }
body.tpl2 .hd-tel i { background: rgba(176, 141, 87, .16); color: var(--s-brand); border-radius: 0; }
body.tpl2 .hd-burger { background: transparent; border-color: rgba(255, 255, 255, .2); border-radius: 0; }
body.tpl2 .hd-burger span { background: #fff; }
body.tpl2 .btn { border-radius: 0; letter-spacing: 2px; font-size: 13.5px; height: 44px; }
body.tpl2 .btn:hover { box-shadow: none; opacity: .9; transform: none; }
body.tpl2 .t2-hero .btn-ghost, body.tpl2 .t2-contact .btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
body.tpl2 .btn-ghost { border-color: var(--s-line); color: var(--s-ink); }
body.tpl2 .btn-ghost:hover { border-color: var(--s-brand); color: var(--s-brand); }

@media (max-width: 1080px) {
	body.tpl2.nav-open .hd-nav { background: #14120c; border-bottom-color: rgba(255, 255, 255, .1); }
	body.tpl2.nav-open .hd-item { border-bottom-color: rgba(255, 255, 255, .08); }
	body.tpl2.nav-open .hd-sub { background: rgba(255, 255, 255, .05); }
}

/* ---------------- 首屏 ---------------- */
.t2-hero {
	position: relative; min-height: min(86vh, 720px); display: flex; align-items: center;
	margin-top: calc(var(--s-head-h) * -1); padding-top: var(--s-head-h);
	background: #100f0a; color: rgba(255, 255, 255, .72); overflow: hidden;
}
.t2-hero .bg { position: absolute; inset: 0; }
.t2-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.9); }
.t2-hero .bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(100deg, rgba(10, 9, 6, .96) 4%, rgba(10, 9, 6, .82) 44%, rgba(10, 9, 6, .5) 100%),
		linear-gradient(180deg, rgba(10, 9, 6, .5), rgba(10, 9, 6, .2) 45%, rgba(10, 9, 6, .9));
}
.t2-hero-in { position: relative; z-index: 2; padding: 96px 0; max-width: 780px; }
.t2-est { display: flex; align-items: center; gap: 14px; font-size: 11.5px; letter-spacing: 4px; color: var(--s-brand); text-transform: uppercase; }
.t2-est::before, .t2-est::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .55; }
.t2-h1 { margin-top: 26px; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.26; color: #fff; letter-spacing: 2px; font-weight: 500; }
.t2-rule { width: 56px; height: 1px; background: rgba(255, 255, 255, .3); margin: 28px 0; }
.t2-sub { font-size: 16px; line-height: 2; max-width: 580px; color: rgba(255, 255, 255, .66);
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.t2-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.t2-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
	font-size: 11px; letter-spacing: 3px; color: rgba(255, 255, 255, .45); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.t2-scroll i { width: 1px; height: 34px; background: linear-gradient(rgba(255, 255, 255, .5), transparent); }

/* ---------------- 通用标题 ---------------- */
body.tpl2 .sec { padding: 96px 0; }
body.tpl2 .sec--soft { background: var(--s-surface); }
body.tpl2 .eyebrow { color: var(--s-brand); letter-spacing: 3px; font-size: 11.5px; }
body.tpl2 .eyebrow::before { width: 26px; }
body.tpl2 .sec-hd h2 { font-weight: 500; letter-spacing: 1.5px; }
body.tpl2 .sec-hd p { color: var(--s-muted); font-size: 14.5px; letter-spacing: .3px; }
body.tpl2 .link-more { color: var(--s-brand); letter-spacing: 1.5px; font-size: 13px; font-weight: 500; }

/* ---------------- 简介 ---------------- */
.t2-intro { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.t2-intro .pic { position: relative; }
.t2-intro .pic img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.t2-intro .pic .frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--s-brand); opacity: .5; z-index: -1; }
.t2-intro .quote { font-family: var(--s-font-title); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.9; color: var(--s-ink); letter-spacing: .5px; }
.t2-intro .quote::before { content: "“"; font-size: 44px; color: var(--s-brand); line-height: 0; vertical-align: -12px; margin-right: 4px; }
.t2-intro .prose { margin-top: 26px; font-size: 14.5px; line-height: 2.05; color: var(--s-ink-2); }
.t2-sign { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--s-line); display: flex; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: 2px; color: var(--s-muted); }


.t2-h1.long { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: 1px; }

/* ---------------- 数据 ---------------- */
.t2-stats { border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.t2-stats .stat-row { background: transparent; gap: 0; }
.t2-stats .stat { background: transparent; text-align: center; border-left: 1px solid var(--s-line); }
.t2-stats .stat:first-child { border-left: 0; }
.t2-stats .stat b { font-family: var(--s-font-title); font-weight: 500; font-size: 42px; letter-spacing: 0; color: var(--s-ink); }
.t2-stats .stat b em { color: var(--s-brand); font-size: 13px; letter-spacing: 1px; }
.t2-stats .stat span { letter-spacing: 1.5px; font-size: 12px; }

/* ---------------- 课程（横向目录式） ---------------- */
.t2-courses .list { border-top: 1px solid var(--s-line); }
.t2-course {
	display: grid; grid-template-columns: 64px 240px 1fr auto; gap: 30px; align-items: center;
	padding: 26px 0; border-bottom: 1px solid var(--s-line); transition: background .25s ease;
}
.t2-course:hover { background: rgba(176, 141, 87, .05); }
.t2-course .no { font-family: var(--s-font-title); font-size: 15px; color: var(--s-brand); letter-spacing: 1px; }
.t2-course .pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--s-surface); }
.t2-course .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(.94); }
.t2-course:hover .pic img { transform: scale(1.04); }
.t2-course .txt h3 { font-size: 21px; font-weight: 500; letter-spacing: .5px; line-height: 1.5; }
.t2-course .txt p { margin-top: 8px; font-size: 13.5px; color: var(--s-muted); line-height: 1.8;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t2-course .txt .meta { margin-top: 12px; display: flex; gap: 16px; font-size: 12px; color: var(--s-muted); letter-spacing: 1px; }
.t2-course .txt .meta span::before { content: "— "; color: var(--s-brand); }
.t2-course .go { text-align: right; }
.t2-course .go b { display: block; font-family: var(--s-font-title); font-size: 20px; color: var(--s-ink); font-weight: 500; }
.t2-course .go b small { font-size: 12px; color: var(--s-muted); margin-left: 4px; }
.t2-course .go span { display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: 2px; color: var(--s-brand); }
.t2-course .go span::after { content: " →"; }

/* ---------------- 资讯 ---------------- */
.t2-news .grid-3 { gap: 30px; }
.t2-ncard { display: block; padding-top: 22px; border-top: 1px solid var(--s-ink); }
.t2-ncard .date { font-size: 11.5px; letter-spacing: 2px; color: var(--s-muted); }
.t2-ncard h3 { margin-top: 14px; font-size: 18px; font-weight: 500; line-height: 1.65; letter-spacing: .5px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t2-ncard p { margin-top: 12px; font-size: 13.5px; color: var(--s-muted); line-height: 1.9;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.t2-ncard .more { display: inline-block; margin-top: 16px; font-size: 12px; letter-spacing: 2px; color: var(--s-brand); }

/* ---------------- 联系 ---------------- */
.t2-contact { background: #14120c; color: rgba(255, 255, 255, .68); position: relative; overflow: hidden; }
.t2-contact::before {
	content: ""; position: absolute; left: 50%; top: -180px; width: 640px; height: 640px; transform: translateX(-50%);
	border-radius: 50%; background: radial-gradient(circle, rgba(176, 141, 87, .16), transparent 62%);
}
.t2-contact-in { position: relative; display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.t2-contact h2 { color: #fff; font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: 1.5px; }
.t2-contact .lead { margin-top: 18px; font-size: 14.5px; line-height: 2; }
.t2-contact-info { margin-top: 32px; display: grid; gap: 18px; }
.t2-contact-info div { display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.t2-contact-info em { font-style: normal; width: 54px; flex: none; font-size: 11.5px; letter-spacing: 2px; color: var(--s-brand); }
.t2-contact-info b { color: #fff; font-weight: 400; }
.t2-form { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); padding: 28px; }
.t2-form h3 { color: #fff; font-weight: 500; font-size: 17px; letter-spacing: 1.5px; }
.t2-form .sub { margin: 8px 0 20px; font-size: 12.5px; color: rgba(255, 255, 255, .45); letter-spacing: .5px; }
.t2-form .field > span { color: rgba(255, 255, 255, .72); font-weight: 400; letter-spacing: 1px; }
.t2-form .input, .t2-form .textarea, .t2-form .select {
	background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .2);
	border-radius: 0; color: #fff; padding: 10px 0;
}
.t2-form .input::placeholder, .t2-form .textarea::placeholder { color: rgba(255, 255, 255, .3); }
.t2-form .input:focus, .t2-form .textarea:focus { border-bottom-color: var(--s-brand); box-shadow: none; }
.t2-form .form-msg.ok { background: rgba(16, 185, 129, .14); color: #6ee7b7; }
.t2-form .form-msg.err { background: rgba(239, 68, 68, .14); color: #fca5a5; }

/* ---------------- 单页模式 ---------------- */
body.tpl2 .t1-about .txt h2 { font-weight: 500; letter-spacing: 1px; }
body.tpl2 .feature { border: 0; border-top: 1px solid var(--s-line); border-radius: 0; background: transparent; padding: 26px 0 0; }
body.tpl2 .feature .ico { border-radius: 0; background: transparent; color: var(--s-brand); border: 1px solid var(--s-line); }
body.tpl2 .gallery a { border-radius: 0; }
body.tpl2 .ccard { border-radius: 0; }
body.tpl2 .page-head { background: #14120c; border-bottom: 0; }
body.tpl2 .page-head h1 { color: #fff; font-weight: 500; letter-spacing: 1.5px; }
body.tpl2 .page-head .crumb { color: rgba(255, 255, 255, .45); }
body.tpl2 .page-head .crumb a:hover { color: var(--s-brand); }
body.tpl2 .pager a, body.tpl2 .pager span { border-radius: 0; }
body.tpl2 .filter-bar a { border-radius: 0; letter-spacing: 1px; font-size: 13px; }
body.tpl2 .card-flat, body.tpl2 .side-card { border-radius: 0; }
body.tpl2 .side-card { background: #f5f1e8; }
body.tpl2 .ft { background: #0d0c08; }
body.tpl2 .float a, body.tpl2 .float button { border-radius: 0; }

/* ---------------- 课程详情 ---------------- */
body.tpl2 .cd-block { border-radius: 0; background: transparent; border: 0; border-top: 1px solid var(--s-line); padding: 30px 0; }
body.tpl2 .cd-block > h3::before { background: var(--s-brand); width: 3px; }
body.tpl2 .cd-specs { border-radius: 0; background: var(--s-line); }
body.tpl2 .cd-specs div { background: var(--s-bg); }
body.tpl2 .cd-price b { color: var(--s-brand); font-family: var(--s-font-title); font-weight: 500; }

@media (max-width: 1080px) {
	.t2-intro { grid-template-columns: 1fr; gap: 40px; }
	.t2-course { grid-template-columns: 40px 180px 1fr; gap: 20px; }
	.t2-course .go { grid-column: 2 / -1; text-align: left; display: flex; align-items: baseline; gap: 16px; }
	.t2-contact-in { grid-template-columns: 1fr; gap: 36px; }
	.t2-h1 { letter-spacing: 1px; }
}
@media (max-width: 560px) {
	.t2-hero { min-height: auto; }
	.t2-hero-in { padding: 64px 0 72px; }
	.t2-course { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
	.t2-course .no { display: none; }
	.t2-course .go { grid-column: auto; }
	.t2-intro .pic .frame { display: none; }
	.t2-form { padding: 20px; }
}

@media (max-width: 820px) {
	.t2-scroll { display: none; }
	.t2-est { flex-wrap: wrap; justify-content: flex-start; letter-spacing: 2px; font-size: 10.5px; text-align: left; }
	.t2-est::before, .t2-est::after { width: 18px; }
	.t2-h1 { letter-spacing: .5px; }
	.t2-sub { -webkit-line-clamp: 3; font-size: 15px; line-height: 1.9; }
	.t2-hero-in { padding: 72px 0 64px; }
}
