/*
 * Main theme stylesheet
 *
 * Visual direction: light Bootstrap-inspired product site with a blue accent,
 * dark homepage hero, compact platform buttons and clean WordPress content pages.
 */

/* --------------------------------------------------------------------------
   1. Theme variables
   -------------------------------------------------------------------------- */

:root {
	--color-page: #f7f7f7;
	--color-surface: #ffffff;
	--color-surface-soft: #f8f9fa;
	--color-text: #212529;
	--color-heading: #131313;
	--color-muted: #6c757d;
	--color-muted-light: #8492a2;
	--color-line: #dee2e6;
	--color-line-soft: #e8edf2;
	--color-primary: #587ab9;
	--color-primary-dark: #366bb3;
	--color-primary-darker: #0047a6;
	--color-brand-text: #4d6faf;
	--color-hero: #2b333a;
	--color-cyan: #12c0ff;
	--color-danger: #df0000;
	--color-highlight: #ff5558;
	--color-success: #28a745;
	--color-success-dark: #218838;
	--color-warning: #ffc107;
	--color-info-soft: #eaf2ff;
	--shadow-header: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	--shadow-card: 0 8px 24px rgba(28, 45, 70, 0.08);
	--shadow-card-hover: 0 14px 34px rgba(28, 45, 70, 0.13);
	--radius-small: 5px;
	--radius-medium: 10px;
	--radius-large: 15px;
	--content-width: 1140px;
	--reading-width: 820px;
	--transition: 180ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset and document defaults
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-page);
	color: var(--color-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

body.menu-open {
	overflow: hidden;
}

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

img {
	height: auto;
	vertical-align: middle;
}

svg {
	fill: currentColor;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
[type="button"],
[type="submit"] {
	cursor: pointer;
}

a {
	color: var(--color-primary-dark);
	text-decoration: none;
	transition: color var(--transition), background-color var(--transition),
		border-color var(--transition), box-shadow var(--transition),
		transform var(--transition);
}

a:hover,
a:focus {
	color: var(--color-primary-darker);
}

p {
	margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.75rem;
	color: var(--color-heading);
	font-weight: 500;
	line-height: 1.25;
}

h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
}

h2 {
	font-size: clamp(1.65rem, 3vw, 2rem);
}

h3 {
	font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 1.1rem;
}

h6 {
	font-size: 1rem;
}

hr {
	box-sizing: content-box;
	height: 0;
	margin: 1.5rem 0;
	overflow: visible;
	border: 0;
	border-top: 1px solid var(--color-line);
}

ul,
ol {
	margin-top: 0;
	margin-bottom: 1rem;
}

table {
	width: 100%;
	border-collapse: collapse;
}

blockquote {
	margin: 1.75rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--color-primary);
	background: #f3f6fb;
	color: #4e5966;
}

blockquote > :last-child {
	margin-bottom: 0;
}

code,
kbd,
pre,
samp {
	font-family: Consolas, Monaco, "Courier New", monospace;
}

pre {
	max-width: 100%;
	padding: 1.25rem;
	overflow: auto;
	border-radius: var(--radius-small);
	background: #20262d;
	color: #f8f9fa;
}

/* --------------------------------------------------------------------------
   3. Accessibility and shared helpers
   -------------------------------------------------------------------------- */

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

.screen-reader-text:focus,
.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto !important;
	clip-path: none;
	border-radius: var(--radius-small);
	background: var(--color-surface);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
	color: var(--color-primary-darker);
	font-weight: 600;
}

:focus-visible {
	outline: 3px solid rgba(18, 192, 255, 0.7);
	outline-offset: 3px;
}

