/* ==========================================================================
   Tech9 — WordPress 7.0 block theme
   Màu đọc từ preset theme.json (đổi trong Styles hoặc biến thể "Sáng").
   ========================================================================== */

:root {
	--tech9-radius: var(--wp--custom--radius, 10px);
}

html { color-scheme: dark; scroll-behavior: smooth; }
html.tech9-light { color-scheme: light; }

/* Chế độ sáng bật tại runtime (nút ☾/☀) — ghi đè preset ngay trên body.
   Biến thể "Sáng" trong Site Editor dùng styles/light.json, độc lập với nút này. */
html.tech9-light body {
	--wp--preset--color--base: #f5f7fa;
	--wp--preset--color--surface: #ffffff;
	--wp--preset--color--surface-2: #f1f4f8;
	--wp--preset--color--panel: #eef3f9;
	--wp--preset--color--footer: #eef1f5;
	--wp--preset--color--border: #e2e7ee;
	--wp--preset--color--border-soft: #edf0f5;
	--wp--preset--color--text: #0f1722;
	--wp--preset--color--text-2: #33404f;
	--wp--preset--color--text-3: #4a5667;
	--wp--preset--color--muted: #647082;
	--wp--preset--color--muted-2: #94a0b0;
}

body {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--text);
	-webkit-font-smoothing: antialiased;
	transition: background-color .2s ease, color .2s ease;
}
img { max-width: 100%; height: auto; }

/* ===== Header ===== */
.tech9-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: color-mix(in srgb, var(--wp--preset--color--base) 90%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--wp--preset--color--border-soft);
}
.tech9-header__row { padding: 12px 28px; gap: 16px; }
.tech9-brand { gap: 11px; }
.tech9-mark {
	width: 34px; height: 34px; flex: none; display: block;
}
.tech9-mark svg { width: 100%; height: 100%; display: block; }
.tech9-logo { font-size: 23px; font-weight: 800; letter-spacing: -0.03em; }
.tech9-logo a { text-decoration: none; color: var(--wp--preset--color--text); }
.tech9-logo a::after { content: "."; color: var(--wp--preset--color--accent); }

.tech9-searchbox { flex: 1; max-width: 440px; }
.tech9-searchbox .wp-block-search__inside-wrapper {
	background: var(--wp--preset--color--surface-2);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	padding: 3px 3px 3px 16px;
	overflow: hidden;
}
.tech9-searchbox .wp-block-search__input {
	border: 0; background: transparent;
	color: var(--wp--preset--color--text);
	font-size: 14px; padding: 7px 0;
}
.tech9-searchbox .wp-block-search__input::placeholder { color: var(--wp--preset--color--muted-2); }
.tech9-searchbox .wp-block-search__input:focus { outline: none; }
.tech9-searchbox .wp-block-search__button {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-ink);
	border: 0; border-radius: 999px;
	font-weight: 700; font-size: 13px;
	padding: 8px 16px; margin: 0; cursor: pointer;
}
.tech9-searchbox--page { max-width: 520px; margin: 18px 0 22px; }

.tech9-header__actions { gap: 10px; }
.tech9-toggle {
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface-2);
	color: var(--wp--preset--color--text);
	border-radius: 999px; padding: 8px 14px;
	font-family: inherit; font-size: 12.5px; font-weight: 600;
	cursor: pointer; white-space: nowrap;
	transition: border-color .15s ease;
}
.tech9-toggle:hover { border-color: var(--wp--preset--color--accent); }
.tech9-langs { display: inline-flex; align-items: center; gap: 2px; }
.tech9-langs__item {
	font-size: 12px; font-weight: 700; letter-spacing: .02em;
	color: var(--wp--preset--color--muted); text-decoration: none;
	padding: 5px 8px; border-radius: 7px; line-height: 1;
	transition: color .15s ease, background-color .15s ease;
}
.tech9-langs__item:hover { color: var(--wp--preset--color--text); }
.tech9-langs__item.is-current { color: var(--wp--preset--color--accent-ink); background: var(--wp--preset--color--accent); }
.tech9-nav a { font-size: 13.5px; color: var(--wp--preset--color--text-3); }
.tech9-nav a:hover { color: var(--wp--preset--color--text); }

