/* ==========================================================================
   PC Live Walls — front-end theme
   ========================================================================== */

:root {
	--pclive-bg: #08090b;
	--pclive-bg-deep: #0a0a0a;
	--pclive-header: #1d1d20;
	--pclive-panel: #2b2e3a;
	--pclive-panel-soft: #26292e;
	--pclive-panel-alt: #3c3f4e;
	--pclive-purple: #6d4cc7;
	--pclive-purple-bright: #8330e7;
	--pclive-purple-light: #8c8bee;
	--pclive-white: #f8fafc;
	--pclive-text: #e2e8f0;
	--pclive-muted: #94a3b8;
	--pclive-muted-strong: #cbd5e1;
	--pclive-border: rgba(148, 163, 184, 0.16);
	--pclive-focus: #c4b5fd;
	--pclive-radius: 12px;
	--pclive-container: 1280px;
	--pclive-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--pclive-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	background: var(--pclive-bg-deep);
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--pclive-bg-deep);
	background-image: url("../images/bg.svg");
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	color: var(--pclive-text);
	font-family: var(--pclive-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 78% 8%, rgba(109, 76, 199, 0.18), transparent 34%),
		linear-gradient(180deg, rgba(8, 9, 11, 0) 55%, rgba(8, 9, 11, 0.88) 100%);
	pointer-events: none;
}

main {
	flex: 1 0 auto;
}

img,
svg,
video {
	max-width: 100%;
}

img {
	height: auto;
}

svg {
	display: block;
}

a {
	color: var(--pclive-purple-light);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: #b9a8ff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--pclive-focus);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

::selection {
	background: var(--pclive-purple);
	color: #fff;
}

.container {
	width: min(calc(100% - 48px), var(--pclive-container));
	margin-inline: auto;
}

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

.screen-reader-text:focus {
	display: block;
	width: auto;
	height: auto;
	top: 8px;
	left: 8px;
	z-index: 100000;
	padding: 12px 18px;
	clip: auto;
	background: #fff;
	color: #111;
	border-radius: 6px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 12px 18px;
	background: #fff;
	color: #111;
	font-weight: 600;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 100;
	background: var(--pclive-header);
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.92);
}

.site-header__inner {
	display: flex;
	align-items: center;
	min-height: 70px;
	gap: 24px;
}

.header-brand {
	display: flex;
	align-items: center;
	flex: 0 0 25%;
	width: 25%;
	min-width: 0;
}

.site-branding {
	color: #fff;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
	white-space: nowrap;
}

.site-branding:hover {
	color: #fff;
}

.header-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex: 1 1 auto;
	min-width: 0;
}

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

.nav-list,
.footer-list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list {
	gap: 8px;
}