.container,
.site-header__inner,
.site-footer__inner {
	width: 100%;
	max-width: var(--content-width);
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

.section {
	padding: 3.25rem 0;
}

.section--compact {
	padding: 2rem 0;
}

.section--white {
	background: var(--color-surface);
}

.section-heading {
	margin-bottom: 2rem;
}

.section-heading--center {
	max-width: 760px;
	margin-right: auto;
	margin-bottom: 2rem;
	margin-left: auto;
	text-align: center;
}

.section-heading__eyebrow {
	display: inline-block;
	margin-bottom: 0.6rem;
	color: var(--color-primary);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section-heading__title {
	margin-bottom: 0.65rem;
}

.section-heading__description {
	margin: 0;
	color: var(--color-muted);
	font-size: 1rem;
}

.button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.25rem;
	border: 1px solid transparent;
	border-radius: var(--radius-small);
	background: var(--color-primary-dark);
	color: #ffffff;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--color-primary-darker);
	color: #ffffff;
	transform: translateY(-1px);
}

.button--success {
	background: var(--color-success);
}

.button--success:hover,
.button--success:focus {
	background: var(--color-success-dark);
}

.button--large {
	min-height: 50px;
	padding: 0.8rem 1.5rem;
	font-size: 1.1rem;
}

.text-center {
	text-align: center;
}

.text-muted {
	color: var(--color-muted) !important;
}

.clear::before,
.clear::after,
.entry-content::before,
.entry-content::after {
	display: table;
	content: "";
}

.clear::after,
.entry-content::after {
	clear: both;
}

/* --------------------------------------------------------------------------
   4. Global header and navigation
   -------------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 1000;
	border-bottom: 5px solid var(--color-primary);
	background: var(--color-surface-soft);
	box-shadow: var(--shadow-header);
}

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

.site-branding {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	margin-right: 1.25rem;
}

.site-branding__logo {
	display: flex;
	align-items: center;
	margin-right: 0.45rem;
}

.site-branding__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-branding__logo .custom-logo {
	display: block;
	width: 30px;
	max-width: 30px;
	height: 30px;
	object-fit: contain;
}

.site-branding__name {
	display: inline-flex;
	align-items: center;
	color: var(--color-brand-text);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.site-branding__name:hover,
.site-branding__name:focus {
	color: var(--color-primary-darker);
}

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

.primary-menu,
.primary-menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: stretch;
}

.primary-menu > .menu-item {
	position: relative;
}

.primary-menu > .menu-item > a {
	display: flex;
	align-items: center;
	min-height: 58px;
	padding: 0.5rem 0.78rem;
	color: rgba(0, 0, 0, 0.55);
	font-size: 1rem;
	white-space: nowrap;
}

.primary-menu > .menu-item > a:hover,
.primary-menu > .menu-item > a:focus,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a {
	color: rgba(0, 0, 0, 0.9);
}

.primary-menu .menu-item-has-children > a::after {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 0.4rem;
	border-top: 0.3rem solid currentColor;
	border-right: 0.3rem solid transparent;
	border-left: 0.3rem solid transparent;
	content: "";
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	z-index: 20;
	width: 210px;
	padding: 0.45rem 0;
	visibility: hidden;
	border: 1px solid var(--color-line-soft);
	border-radius: 0 0 var(--radius-small) var(--radius-small);
	background: var(--color-surface);
	box-shadow: var(--shadow-card);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity var(--transition), transform var(--transition),
		visibility var(--transition);
}

.primary-menu .menu-item:hover > .sub-menu,
.primary-menu .menu-item:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	display: block;
	padding: 0.6rem 1rem;
	color: #4e5863;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus,
.primary-menu .sub-menu .current-menu-item > a {
	background: #f4f7fb;
	color: var(--color-primary-darker);
}

.site-header__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	margin-left: auto;
	padding-left: 1rem;
}

.site-header__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--color-success);
	border-radius: 0.25rem;
	background: var(--color-success);
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.5;
}

.site-header__contact:hover,
.site-header__contact:focus {
	border-color: #1e7e34;
	background: var(--color-success-dark);
	color: #ffffff;
}

.site-menu-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.site-menu-toggle__button {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 40px;
	margin-left: auto;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0.25rem;
	background: transparent;
}

.site-menu-toggle:focus-visible + .site-menu-toggle__button {
	outline: 3px solid rgba(18, 192, 255, 0.7);
	outline-offset: 3px;
}

.site-menu-toggle__bars,
.site-menu-toggle__bars span {
	display: block;
}

.site-menu-toggle__bars {
	width: 24px;
}

.site-menu-toggle__bars span {
	height: 2px;
	margin: 5px 0;
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.55);
	transition: transform var(--transition), opacity var(--transition);
}

/* --------------------------------------------------------------------------
   5. Homepage hero
   -------------------------------------------------------------------------- */

.home-hero {
	position: relative;
	overflow: hidden;
	border-radius: 0;
	background: #293139;
	color: #ffffff;
}

.home-hero__inner {
	position: relative;
	z-index: 2;
	min-height: 354px;
	padding-top: 54px;
	padding-bottom: 24px;
}

.home-hero__content {
	position: relative;
	z-index: 2;
	max-width: 900px;
}

.home-hero__title {
	margin-bottom: 20px;
	color: #ffffff;
	font-size: 48px;
	font-weight: 400;
	line-height: 1.2;
	text-shadow: #000000 2px 0 0, #000000 0 2px 0,
		#000000 -2px 0 0, #000000 0 -2px 0;
}

.home-hero__brand {
	color: var(--color-cyan);
	font-weight: 700;
}

.home-hero__badge {
	display: inline-block;
	margin: 0 0 0.85rem 0.5rem;
	padding: 0.28rem 0.5rem;
	border-radius: 0.25rem;
	background: var(--color-danger);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
}

.home-hero__lead {
	margin-bottom: 12px;
	color: #ffffff;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
	text-shadow: #000000 2px 0 0, #000000 0 2px 0,
		#000000 -2px 0 0, #000000 0 -2px 0;
}

.home-hero__number {
	color: var(--color-highlight);
	font-size: 3.125rem;
	font-weight: 700;
	line-height: 1;
}

.home-hero__art {
	position: absolute;
	top: 0;
	right: 30px;
	z-index: 1;
	width: 200px;
	height: 200px;
	object-fit: contain;
	pointer-events: none;
}

.home-hero__download-label {
	position: relative;
	z-index: 2;
	margin-top: 30px;
	margin-bottom: 3px;
	color: var(--color-muted-light);
}

.platform-downloads {
	position: relative;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
}

.platform-download {
	display: flex;
	width: 150px;
	height: 50px;
	margin: 8px;
	overflow: hidden;
	border: 1px solid #3f60a1;
	border-radius: var(--radius-small);
	background: var(--color-primary-dark);
	color: #ffffff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.platform-download:hover,
.platform-download:focus {
	border-color: var(--color-primary-darker);
	background: var(--color-primary-darker);
	color: #ffffff;
	transform: translateY(-2px);
}

.platform-download__icon {
	display: flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 1.65rem;
}

.platform-download__icon svg,
.platform-download__icon img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.platform-download__name {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 0 0.55rem;
	font-size: 16px;
	font-weight: 700;
}

.hero-chevron {
	position: relative;
	width: 28px;
	height: 30px;
	margin: 10px auto 0;
}

.hero-chevron::before,
.hero-chevron::after {
	position: absolute;
	top: 0;
	width: 18px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
	content: "";
	animation: hero-chevron 1.8s infinite;
}

.hero-chevron::before {
	left: 0;
	transform: rotate(35deg);
}

.hero-chevron::after {
	right: 0;
	transform: rotate(-35deg);
}

@keyframes hero-chevron {
	0%,
	100% {
		opacity: 0.25;
		transform-origin: center;
	}
	50% {
		opacity: 0.75;
	}
}

/* --------------------------------------------------------------------------
   6. Homepage benefit, preview and feature sections
   -------------------------------------------------------------------------- */

.benefit-section {
	padding: 3.5rem 0 2.5rem;
}

.benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	padding-bottom: 2.25rem;
	border-bottom: 1px solid var(--color-line);
}

.benefit-card {
	padding: 0.5rem 1rem;
	text-align: center;
}

.benefit-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 128px;
	margin-bottom: 0.85rem;
}