.tech9-catnav-row { border-top: 1px solid var(--wp--preset--color--border-soft); padding: 0 20px; }
.tech9-catnav-inner { gap: 2px; }
.tech9-catnav-home { margin: 0; flex: 0 0 auto; }
.tech9-catnav-home a {
	display: block; padding: 11px 12px;
	font-size: 13px; font-weight: 600;
	color: var(--wp--preset--color--text);
	text-decoration: none;
	border-bottom: 2px solid var(--wp--preset--color--accent);
}
ul.tech9-catnav { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
ul.tech9-catnav li a {
	display: block; padding: 11px 12px;
	font-size: 13px; font-weight: 600;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
ul.tech9-catnav li a:hover { color: var(--wp--preset--color--text); border-bottom-color: var(--wp--preset--color--accent); }

/* ===== Layout chung ===== */
.tech9-main { max-width: 1240px; margin: 0 auto; padding: 0 28px 44px; }
.tech9-section { margin-top: 34px; }
.tech9-sechead { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 20px; }
.tech9-sechead::before { content: ""; width: 4px; height: 20px; background: var(--wp--preset--color--accent); border-radius: 2px; }

/* ===== Ticker ===== */
.tech9-ticker { gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--wp--preset--color--border-soft); overflow: hidden; }
.tech9-ticker__label {
	flex: 0 0 auto; margin: 0;
	font-size: 11px; font-weight: 700; letter-spacing: .02em;
	color: var(--wp--preset--color--accent-ink);
	background: var(--wp--preset--color--accent);
	padding: 3px 9px; border-radius: 8px;
}
.tech9-ticker__query { flex: 1; min-width: 0; overflow: hidden; }
.tech9-ticker__query .wp-block-post-template {
	display: flex; gap: 28px; margin: 0; padding: 0; list-style: none;
	width: max-content; white-space: nowrap;
	animation: tech9-marquee 36s linear infinite;
}
.tech9-ticker__query:hover .wp-block-post-template { animation-play-state: paused; }
.tech9-ticker__query .wp-block-post-template > li { margin: 0 !important; }
.tech9-ticker__item { margin: 0; font-size: 12px; font-weight: 500; }
.tech9-ticker__item a { color: var(--wp--preset--color--muted); text-decoration: none; }
.tech9-ticker__item a:hover { color: var(--wp--preset--color--text); }
@keyframes tech9-marquee { from { transform: translateX(20%); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .tech9-ticker__query .wp-block-post-template { animation: none; } }

/* ===== Đọc tiếp bài dở ===== */
.tech9-resume {
	display: flex; align-items: center; gap: 14px;
	margin: 16px 0 0; padding: 10px 16px;
	background: linear-gradient(160deg, var(--wp--preset--color--panel), var(--wp--preset--color--surface));
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--tech9-radius);
	font-size: 13px;
}
.tech9-resume[hidden] { display: none; }
.tech9-resume__k { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--wp--preset--color--accent); }
.tech9-resume__t { flex: 1; min-width: 0; font-weight: 600; color: var(--wp--preset--color--text); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tech9-resume__t:hover { color: var(--wp--preset--color--accent); }
.tech9-resume__p { flex: 0 0 auto; font-size: 11.5px; color: var(--wp--preset--color--muted); }
.tech9-resume button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--wp--preset--color--muted-2); cursor: pointer; font-size: 13px; }
.tech9-resume button:hover { color: var(--wp--preset--color--text); }