.nav-list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 20px;
	color: var(--pclive-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 7px;
	height: 2px;
	border-radius: 2px;
	background: var(--pclive-purple-light);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current_page_ancestor > a {
	color: var(--pclive-purple-light);
}

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after,
.nav-list .current-menu-ancestor > a::after,
.nav-list .current_page_ancestor > a::after {
	transform: scaleX(1);
}

.header-search {
	flex: 0 0 232px;
	width: 232px;
	max-width: 100%;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
}

.nav-toggle__box {
	position: relative;
	display: block;
	width: 24px;
	height: 18px;
}

.nav-toggle__box span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle__box span:nth-child(1) {
	top: 0;
}

.nav-toggle__box span:nth-child(2) {
	top: 8px;
}

.nav-toggle__box span:nth-child(3) {
	top: 16px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) {
	top: 8px;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) {
	top: 8px;
	transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Search
   -------------------------------------------------------------------------- */

.search-form {
	width: 100%;
}

.search-form__controls {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 50px;
	background: #fff;
	border: 1px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-form__controls:focus-within {
	border-color: rgba(109, 76, 199, 0.6);
	box-shadow: 0 0 0 3px rgba(140, 139, 238, 0.35);
}

.search-form__submit {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	background: transparent;
	border: 0;
	color: #5d43a8;
	cursor: pointer;
}

.search-form__submit svg {
	width: 20px;
	height: 20px;
}

.search-form__input {
	width: 100%;
	height: 100%;
	padding: 0 16px 0 50px;
	background: transparent;
	border: 0;
	color: #111827;
	font-family: var(--pclive-font);
	font-size: 15px;
	line-height: 1.2;
	outline: none;
}

.search-form__input::placeholder {
	color: #6b7280;
	opacity: 1;
}

.search-form__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.header-search .search-form__controls {
	height: 42px;
}

.header-search .search-form__submit {
	width: 42px;
	height: 42px;
}

.header-search .search-form__submit svg {
	width: 18px;
	height: 18px;
}

.header-search .search-form__input {
	padding-left: 42px;
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	background: var(--pclive-panel);
	border-radius: 0 0 16px 16px;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 90% 12%, rgba(140, 139, 238, 0.2), transparent 36%),
		linear-gradient(110deg, rgba(109, 76, 199, 0.06), transparent 55%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(36px, 5vw, 72px);
	width: min(calc(100% - 48px), var(--pclive-container));
	margin-inline: auto;
	padding: clamp(58px, 5.8vw, 86px) clamp(20px, 3vw, 44px) clamp(28px, 2.4vw, 36px);
}

.hero__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 8px;
	background: var(--pclive-purple-light);
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
}

.hero__title {
	margin: 0 0 12px;
	color: var(--pclive-purple);
	font-size: clamp(36px, 3vw, 40px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.hero__lede {
	max-width: 580px;
	margin: 0 0 24px;
	color: var(--pclive-white);
	font-size: 16px;
	line-height: 1.55;
}

.hero__search {
	max-width: 567px;
}

.hero__aside {
	padding-top: 22px;
}

.popular-title {
	margin: 0 0 18px;
	color: var(--pclive-muted);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.3;
}

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 21px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 5px 5px 10px rgba(185, 194, 245, 0.5);
	color: #0b0c10;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
	background: #d9d0ff;
	box-shadow: 0 5px 16px rgba(185, 194, 245, 0.28);
	color: #0b0c10;
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Cards and sections
   -------------------------------------------------------------------------- */

.section {
	padding: 33px 0 52px;
}

.section-title {
	margin: 0 0 22px;
	color: var(--pclive-white);
	font-size: 28px;
	font-weight: 600;
}

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

.wallpaper-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--pclive-panel);
	border: 1px solid rgba(148, 163, 184, 0.08);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.wallpaper-card:hover {
	border-color: rgba(140, 139, 238, 0.38);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
	transform: translateY(-3px);
}

.card-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #171922;
}

.card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease, filter 0.35s ease;
}

.wallpaper-card:hover .card-image {
	filter: brightness(0.91) blur(0.3px);
	transform: scale(1.035);
}

.card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 15px 16px 18px;
}

.card-category {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 9px;
	background: #54595f;
	border-radius: 5px;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
}

.card-category:hover {
	background: var(--pclive-purple);
	color: #fff;
}

.card-title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #fff;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.card-title a {
	color: #fff;
}

.card-title a:hover {
	color: var(--pclive-purple-light);
}

/* --------------------------------------------------------------------------
   Breadcrumbs, archive headers, pagination
   -------------------------------------------------------------------------- */

.breadcrumbs {
	margin: 0;
	color: var(--pclive-muted);
	font-size: 13.6px;
	line-height: 1.5;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}

.breadcrumbs a {
	color: var(--pclive-muted);
}

.breadcrumbs a:hover {
	color: var(--pclive-white);
}

.breadcrumbs__sep {
	color: #64748b;
}

.breadcrumbs [aria-current="page"] {
	color: var(--pclive-muted-strong);
}

.archive-hero {
	background: var(--pclive-panel);
}

.archive-hero .container {
	padding-top: 33px;
	padding-bottom: 30px;
}

.archive-title {
	margin: 16px 0 0;
	color: #aeb8c8;
	font-size: clamp(32px, 3vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.archive-description {
	max-width: 780px;
	margin: 12px 0 0;
	color: var(--pclive-muted);
	font-size: 14px;
	line-height: 1.6;
}

.archive-search {
	max-width: 620px;
	margin-top: 20px;
}

.pagination {
	margin: 44px 0 8px;
}

.pagination__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	background: var(--pclive-panel-soft);
	border-radius: 8px;
	color: #fff;
	font-size: 15px;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers svg {
	width: 17px;
	height: 17px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--pclive-purple-bright);
	color: #fff;
}

.pagination .dots {
	background: transparent;
	color: var(--pclive-muted);
}

/* --------------------------------------------------------------------------
   Single wallpaper
   -------------------------------------------------------------------------- */

.single-shell {
	max-width: 1120px;
	padding-top: 33px;
}

.single-shell > .breadcrumbs {
	padding: 10px;
}

.wallpaper-single {
	margin-top: 33px;
}

.single-title {
	margin: 0;
	padding: 16px;
	background: rgba(0, 0, 0, 0.44);
	border-left: 10px solid #1a1818;
	border-radius: 10px;
	box-shadow: 10px 10px 16px #000;
	color: #b3bfd0;
	font-size: clamp(24px, 2.4vw, 29px);
	font-weight: 600;
	line-height: 1.25;
	text-transform: capitalize;
	text-wrap: balance;
}

.video-preview {
	position: relative;
	margin-top: 22px;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 0 10px 3px #000;
}

.wallpaper-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

.video-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	background: rgba(0, 0, 0, 0.18);
	border: 0;
	cursor: pointer;
}