.benefit-card__icon img,
.benefit-card__icon svg {
	max-width: 128px;
	max-height: 128px;
	object-fit: contain;
}

.benefit-card__title {
	margin-bottom: 0.55rem;
	font-size: 2rem;
	font-weight: 400;
}

.benefit-card__text {
	margin: 0;
	color: #3f464d;
	font-size: 0.875rem;
}

.product-preview {
	padding: 0 0 3rem;
}

.product-preview__title {
	margin-bottom: 1.75rem;
	color: var(--color-heading);
	font-size: 1rem;
	font-weight: 500;
	text-align: center;
}

.product-preview__frame {
	overflow: hidden;
	border-top: 1px solid var(--color-primary-dark);
	border-radius: 0 0 var(--radius-small) var(--radius-small);
	background: var(--color-surface);
	box-shadow: 0 8px 28px rgba(33, 37, 41, 0.08);
}

.product-preview__image {
	display: block;
	width: 100%;
}

.feature-section {
	padding: 0 0 4rem;
}

.feature-section__inner {
	padding-top: 2rem;
	border-top: 1px solid var(--color-line);
}

.feature-section__title {
	margin-bottom: 2rem;
	color: var(--color-heading);
	font-size: 2rem;
	font-weight: 400;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
	gap: 10px;
}

.feature-card {
	display: flex;
	min-height: 150px;
	padding: 1rem 0.75rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #dae2ec;
	border-radius: var(--radius-large);
	background: transparent;
	color: #29323c;
	text-align: center;
}

.feature-card:hover {
	border-color: #adbed4;
	background: rgba(255, 255, 255, 0.45);
	box-shadow: 0 5px 16px rgba(56, 76, 103, 0.06);
	transform: translateY(-2px);
}

.feature-card__icon {
	display: flex;
	width: 5em;
	height: 5em;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.35rem;
	color: var(--color-primary-dark);
}

.feature-card__icon img,
.feature-card__icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.feature-card__name {
	font-size: 0.95rem;
	line-height: 1.35;
}

.home-posts {
	padding: 3.5rem 0;
	border-top: 1px solid var(--color-line);
	background: var(--color-surface);
}

.home-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

/* Homepage FAQ */

.home-faq {
	padding: 68px 0 110px;
	background: #ffffff;
}

.home-faq__inner {
	max-width: 830px;
}

.home-faq__title {
	margin-bottom: 40px;
	color: #20242a;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.home-faq__list {
	display: grid;
	gap: 14px;
}

.home-faq__item {
	overflow: hidden;
	border: 0;
	border-radius: 9px;
	background: #ffffff;
	box-shadow: 0 2px 12px rgba(26, 39, 55, 0.07);
}

