:root {
	--bg: #f2f7ec;
	--bg-deep: #e4efdb;
	--surface: rgba(255, 252, 245, 0.86);
	--surface-strong: #fffdf7;
	--surface-tint: #edf7f3;
	--text: #163024;
	--text-soft: #607162;
	--line: rgba(19, 52, 38, 0.12);
	--primary: #0d8a6f;
	--primary-deep: #06614f;
	--accent: #ff9b3d;
	--accent-soft: #ffe3bf;
	--danger: #b94843;
	--success: #20704f;
	--shadow: 0 24px 60px rgba(15, 47, 33, 0.12);
	--shadow-soft: 0 12px 30px rgba(15, 47, 33, 0.08);
	--radius-xl: 32px;
	--radius-lg: 24px;
	--radius-md: 18px;
	--radius-sm: 12px;
	--container: min(1180px, calc(100vw - 32px));
	--header-offset: 104px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Trebuchet MS", Verdana, Tahoma, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(255, 164, 84, 0.2), transparent 36%),
		radial-gradient(circle at 100% 0, rgba(13, 138, 111, 0.18), transparent 28%),
		linear-gradient(180deg, var(--bg), var(--bg-deep));
	min-height: 100vh;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
	opacity: 0.22;
	z-index: -1;
}

::selection {
	background: rgba(255, 155, 61, 0.22);
	color: var(--text);
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--primary-deep);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

input,
select,
textarea {
	width: 100%;
	padding: 0.92rem 1rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: rgba(13, 138, 111, 0.48);
	box-shadow: 0 0 0 4px rgba(13, 138, 111, 0.12);
	background: #fff;
}

textarea {
	resize: vertical;
	min-height: 140px;
}

label {
	display: grid;
	gap: 0.45rem;
	font-weight: 700;
}

label span {
	font-size: 0.95rem;
	color: var(--text);
}

ul,
ol {
	padding-left: 1.25rem;
}

.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;
}

[hidden] {
	display: none !important;
}

.container {
	width: var(--container);
	margin-inline: auto;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
	padding: 26px 0 72px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	padding: 16px 0;
	backdrop-filter: blur(18px);
	background: linear-gradient(180deg, rgba(242, 247, 236, 0.92), rgba(242, 247, 236, 0.78));
	border-bottom: 1px solid rgba(19, 52, 38, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	/* padding: 14px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.62);
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(255, 255, 255, 0.6); */
}

.site-brand {
	/* display: grid;
	gap: 2px; */
	min-width: 180px;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1;
}

.site-brand__mark,
.site-brand__accent {
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-brand__mark {
	color: var(--text);
}

.site-brand__accent {
	color: var(--primary);
}

.site-brand small {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.site-header__panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	flex: 1;
}

.site-nav {
	flex: 1;
}

.site-nav__menu,
.mcpe-menu-fallback,
.site-footer__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.site-nav__menu a,
.mcpe-menu-fallback a,
.site-footer__menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0;
	font-weight: 700;
	color: var(--text);
}

.site-nav__menu a::after,
.mcpe-menu-fallback a::after,
.site-footer__menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), var(--primary));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.site-nav__menu a:hover::after,
.mcpe-menu-fallback a:hover::after,
.site-footer__menu a:hover::after {
	transform: scaleX(1);
}

.site-header__search {
	width: min(320px, 100%);
}

.site-header__toggle {
	display: none;
	place-items: center;
	gap: 4px;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(13, 138, 111, 0.12);
}

.site-header__toggle span:not(.screen-reader-text) {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0;
	background: var(--text);
	border-radius: 999px;
}

.site-search {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	padding: 8px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(19, 52, 38, 0.1);
	box-shadow: var(--shadow-soft);
}

.site-search input {
	padding-inline: 1rem;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.site-search button,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0.9rem 1.3rem;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.site-search button:hover {
	transform: translateY(-1px);
}

.button--primary,
.site-search button {
	background: linear-gradient(135deg, var(--primary), var(--primary-deep));
	color: #fff;
	box-shadow: 0 16px 28px rgba(6, 97, 79, 0.22);
}

.button--ghost {
	background: rgba(255, 255, 255, 0.84);
	color: var(--text);
	border: 1px solid rgba(19, 52, 38, 0.14);
	box-shadow: var(--shadow-soft);
}

.page-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 26px;
	align-items: start;
}

