/* Tra Mệnh — màu và font lấy từ bản mẫu pt/cong-cu-tra-menh.html. */
:root {
	--tm-bg: #FBFAF7;
	--tm-surface: #FFFFFF;
	--tm-ink: #1F1D1A;
	--tm-muted: #55514A;
	--tm-line: #E4DFD5;
	--tm-line-strong: #CFC8BB;
	--tm-accent: #9E2A1C;
	--tm-accent-ink: #FFFFFF;
	--tm-good: #2E6650;
	--tm-good-bg: #DCEBE3;
	--tm-bad: #7A3A14;
	--tm-bad-bg: #F3ECE2;
	--tm-note: #F6F1E7;
	--tm-serif: Lora, Georgia, "Times New Roman", serif;
}

body {
	background: var(--tm-bg);
	color: var(--tm-ink);
	font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	line-height: 1.6;
}

a { color: var(--tm-accent); }
:focus-visible { outline: 3px solid var(--tm-accent); outline-offset: 2px; }

/* Breadcrumb của Rank Math */
.rank-math-breadcrumb { font-size: 14px; color: var(--tm-muted); margin-bottom: 20px; }
.rank-math-breadcrumb a { color: var(--tm-muted); }

/* Bố cục */
.tm-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
	gap: 40px;
	align-items: start;
}
@media (max-width: 900px) {
	.tm-layout { grid-template-columns: minmax(0, 1fr); }
}
.tm-aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 20px;
}
@media (max-width: 900px) {
	.tm-aside { position: static; }
	.tm-toc { display: none; }
}

/* Tiêu đề */
.tm-title {
	font-family: var(--tm-serif);
	font-weight: 700;
	font-size: clamp(28px, 4.5vw, 40px);
	line-height: 1.2;
	margin: 0 0 14px;
}
.tm-lead { font-size: 18px; margin: 0 0 10px; }
.tm-byline { font-size: 14px; color: var(--tm-muted); margin: 0; }

/* Khối nội dung */
.tm-sec { margin-top: 40px; }
.tm-sec h2 {
	font-family: var(--tm-serif);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.3;
	margin: 0 0 8px;
}
.tm-sec > p { color: var(--tm-muted); margin: 0 0 16px; }
.tm-sub { font-size: 17px; font-weight: 700; margin: 24px 0 12px; }
.is-good { color: var(--tm-good); }
.is-bad { color: var(--tm-bad); }
.tm-hint { font-size: 14px; color: var(--tm-muted); margin: 12px 0 0; }

.tm-box {
	border: 1px solid var(--tm-line);
	border-radius: 10px;
	padding: 16px;
	background: var(--tm-surface);
}
.tm-box h3 { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.tm-box p { margin: 8px 0 0; font-size: 14px; color: var(--tm-muted); }
.tm-aside .tm-box h2,
.tm-toc h2 { font-size: 16px; font-weight: 700; margin: 0 0 10px; font-family: inherit; }

.tm-cols3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
}

/* Thông tin nhanh */
.tm-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0 24px;
	margin: 16px 0 0;
	border-top: 1px solid var(--tm-line);
}
.tm-facts div { padding: 12px 0; border-bottom: 1px solid var(--tm-line); }
.tm-facts dt { font-size: 13px; color: var(--tm-muted); font-weight: 400; }
.tm-facts dd { margin: 0; font-weight: 600; }
.tm-note {
	background: var(--tm-note);
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 15px;
	margin: 18px 0 0;
}

