:root {
	--bg: #f6f8fb;
	--surface: #ffffff;
	--surface-soft: #eef3f8;
	--text: #162033;
	--muted: #647187;
	--line: #d9e1ec;
	--brand: #0f766e;
	--brand-dark: #0b514c;
	--accent: #e0a11b;
	--shadow: 0 16px 36px rgba(22, 32, 51, 0.1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

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

a {
	color: var(--brand);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--brand-dark);
	text-decoration: underline;
}

.container {
	margin: 0 auto;
	max-width: 1400px;
	padding: 0 20px;
	width: 100%;
}

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

.skip-link:focus {
	background: var(--surface);
	clip: auto;
	height: auto;
	left: 16px;
	padding: 10px 14px;
	top: 16px;
	width: auto;
	z-index: 1000;
}

.site-header {
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-inner {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	min-height: 74px;
}

.site-branding {
	min-width: 210px;
}

.site-title {
	color: var(--text);
	display: block;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.1;
}

.site-tagline {
	color: var(--muted);
	font-size: 13px;
	margin: 4px 0 0;
}

.primary-navigation ul,
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	justify-content: flex-end;
}

.primary-navigation a {
	border-radius: 6px;
	color: var(--text);
	display: block;
	font-size: 14px;
	font-weight: 600;
	padding: 9px 11px;
}

.primary-navigation a:hover,
.primary-navigation a:focus {
	background: var(--surface-soft);
	text-decoration: none;
}

.menu-toggle {
	background: transparent;
	border: 0;
	display: none;
	height: 42px;
	padding: 8px;
	width: 42px;
}

.menu-toggle span:not(.screen-reader-text) {
	background: var(--text);
	display: block;
	height: 2px;
	margin: 5px 0;
	width: 24px;
}

.hero-section {
	background: linear-gradient(180deg, #ffffff 0%, #edf6f4 100%);
	border-bottom: 1px solid var(--line);
	padding: 54px 0 32px;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.eyebrow {
	color: var(--brand);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.hero-copy h1 {
	font-size: clamp(36px, 5vw, 34px);
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0 0 18px;
	max-width: 780px;
}

.hero-copy p:not(.eyebrow) {
	color: var(--muted);
	font-size: 18px;
	margin: 0 0 24px;
	max-width: 680px;
}

.hero-search,
.search-form {
	display: flex;
	gap: 10px;
	max-width: 680px;
}

.hero-search input,
.search-field {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--text);
	flex: 1;
	font: inherit;
	min-height: 48px;
	min-width: 0;
	padding: 0 14px;
}

button,
.button {
	background: var(--brand);
	border: 0;
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 800;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	text-align: center;
}

button:hover,
.button:hover,
button:focus,
.button:focus {
	background: var(--brand-dark);
	color: #ffffff;
	text-decoration: none;
}

.button-small {
	font-size: 14px;
	min-height: 38px;
	padding: 8px 12px;
}

.keyword-row,
.tag-cloud,
.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.keyword-row a,
.tag-cloud a,
.tag-list a,
.tag-list span {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text);
	font-size: 13px;
	font-weight: 700;
	padding: 7px 10px;
}

.hero-panel {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
}

.hero-panel img {
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	box-shadow: var(--shadow);
	object-fit: cover;
	width: 100%;
}

.intro-section,
.latest-section,
.seo-copy-section,
.not-found {
	padding: 44px 20px;
}

.intro-section h2,
.latest-section h2,
.seo-copy h2,
.archive-header h1,
.single-header h1 {
	font-size: clamp(28px, 4vw, 28px);
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0 0 12px;
}

.intro-section > p,
.archive-header p,
.archive-description,
.seo-copy p {
	color: var(--muted);
	margin: 0 0 24px;
	max-width: 760px;
}

.category-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--text);
	display: block;
	padding: 16px;
}

.category-card:hover,
.category-card:focus {
	border-color: var(--brand);
	box-shadow: var(--shadow);
	text-decoration: none;
}

.category-card span {
	display: block;
	font-weight: 800;
}

.category-card small {
	color: var(--muted);
}

.section-heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
}

.text-link {
	font-weight: 800;
}

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

.post-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
}

.post-card-image {
	background: var(--surface-soft);
	display: block;
	position: relative;
}

.post-card-image img,
.image-placeholder {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}

.image-placeholder {
	align-items: center;
	color: var(--muted);
	display: flex;
	font-size: 36px;
	font-weight: 800;
	justify-content: center;
}