.page-grid--front {
	grid-template-columns: minmax(0, 1.15fr) 320px;
}

.content-area {
	display: grid;
	gap: 26px;
}

.hero-banner,
.section-block,
.sidebar-card,
.single-item,
.download-card,
.account-shell,
.empty-state,
.generic-page {
	animation: rise-in 0.6s ease both;
}

.hero-banner {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 34px;
	border-radius: var(--radius-xl);
	background:
		linear-gradient(135deg, rgba(7, 71, 58, 0.96), rgba(13, 138, 111, 0.92)),
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 40%);
	color: #fffdf7;
	box-shadow: var(--shadow);
}

.hero-banner::after {
	content: "";
	position: absolute;
	inset: auto -120px -140px auto;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: rgba(255, 155, 61, 0.14);
	filter: blur(8px);
}

.hero-banner__content,
.hero-banner__panel {
	position: relative;
	z-index: 1;
}

.hero-banner__eyebrow,
.archive-hero__eyebrow,
.account-shell__eyebrow,
.download-card__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero-banner h1,
.archive-hero h1,
.single-item h1,
.account-shell h1,
.download-card h1,
.empty-state h1,
.page-header-simple h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.65rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.hero-banner__summary,
.archive-hero p,
.single-item__summary,
.account-shell p,
.download-card p,
.empty-state p {
	margin: 0;
	max-width: 62ch;
	font-size: 1.02rem;
	color: inherit;
	opacity: 0.9;
}

.single-item__summary {
    max-width: unset;
}

.hero-banner__actions,
.single-item__actions,
.download-card__actions,
.account-form__actions,
.account-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-banner__search {
	max-width: 540px;
}

.hero-banner__search--narrow {
	max-width: 460px;
	width: 100%;
	margin-inline: auto;
}

.hero-banner__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.hero-banner h1 {
    margin-bottom: 10px;
}

.hero-banner__summary {
    margin-bottom: 30px;
}

.hero-banner__actions {
    margin-bottom: 50px;
}

.hero-banner__search {
    margin-bottom: 20px;
}

.hero-stat,
.stat-card,
.meta-panel {
	padding: 18px 20px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat strong,
.stat-card strong,
.meta-panel strong {
	display: block;
	font-size: 1.5rem;
	line-height: 1.1;
}

.hero-stat span,
.stat-card span,
.meta-panel span {
	display: block;
	font-size: 0.86rem;
	opacity: 0.82;
	margin-bottom: 4px;
}

.hero-banner__panel {
	display: grid;
	gap: 18px;
	align-content: start;
	padding: 22px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(8px);
}

.hero-banner__panel h2,
.section-heading h2,
.sidebar-card h2,
.comment-form-card h2,
.download-file-card h3,
.guide-card h3 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.38rem;
	line-height: 1.2;
}

.hero-banner__type-grid,
.guide-grid,
.download-files__list,
.single-item__meta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.type-card,
.guide-card,
.download-file-card,
.sidebar-card,
.section-block,
.single-item,
.comment-form-card,
.generic-page,
.archive-hero,
.download-card,
.account-shell,
.empty-state {
	padding: 24px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.78);
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(12px);
}

.type-card,
.guide-card {
	gap: 8px;
	display: grid;
	align-content: start;
	min-height: 120px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #163024;
}

.type-card strong,
.guide-card strong {
	font-size: 1.05rem;
}

.type-card span,
.guide-card p {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.82;
}

.section-block {
	display: grid;
	gap: 20px;
}

.section-block--guide {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(237, 247, 243, 0.9));
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.section-heading p,
.section-heading a,
.archive-browser__meta,
.sidebar-list li small,
.account-links a,
.download-card__status,
.comment-form__status,
.comment-form__closed,
.comment-card__time,
.prose-content blockquote,
.breadcrumbs,
.site-footer p {
	font-size: 0.95rem;
	color: var(--text-soft);
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-cloud a,
.item-chip,
.item-card__chip {
	display: inline-flex;
	align-items: center;
	padding: 0.58rem 0.88rem;
	border-radius: 999px;
	background: rgba(13, 138, 111, 0.08);
	color: var(--primary-deep);
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1;
}

.item-chip--type,
.item-card__chip--type,
.tag-cloud--versions a:nth-child(odd) {
	background: rgba(255, 155, 61, 0.16);
	color: #9b5f1f;
}

.item-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.item-card {
	position: relative;
	display: flex;
    flex-direction: column;
	grid-template-columns: 168px minmax(0, 1fr);
	gap: 18px;
	padding: 18px;
	border-radius: 26px;
	background: linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.7));
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(255, 255, 255, 0.7);
	overflow: hidden;
}