/* ===== Hero ===== */
.tech9-hero { margin-top: 26px; gap: 22px; }
.tech9-hero__cover {
	border-radius: var(--tech9-radius);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	align-items: flex-end;
	background: repeating-linear-gradient(135deg, var(--wp--preset--color--surface), var(--wp--preset--color--surface) 11px, var(--wp--preset--color--surface-2) 11px, var(--wp--preset--color--surface-2) 22px);
}
.tech9-hero__cover .wp-block-cover__inner-container {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
	padding: 28px; text-align: left;
}
.tech9-hero__title { margin: 0; font-size: 30px; line-height: 1.2; }
.tech9-hero__title a { color: #fff; text-decoration: none; }
.tech9-hero__lede { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.78); }

.tech9-badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.tech9-badge a {
	display: inline-block;
	color: var(--wp--preset--color--accent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
	padding: 4px 11px; border-radius: 999px;
	text-decoration: none; text-transform: uppercase;
}
.tech9-badge--sm a { font-size: 10px; padding: 3px 9px; }
.tech9-meta { gap: 10px; font-size: 12px; color: var(--wp--preset--color--muted); }
.tech9-meta a, .tech9-meta time { color: inherit; text-decoration: none; }
.tech9-meta-strong { font-size: 13px; font-weight: 700; }

/* Rail cạnh hero */
.tech9-rail__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.tech9-rail__list > li { border-bottom: 1px solid var(--wp--preset--color--border-soft); padding: 12px 0; margin: 0; }
.tech9-rail__list > li:first-child { padding-top: 0; }
.tech9-rail__list > li:last-child { border-bottom: 0; }
.tech9-rail__item { gap: 12px; }
.tech9-rail__thumb {
	flex: 0 0 96px; width: 96px; height: 64px; margin: 0;
	border-radius: 8px; border: 1px solid var(--wp--preset--color--border);
	overflow: hidden;
	background: repeating-linear-gradient(135deg, var(--wp--preset--color--surface), var(--wp--preset--color--surface) 9px, var(--wp--preset--color--surface-2) 9px, var(--wp--preset--color--surface-2) 18px);
}
.tech9-rail__thumb a { display: block; width: 100%; height: 100%; }
.tech9-rail__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; color: transparent; }
.tech9-rail__title { margin: 6px 0 0; font-size: 14.5px; line-height: 1.35; font-weight: 700; }
.tech9-rail__title a { text-decoration: none; color: var(--wp--preset--color--text); }
.tech9-rail__title a:hover { color: var(--wp--preset--color--accent); }

/* ===== Lưới card ===== */
.tech9-grid { gap: 22px; }
.tech9-grid > li { margin: 0; }
.tech9-card {
	height: 100%;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--tech9-radius);
	overflow: hidden;
	transition: transform .15s ease, border-color .15s ease;
}
.tech9-card:hover { transform: translateY(-2px); border-color: var(--wp--preset--color--accent); }
.tech9-card__thumb {
	margin: 0; aspect-ratio: 16/9; overflow: hidden;
	border-bottom: 1px solid var(--wp--preset--color--border-soft);
	background: repeating-linear-gradient(135deg, var(--wp--preset--color--surface), var(--wp--preset--color--surface) 11px, var(--wp--preset--color--surface-2) 11px, var(--wp--preset--color--surface-2) 22px);
}
.tech9-card__thumb a { display: block; width: 100%; height: 100%; }
.tech9-card__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; color: transparent; }
.tech9-card__body { padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tech9-card__title { margin: 0; font-size: 15.5px; line-height: 1.35; }
.tech9-card__title a { text-decoration: none; color: var(--wp--preset--color--text); }
.tech9-card__title a:hover { color: var(--wp--preset--color--accent); }
.tech9-card__excerpt { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--wp--preset--color--text-3); }
.tech9-card__excerpt .wp-block-post-excerpt__more-text,
.tech9-card__excerpt .wp-block-post-excerpt__more-link { display: none; }