.home-faq__question {
	display: flex;
	min-height: 77px;
	padding: 20px 22px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: #050505;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
}

.home-faq__question::-webkit-details-marker {
	display: none;
}

.home-faq__plus {
	position: relative;
	display: block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}

.home-faq__plus::before,
.home-faq__plus::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 3px;
	border-radius: 2px;
	background: #ef4747;
	content: "";
	transform: translate(-50%, -50%);
	transition: transform var(--transition);
}

.home-faq__plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.home-faq__item[open] .home-faq__plus::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.home-faq__answer {
	padding: 0 56px 22px 22px;
	color: #59616b;
	font-size: 16px;
	line-height: 1.8;
}

.home-faq__answer p {
	margin: 0;
}

body.home .site-footer {
	margin-top: 0;
}

/* --------------------------------------------------------------------------
   Update log page
   -------------------------------------------------------------------------- */

.changelog-page {
	padding: 3rem 0 4rem;
}

.changelog-page__inner {
	max-width: var(--content-width);
}

.changelog-list {
	width: 100%;
}

.changelog-release {
	padding: 0 0 1.2rem;
	margin-bottom: 1.2rem;
	border-bottom: 1px solid var(--color-line);
}

.changelog-release__title {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	margin-bottom: 0.85rem;
	color: #2a2f34;
	font-size: 1.8rem;
	font-weight: 400;
	line-height: 1.35;
}

.changelog-release__version,
.changelog-release__current {
	display: inline-flex;
	min-height: 32px;
	padding: 0.18rem 0.45rem;
	align-items: center;
	border-radius: 0.25rem;
	background: #6c7a86;
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}

.changelog-release__version.is-current-version {
	background: #087ff5;
}

.changelog-release__current {
	background: #25a844;
}

.changelog-release__items {
	padding-left: 2.4rem;
	margin: 0;
	color: #2f3439;
	font-size: 1rem;
	line-height: 1.55;
}

.changelog-release__items li {
	padding-left: 0.1rem;
}

.changelog-release__notice {
	margin: 0 0 1rem;
	padding: 0.8rem 1rem;
	border: 1px solid #f5c6cb;
	border-radius: var(--radius-small);
	background: #f8d7da;
	color: #721c24;
}

/* --------------------------------------------------------------------------
   7. Generic page heading and breadcrumbs
   -------------------------------------------------------------------------- */

.page-hero {
	padding: 2.8rem 0;
	background: var(--color-hero);
	color: #ffffff;
}

.page-hero__title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 500;
}

.page-hero__description {
	max-width: 760px;
	margin: 0.75rem 0 0;
	color: rgba(255, 255, 255, 0.72);
}

.breadcrumbs {
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--color-line-soft);
	background: var(--color-surface);
	color: var(--color-muted);
	font-size: 0.875rem;
}

.breadcrumbs a {
	color: var(--color-primary-dark);
}

.breadcrumbs__separator {
	padding: 0 0.45rem;
	color: #a5adb5;
}

/* --------------------------------------------------------------------------
   8. Category and archive pages
   -------------------------------------------------------------------------- */

.archive-page,
.search-page {
	padding: 3rem 0 4rem;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 2rem;
	align-items: start;
}

.archive-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--color-line);
}

.archive-title {
	margin-bottom: 0.5rem;
	font-size: 2rem;
}

.archive-description {
	color: var(--color-muted);
}

.archive-description > :last-child {
	margin-bottom: 0;
}

.post-list {
	display: grid;
	gap: 1.15rem;
}

.post-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
	box-shadow: 0 3px 12px rgba(28, 45, 70, 0.045);
	transition: border-color var(--transition), box-shadow var(--transition),
		transform var(--transition);
}

.post-card:hover {
	border-color: #cbd6e3;
	box-shadow: var(--shadow-card);
	transform: translateY(-2px);
}

.post-card--no-thumbnail {
	grid-template-columns: 1fr;
}

.post-card__thumbnail {
	position: relative;
	min-height: 170px;
	overflow: hidden;
	background: #e8edf2;
}

.post-card__thumbnail img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.post-card:hover .post-card__thumbnail img {
	transform: scale(1.035);
}

.post-card__body {
	display: flex;
	padding: 1.25rem 1.4rem;
	flex-direction: column;
}

.post-card__meta,
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1rem;
	margin-bottom: 0.6rem;
	color: var(--color-muted);
	font-size: 0.82rem;
}

.post-card__title {
	margin-bottom: 0.65rem;
	font-size: 1.35rem;
	font-weight: 600;
}

.post-card__title a {
	color: var(--color-heading);
}

.post-card__title a:hover,
.post-card__title a:focus {
	color: var(--color-primary-dark);
}