.video-play__disc {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	background: rgba(109, 76, 199, 0.94);
	border: 4px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	transition: transform 0.25s ease, background-color 0.25s ease;
}

.video-play__disc svg {
	width: 32px;
	height: 32px;
	margin-left: 4px;
	color: #fff;
}

.video-play:hover .video-play__disc {
	background: var(--pclive-purple-bright);
	transform: scale(1.06);
}

.video-preview.is-playing .video-play {
	display: none;
}

.single-poster {
	margin: 22px 0 0;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 0 10px 3px #000;
}

.single-poster img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.video-caption {
	margin: 10px 0 0;
	padding: 11px 16px;
	background: var(--pclive-panel-soft);
	border-radius: 10px;
	color: var(--pclive-muted);
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
}

.instructions {
	margin-top: 10px;
	padding: 18px 22px;
	background: var(--pclive-panel-soft);
	border-radius: 10px;
	color: var(--pclive-muted);
	font-size: 15px;
	line-height: 1.65;
}

.instructions__title {
	margin: 0 0 10px;
	color: var(--pclive-white);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
}

.instructions ul {
	margin: 0;
	padding-left: 22px;
}

.instructions li + li {
	margin-top: 6px;
}

.instructions em {
	color: var(--pclive-white);
	font-style: italic;
}

.entry-content--single {
	margin-top: 10px;
}

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

.download-panel,
.meta-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 158px;
	padding: 22px;
	background: var(--pclive-panel-soft);
	border: 1px solid rgba(148, 163, 184, 0.06);
	border-radius: 10px;
}

.panel-title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 12px 18px;
	background: var(--pclive-purple);
	border: 1px solid transparent;
	border-radius: 7px;
	color: #fff;
	font-family: var(--pclive-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
	background: var(--pclive-purple-bright);
	color: #fff;
	transform: translateY(-1px);
}

.button svg {
	width: 19px;
	height: 19px;
}

.button--download {
	width: 100%;
}

.button--outline {
	background: transparent;
	border-color: rgba(140, 139, 238, 0.7);
	color: var(--pclive-purple-light);
}

.button--outline:hover {
	background: rgba(109, 76, 199, 0.18);
	border-color: var(--pclive-purple-light);
	color: #fff;
}

.download-note {
	margin: 10px 0 0;
	color: var(--pclive-muted);
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}

.download-unavailable {
	margin: 0;
	color: var(--pclive-muted);
	font-size: 14px;
}

.meta-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.meta-list li {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 10px 0;
	border-bottom: 1px dotted rgba(148, 163, 184, 0.28);
	color: var(--pclive-muted);
	font-size: 15px;
	line-height: 1.5;
}

.meta-list li:first-child {
	padding-top: 0;
}

.meta-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.meta-list svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--pclive-purple-light);
}

.meta-list a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(140, 139, 238, 0.48);
	text-underline-offset: 3px;
}

.meta-list a:hover {
	color: var(--pclive-purple-light);
}

.tag-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-top: 18px;
	padding: 0 4px;
	color: var(--pclive-muted);
	font-size: 15px;
	line-height: 1.5;
}