.item-card__media,
.item-card__media img,
.item-card__placeholder {
	height: 100%;
	min-height: 180px;
}

.item-card__media img,
.item-card__placeholder {
	width: 100%;
	object-fit: cover;
	border-radius: 22px;
}

.item-card__placeholder {
	display: block;
	background: linear-gradient(135deg, rgba(13, 138, 111, 0.18), rgba(255, 155, 61, 0.18));
	position: relative;
	overflow: hidden;
}

.item-card__placeholder::after {
	content: "MCPE";
	position: absolute;
	inset: auto 16px 16px auto;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: rgba(22, 48, 36, 0.22);
}

.item-card__body {
	display: grid;
	gap: 12px;
	align-content: start;
}

.item-card__chips,
.single-item__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.item-card__title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.4rem;
	line-height: 1.18;
}

.item-card__excerpt,
.sidebar-list,
.sidebar-list li {
	margin: 0;
	color: var(--text-soft);
	font-size: 0.96rem;
}

.item-card__meta,
.item-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.item-card__meta span {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: rgba(22, 48, 36, 0.06);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--text-soft);
}

.archive-hero,
.single-item__hero {
	display: flex;
    flex-direction: column;
	gap: 18px;
}

.archive-hero__note {
	padding: 18px 20px;
	border-radius: 18px;
	background: rgba(13, 138, 111, 0.06);
	border: 1px solid rgba(13, 138, 111, 0.08);
}

.archive-toolbar,
.account-form,
.comment-form--ajax {
	display: grid;
	gap: 14px;
}

.archive-toolbar {
	grid-template-columns: 1fr;
	align-items: start;
	gap: 14px;
}

.archive-toolbar__group {
	display: grid;
	gap: 10px;
}

.archive-toolbar__title {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.archive-toolbar__actions {
	gap: 10px;
}

.archive-toolbar__actions a.is-active {
	background: linear-gradient(135deg, var(--primary), var(--primary-deep));
	color: #fff;
}

.archive-toolbar__search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
}

.archive-toolbar__search {
	display: grid;
	gap: 10px;
}

.archive-browser {
	gap: 20px;
}

.archive-category-browser {
	display: grid;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 22px;
	background: rgba(13, 138, 111, 0.06);
	border: 1px solid rgba(13, 138, 111, 0.1);
}

.archive-category-browser__header {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	align-items: end;
}

.archive-category-browser__header h2,
.insight-card h3 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
	line-height: 1.2;
}

.archive-category-browser__header p {
	margin: 0;
	color: var(--text-soft);
	font-size: 0.95rem;
}

.tag-cloud--categories a.is-active {
	background: linear-gradient(135deg, var(--primary), var(--primary-deep));
	color: #fff;
}

.archive-browser__meta,
.archive-browser__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.archive-browser__meta strong {
	font-size: 1.2rem;
	color: var(--text);
}

.sidebar {
	position: sticky;
	top: var(--header-offset);
	display: grid;
	gap: 18px;
}

.sidebar-card {
	display: grid;
	gap: 16px;
}

.sidebar-list {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 14px;
}

.sidebar-list a {
	font-weight: 700;
	color: var(--text);
}

.sidebar-list--links {
	gap: 10px;
}

.sidebar-list--links a {
	display: inline-flex;
	padding: 0.6rem 0.85rem;
	border-radius: 14px;
	background: rgba(13, 138, 111, 0.06);
}

.widget {
	padding: 22px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(255, 255, 255, 0.7);
}

.widget-title {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-inline: 4px;
}

.breadcrumbs__separator {
	opacity: 0.5;
}

.single-item {
	display: grid;
	gap: 24px;
}

.single-item__hero {
	/* grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr); */
	/* align-items: start; */
	padding: 0;
	background: none;
	box-shadow: none;
	border: 0;
	backdrop-filter: none;
}

.single-item__intro,
.single-item__stats {
	padding: 28px;
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(237, 247, 243, 0.92));
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(255, 255, 255, 0.78);
}