/* Màu, số */
.tm-sw { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.tm-sw span { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; }
.tm-sw i {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid var(--tm-line-strong);
	display: inline-block;
}
.tm-nums { font-family: var(--tm-serif); font-size: 28px; font-weight: 700; letter-spacing: .04em; }

/* Hướng nhà */
.tm-dirs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tm-dir h3 span { display: block; font-weight: 500; font-size: 14px; color: var(--tm-muted); }
.tm-dir h4 { font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
.tm-compass { width: 100%; max-width: 260px; height: auto; display: block; margin: 8px auto 0; }
.tm-cp-good { fill: var(--tm-good-bg); stroke: var(--tm-surface); stroke-width: 2; }
.tm-cp-bad { fill: var(--tm-bad-bg); stroke: var(--tm-surface); stroke-width: 2; }
.tm-cp-dir { font-size: 13px; font-weight: 700; text-anchor: middle; }
.tm-cp-dir.is-good { fill: var(--tm-good); }
.tm-cp-dir.is-bad { fill: var(--tm-bad); }
.tm-cp-star { font-size: 11.5px; text-anchor: middle; fill: var(--tm-ink); }
.tm-cp-hub { fill: var(--tm-surface); stroke: var(--tm-line-strong); }
.tm-cp-needle { fill: var(--tm-accent); }
.tm-cp-north { font-size: 12px; font-weight: 600; text-anchor: middle; fill: var(--tm-muted); }

/* Danh sách 2 cột (sao – hướng, tuổi – năm) */
.tm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tm-list li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	border-bottom: 1px solid var(--tm-line);
	padding-bottom: 6px;
	margin: 0;
}
.tm-list li span { color: var(--tm-muted); text-align: right; }
.tm-box .tm-list { margin-top: 10px; }
.tm-box .tm-rel { font-family: var(--tm-serif); font-size: 20px; font-weight: 700; color: var(--tm-ink); margin: 0; }

/* Câu hỏi thường gặp */
.tm-faq details { border-bottom: 1px solid var(--tm-line); padding: 12px 0; }
.tm-faq summary { cursor: pointer; font-weight: 600; }
.tm-faq details p { margin: 8px 0 0; color: var(--tm-muted); }

/* Năm sinh liên quan + lưới năm ở trang tổng hợp */
.tm-related {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 10px;
}
.tm-related li { margin: 0; }
.tm-related a,
.tm-related .is-pending {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tm-line);
	border-radius: 8px;
	padding: 10px 12px;
	background: var(--tm-surface);
	text-decoration: none;
	color: var(--tm-ink);
	height: 100%;
}
.tm-related a:hover { border-color: var(--tm-accent); }
.tm-related span { font-size: 13px; color: var(--tm-muted); }
.tm-related .is-pending { opacity: .55; }

/* Lưới cố định số cột (Bài viết mới: 4 cột, 2 cột trên máy tính bảng/điện thoại) */
.tm-related.tm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .tm-related.tm-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Thẻ có ảnh (Bài viết mới) và ảnh đầu bài */
.tm-related a.has-img { padding: 0; overflow: hidden; }
.tm-related a.has-img .tm-card-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.tm-related a.has-img b { padding: 10px 12px 0; }
.tm-related a.has-img span { padding: 2px 12px 12px; }
.tm-cover { margin: 16px 0 24px; }
.tm-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 14px; border: 1px solid var(--tm-line); }