/* ===== Teaser ngang ===== */
.tech9-list { margin: 0; padding: 0; list-style: none; }
.tech9-list > li { margin: 0; border-bottom: 1px solid var(--wp--preset--color--border-soft); }
.tech9-list > li:last-child { border-bottom: 0; }
.tech9-teaser { gap: 18px; padding: 16px 0; }
.tech9-teaser__thumb {
	flex: 0 0 220px; width: 220px; aspect-ratio: 16/9; margin: 0;
	border-radius: 8px; border: 1px solid var(--wp--preset--color--border);
	overflow: hidden;
	background: repeating-linear-gradient(135deg, var(--wp--preset--color--surface), var(--wp--preset--color--surface) 11px, var(--wp--preset--color--surface-2) 11px, var(--wp--preset--color--surface-2) 22px);
}
.tech9-teaser__thumb a { display: block; width: 100%; height: 100%; }
.tech9-teaser__thumb img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.tech9-teaser__title { margin: 6px 0 6px; font-size: 17px; line-height: 1.3; }
.tech9-teaser__title a { text-decoration: none; color: var(--wp--preset--color--text); }
.tech9-teaser__title a:hover { color: var(--wp--preset--color--accent); }

/* ===== Sidebar ===== */
.tech9-panel {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--tech9-radius);
	padding: 20px;
}
.tech9-panel__h { margin: 0 0 10px; font-size: 15px; }
.tech9-mostread { margin: 0; padding: 0; list-style: none; counter-reset: tech9; }
.tech9-mostread > li {
	counter-increment: tech9;
	display: flex; gap: 12px; align-items: baseline;
	padding: 10px 0; margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--border-soft);
}
.tech9-mostread > li:last-child { border-bottom: 0; }
.tech9-mostread > li::before {
	content: counter(tech9, decimal-leading-zero);
	flex: 0 0 auto;
	white-space: nowrap;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px; font-weight: 600;
	color: var(--wp--preset--color--accent);
}
.tech9-mostread .wp-block-post-title { margin: 0; font-size: 13.5px; line-height: 1.4; font-weight: 600; }
.tech9-mostread .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--text); }
.tech9-mostread .wp-block-post-title a:hover { color: var(--wp--preset--color--accent); }

.tech9-newsletter {
	background: linear-gradient(160deg, var(--wp--preset--color--panel), var(--wp--preset--color--surface));
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--tech9-radius);
	padding: 22px;
	margin-top: 20px;
}
.tech9-newsletter__kicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--wp--preset--color--accent); }
.tech9-newsletter h3 { margin: 10px 0 8px; font-size: 17px; line-height: 1.25; }
.tech9-newsletter p:not(.tech9-newsletter__kicker) { margin: 0 0 14px; font-size: 12px; line-height: 1.55; color: var(--wp--preset--color--muted); }

/* Bản tin — form đăng ký */
.tech9-newsletter__form { margin-top: 4px; }
.tech9-newsletter__row { display: flex; gap: 8px; flex-wrap: wrap; }
.tech9-newsletter__input {
	flex: 1 1 180px; min-width: 0; padding: 10px 12px;
	font-size: 13px; color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
}
.tech9-newsletter__input::placeholder { color: var(--wp--preset--color--muted-2); }
.tech9-newsletter__input:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: transparent; }
.tech9-newsletter__submit { white-space: nowrap; }
.tech9-newsletter__submit:disabled { opacity: .6; cursor: progress; }
.tech9-newsletter__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tech9-newsletter p.tech9-newsletter__msg { margin: 12px 0 0; font-size: 12px; line-height: 1.5; min-height: 1em; color: var(--wp--preset--color--muted); }
.tech9-newsletter p.tech9-newsletter__msg.is-ok { color: var(--wp--preset--color--accent); }
.tech9-newsletter p.tech9-newsletter__msg.is-error { color: #ff6b6b; }

/* ===== Bài viết ===== */
.tech9-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none; margin: 0; }
.tech9-progress__bar { height: 3px; width: 0; background: var(--wp--preset--color--accent); }