.post-card__excerpt {
	display: -webkit-box;
	margin-bottom: 0.8rem;
	overflow: hidden;
	color: #5d6670;
	font-size: 0.95rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-card__excerpt > :last-child {
	margin-bottom: 0;
}

.post-card__more {
	align-self: flex-start;
	margin-top: auto;
	color: var(--color-primary-dark);
	font-size: 0.9rem;
	font-weight: 600;
}

.post-card__more::after {
	display: inline-block;
	margin-left: 0.3rem;
	content: "→";
	transition: transform var(--transition);
}

.post-card__more:hover::after {
	transform: translateX(3px);
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	margin-top: 2rem;
}

.page-numbers {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	padding: 0 0.7rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-small);
	background: var(--color-surface);
	color: #4d5660;
}

.page-numbers:hover,
.page-numbers:focus,
.page-numbers.current {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: #ffffff;
}

.sidebar {
	position: sticky;
	top: 1.5rem;
}

.widget {
	margin-bottom: 1.25rem;
	padding: 1.25rem;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
}

.widget-title {
	margin-bottom: 1rem;
	padding-bottom: 0.7rem;
	border-bottom: 2px solid var(--color-primary);
	font-size: 1.15rem;
	font-weight: 600;
}

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

.widget li {
	padding: 0.55rem 0;
	border-bottom: 1px solid #eef1f4;
}

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

.widget a {
	color: #4b5560;
}

.widget a:hover,
.widget a:focus {
	color: var(--color-primary-dark);
}

.widget_search .search-form,
.search-form {
	display: flex;
}

.search-field {
	min-width: 0;
	width: 100%;
	height: 44px;
	padding: 0.55rem 0.75rem;
	border: 1px solid #ccd3da;
	border-radius: var(--radius-small) 0 0 var(--radius-small);
	background: #ffffff;
}

.search-submit {
	min-width: 72px;
	border-radius: 0 var(--radius-small) var(--radius-small) 0 !important;
}

.no-results {
	padding: 2rem;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
	text-align: center;
}

/* --------------------------------------------------------------------------
   9. Single article page
   -------------------------------------------------------------------------- */

.single-page {
	padding: 3rem 0 4rem;
}

.single-article {
	overflow: hidden;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
	box-shadow: 0 5px 18px rgba(28, 45, 70, 0.055);
}

.single-article__header {
	padding: 2rem 2.25rem 1.35rem;
	border-bottom: 1px solid #edf0f3;
}

.entry-title {
	margin-bottom: 1rem;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 600;
	line-height: 1.3;
}

.entry-meta a {
	color: var(--color-muted);
}

.entry-meta a:hover,
.entry-meta a:focus {
	color: var(--color-primary-dark);
}

.single-article__thumbnail img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

.entry-content {
	padding: 2rem 2.25rem 2.4rem;
	color: #303840;
	font-size: 1.05rem;
	line-height: 1.85;
	word-wrap: break-word;
}

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

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

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2rem;
	margin-bottom: 0.85rem;
	font-weight: 600;
	line-height: 1.4;
	scroll-margin-top: 1rem;
}

.entry-content h2 {
	padding-bottom: 0.6rem;
	border-bottom: 1px solid #e8edf2;
	font-size: 1.7rem;
}

.entry-content h3 {
	font-size: 1.4rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 1.25rem;
}

.entry-content li + li {
	margin-top: 0.4rem;
}

.entry-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

.entry-content table {
	margin: 1.5rem 0;
	border: 1px solid var(--color-line);
	background: #ffffff;
	font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--color-line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: #f2f5f8;
	font-weight: 600;
}

.entry-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	padding: 1rem 2.25rem;
	border-top: 1px solid #edf0f3;
	background: #fafbfc;
	color: var(--color-muted);
	font-size: 0.9rem;
}

.entry-footer a {
	color: var(--color-primary-dark);
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.25rem;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 1rem 1.15rem;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
	color: var(--color-heading);
}

.post-navigation a:hover,
.post-navigation a:focus {
	border-color: #bdcad8;
	box-shadow: var(--shadow-card);
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation__label,
.nav-subtitle {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--color-muted);
	font-size: 0.78rem;
	text-transform: uppercase;
}

.related-posts {
	margin-top: 1.5rem;
	padding: 1.5rem;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
}

.related-posts__title {
	margin-bottom: 1rem;
	font-size: 1.35rem;
	font-weight: 600;
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1.5rem;
}

.related-posts__item a {
	display: block;
	padding: 0.55rem 0;
	color: #3f4852;
}