/* Trang chủ: mọi năm sinh, mỗi thập niên một hàng 10 thẻ gọn */
.tm-decades { display: grid; gap: 14px; }
.tm-decade { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.tm-decade h3 { margin: 0; font-size: 15px; color: var(--tm-muted); }
.tm-decade .tm-related { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.tm-decade .tm-related a,
.tm-decade .tm-related .is-pending { padding: 6px 4px; align-items: center; text-align: center; }
.tm-decade .tm-related span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 900px) {
	.tm-decade { grid-template-columns: 1fr; gap: 6px; }
	.tm-decade .tm-related { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.tm-decade .tm-related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tm-decade .tm-related a,
	.tm-decade .tm-related .is-pending { padding: 6px 2px; }
	.tm-decade .tm-related span { font-size: 11px; letter-spacing: -.01em; }
}

/* Mục lục */
.tm-toc ol { margin: 0; padding-left: 18px; font-size: 15px; }
.tm-toc li { margin: 4px 0; }

/* Ô tra năm sinh */
.tm-lookup { display: flex; flex-direction: column; gap: 8px; }
.tm-lookup label { font-size: 14px; font-weight: 500; }
.tm-lookup select {
	height: 44px;
	border: 1px solid var(--tm-line-strong);
	border-radius: 8px;
	padding: 0 10px;
	font: inherit;
	background: var(--tm-surface);
	color: var(--tm-ink);
}
.tm-lookup button {
	height: 46px;
	border: 0;
	border-radius: 8px;
	background: var(--tm-accent);
	color: var(--tm-accent-ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.tm-lookup button:hover { filter: brightness(1.08); }
.tm-lookup .tm-hint { margin: 0; }
.tm-archive-lookup { max-width: 360px; margin-top: 24px; }

.tm-disclaimer { margin-top: 40px; font-size: 14px; color: var(--tm-muted); }

/* Bảng tra (shortcode [tra_menh_bang]) */
.tm-table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--tm-line); border-radius: 10px; }
.tm-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 15px; background: var(--tm-surface); }
.tm-table th,
.tm-table td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--tm-line); text-align: left; white-space: nowrap; }
.tm-table thead th { background: var(--tm-note); font-weight: 600; font-size: 14px; }
.tm-table tbody tr:last-child > * { border-bottom: 0; }
.tm-table tbody th { font-weight: 700; }
/* Điện thoại: chữ trong ô được xuống dòng để bảng 3–4 cột vừa màn hình (trước đây cột cuối bị cắt). */
@media (max-width: 600px) {
	.tm-table { font-size: 14px; }
	.tm-table th,
	.tm-table td { white-space: normal; padding: 9px 10px; }
}
/* Bảng trong nội dung bài (kiến thức, phương pháp tính): bọc trong .tm-table-wrap bởi tm_wrap_content_tables();
   bảng nhiều cột giữ bề rộng tối thiểu và cuộn ngang trong khung, không kéo cả trang. */
.entry-content .tm-table-wrap .tm-table { min-width: 34rem; }

/* Trang và bài thường: tiêu đề cùng font với trang năm sinh */
.entry-title,
.entry-content > h2,
.entry-content > h3 { font-family: var(--tm-serif); font-weight: 700; }
.entry-title { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.2; }
.entry-content > h2 { font-size: 24px; margin-top: 1.6em; }

/* Ô hướng khi chỉ có một người (công cụ tra): la bàn bên trái, danh sách bên phải */
@media (min-width: 621px) {
	.tm-dir:only-child { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 0 28px; align-items: start; }
	.tm-dir:only-child > h3 { grid-column: 1 / -1; }
	.tm-dir:only-child > svg { grid-column: 1; grid-row: 2 / span 4; }
	.tm-dir:only-child > h4,
	.tm-dir:only-child > ul { grid-column: 2; }
}

/* Danh sách link dạng chip (cặp tuổi) */
.tm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-chips li { margin: 0; }
.tm-chips a {
	display: inline-block;
	border: 1px solid var(--tm-line-strong);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 14px;
	text-decoration: none;
	color: var(--tm-ink);
	background: var(--tm-surface);
}
.tm-chips a:hover { border-color: var(--tm-accent); color: var(--tm-accent); }

/* Bảng điểm cặp tuổi */
.tm-score {
	display: grid;
	grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	border: 1px solid var(--tm-line);
	border-radius: 12px;
	padding: 24px;
	background: var(--tm-surface);
}
@media (max-width: 620px) { .tm-score { grid-template-columns: minmax(0, 1fr); } }
.tm-score-total { text-align: center; }
.tm-score-total b { font-family: var(--tm-serif); font-size: 64px; line-height: 1; }
.tm-score-total span { font-size: 18px; color: var(--tm-muted); }
.tm-score-total em { display: block; font-style: normal; font-weight: 700; font-size: 18px; margin-top: 6px; }
.tm-lv-4 .tm-score-total b, .tm-lv-4 .tm-score-total em,
.tm-lv-3 .tm-score-total b, .tm-lv-3 .tm-score-total em { color: var(--tm-good); }
.tm-lv-1 .tm-score-total b, .tm-lv-1 .tm-score-total em { color: var(--tm-bad); }
.tm-score-rows { margin: 0; }
.tm-score-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--tm-line); }
.tm-score-rows div:last-child { border-bottom: 0; }
.tm-score-rows dt { color: var(--tm-muted); font-weight: 400; }
.tm-score-rows dd { margin: 0; font-weight: 600; text-align: right; }
.tm-pts {
	display: inline-block;
	min-width: 40px;
	text-align: center;
	border-radius: 6px;
	padding: 0 6px;
	font-weight: 700;
	font-size: 14px;
	background: var(--tm-note);
}
.tm-pts-2 { background: var(--tm-good-bg); color: var(--tm-good); }
.tm-pts-0 { background: var(--tm-bad-bg); color: var(--tm-bad); }
.tm-sec > p.tm-crit { color: var(--tm-ink); }
.tm-crit .tm-pts { margin-right: 6px; }
.tm-advice { margin: 0 0 0 20px; }
.tm-advice li { margin: 0 0 8px; }