.tech9-article { padding-top: 34px; }
.tech9-crumbs { font-size: 12px; color: var(--wp--preset--color--muted); margin-bottom: 14px; }
.tech9-crumbs a { color: var(--wp--preset--color--muted); text-decoration: none; }
.tech9-crumbs a:hover { color: var(--wp--preset--color--text); }
.tech9-article__title { font-size: clamp(30px, 4vw, 38px); line-height: 1.14; letter-spacing: -0.028em; margin: 14px 0 12px; }
.tech9-article__lede { font-size: 17px; line-height: 1.6; color: var(--wp--preset--color--text-3); margin: 0 0 18px; }
.tech9-article__lede .wp-block-post-excerpt__more-text,
.tech9-article__lede .wp-block-post-excerpt__more-link { display: none; }
.tech9-article__meta {
	gap: 10px; padding: 14px 0; margin-bottom: 22px;
	border-top: 1px solid var(--wp--preset--color--border-soft);
	border-bottom: 1px solid var(--wp--preset--color--border-soft);
	font-size: 13px;
}
.tech9-avatar img { border-radius: 50%; }
.tech9-article__hero { margin-bottom: 26px; }
.tech9-article__hero img { border-radius: var(--tech9-radius); border: 1px solid var(--wp--preset--color--border); }

.tech9-article .wp-block-post-content { font-size: 16.5px; line-height: 1.75; color: var(--wp--preset--color--text-2); }
.tech9-article .wp-block-post-content h2 { font-size: 24px; margin: 34px 0 12px; color: var(--wp--preset--color--text); }
.tech9-article .wp-block-post-content h3 { font-size: 19px; margin: 28px 0 10px; color: var(--wp--preset--color--text); }
.tech9-article .wp-block-post-content a { color: var(--wp--preset--color--accent); text-decoration-color: color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent); }
.tech9-article .wp-block-post-content img { border-radius: var(--tech9-radius); }

.tech9-tags { margin-top: 26px; font-size: 12px; color: var(--wp--preset--color--muted-2); }
.tech9-tags a {
	display: inline-block; margin: 0 4px 6px 0; padding: 4px 11px;
	background: var(--wp--preset--color--surface-2);
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--text-3);
	border-radius: 999px; text-decoration: none; font-size: 12px;
}
.tech9-tags a:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--text); }

.tech9-nextprev {
	margin: 26px 0 0; padding: 18px 20px;
	background: linear-gradient(160deg, var(--wp--preset--color--panel), var(--wp--preset--color--surface));
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--tech9-radius);
	font-size: 13.5px;
}
.tech9-nextprev a { font-weight: 700; text-decoration: none; color: var(--wp--preset--color--text); }
.tech9-nextprev a:hover { color: var(--wp--preset--color--accent); }

/* Bình luận */
.tech9-comments { margin-top: 34px; border-top: 1px solid var(--wp--preset--color--border-soft); padding-top: 22px; }
.tech9-comments .wp-block-comments-title { font-size: 18px; margin: 0 0 16px; }
.tech9-comment { gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--wp--preset--color--border-soft); }
.tech9-comment__head { gap: 10px; align-items: baseline; }
.tech9-comment__head .wp-block-comment-author-name { font-size: 13.5px; font-weight: 700; }
.tech9-comment__head .wp-block-comment-date { font-size: 11.5px; color: var(--wp--preset--color--muted-2); }
.tech9-comment .wp-block-comment-content { font-size: 14px; line-height: 1.6; color: var(--wp--preset--color--text-2); }
.tech9-comment .wp-block-comment-reply-link { font-size: 12px; }
.tech9-comment .wp-block-comment-reply-link a { color: var(--wp--preset--color--accent); text-decoration: none; }
.tech9-comments input[type="text"],
.tech9-comments input[type="email"],
.tech9-comments input[type="url"],
.tech9-comments textarea {
	width: 100%;
	background: var(--wp--preset--color--surface-2);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	color: var(--wp--preset--color--text);
	padding: 10px 14px;
	font-family: inherit; font-size: 14px;
}
.tech9-comments input:focus, .tech9-comments textarea:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; }
.tech9-comments .form-submit .submit {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-ink);
	border: 0; border-radius: 999px;
	font-weight: 700; font-size: 13px;
	padding: 10px 20px; cursor: pointer;
}

