/*
Theme Name: JSLYXZ SEO资讯主题
Theme URI: https://jslyxz.enhui99.cn/
Author: YTC
Description: 仿蓝色科技资讯门户风格的 WordPress 主题，适合网站优化、SEO知识、实战优化和推广运营内容站。
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: jslyxz-seo
*/

:root {
	--bg: #f4f8ff;
	--surface: #ffffff;
	--surface-soft: #f7fbff;
	--line: #e6eefb;
	--text: #10213d;
	--muted: #6f7f96;
	--primary: #0b74ff;
	--primary-dark: #0751c7;
	--cyan: #16d6ff;
	--green: #23c36b;
	--danger: #ff3548;
	--footer: #061a35;
	--shadow: 0 16px 40px rgba(20, 74, 135, 0.08);
	--shadow-strong: 0 18px 55px rgba(9, 71, 160, 0.16);
	--radius: 8px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: radial-gradient(circle at 20% 0, rgba(24, 142, 255, 0.08), transparent 30%), var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.68;
	letter-spacing: 0;
}

body.admin-bar .site-header {
	top: 32px;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid rgba(22, 214, 255, 0.5);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: min(1500px, calc(100% - 56px));
	margin-inline: auto;
}

.site-main {
	padding-bottom: 34px;
}

.icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(214, 229, 250, 0.8);
	box-shadow: 0 8px 24px rgba(23, 65, 126, 0.04);
}

.header-inner {
	min-height: 58px;
	display: grid;
	grid-template-columns: 245px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.brand__mark {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	color: var(--primary);
	background: linear-gradient(135deg, rgba(11, 116, 255, 0.1), rgba(22, 214, 255, 0.16));
}

.brand__mark.has-logo {
	width: auto;
	min-width: 40px;
	padding: 0;
	background: transparent;
}

.brand__logo {
	display: block;
	width: auto;
	max-width: 164px;
	max-height: 40px;
	object-fit: contain;
}

.brand__mark .icon {
	width: 28px;
	height: 28px;
	stroke-width: 2.4;
}

.brand__text {
	min-width: 0;
	display: grid;
	line-height: 1.25;
}

.brand__text strong {
	font-size: 17px;
	font-weight: 800;
	color: #071d3c;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.brand__text small {
	margin-top: 2px;
	color: var(--muted);
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.primary-nav {
	min-width: 0;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.primary-nav .menu a {
	display: inline-flex;
	align-items: center;
	min-height: 58px;
	padding: 0 14px;
	color: #263b5b;
	font-size: 15px;
	font-weight: 600;
	border-bottom: 3px solid transparent;
	transition: color 180ms ease, border-color 180ms ease;
}

.primary-nav .menu a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	color: var(--primary);
	border-bottom-color: var(--primary);
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.header-search {
	width: 205px;
	height: 38px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: #8aa0bd;
}

.header-search input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	color: var(--text);
	background: transparent;
	font-size: 13px;
}

.btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(11, 116, 255, 0.28);
}

.panel {
	background: var(--surface);
	border: 1px solid rgba(225, 235, 250, 0.9);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.panel__title {
	margin: 0 0 18px;
	color: #081c3a;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 800;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	margin-bottom: 12px;
	color: #7db9ff;
	font-size: 13px;
	font-weight: 800;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn--primary {
	color: #fff;
	background: linear-gradient(135deg, #0784ff, #005bdb);
	box-shadow: 0 12px 28px rgba(0, 101, 232, 0.28);
}

.home-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: 20px;
	margin-top: 18px;
}

.home-primary {
	min-width: 0;
}

.hero-focus-grid,
.hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.48fr) minmax(245px, 0.65fr) minmax(285px, 0.9fr);
	gap: 20px;
	margin-top: 20px;
}

.hero-focus-grid {
	grid-template-columns: minmax(0, 1fr) 300px;
	margin-top: 0;
}

.home-sidebar {
	display: grid;
	gap: 20px;
	align-content: start;
}

.hero-card {
	position: relative;
	overflow: hidden;
	min-width: 0;
	background-color: #061a45;
	background-position: center;
	background-size: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-strong);
}

.hero-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(135deg, transparent 45%, rgba(22, 214, 255, 0.14));
}

.hero-card--large {
	min-height: 388px;
}