.single-item__intro {
	display: grid;
	gap: 18px;
}

.single-item__stats {
	display: grid;
	gap: 14px;
}

.stat-card,
.meta-panel {
	background: rgba(13, 138, 111, 0.05);
	border: 1px solid rgba(13, 138, 111, 0.08);
	box-shadow: none;
}

.single-item__cover img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: var(--shadow);
}

.single-item__cover-image,
.gallery-card__button,
.lightnox__trigger {
	cursor: zoom-in;
}

.single-item__section {
	display: grid;
	gap: 18px;
}

/* .single-item__overview-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
} */

.insight-card {
	display: grid;
	gap: 16px;
	padding: 22px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(237, 247, 243, 0.92));
	border: 1px solid rgba(255, 255, 255, 0.78);
	box-shadow: var(--shadow-soft);
}

.fact-list,
.trust-list {
	margin: 0;
}

.fact-list {
	display: grid;
	gap: 12px;
}

.fact-list__row {
	display: grid;
	gap: 4px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.fact-list__row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.fact-list dt {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.fact-list dd {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
}

.trust-list {
	padding-left: 1.2rem;
	display: grid;
	gap: 10px;
	color: var(--text-soft);
}

.feature-list {
	margin: 0;
	padding-left: 1.2rem;
	display: grid;
	gap: 10px;
}

.editorial-split,
.assessment-grid,
.author-page__hero,
.author-page__identity,
.author-page__stats {
	display: grid;
	gap: 16px;
}

.assessment-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.author-card__head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.author-card__photo {
	width: 88px;
	height: 88px;
	border-radius: 26px;
	object-fit: cover;
	box-shadow: var(--shadow-soft);
	background: rgba(13, 138, 111, 0.08);
}

.author-card__role,
.author-card__meta,
.author-page__summary {
	color: var(--text-soft);
}

.author-card__role,
.author-card__experience,
.author-page__summary,
.author-page__experience {
	margin: 0;
}

.author-card__bio > *:first-child,
.author-page__bio > *:first-child {
	margin-top: 0;
}

.author-card__bio > *:last-child,
.author-page__bio > *:last-child {
	margin-bottom: 0;
}

.author-card__meta,
.author-page__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.author-card__meta span,
.author-page__stats .stat-card {
	padding: 0.7rem 0.9rem;
	border-radius: 16px;
	background: rgba(13, 138, 111, 0.06);
	border: 1px solid rgba(13, 138, 111, 0.09);
}

.author-page {
	display: grid;
	gap: 22px;
}

.author-page__identity {
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
}

.author-page__identity .author-card__photo {
	width: 108px;
	height: 108px;
	border-radius: 30px;
}

.author-page__stats .stat-card {
	min-width: 180px;
	display: grid;
	gap: 4px;
}

.author-page__stats .stat-card strong {
	font-size: 1.25rem;
}

.stack-list {
	margin: 0;
	padding-left: 1.2rem;
	display: grid;
	gap: 10px;
}

.stack-list--ordered {
	padding-left: 1.35rem;
}

.table-wrap {
	overflow-x: auto;
	border-radius: 22px;
	box-shadow: inset 0 0 0 1px rgba(19, 52, 38, 0.08);
}

.compatibility-table,
.comparison-table {
	width: 100%;
	border-collapse: collapse;
	background: rgba(255, 255, 255, 0.84);
	min-width: 460px;
}

.compatibility-table th,
.compatibility-table td,
.comparison-table th,
.comparison-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid rgba(19, 52, 38, 0.08);
	vertical-align: top;
}

.compatibility-table thead th,
.comparison-table thead th {
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-soft);
	background: rgba(13, 138, 111, 0.08);
}

.compatibility-table tbody tr:last-child td,
.comparison-table tbody tr:last-child td {
	border-bottom: 0;
}

.assessment-card--positive {
	background: linear-gradient(180deg, rgba(241, 255, 247, 0.95), rgba(227, 255, 240, 0.88));
}

.assessment-card--neutral {
	background: linear-gradient(180deg, rgba(255, 252, 241, 0.95), rgba(255, 244, 221, 0.9));
}