.resolution-badge {
	background: rgba(22, 32, 51, 0.78);
	border-radius: 6px;
	bottom: 10px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 8px;
	position: absolute;
	right: 10px;
}

.post-card-body {
	padding: 16px;
}

.card-category,
.card-category a {
	color: var(--brand);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.post-card h2 {
	font-size: 19px;
	line-height: 1.25;
	margin: 8px 0;
}

.post-card h2 a {
	color: var(--text);
}

.post-card p {
	color: var(--muted);
	font-size: 14px;
	margin: 0 0 14px;
}

.card-actions {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

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

.seo-copy-section {
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.layout-with-sidebar {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) 300px;
	padding-top: 42px;
	padding-bottom: 52px;
}

.archive-header {
	margin-bottom: 22px;
}

.sidebar {
	align-self: start;
	position: sticky;
	top: 94px;
}

.widget {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	margin-bottom: 16px;
	padding: 18px;
}

.widget-title {
	font-size: 18px;
	margin: 0 0 12px;
}

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

.widget li + li {
	border-top: 1px solid var(--line);
	margin-top: 8px;
	padding-top: 8px;
}

.single-content,
.page-content {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 24px;
}

.narrow-content {
	max-width: 880px;
	padding-top: 42px;
	padding-bottom: 52px;
}

.breadcrumb {
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 8px;
	margin-bottom: 18px;
}

.post-meta {
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 10px;
}

.post-meta span {
	background: var(--surface-soft);
	border-radius: 999px;
	padding: 5px 9px;
}

.featured-wallpaper {
	margin: 24px 0;
}

.featured-wallpaper img {
	border-radius: 8px;
	width: 100%;
}

.featured-wallpaper figcaption {
	color: var(--muted);
	font-size: 13px;
	margin-top: 8px;
}

.download-panel {
	align-items: center;
	background: var(--surface-soft);
	border: 1px solid var(--line);
	border-radius: 8px;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin: 24px 0;
	padding: 18px;
}

.download-panel h2 {
	margin: 0 0 4px;
}

.download-panel p {
	color: var(--muted);
	margin: 0;
}

.entry-content {
	color: #263348;
}

.entry-content h2,
.entry-content h3 {
	line-height: 1.25;
	margin-top: 28px;
}

.entry-content a {
	font-weight: 700;
}

.related-section,
.comments-area {
	border-top: 1px solid var(--line);
	margin-top: 28px;
	padding-top: 24px;
}

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

.navigation.pagination {
	margin-top: 24px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	color: var(--text);
	font-weight: 700;
	padding: 8px 11px;
}

.page-numbers.current {
	background: var(--brand);
	border-color: var(--brand);
	color: #ffffff;
}

.site-footer {
	background: #15202f;
	color: #e8eef6;
	padding: 38px 0 20px;
}

.site-footer a {
	color: #e8eef6;
}

.footer-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-grid h2 {
	font-size: 18px;
	margin: 0 0 10px;
}

.footer-grid p,
.footer-bottom {
	color: #b8c4d2;
}

.footer-links li + li {
	margin-top: 8px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-top: 28px;
	padding-top: 18px;
}
.sidebar .search-form label{
   width: 100%; 
}
.sidebar .search-form button{
    display: none;
}
.sidebar .search-field{
    width: 100%;
}

@media (max-width: 980px) {
	.hero-grid,
	.layout-with-sidebar,
	.footer-grid {
		grid-template-columns: 1fr;
	}

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

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

	.sidebar {
		position: static;
	}
}

@media (max-width: 760px) {
	.header-inner {
		align-items: flex-start;
		flex-wrap: wrap;
		padding-bottom: 12px;
		padding-top: 12px;
	}

	.menu-toggle {
		display: block;
	}

	.primary-navigation {
		display: none;
		width: 100%;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		align-items: stretch;
		display: grid;
		justify-content: stretch;
	}

	.hero-section {
		padding-top: 34px;
	}

	.hero-search,
	.search-form,
	.download-panel,
	.section-heading,
	.footer-bottom {
		align-items: stretch;
		flex-direction: column;
	}

	.category-grid,
	.post-grid,
	.related-grid {
		grid-template-columns: 1fr;
	}

	.hero-panel {
		grid-template-columns: 1fr 1fr;
	}

	.single-content,
	.page-content {
		padding: 18px;
	}
}