/* Đọc thêm */
.tech9-related { max-width: 1240px; margin: 40px auto 0; padding: 0 28px 8px; }

/* ===== Archive / tìm kiếm / 404 ===== */
.tech9-archive__head { padding: 34px 0 8px; }
.tech9-archive__title { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 8px; }
.tech9-archive__desc { color: var(--wp--preset--color--text-3); font-size: 14.5px; max-width: 640px; }
.tech9-pagination { margin-top: 28px; font-size: 13.5px; gap: 6px; }
.tech9-pagination a, .tech9-pagination .page-numbers { color: var(--wp--preset--color--text-3); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.tech9-pagination a:hover { color: var(--wp--preset--color--text); background: var(--wp--preset--color--surface-2); }
.tech9-pagination .current { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-ink); font-weight: 700; }
.tech9-404 { text-align: center; padding: 70px 0 90px; }
.tech9-404__code { font-size: 84px; margin: 0; color: var(--wp--preset--color--accent); }
.tech9-404__lede { color: var(--wp--preset--color--text-3); max-width: 460px; margin: 12px auto 22px; }
.tech9-404 .tech9-searchbox--page { margin: 0 auto 22px; }

/* ===== Footer ===== */
.tech9-footer { border-top: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--footer); margin-top: 44px; }
.tech9-footer__grid { max-width: 1240px; margin: 0 auto; padding: 34px 28px 26px; gap: 32px; }
.tech9-footer__h { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--wp--preset--color--muted-2); text-transform: uppercase; }
.tech9-footer__about { font-size: 13px; color: var(--wp--preset--color--muted); line-height: 1.6; }
ul.tech9-footer__list { list-style: none; margin: 0; padding: 0; }
ul.tech9-footer__list li a { display: block; font-size: 13px; color: var(--wp--preset--color--text-3); text-decoration: none; padding: 5px 0; }
ul.tech9-footer__list li a:hover { color: var(--wp--preset--color--text); }
.tech9-social { margin-top: 14px; }
.tech9-footer__bar {
	max-width: 1240px; margin: 0 auto; padding: 16px 28px;
	border-top: 1px solid var(--wp--preset--color--border-soft);
}
.tech9-footer__bar p { margin: 0; font-size: 11px; color: var(--wp--preset--color--muted-2); }

.tech9-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 70;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface-2);
	color: var(--wp--preset--color--text);
	font-size: 16px; cursor: pointer;
	opacity: 0; pointer-events: none;
	transition: opacity .2s ease;
}
.tech9-top.is-visible { opacity: 1; pointer-events: auto; }

/* ===== Responsive =====
   (Ẩn/hiện block theo viewport chỉnh thêm được ngay trong editor — tính năng WP 7.0:
   Mobile ≤480, Tablet 480–782, Desktop >782.) */
@media (max-width: 781px) {
	.tech9-header__row { flex-wrap: wrap; padding: 10px 16px; }
	.tech9-searchbox { order: 3; flex-basis: 100%; max-width: none; }
	.tech9-catnav-row { padding: 0 8px; overflow-x: auto; }
	ul.tech9-catnav { flex-wrap: nowrap; }
	.tech9-main { padding: 0 16px 32px; }
	.tech9-grid { grid-template-columns: 1fr !important; }
	.tech9-teaser__thumb { flex-basis: 128px; width: 128px; aspect-ratio: 4/3; }
	.tech9-footer__grid { padding: 26px 16px; }
	.tech9-related { padding: 0 16px 8px; }
	.tech9-hero__title { font-size: 24px; }
}