.assessment-card--warning {
	background: linear-gradient(180deg, rgba(255, 245, 243, 0.95), rgba(255, 232, 225, 0.9));
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.gallery-card {
	margin: 0;
	padding: 0;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.gallery-card__button {
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	display: block;
}

.gallery-card img {
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	border-radius: 0;
}

.download-file-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 227, 191, 0.4));
}

.download-file-card p {
	margin: 4px 0 0;
	color: var(--text-soft);
}

.prose-content {
	font-size: 1rem;
	color: var(--text);
}

.prose-content > *:first-child {
	margin-top: 0;
}

.prose-content h2,
.prose-content h3,
.prose-content h4 {
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.2;
	margin: 1.8em 0 0.75em;
}

.prose-content p,
.prose-content ul,
.prose-content ol,
.prose-content blockquote,
.prose-content pre {
	margin: 0 0 1.1rem;
}

.prose-content ul,
.prose-content ol {
	padding-left: 1.3rem;
}

.prose-content blockquote {
	padding: 18px 20px;
	border-left: 4px solid var(--accent);
	background: rgba(255, 155, 61, 0.08);
	border-radius: 0 18px 18px 0;
}

.prose-content pre {
	overflow-x: auto;
	padding: 16px 18px;
	border-radius: 20px;
	background: #123326;
	color: #f4f7ef;
	box-shadow: var(--shadow-soft);
}

.comments-block {
	display: grid;
	gap: 20px;
}

.comment-list,
.children {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 16px;
}

.children {
	padding-left: 38px;
	margin-top: 16px;
}

.comment-card {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 14px;
	padding: 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(19, 52, 38, 0.08);
	box-shadow: var(--shadow-soft);
}

.comment-card__content {
	display: grid;
	gap: 10px;
}

.comment-card__header,
.comment-card__footer,
.comment-form__grid,
.account-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.comment-card__author {
	font-size: 1rem;
}

.comment-card__text p,
.comment-card__pending {
	margin: 0;
}

.comment-card__reply {
	justify-self: start;
	padding: 0;
	border: 0;
	background: none;
	font-weight: 700;
	color: var(--primary);
}

.comment-form-card,
.account-shell,
.download-card {
	display: grid;
	gap: 18px;
}

.comment-form__logged-in {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 18px;
	background: rgba(13, 138, 111, 0.06);
}

.comment-form__reply-target,
.form-message {
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(13, 138, 111, 0.07);
	border: 1px solid rgba(13, 138, 111, 0.08);
}

.form-message--error {
	background: rgba(185, 72, 67, 0.08);
	border-color: rgba(185, 72, 67, 0.12);
	color: var(--danger);
}

.form-message--success {
	background: rgba(32, 112, 79, 0.08);
	border-color: rgba(32, 112, 79, 0.12);
	color: var(--success);
}

.form-message p {
	margin: 0;
}

.account-page,
.download-page {
	display: grid;
}

.account-shell--wide {
	padding-bottom: 28px;
}

.checkbox-field {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.checkbox-field input {
	width: auto;
	margin: 0;
	accent-color: var(--primary);
}

.download-card {
	padding: 34px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 227, 191, 0.58));
	text-align: center;
	justify-items: center;
}

.download-card.is-ready {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(227, 255, 240, 0.74));
}

.download-card__file {
	display: grid;
	gap: 4px;
	justify-items: center;
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(19, 52, 38, 0.08);
}

.download-card__status {
	min-height: 1.5em;
	margin: 0;
}

.download-card--error {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 234, 232, 0.92));
}

.page-header-simple {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 20px;
}

.empty-state {
	justify-items: center;
	text-align: center;
	gap: 16px;
}

.empty-state--full {
	min-height: 320px;
	align-content: center;
}

.site-footer {
	padding: 12px 0 28px;
}

.site-footer__grid,
.site-footer__bottom {
	padding: 22px 24px;
	border-radius: 28px;
	background: rgba(13, 40, 30, 0.96);
	color: rgba(255, 253, 247, 0.92);
	box-shadow: var(--shadow);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-bottom: 10px;
}

.site-footer__grid h2 {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
	color: #fff;
}

.site-footer__links ul,
.site-footer__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.site-footer__menu--meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 14px;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer a {
	color: rgba(255, 253, 247, 0.9);
}

body.lightnox-open {
	overflow: hidden;
}

.lightnox {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: grid;
	place-items: center;
	padding: 24px;
}

.lightnox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(8, 22, 16, 0.82);
}