/* Trang tổng hợp có form: trên điện thoại đưa form lên đầu */
@media (max-width: 900px) { .tm-archive-form .tm-aside { order: -1; } .tm-archive-form .tm-layout { display: flex; flex-direction: column; } }

/* Công cụ tra theo ngày sinh */
.tm-tool { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .tm-tool { grid-template-columns: minmax(0, 1fr); } }
.tm-tool-form { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
@media (max-width: 900px) { .tm-tool-form { position: static; } }
.entry-content .tm-tool-form h2 { font-family: inherit; font-size: 18px; margin: 0; }
.tm-row3 { display: grid; grid-template-columns: .8fr .8fr 1.1fr; gap: 10px; }
.tm-row3 label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.tm-tool select {
	height: 46px; border: 1px solid var(--tm-line-strong); border-radius: 8px; padding: 0 8px;
	font: inherit; background: var(--tm-surface); color: var(--tm-ink); width: 100%;
}
.tm-tool fieldset { border: 0; margin: 0; padding: 0; }
.tm-tool legend { font-size: 14px; font-weight: 500; margin-bottom: 6px; padding: 0; }
.tm-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-seg label {
	position: relative; display: flex; align-items: center; justify-content: center; height: 46px;
	border: 1px solid var(--tm-line-strong); border-radius: 8px; font-weight: 500; cursor: pointer;
}
.tm-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tm-seg label:has(input:checked) { border: 2px solid var(--tm-accent); color: var(--tm-accent); font-weight: 600; }
.tm-seg label:has(input:focus-visible) { outline: 3px solid var(--tm-accent); outline-offset: 2px; }
.tm-tool-form button {
	height: 50px; border: 0; border-radius: 8px; background: var(--tm-accent); color: var(--tm-accent-ink);
	font: inherit; font-weight: 600; cursor: pointer;
}
.tm-tool-form button:hover { filter: brightness(1.08); }
.tm-tool-form .tm-hint { margin: 0; }
.tm-empty {
	display: flex; flex-direction: column; gap: 10px; justify-content: center; min-height: 280px;
	border: 1px dashed var(--tm-line-strong); border-radius: 12px; padding: 32px; color: var(--tm-muted);
}
.tm-empty strong { color: var(--tm-ink); font-size: 18px; }
.tm-err { color: var(--tm-bad); background: var(--tm-bad-bg); border-radius: 8px; padding: 10px 12px; }
.tm-hero { border: 1px solid var(--tm-line); border-radius: 12px; padding: 24px; background: var(--tm-surface); }
.tm-hero-date { font-size: 15px; color: var(--tm-muted); margin: 0 0 8px; }
.entry-content .tm-hero-cc { font-family: var(--tm-serif); font-weight: 700; font-size: clamp(38px, 7vw, 56px); line-height: 1.05; margin: 0; }
.tm-hero-sub { font-size: 18px; margin: 10px 0 0; }
.tm-tool-out .tm-sec:first-of-type { margin-top: 28px; }

/* Tiêu đề khối có link "xem tất cả" */
.tm-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.tm-sec-head h2 { margin: 0; }
.tm-sec-head a { font-size: 15px; font-weight: 500; }
.tm-sec > p.tm-sec-intro { margin-top: 0; }

/* Trang chủ */
.tm-hero-home {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
	gap: 40px;
	align-items: center;
	padding-bottom: 8px;
}
@media (max-width: 900px) { .tm-hero-home { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.tm-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 600; color: var(--tm-accent); margin: 0 0 10px; }
.tm-hero-home .tm-title { font-size: clamp(30px, 5vw, 46px); max-width: 18ch; }
.tm-hero-home .tm-box h2 { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.tm-hanh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.tm-hanh h3 { font-family: var(--tm-serif); font-size: 20px; margin: 0 0 10px; }
.tm-hanh h3 a { color: var(--tm-ink); text-decoration: none; }
.tm-hanh h3 a:hover { color: var(--tm-accent); }

/* Footer */
.site-info { font-size: 14px; color: var(--tm-muted); }
.tm-foot-note { display: inline; }
.tm-related-wide { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Header: logo chữ "TM" + tên site */
.site-header { border-bottom: 1px solid var(--tm-line); }
.main-title { margin: 0; }
.tm-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tm-ink); }
/* Logo: đồng xu cổ (SVG từ tm_logo_svg()), cùng hình với favicon và ảnh do TM_Thumb::coin() vẽ. */
.tm-brand-mark { display: inline-flex; flex: none; width: 44px; height: 44px; }
.tm-brand-mark svg { display: block; width: 100%; height: 100%; }
.tm-footer-brand .tm-brand-mark { width: 40px; height: 40px; }
.tm-brand-name { font-family: var(--tm-serif); font-weight: 700; font-size: 24px; white-space: nowrap; }
@media (max-width: 480px) { .tm-brand-mark { width: 38px; height: 38px; } .tm-brand-name { font-size: 21px; } }
.main-navigation .main-nav ul li a { font-weight: 500; }
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--tm-accent); }