.hero-card--compact {
	min-height: 258px;
}

.hero-card__content {
	position: relative;
	z-index: 1;
	width: min(510px, 82%);
	padding: 70px 36px 34px;
	color: #fff;
}

.hero-card__content h1,
.hero-card__content h2 {
	margin: 0 0 18px;
	font-size: 34px;
	line-height: 1.28;
	font-weight: 900;
}

.hero-card__content h2 {
	font-size: 32px;
}

.hero-card__content p {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
}

.hero-card__content ul {
	display: grid;
	gap: 8px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
}

.hero-card__content li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 9px;
	border-radius: 50%;
	background: var(--cyan);
	vertical-align: middle;
}

.slider-dots {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 26px;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}

.slider-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
}

.slider-dots span:first-child {
	background: var(--primary);
}

.focus-panel,
.rank-panel {
	padding: 22px;
}

.focus-card {
	display: grid;
	gap: 12px;
	cursor: pointer;
}

.focus-card img {
	width: 100%;
	aspect-ratio: 16 / 7.4;
	object-fit: cover;
	border-radius: var(--radius);
}

.focus-card strong {
	font-size: 16px;
	line-height: 1.45;
}

.focus-card span {
	color: var(--muted);
	font-size: 13px;
}

.mini-list {
	display: grid;
	gap: 12px;
}

.mini-list--tight {
	margin-top: 18px;
}

.article-row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 18px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	cursor: pointer;
	transition: color 180ms ease;
}

.article-row:hover .article-row__title {
	color: var(--primary);
}

.article-row:first-child {
	padding-top: 0;
}

.article-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.article-row__image {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: #e8f2ff;
}

.article-row__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 220ms ease;
}

.article-row:hover img {
	transform: scale(1.03);
}

.article-row__body {
	min-width: 0;
	display: grid;
	align-content: start;
	gap: 7px;
}

.article-row__title {
	color: #0b1d38;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.45;
	transition: color 180ms ease;
}

.article-row__meta,
.article-row__excerpt {
	color: var(--muted);
	font-size: 13px;
}

.article-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.article-row__excerpt {
	line-height: 1.7;
}

.article-row.is-compact {
	grid-template-columns: 68px minmax(0, 1fr);
	gap: 12px;
	padding: 0;
	border: 0;
}

.article-row.is-compact .article-row__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.article-row.is-compact .article-row__meta {
	font-size: 12px;
	gap: 6px;
}

.rank-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rank;
}

.rank-list li a {
	display: grid;
	grid-template-columns: 25px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 20px;
	color: #243858;
	cursor: pointer;
}

.rank-list__num {
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	background: #eef5ff;
	color: #516783;
	font-size: 12px;
	font-weight: 800;
}

.rank-list li:nth-child(-n+3) .rank-list__num {
	color: #fff;
	background: linear-gradient(135deg, #ff3149, #ff6b55);
}

.rank-list__title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 700;
}

.rank-list__views {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #8a9bb1;
	font-size: 12px;
}

.rank-list__views .icon {
	width: 14px;
	height: 14px;
}

.home-category-grid,
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 28px;
}

.home-category-grid {
	gap: 16px;
	margin-top: 18px;
}

.category-card {
	min-height: 210px;
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 24px 22px;
	background: var(--surface);
	border: 1px solid rgba(225, 235, 250, 0.9);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card:hover {
	transform: translateY(-3px);
	border-color: rgba(11, 116, 255, 0.3);
	box-shadow: var(--shadow-strong);
}

.category-card__icon {
	position: relative;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius);
	color: var(--primary);
	background: linear-gradient(135deg, rgba(11, 116, 255, 0.09), rgba(22, 214, 255, 0.18));
}

.category-card__icon::after {
	content: "";
	position: absolute;
	right: -4px;
	top: -4px;
	width: 14px;
	height: 14px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: currentColor;
}

.home-category-grid .category-card:nth-child(1) .category-card__icon {
	color: #17b892;
	background: linear-gradient(135deg, rgba(23, 184, 146, 0.1), rgba(22, 214, 255, 0.16));
}

.home-category-grid .category-card:nth-child(2) .category-card__icon {
	color: #147cff;
	background: linear-gradient(135deg, rgba(20, 124, 255, 0.1), rgba(22, 214, 255, 0.16));
}