.related-posts__item a:hover,
.related-posts__item a:focus {
	color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   10. Windows download page
   -------------------------------------------------------------------------- */

.download-page {
	padding: 1.9rem 0 4rem;
}

.download-alert {
	position: relative;
	max-width: 920px;
	margin: 0 auto 2.5rem;
	padding: 0.85rem 1.2rem;
	border: 1px solid #f5c6cb;
	border-radius: 0.25rem;
	background: #f8d7da;
	color: #721c24;
	text-align: center;
}

.download-hero {
	display: flex;
	max-width: 820px;
	margin: 0 auto;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.download-hero__icon {
	display: flex;
	width: 10rem;
	height: 10rem;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
	margin-bottom: 1rem;
	color: var(--color-primary-dark);
}

.download-hero__icon img,
.download-hero__icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.download-hero__title {
	margin: 0.75rem 0;
	font-size: 1.75rem;
	font-weight: 500;
}

.download-primary-button {
	display: inline-flex;
	min-height: 52px;
	margin: 0.9rem 0;
	padding: 0.75rem 1.35rem;
	align-items: center;
	justify-content: center;
	border: 1px solid #0062cc;
	border-radius: 0.3rem;
	background: #007bff;
	color: #ffffff;
	font-size: 1.12rem;
	font-weight: 500;
	box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
}

.download-primary-button:hover,
.download-primary-button:focus {
	border-color: #005cbf;
	background: #0069d9;
	color: #ffffff;
	transform: translateY(-1px);
}

.download-primary-button__badge {
	display: inline-block;
	margin-right: 0.55rem;
	padding: 0.3rem 0.45rem;
	border-radius: 0.25rem;
	background: var(--color-warning);
	color: #212529;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
}

.download-secondary-link {
	display: inline-block;
	margin: 0.75rem 0;
	color: #007afe;
	font-weight: 700;
}

.download-secondary-link:hover,
.download-secondary-link:focus {
	color: #ff7516;
}

.download-support-box {
	margin-top: 2.5rem;
	padding: 1.85rem;
	border: 2px solid #4a6eb1;
	border-radius: var(--radius-small);
	background: var(--color-primary);
	color: #ffffff;
	font-size: 1.1rem;
	text-align: center;
}

.download-support-box p {
	margin: 0.85rem 0;
}

.download-support-box strong {
	font-weight: 700;
}

.download-support-box hr {
	border-top-color: rgba(255, 255, 255, 0.35);
}

.download-alternative {
	margin-top: 1.75rem;
	text-align: center;
}

.system-requirements {
	margin-top: 2.5rem;
	padding: 1.5rem;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
}

.system-requirements__title {
	margin-bottom: 1rem;
	font-size: 1.35rem;
	font-weight: 600;
}

.system-requirements__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1.5rem;
}

.system-requirements__item {
	padding: 0.75rem;
	border-radius: var(--radius-small);
	background: #f5f7fa;
}

.system-requirements__label {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--color-muted);
	font-size: 0.82rem;
}

/* All-platform download center */

.all-downloads-page {
	padding: 3.5rem 0 4.5rem;
}