.tag-label {
	display: inline-flex;
	padding: 4px 9px;
	background: #000;
	border-radius: 4px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.tag-links a {
	color: var(--pclive-muted);
	text-decoration: underline;
	text-decoration-color: rgba(148, 163, 184, 0.25);
	text-underline-offset: 3px;
}

.tag-links a:hover {
	color: var(--pclive-purple-light);
}

.related {
	margin: 36px 0 10px;
}

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

.related-card {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 0 10px 1px #000;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: filter 0.3s ease, transform 0.4s ease;
}

.related-card:hover {
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
	transform: translateY(-2px);
}

.related-card:hover img {
	filter: brightness(0.9);
	transform: scale(1.025);
}

/* --------------------------------------------------------------------------
   Pages and long-form content
   -------------------------------------------------------------------------- */

.page-shell {
	max-width: 1120px;
	padding-top: 33px;
}

.page-title {
	margin: 26px 0 22px;
	color: var(--pclive-white);
	font-size: clamp(34px, 3.4vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.entry-content {
	padding: clamp(22px, 3.5vw, 38px);
	background: rgba(18, 19, 24, 0.82);
	border: 1px solid var(--pclive-border);
	border-radius: var(--pclive-radius);
	color: var(--pclive-muted-strong);
	font-size: 16px;
	line-height: 1.75;
	box-shadow: var(--pclive-shadow);
}

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

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

.entry-content p {
	margin: 0 0 1.15em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.5em 0 0.55em;
	color: var(--pclive-white);
	font-weight: 600;
	line-height: 1.3;
}

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

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

.entry-content h4 {
	font-size: 18px;
}

.entry-content a {
	color: var(--pclive-purple-light);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: #d7ccff;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.entry-content li + li {
	margin-top: 0.35em;
}

.entry-content blockquote {
	margin: 1.5em 0;
	padding: 2px 0 2px 22px;
	border-left: 4px solid var(--pclive-purple);
	color: var(--pclive-muted);
}

.entry-content code,
.entry-content pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.entry-content code {
	padding: 2px 5px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 4px;
}

.entry-content pre {
	overflow: auto;
	padding: 18px;
	background: rgba(0, 0, 0, 0.45);
	border-radius: 8px;
}

.entry-content img {
	border-radius: 8px;
}

.page-links {
	margin-top: 24px;
	color: var(--pclive-muted);
}

.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	margin: 0 3px;
	background: var(--pclive-panel-soft);
	border-radius: 5px;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Empty states, search results, 404
   -------------------------------------------------------------------------- */

.empty-state,
.error-404 {
	padding: clamp(30px, 6vw, 60px);
	background: var(--pclive-panel);
	border: 1px solid var(--pclive-border);
	border-radius: 14px;
	text-align: center;
	box-shadow: var(--pclive-shadow);
}

.empty-state__eyebrow,
.error-404__code {
	margin: 0 0 10px;
	color: var(--pclive-purple-light);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.error-404__code {
	font-size: 54px;
	letter-spacing: -0.04em;
	line-height: 1;
}

.empty-state__title,
.error-404__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 600;
	line-height: 1.2;
}

.empty-state__message,
.error-404__message {
	max-width: 650px;
	margin: 0 auto 24px;
	color: var(--pclive-muted);
	font-size: 16px;
	line-height: 1.6;
}

.empty-state__search,
.error-404__search {
	max-width: 560px;
	margin: 0 auto 22px;
}

.empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.error-latest {
	margin-top: 46px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	flex-shrink: 0;
	margin-top: 16px;
	padding: 16px 0 8px;
	background: var(--pclive-panel);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-copyright {
	margin: 0;
	color: #fff;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.5;
}

.footer-list {
	gap: 31px;
}

.footer-list a {
	color: #fff;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

.footer-list a:hover {
	color: var(--pclive-purple-light);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.site-header__inner {
		gap: 16px;
	}

	.header-brand {
		flex-basis: 29%;
		width: 29%;
	}

	.site-branding {
		font-size: 25px;
	}

	.nav-list a {
		padding-inline: 14px;
	}

	.nav-list a::after {
		left: 14px;
		right: 14px;
	}

	.header-search {
		flex-basis: 210px;
		width: 210px;
	}

	.hero__inner {
		gap: 42px;
	}
}

@media (max-width: 1024px) {
	.header-brand {
		flex-basis: 27%;
		width: 27%;
	}

	.site-branding {
		font-size: 23px;
	}

	.nav-list a {
		padding-inline: 11px;
		font-size: 15px;
	}

	.header-search {
		flex-basis: 196px;
		width: 196px;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
		gap: 32px;
		padding-top: 56px;
	}

	.hero__title {
		font-size: 36px;
	}

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

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

	.single-shell,
	.page-shell {
		max-width: 100%;
	}
}

@media (max-width: 900px) {
	.site-header__inner {
		justify-content: space-between;
		min-height: 64px;
	}

	.header-brand {
		flex: 1 1 auto;
		width: auto;
	}

	.site-branding {
		font-size: 24px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.header-panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		max-height: calc(100vh - 64px);
		padding: 8px 24px 24px;
		background: var(--pclive-header);
		border-top: 1px solid var(--pclive-border);
		box-shadow: 0 26px 42px rgba(0, 0, 0, 0.5);
		overflow-y: auto;
	}

	.header-panel.is-open {
		display: flex;
	}

	.primary-nav {
		width: 100%;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-list a {
		min-height: 52px;
		padding: 14px 0;
		border-bottom: 1px solid var(--pclive-border);
		font-size: 17px;
	}

	.nav-list a::after {
		display: none;
	}

	.header-search {
		flex: 0 0 auto;
		width: 100%;
		margin-top: 16px;
	}

	.header-search .search-form__controls {
		height: 46px;
	}

	.header-search .search-form__submit {
		width: 46px;
		height: 46px;
	}

	.header-search .search-form__input {
		padding-left: 46px;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding: 52px 24px 30px;
	}

	.hero__title {
		font-size: 38px;
	}

	.hero__aside {
		padding-top: 0;
	}

	.popular-title {
		margin-bottom: 14px;
	}

	.archive-hero .container {
		padding-top: 26px;
		padding-bottom: 26px;
	}

	.single-shell {
		padding-top: 24px;
	}

	.page-shell {
		padding-top: 24px;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.footer-list {
		flex-wrap: wrap;
		gap: 10px 24px;
	}
}

@media (max-width: 767px) {
	.container {
		width: calc(100% - 40px);
	}

	.site-branding {
		font-size: 22px;
	}

	.hero__inner {
		width: calc(100% - 24px);
		padding: 42px 20px 26px;
	}

	.hero__eyebrow {
		font-size: 14px;
	}

	.hero__title {
		font-size: 33px;
	}

	.hero__lede {
		font-size: 15px;
		line-height: 1.6;
	}

	.chip {
		padding: 9px 16px;
		font-size: 15px;
	}

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

	.section {
		padding-top: 26px;
		padding-bottom: 42px;
	}

	.archive-title {
		font-size: 32px;
	}

	.single-title {
		padding: 14px;
		border-left-width: 8px;
		font-size: 24px;
	}

	.video-preview,
	.single-poster {
		border-radius: 12px;
	}

	.video-play__disc {
		width: 70px;
		height: 70px;
	}

	.video-play__disc svg {
		width: 28px;
		height: 28px;
	}

	.download-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.download-panel,
	.meta-panel {
		min-height: 0;
		padding: 20px;
	}

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

	.related {
		margin-top: 28px;
	}

	.page-title {
		margin-top: 20px;
		font-size: 32px;
	}

	.entry-content {
		font-size: 15px;
		line-height: 1.7;
	}

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

	.error-404__code {
		font-size: 44px;
	}
}

@media (max-width: 600px) {
	.site-branding {
		font-size: 21px;
		letter-spacing: -0.02em;
	}

	.hero__title {
		font-size: 31px;
	}

	.hero__lede {
		font-size: 15px;
	}

	.hero__search .search-form__controls {
		height: 48px;
	}

	.hero__search .search-form__submit {
		width: 48px;
		height: 48px;
	}

	.hero__search .search-form__input {
		padding-left: 48px;
	}

	.chip-list {
		gap: 8px;
	}

	.chip {
		flex: 1 1 calc(50% - 8px);
		min-height: 42px;
		padding-inline: 8px;
		font-size: 14px;
		white-space: nowrap;
	}

	.popular-title {
		font-size: 17px;
	}

	.archive-title {
		font-size: 29px;
	}

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

	.single-shell > .breadcrumbs {
		padding-inline: 4px;
	}

	.tag-row {
		align-items: flex-start;
	}

	.site-footer {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.site-copyright {
		font-size: 12px;
	}

	.footer-list a {
		font-size: 14px;
	}

	.empty-state,
	.error-404 {
		padding: 28px 20px;
	}
}

@media (max-width: 420px) {
	.container {
		width: calc(100% - 32px);
	}

	.header-panel {
		padding-inline: 16px;
	}

	.site-branding {
		font-size: 20px;
	}

	.hero__inner {
		width: calc(100% - 16px);
		padding-inline: 16px;
	}

	.hero__title {
		font-size: 29px;
	}

	.hero__lede {
		font-size: 14.5px;
	}

	.single-title {
		font-size: 22px;
	}

	.video-caption,
	.instructions {
		font-size: 14px;
	}

	.instructions {
		padding: 16px;
	}

	.card-body {
		padding-inline: 14px;
	}

	.footer-list {
		gap: 8px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