.home-category-grid .category-card:nth-child(3) .category-card__icon {
	color: #ff6640;
	background: linear-gradient(135deg, rgba(255, 102, 64, 0.1), rgba(255, 179, 59, 0.18));
}

.home-category-grid .category-card:nth-child(4) .category-card__icon {
	color: #7b61ff;
	background: linear-gradient(135deg, rgba(123, 97, 255, 0.1), rgba(22, 214, 255, 0.16));
}

.category-card strong {
	font-size: 20px;
	line-height: 1.3;
}

.category-card ul {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
	list-style: none;
}

.category-card li:not(:last-child)::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-right: 9px;
	border-radius: 50%;
	background: #a9b8cc;
	vertical-align: middle;
}

.category-card li:last-child {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 6px;
	color: var(--primary);
	font-weight: 800;
}

.split-feature {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.topic-panel {
	padding: 24px;
}

.home-latest-panel {
	padding: 20px;
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.topic-item {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 12px;
	border-radius: var(--radius);
	background: var(--surface-soft);
	cursor: pointer;
}

.topic-item img {
	width: 86px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 6px;
}

.topic-item span {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.topic-item strong {
	font-size: 15px;
}

.topic-item small {
	color: var(--muted);
	font-size: 12px;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.section-head h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.3;
}

.section-head a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--primary);
	font-size: 14px;
	font-weight: 800;
}

.section-head > span {
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.latest-block {
	margin-top: 20px;
}

.latest-layout {
	display: grid;
	grid-template-columns: 520px minmax(0, 1fr);
	gap: 20px;
}

.text-list {
	display: grid;
	gap: 18px;
	padding: 24px;
}

.text-list a {
	display: grid;
	gap: 6px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
	cursor: pointer;
}

.text-list a:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.text-list strong {
	font-size: 18px;
	line-height: 1.4;
}

.text-list span,
.text-list small {
	color: var(--muted);
	font-size: 13px;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.post-card {
	min-width: 0;
	display: grid;
	gap: 10px;
	cursor: pointer;
}

.post-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: 0 10px 24px rgba(16, 70, 142, 0.08);
}

.post-card strong {
	display: -webkit-box;
	overflow: hidden;
	color: #10213d;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 800;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.post-card span {
	color: var(--muted);
	font-size: 12px;
}

.archive-hero {
	min-height: 220px;
	display: flex;
	align-items: center;
	margin-top: 22px;
	padding: 34px;
	color: #fff;
	background-position: center;
	background-size: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-strong);
}

.archive-hero h1,
.page-title h1 {
	margin: 0 0 14px;
	font-size: 34px;
	line-height: 1.25;
	font-weight: 900;
}

.archive-hero p,
.page-title p {
	max-width: 720px;
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
}

.archive-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 24px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 14px;
}

.archive-stats span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.archive-layout {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) 320px;
	align-items: start;
	gap: 20px;
	margin-top: 24px;
}

.category-nav {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 8px;
	padding: 18px;
}

.category-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 12px;
	border-radius: 7px;
	color: #51627c;
	font-weight: 700;
	cursor: pointer;
}

.category-nav a:hover,
.category-nav a.is-active {
	color: var(--primary);
	background: #edf5ff;
}