.lightnox__dialog {
	position: relative;
	z-index: 1;
	width: min(1100px, 100%);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
}

.lightnox__figure {
	margin: 0;
	display: grid;
	gap: 14px;
	padding: 18px;
	border-radius: 28px;
	background: rgba(12, 34, 26, 0.94);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.lightnox__figure img {
	max-height: min(76vh, 840px);
	width: auto;
	max-width: 100%;
	margin-inline: auto;
	border-radius: 20px;
}

.lightnox__caption {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	color: rgba(255, 253, 247, 0.9);
	font-size: 0.95rem;
}

.lightnox__counter {
	white-space: nowrap;
	color: rgba(255, 253, 247, 0.62);
}

.lightnox__close,
.lightnox__nav {
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.8rem;
	line-height: 1;
	backdrop-filter: blur(12px);
}

.lightnox__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	background: rgba(255, 255, 255, 0.16);
}

@keyframes rise-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1080px) {
	.page-grid,
	.page-grid--front,
	.hero-banner,
	.single-item__hero,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

    .site-header__inner {
        justify-content: space-between;
    }

	.sidebar {
		position: static;
	}

	.archive-toolbar {
		grid-template-columns: 1fr;
	}

	.archive-toolbar__search-form {
		grid-template-columns: 1fr;
	}

	.hero-banner__stats,
	.hero-banner__type-grid,
	.guide-grid,
	.download-files__list,
	.editorial-split,
	.assessment-grid,
	.author-page__hero,
	.single-item__overview-grid,
	.single-item__meta-grid,
	.comment-form__grid,
	.account-form__grid {
		grid-template-columns: 1fr 1fr;
	}

	.item-grid {
		grid-template-columns: 1fr;
	}

	.item-card {
		grid-template-columns: 180px minmax(0, 1fr);
	}

	.site-header__inner {
		border-radius: 28px;
	}

	.site-header__toggle {
		display: flex;
        flex-direction: column;
        justify-content: center;
	}

	.site-header__panel {
		display: none;
		position: absolute;
		top: calc(100% + 12px);
		left: 16px;
		right: 16px;
		padding: 18px;
		border-radius: 24px;
		background: rgba(255, 255, 255, 0.95);
		box-shadow: var(--shadow);
		border: 1px solid rgba(19, 52, 38, 0.1);
		flex-direction: column;
		align-items: stretch;
	}

	.site-header__panel.is-open {
		display: flex;
	}

	.site-nav__menu,
	.mcpe-menu-fallback {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-header__search {
		width: 100%;
	}
}

@media (max-width: 760px) {
	:root {
		--container: min(100vw - 20px, 100vw - 20px);
		--header-offset: 86px;
	}

	body {
		font-size: 15px;
	}

	.site-main {
		padding-top: 18px;
	}

	.hero-banner,
	.section-block,
	.sidebar-card,
	.single-item,
	.comment-form-card,
	.download-card,
	.account-shell,
	.empty-state,
	.generic-page,
	.archive-hero {
		padding: 20px;
		border-radius: 22px;
	}

	.hero-banner__stats,
	.hero-banner__type-grid,
	.guide-grid,
	.download-files__list,
	.editorial-split,
	.assessment-grid,
	.author-page__hero,
	.author-page__identity,
	.single-item__meta-grid,
	.gallery-grid,
	.comment-card__header,
	.comment-form__grid,
	.account-form__grid,
		.single-item__overview-grid,
	.archive-toolbar {
		grid-template-columns: 1fr;
	}

	.archive-toolbar__search-form {
		grid-column: auto;
	}

	.item-card {
		grid-template-columns: 1fr;
	}

	.item-card__media,
	.item-card__media img,
	.item-card__placeholder {
		min-height: 220px;
	}

	.children {
		padding-left: 18px;
	}

	.comment-card {
		grid-template-columns: 1fr;
	}

	.site-header__inner {
		padding: 12px 14px;
	}

	.site-brand {
		min-width: auto;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.archive-category-browser__header,
	.lightnox__caption,
	.lightnox__dialog {
		grid-template-columns: 1fr;
		flex-direction: column;
		align-items: flex-start;
	}

	.lightnox {
		padding: 12px;
	}

	.lightnox__figure {
		padding: 14px;
	}

	.lightnox__nav {
		width: 48px;
		height: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