.all-downloads-heading {
	max-width: 720px;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.all-downloads-heading h2 {
	margin-bottom: 0.65rem;
	font-size: 2rem;
	font-weight: 600;
}

.all-downloads-heading p {
	margin: 0;
	color: var(--color-muted);
}

.download-platform-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.download-platform-card {
	display: flex;
	min-height: 330px;
	padding: 2rem 1.25rem 1.5rem;
	flex-direction: column;
	align-items: center;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
	box-shadow: 0 5px 18px rgba(28, 45, 70, 0.06);
	text-align: center;
	transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.download-platform-card:hover {
	border-color: #bdcad8;
	box-shadow: var(--shadow-card-hover);
	transform: translateY(-4px);
}

.download-platform-card__icon {
	display: flex;
	width: 92px;
	height: 92px;
	margin-bottom: 1rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eef4fc;
}

.download-platform-card__icon img {
	width: 58px;
	height: 58px;
	object-fit: contain;
}

.download-platform-card__title {
	margin-bottom: 0.55rem;
	font-size: 1.5rem;
	font-weight: 600;
}

.download-platform-card__description {
	margin-bottom: 1.25rem;
	color: var(--color-muted);
	font-size: 0.92rem;
}

.download-platform-card__button {
	display: inline-flex;
	min-width: 132px;
	min-height: 44px;
	margin-top: auto;
	padding: 0.6rem 1rem;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-small);
	background: var(--color-primary-dark);
	color: #ffffff;
	font-weight: 600;
}

.download-platform-card__button:hover,
.download-platform-card__button:focus {
	background: var(--color-primary-darker);
	color: #ffffff;
}

.download-platform-card__button.is-disabled {
	background: #9aa5b1;
	cursor: not-allowed;
}

.download-help {
	max-width: 880px;
	margin: 3rem auto 0;
	padding: 2rem;
	border: 1px solid #cfe1f7;
	border-radius: var(--radius-medium);
	background: #eef6ff;
	text-align: center;
}

.download-help h2 {
	margin-bottom: 0.65rem;
	font-size: 1.5rem;
	font-weight: 600;
}

.download-help p {
	margin-bottom: 1.25rem;
	color: #536273;
}

.download-editor-content {
	max-width: 880px;
	margin: 2rem auto 0;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */

.site-footer {
	margin-top: 2.5rem;
	color: var(--color-muted);
}

.site-footer__inner {
	padding-top: 3rem;
	padding-bottom: 2rem;
	border-top: 1px solid var(--color-line);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 2rem;
}

.site-footer__brand {
	min-width: 0;
}

.site-footer__logo {
	display: block;
	width: 28px;
	height: 28px;
	margin-bottom: 0.75rem;
	object-fit: contain;
}

.site-footer__copyright {
	display: block;
	margin-bottom: 1rem;
	font-size: 0.82rem;
}

.site-footer__title {
	margin-bottom: 0.75rem;
	color: var(--color-heading);
	font-size: 1rem;
	font-weight: 500;
}

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

.site-footer__menu li {
	margin-bottom: 0.45rem;
}

.site-footer__menu a {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus {
	color: var(--color-primary-dark);
}

.site-footer__bottom {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	padding: 1rem 15px;
	border-top: 1px solid var(--color-line-soft);
	font-size: 0.8rem;
	text-align: center;
}

.site-footer__bottom a {
	color: #848993;
}

.site-footer__bottom img {
	width: 20px;
	height: 20px;
}

/* --------------------------------------------------------------------------
   12. WordPress generated content
   -------------------------------------------------------------------------- */

.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-bottom: 1rem;
	margin-left: 1.5rem;
}

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

.alignwide {
	width: min(100%, 1040px);
	max-width: 1040px;
}

.alignfull {
	width: 100%;
	max-width: 100%;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5rem;
}

.wp-caption-text,
.gallery-caption,
.wp-element-caption {
	margin-top: 0.5rem;
	color: var(--color-muted);
	font-size: 0.82rem;
	text-align: center;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.gallery-item {
	margin: 0;
}

.sticky {
	border-color: var(--color-primary);
}

.bypostauthor {
	display: block;
}

.wp-block-image,
.wp-block-gallery,
.wp-block-embed {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.wp-block-separator {
	border-top: 1px solid var(--color-line);
}

.wp-block-button {
	margin-bottom: 1rem;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--color-primary-dark);
	background: transparent;
	color: var(--color-primary-dark);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--color-primary-dark);
	color: #ffffff;
}

.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	min-width: 560px;
}

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

.comment-body {
	margin-bottom: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
}

.comment-list .children {
	padding-left: 1.5rem;
	list-style: none;
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #ccd3da;
	border-radius: var(--radius-small);
	background: #ffffff;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

/* --------------------------------------------------------------------------
   13. Responsive rules
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
	:root {
		--content-width: 960px;
	}

	.primary-menu > .menu-item > a {
		padding-right: 0.62rem;
		padding-left: 0.62rem;
	}

	.home-hero__art {
		opacity: 0.7;
	}

	.feature-grid {
		grid-template-columns: repeat(5, minmax(130px, 1fr));
	}
}

@media (max-width: 991px) {
	:root {
		--content-width: 720px;
	}

	.site-header__inner {
		position: relative;
		flex-wrap: wrap;
		min-height: 65px;
	}

	.site-branding {
		min-height: 60px;
	}

	.site-menu-toggle__button {
		display: flex;
	}

	.site-header__actions {
		padding-left: 0.65rem;
	}

	.primary-navigation {
		order: 5;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 260ms ease;
	}

	.site-menu-toggle:checked ~ .primary-navigation {
		max-height: 720px;
		border-top: 1px solid var(--color-line);
	}

	.site-menu-toggle:checked + .site-menu-toggle__button .site-menu-toggle__bars span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.site-menu-toggle:checked + .site-menu-toggle__button .site-menu-toggle__bars span:nth-child(2) {
		opacity: 0;
	}

	.site-menu-toggle:checked + .site-menu-toggle__button .site-menu-toggle__bars span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.primary-menu {
		display: block;
		padding: 0.45rem 0 0.75rem;
	}

	.primary-menu > .menu-item > a {
		min-height: 44px;
		padding: 0.6rem 0.35rem;
		border-bottom: 1px solid rgba(0, 0, 0, 0.045);
	}

	.primary-menu .menu-item-has-children > a::after {
		margin-left: auto;
	}

	.primary-menu .sub-menu {
		position: static;
		width: auto;
		padding: 0 0 0 1rem;
		visibility: visible;
		border: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		transform: none;
	}

	.primary-menu .sub-menu a {
		padding: 0.5rem 0.35rem;
	}

	.home-hero__inner {
		min-height: 354px;
		padding-top: 54px;
	}

	.home-hero__content {
		padding-right: 135px;
	}

	.home-hero__art {
		width: 160px;
		height: 160px;
		opacity: 0.55;
	}

	.feature-grid {
		grid-template-columns: repeat(4, minmax(130px, 1fr));
	}

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

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

	.content-layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}

	.widget {
		margin-bottom: 0;
	}

	.site-footer__grid {
		grid-template-columns: 1.3fr repeat(3, 1fr);
		gap: 1.25rem;
	}
}

@media (max-width: 767px) {
	:root {
		--content-width: 540px;
	}

	body {
		font-size: 15px;
	}

	.section {
		padding: 2.5rem 0;
	}

	.site-header__contact {
		display: none;
	}

	.home-hero__inner {
		min-height: 390px;
		padding-top: 38px;
	}

	.home-hero__content {
		padding-right: 0;
	}

	.home-hero__art {
		right: -30px;
		width: 140px;
		height: 140px;
		opacity: 0.18;
	}

	.home-hero__title {
		font-size: 34px;
	}

	.home-hero__badge {
		display: table;
		margin-top: 0.65rem;
		margin-left: 0;
	}

	.home-hero__lead {
		font-size: 17px;
	}

	.home-hero__number {
		font-size: 2.6rem;
	}

	.platform-downloads {
		margin-right: -5px;
		margin-left: -5px;
	}

	.platform-download {
		width: calc(50% - 10px);
		margin: 5px;
	}

	.benefit-grid {
		grid-template-columns: 1fr;
		gap: 2.2rem;
	}

	.benefit-card__title {
		font-size: 1.65rem;
	}

	.feature-grid {
		grid-template-columns: repeat(3, minmax(110px, 1fr));
	}

	.feature-card {
		min-height: 135px;
	}

	.feature-card__icon {
		width: 4.25em;
		height: 4.25em;
	}

	.home-posts__grid {
		grid-template-columns: 1fr;
	}

	.home-faq {
		padding: 54px 0 72px;
	}

	.home-faq__title {
		margin-bottom: 30px;
		font-size: 28px;
	}

	.home-faq__question {
		min-height: 70px;
		padding: 18px;
		font-size: 17px;
	}

	.home-faq__answer {
		padding: 0 48px 20px 18px;
		font-size: 15px;
	}

	.changelog-page {
		padding: 2rem 0 3rem;
	}

	.changelog-release__title {
		font-size: 1.45rem;
	}

	.changelog-release__version,
	.changelog-release__current {
		min-height: 28px;
		font-size: 1rem;
	}

	.changelog-release__items {
		padding-left: 1.65rem;
		font-size: 0.95rem;
	}

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

	.post-card__body {
		padding: 1rem;
	}

	.post-card__title {
		font-size: 1.18rem;
	}

	.single-article__header,
	.entry-content {
		padding-right: 1.4rem;
		padding-left: 1.4rem;
	}

	.entry-footer {
		padding-right: 1.4rem;
		padding-left: 1.4rem;
	}

	.sidebar {
		grid-template-columns: 1fr;
	}

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

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 575px) {
	.container,
	.site-header__inner,
	.site-footer__inner {
		padding-right: 16px;
		padding-left: 16px;
	}

	.site-branding__name {
		max-width: 175px;
		overflow: hidden;
		font-size: 1.12rem;
		text-overflow: ellipsis;
	}

	.home-hero__inner {
		padding-top: 34px;
	}

	.platform-download {
		width: 150px;
	}

	.all-downloads-page {
		padding: 2.5rem 0 3rem;
	}

	.download-platform-grid {
		grid-template-columns: 1fr;
	}

	.download-platform-card {
		min-height: 300px;
	}

	.download-help {
		padding: 1.5rem 1rem;
	}

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

	.feature-card {
		min-height: 125px;
		padding: 0.75rem 0.45rem;
	}

	.feature-section__title {
		font-size: 1.55rem;
	}

	.post-card {
		grid-template-columns: 1fr;
	}

	.post-card__thumbnail {
		min-height: 190px;
	}

	.post-card__excerpt {
		display: block;
	}

	.single-page,
	.archive-page,
	.search-page {
		padding-top: 1.5rem;
		padding-bottom: 2.5rem;
	}

	.single-article {
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.single-article__header,
	.entry-content,
	.entry-footer {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.entry-content {
		font-size: 1rem;
		line-height: 1.8;
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.post-navigation,
	.related-posts__grid,
	.system-requirements__grid {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.download-hero__icon {
		width: 8rem;
		height: 8rem;
	}

	.download-support-box {
		padding: 1.25rem 1rem;
		font-size: 1rem;
	}

	.site-footer {
		margin-top: 1.5rem;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem 1rem;
	}

	.site-footer__bottom {
		flex-direction: column;
		gap: 0.25rem;
	}
}

/* --------------------------------------------------------------------------
   14. Motion and print preferences
   -------------------------------------------------------------------------- */

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

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

@media print {
	body {
		background: #ffffff;
		color: #000000;
	}

	.site-header,
	.site-footer,
	.sidebar,
	.post-navigation,
	.related-posts,
	.home-hero,
	.download-primary-button,
	.download-secondary-link {
		display: none !important;
	}

	.content-layout {
		display: block;
	}

	.single-article,
	.post-card {
		border: 0;
		box-shadow: none;
	}

	.entry-content {
		padding: 0;
		font-size: 11pt;
	}

	a {
		color: #000000;
		text-decoration: underline;
	}
}