.side-ad {
	min-height: 170px;
	display: grid;
	align-content: end;
	gap: 16px;
	margin-top: 18px;
	padding: 22px;
	border-radius: var(--radius);
	color: #fff;
	background: linear-gradient(145deg, #052481, #0b75ff);
}

.side-ad strong {
	font-size: 20px;
	line-height: 1.35;
}

.side-ad a {
	width: max-content;
	padding: 9px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 13px;
	font-weight: 800;
}

.archive-list {
	padding: 24px;
}

.tabs {
	display: flex;
	gap: 28px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

.tabs span {
	position: relative;
	padding: 0 0 14px;
	color: var(--muted);
	font-weight: 800;
}

.tabs .is-active {
	color: var(--primary);
}

.tabs .is-active::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 32px;
	height: 3px;
	border-radius: 99px;
	background: var(--primary);
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.pagination .page-numbers {
	min-width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border-radius: 7px;
	color: #60718b;
	background: #f3f7ff;
	font-size: 14px;
	font-weight: 800;
}

.pagination .current {
	color: #fff;
	background: var(--primary);
}

.sidebar {
	display: grid;
	gap: 20px;
}

.sidebar .panel {
	padding: 24px;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-cloud a,
.tag-cloud span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	color: #2461bd;
	background: #eef5ff;
	font-size: 13px;
	font-weight: 700;
}

.guess-strip {
	margin-top: 24px;
	padding: 24px;
}

.guess-head-actions {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.guess-head-actions > span {
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.guess-controls {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.guess-scroll {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 54px) / 4);
	gap: 18px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding: 2px 0;
	scroll-snap-type: inline mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.guess-scroll::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.guess-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid #d5e4f7;
	border-radius: 6px;
	color: #1f5fb8;
	background: #f6faff;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.guess-arrow:hover {
	border-color: rgba(11, 116, 255, 0.55);
	color: #fff;
	background: var(--primary);
}

.guess-arrow__icon {
	width: 16px;
	height: 16px;
}

.guess-arrow__icon.is-prev {
	transform: rotate(180deg);
}

.guess-card {
	min-width: 0;
	display: grid;
	gap: 10px;
	scroll-snap-align: start;
	cursor: pointer;
}

.guess-card img {
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
	border-radius: var(--radius);
	background: #eaf3ff;
}

.guess-card strong {
	display: -webkit-box;
	overflow: hidden;
	color: #10213d;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 800;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.guess-card span {
	color: var(--muted);
	font-size: 13px;
}

.content-sidebar-layout,
.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	align-items: start;
	gap: 24px;
	margin-top: 24px;
}

.page-title {
	margin-top: 28px;
	padding: 30px 0 8px;
}

.page-title .eyebrow {
	color: var(--primary);
}

.page-title p {
	color: var(--muted);
}

.single-main {
	min-width: 0;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 16px;
	color: #71839e;
	font-size: 14px;
}

.breadcrumb a {
	color: #526b8e;
}

.single-card {
	padding: 28px;
	background: #fff;
	border: 1px solid rgba(225, 235, 250, 0.9);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.single-header h1 {
	margin: 0 0 14px;
	color: #071d3c;
	font-size: 34px;
	line-height: 1.28;
	font-weight: 900;
}

.single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
	color: var(--muted);
	font-size: 14px;
}

.single-cover {
	margin: 0 0 26px;
	overflow: hidden;
	border-radius: var(--radius);
	background: #eaf3ff;
}

.single-cover__img,
.single-cover img {
	width: 100%;
	aspect-ratio: 16 / 7.2;
	object-fit: cover;
}

.entry-content {
	color: #243858;
	font-size: 16px;
	line-height: 1.9;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 34px 0 14px;
	color: #071d3c;
	line-height: 1.36;
}

.entry-content h2 {
	font-size: 24px;
}

.entry-content h3 {
	font-size: 20px;
}

.entry-content p {
	margin: 0 0 18px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 22px;
	padding: 18px 22px 18px 42px;
	border-radius: var(--radius);
	background: #f5f9ff;
}

.entry-content li {
	margin: 7px 0;
}

.entry-content blockquote {
	margin: 24px 0;
	padding: 18px 22px;
	border-left: 4px solid var(--primary);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: #17355f;
	background: #f5f9ff;
	font-weight: 700;
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	overflow: hidden;
	border-radius: var(--radius);
}

.entry-content th,
.entry-content td {
	padding: 12px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: #f3f7ff;
}

.single-footer {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.tag-cloud--single {
	align-items: center;
}

.tag-cloud--single > span:first-child {
	color: var(--muted);
	background: transparent;
	padding: 0;
}

.empty-state,
.not-found {
	padding: 50px;
	text-align: center;
}

.not-found {
	margin-top: 40px;
}

.not-found h1,
.empty-state h2 {
	margin: 0 0 12px;
	font-size: 30px;
}

.not-found p,
.empty-state p {
	margin: 0 0 22px;
	color: var(--muted);
}

.site-footer {
	margin-top: 44px;
	color: rgba(255, 255, 255, 0.72);
	background: radial-gradient(circle at 8% 0, rgba(11, 116, 255, 0.2), transparent 30%), var(--footer);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.8fr 1fr 0.8fr 1.1fr;
	gap: 36px;
	padding: 44px 0 36px;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text small {
	color: #fff;
}

.footer-brand p,
.footer-contact p {
	margin: 14px 0 0;
	font-size: 14px;
}

.footer-social {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.footer-social span {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.site-footer h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 16px;
}

.footer-links {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.footer-links a {
	transition: color 180ms ease;
}

.footer-links a:hover {
	color: #fff;
}

.footer-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.footer-tags a,
.footer-tags span {
	padding: 6px 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
}

.footer-bottom {
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
	text-align: center;
}

.wp-caption,
.gallery-caption,
.bypostauthor {
	max-width: 100%;
}

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

@media (max-width: 1180px) {
	.header-inner {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	.header-actions {
		grid-column: 1 / -1;
		justify-content: space-between;
		padding-bottom: 12px;
	}

	.primary-nav .menu {
		justify-content: flex-end;
		overflow-x: auto;
	}

	.home-top,
	.hero-layout,
	.archive-layout {
		grid-template-columns: minmax(0, 1fr) 310px;
	}

	.hero-focus-grid {
		grid-template-columns: minmax(0, 1fr) 250px;
	}

	.hero-card--large {
		grid-row: span 2;
	}

	.archive-layout .category-nav {
		grid-column: 1 / -1;
		position: static;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.guess-scroll {
		grid-auto-columns: calc((100% - 36px) / 3);
	}

	.archive-list {
		grid-column: 1;
	}

	.footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.container {
		width: min(100% - 32px, 760px);
	}

	.header-inner {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 12px 0;
	}

	.brand__text strong {
		font-size: 17px;
	}

	.primary-nav .menu {
		justify-content: flex-start;
	}

	.primary-nav .menu a {
		min-height: 42px;
		padding: 0 12px;
	}

	.header-actions {
		width: 100%;
		padding-bottom: 0;
	}

	.header-search {
		width: 100%;
	}

	.home-top,
	.hero-focus-grid,
	.hero-layout,
	.split-feature,
	.latest-layout,
	.archive-layout,
	.content-sidebar-layout,
	.single-layout {
		grid-template-columns: 1fr;
	}

	.hero-card--large,
	.hero-card--compact {
		min-height: 330px;
	}

	.home-category-grid,
	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.archive-layout .category-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.sidebar .tag-panel {
		grid-column: 1 / -1;
	}

	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.guess-scroll {
		grid-auto-columns: calc((100% - 18px) / 2);
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body.admin-bar .site-header {
		top: 0;
	}

	.container {
		width: min(100% - 24px, 540px);
	}

	.site-main {
		padding-bottom: 20px;
	}

	.header-actions {
		grid-template-columns: 1fr;
	}

	.hero-card--large,
	.hero-card--compact {
		min-height: 420px;
	}

	.hero-card__content {
		width: 100%;
		padding: 34px 24px;
	}

	.hero-card__content h1,
	.archive-hero h1,
	.page-title h1,
	.single-header h1 {
		font-size: 28px;
	}

	.hero-card__content h2,
	.home-category-grid,
	.category-grid,
	.topic-grid,
	.card-grid,
	.sidebar,
	.footer-grid,
	.archive-layout .category-nav {
		grid-template-columns: 1fr;
	}

	.category-card {
		min-height: 0;
	}

	.article-row {
		grid-template-columns: 1fr;
	}

	.article-row.is-compact {
		grid-template-columns: 74px minmax(0, 1fr);
	}

	.archive-hero {
		padding: 26px 22px;
	}

	.archive-stats {
		display: grid;
		gap: 10px;
	}

	.single-card,
	.archive-list,
	.sidebar .panel,
	.text-list,
	.guess-strip {
		padding: 20px;
	}

	.guess-strip .section-head {
		flex-wrap: wrap;
	}

	.guess-scroll {
		grid-auto-columns: 82%;
		padding-bottom: 2px;
	}

	.guess-head-actions {
		width: 100%;
		justify-content: space-between;
	}

	.guess-arrow {
		width: 34px;
		height: 34px;
	}

	.single-cover__img,
	.single-cover img {
		aspect-ratio: 16 / 10;
	}

	.footer-grid {
		gap: 26px;
	}
}