/* Footer nhiều cột */
.site-footer { background: #F3EEE4; border-top: 1px solid var(--tm-line); }
.tm-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .9fr);
	gap: 28px;
	padding: 44px 40px 28px;
}
/* Menu "Liên kết footer": nằm dưới nhóm "Công cụ, tra cứu", chữ 12px, bấm để mở. */
.tm-footer-links { margin-top: 8px; font-size: 12px; }
.tm-footer-links summary {
	display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
	font-size: 12px; font-weight: 600; color: var(--tm-muted); padding: 4px 0;
}
.tm-footer-links summary::-webkit-details-marker { display: none; }
.tm-footer-links summary::after {
	content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.tm-footer-links[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.tm-footer-links summary:hover { color: var(--tm-accent); }
.tm-footer-links summary:focus-visible { outline: 2px solid var(--tm-accent); outline-offset: 3px; border-radius: 4px; }
.tm-footer .tm-footer-links li { font-size: 12px; margin: 0 0 4px; }
.tm-footer-links .tm-footer-links-list { margin: 6px 0 0; }
@media (prefers-reduced-motion: reduce) { .tm-footer-links summary::after { transition: none; } }
.tm-footer-group.is-split ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
/* Máy tính bảng: phần giới thiệu chiếm cả hàng, 4 nhóm link chia 2 hàng × 2 cột. */
@media (max-width: 1000px) {
	.tm-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 36px 24px 24px; }
	.tm-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.tm-footer-inner { gap: 24px 16px; padding: 28px 18px 20px; }
	.tm-footer-group.is-split { grid-column: 1 / -1; }
	.tm-footer-group.is-split ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tm-footer p { font-size: 14px; color: var(--tm-muted); margin: 0 0 10px; }
.tm-footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--tm-serif); font-weight: 700; font-size: 20px !important; color: var(--tm-ink) !important; }
.tm-footer-title { font-weight: 700; color: var(--tm-ink) !important; font-size: 15px !important; }
.tm-footer ul { list-style: none; margin: 0; padding: 0; }
.tm-footer li { margin: 0 0 6px; font-size: 14px; }
.tm-footer a { color: var(--tm-muted); text-decoration: none; }
.tm-footer a:hover { color: var(--tm-accent); text-decoration: underline; }
.site-info { background: transparent; border-top: 1px solid var(--tm-line); }

.tm-contact-line { font-size: 18px; font-weight: 600; }
