/* ==========================================================================
   WPGridThemes — main stylesheet
   ========================================================================== */

:root {
	color-scheme: dark;
	--wpg-bg: #0d0e11;
	--wpg-bg-deep: #070809;
	--wpg-surface: #15171b;
	--wpg-surface-2: #1d2025;
	--wpg-ink: #f1efe9;
	--wpg-ink-2: #aeaca5;
	--wpg-ink-3: #75736d;
	--wpg-line: #1f2227;
	--wpg-line-strong: #2c2f36;
	--wpg-border: #33363e;
	--wpg-shadow-c: #000000;
	--wpg-accent: #ff5a1f;
	--wpg-accent-ink: #ffffff;
	--wpg-theme: #4c74ff;
	--wpg-plugin: #13b37c;
	--wpg-radius: 4px;
	--wpg-max: 1240px;
	--wpg-gap: 24px;
	--wpg-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wpg-display: "Space Grotesk", var(--wpg-font);
	--wpg-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--wpg-shadow: 4px 4px 0 var(--wpg-accent);
}

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

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

body {
	margin: 0;
	background: var(--wpg-bg);
	color: var(--wpg-ink);
	font: 16px/1.6 var(--wpg-font);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--wpg-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--wpg-accent); color: #fff; padding: 8px 14px;
}

:focus-visible { outline: 2px solid var(--wpg-accent); outline-offset: 2px; }

.wpg-container { width: 100%; max-width: var(--wpg-max); margin: 0 auto; padding: 0 24px; }
.wpg-container--narrow { max-width: 780px; }
.wpg-mono { font-family: var(--wpg-mono); font-size: 12px; letter-spacing: .02em; color: var(--wpg-ink-3); }

/* Header ------------------------------------------------------------------ */
.wpg-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(13, 14, 17, .86);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--wpg-line-strong);
}
.admin-bar .wpg-header { top: 32px; }
.wpg-header__inner { display: flex; align-items: center; gap: 32px; min-height: 68px; }

.wpg-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--wpg-display); font-size: 20px; letter-spacing: -0.02em; }
.wpg-logo__text { font-weight: 500; }
.wpg-logo__text strong { font-weight: 700; color: var(--wpg-accent); }
.wpg-logo__mark { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 22px; height: 22px; }
.wpg-logo__mark i { background: var(--wpg-ink); border-radius: 1px; }
.wpg-logo__mark i:nth-child(2) { background: var(--wpg-accent); }
.wpg-logo--light .wpg-logo__mark i { background: #fff; }
.wpg-logo--light .wpg-logo__mark i:nth-child(2) { background: var(--wpg-accent); }
.custom-logo { max-height: 40px; width: auto; }

.wpg-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.wpg-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.wpg-menu a { display: block; padding: 8px 12px; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: var(--wpg-radius); }
.wpg-menu a:hover, .wpg-menu .current-menu-item > a { background: var(--wpg-surface-2); color: var(--wpg-accent); }
.wpg-menu .sub-menu { display: none; }

.wpg-header-search input {
	width: 200px; height: 38px; padding: 0 12px;
	border: 1px solid var(--wpg-line-strong); border-radius: var(--wpg-radius);
	background: var(--wpg-surface); font: inherit; font-size: 14px;
}

.wpg-nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--wpg-border); width: 40px; height: 40px; border-radius: var(--wpg-radius); cursor: pointer; position: relative; }
.wpg-nav-toggle span:not(.screen-reader-text) { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--wpg-ink); transition: transform .2s; }
.wpg-nav-toggle span:nth-of-type(2) { top: 15px; }
.wpg-nav-toggle span:nth-of-type(3) { top: 22px; }
.wpg-nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.wpg-nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* Buttons & bits ---------------------------------------------------------- */
.wpg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 20px;
	background: var(--wpg-accent); color: var(--wpg-accent-ink);
	border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius);
	font: 600 15px/1 var(--wpg-font); text-decoration: none; cursor: pointer;
	box-shadow: 3px 3px 0 var(--wpg-shadow-c);
	transition: transform .12s, box-shadow .12s;
}
.wpg-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--wpg-shadow-c); }
.wpg-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--wpg-shadow-c); }
.wpg-btn--sm { height: 34px; padding: 0 14px; font-size: 13px; box-shadow: 2px 2px 0 var(--wpg-shadow-c); }
.wpg-btn--lg { height: 54px; font-size: 17px; }
.wpg-btn--block { display: flex; width: 100%; }
.wpg-btn--ghost { background: var(--wpg-surface-2); color: var(--wpg-ink); }
.wpg-btn--light { background: #0d0e11; color: #fff; border-color: #0d0e11; }
.wpg-btn.is-disabled { background: var(--wpg-line); color: var(--wpg-ink-3); box-shadow: none; cursor: not-allowed; transform: none; }

.wpg-link { font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.wpg-link:hover { color: var(--wpg-accent); }

.wpg-chip {
	display: inline-block; padding: 3px 8px;
	border: 1px solid var(--wpg-border); border-radius: 999px;
	font: 600 11px/1.3 var(--wpg-mono); text-transform: uppercase; letter-spacing: .06em;
	text-decoration: none; background: var(--wpg-surface);
}
.wpg-chip--muted { border-color: var(--wpg-line); color: var(--wpg-ink-2); text-transform: none; letter-spacing: 0; }
.wpg-card--themes .wpg-chip:first-child { background: var(--wpg-theme); border-color: var(--wpg-theme); color: #fff; }
.wpg-card--plugins .wpg-chip:first-child { background: var(--wpg-plugin); border-color: var(--wpg-plugin); color: #fff; }

.wpg-eyebrow { font: 600 12px/1.4 var(--wpg-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--wpg-accent); margin: 0 0 16px; }

/* Hero ---------------------------------------------------------------------- */
.wpg-hero {
	position: relative; overflow: hidden;
	border-bottom: 1px solid var(--wpg-line-strong);
	background-image:
		linear-gradient(var(--wpg-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--wpg-line) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: -1px -1px;
}
.wpg-hero__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; padding-top: 96px; padding-bottom: 88px; }
.wpg-hero__title { font-size: clamp(42px, 6.4vw, 84px); font-weight: 700; letter-spacing: -0.04em; max-width: 13ch; margin-bottom: 24px; }
.wpg-hero__text { font-size: 19px; color: var(--wpg-ink-2); max-width: 46ch; margin: 0 0 32px; }

.wpg-hero-search { display: flex; gap: 10px; max-width: 560px; }
.wpg-hero-search input {
	flex: 1; height: 54px; padding: 0 18px;
	border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius);
	background: var(--wpg-surface); font: inherit; font-size: 16px;
}
.wpg-hero-search .wpg-btn { height: 54px; }
.wpg-hero-search--compact { margin-top: 24px; }
.wpg-hero-search--compact input, .wpg-hero-search--compact .wpg-btn { height: 46px; }

.wpg-hero__quick { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.wpg-hero__quick a { font-weight: 600; font-size: 14px; text-decoration: none; }
.wpg-hero__quick a:hover { color: var(--wpg-accent); }

.wpg-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--wpg-border); background: var(--wpg-surface); box-shadow: var(--wpg-shadow); }
.wpg-stats > div { padding: 22px 24px; border-right: 1px solid var(--wpg-border); }
.wpg-stats > div:nth-child(2) { border-right: 0; }
.wpg-stats__wide { grid-column: 1 / -1; border-top: 1px solid var(--wpg-border); border-right: 0 !important; background: var(--wpg-bg-deep); color: var(--wpg-ink); }
.wpg-stats dt { font: 600 11px/1 var(--wpg-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--wpg-ink-3); }
.wpg-stats__wide dt { color: var(--wpg-ink-3); }
.wpg-stats dd { margin: 10px 0 0; font: 700 44px/1 var(--wpg-display); letter-spacing: -0.03em; }
.wpg-stats__wide dd { color: var(--wpg-accent); font-size: 56px; }

/* Sections ------------------------------------------------------------------ */
.wpg-section { padding-top: 64px; padding-bottom: 64px; }
.wpg-section + .wpg-section { padding-top: 0; }
.wpg-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--wpg-line-strong); }
.wpg-section__head h2 { font-size: 30px; margin: 0; }

.wpg-page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--wpg-line-strong); }
.wpg-page-head h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 12px; }
.wpg-page-head__desc { color: var(--wpg-ink-2); max-width: 60ch; }
.wpg-lede { font-size: 19px; color: var(--wpg-ink-2); max-width: 60ch; margin: 0; }
.wpg-crumbs { margin-bottom: 20px; }
.wpg-crumbs a { text-decoration: none; }
.wpg-crumbs a:hover { color: var(--wpg-accent); }
.wpg-page-head--item .wpg-card__meta { margin-bottom: 14px; }

/* Grid & cards ------------------------------------------------------------- */
.wpg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wpg-gap); }

.wpg-card {
	display: flex; flex-direction: column;
	background: var(--wpg-surface);
	border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius);
	overflow: hidden;
	transition: transform .15s, box-shadow .15s;
}
.wpg-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--wpg-accent); border-color: var(--wpg-accent); }

.wpg-card__thumb { position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--wpg-border); overflow: hidden; background: var(--wpg-bg); }
.wpg-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wpg-card:hover .wpg-card__thumb img { transform: scale(1.03); }

.wpg-thumb-placeholder {
	width: 100%; height: 100%; display: grid; place-items: center;
	background:
		linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px) 0 0 / 24px 24px,
		hsl(var(--h, 20) 62% 40%);
}
.wpg-thumb-placeholder span { font: 700 64px/1 var(--wpg-display); color: #fff; letter-spacing: -0.04em; }
.wpg-single__shot .wpg-thumb-placeholder { aspect-ratio: 16 / 10; }
.wpg-single__shot .wpg-thumb-placeholder span { font-size: 120px; }

.wpg-badge {
	position: absolute; top: 12px; right: 12px;
	padding: 4px 10px; border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius);
	font: 700 12px/1.3 var(--wpg-mono); background: var(--wpg-bg-deep); color: var(--wpg-ink);
}
.wpg-badge--free { background: #d8ff3e; color: #0d0e11; border-color: #0d0e11; }

.wpg-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.wpg-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wpg-card__title { font-size: 21px; margin: 0 0 6px; }
.wpg-card__title a { text-decoration: none; }
.wpg-card__title a:hover { color: var(--wpg-accent); }
.wpg-card__excerpt { color: var(--wpg-ink-2); font-size: 14.5px; margin: 0 0 18px; }
.wpg-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--wpg-line); }
.wpg-card__count { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--wpg-mono); color: var(--wpg-ink-2); }
.wpg-card__actions { display: inline-flex; align-items: center; gap: 14px; }

/* Toolbar ------------------------------------------------------------------ */
.wpg-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.wpg-segment { display: inline-flex; border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius); overflow: hidden; background: var(--wpg-surface); }
.wpg-segment a { padding: 9px 18px; font-weight: 600; font-size: 14px; text-decoration: none; border-right: 1px solid var(--wpg-border); }
.wpg-segment a:last-child { border-right: 0; }
.wpg-segment a.is-active { background: var(--wpg-accent); color: #fff; }
.wpg-segment a:not(.is-active):hover { background: var(--wpg-surface-2); }
.wpg-sort { display: flex; align-items: center; gap: 4px; }
.wpg-sort .wpg-mono { margin-right: 6px; }
.wpg-sort a { padding: 6px 10px; font-size: 14px; text-decoration: none; border-radius: var(--wpg-radius); color: var(--wpg-ink-2); }
.wpg-sort a.is-active { color: var(--wpg-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--wpg-accent); border-radius: 0; }

/* Categories --------------------------------------------------------------- */
.wpg-cats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--wpg-border); border-left: 1px solid var(--wpg-border); }
.wpg-cat { display: flex; justify-content: space-between; align-items: center; padding: 22px 20px; border-right: 1px solid var(--wpg-border); border-bottom: 1px solid var(--wpg-border); text-decoration: none; font: 600 17px/1.2 var(--wpg-display); background: var(--wpg-surface); transition: background .15s, color .15s; }
.wpg-cat:hover { background: var(--wpg-accent); color: #fff; }
.wpg-cat:hover .wpg-mono { color: #fff; }

/* CTA ---------------------------------------------------------------------- */
.wpg-cta { background: var(--wpg-accent); color: #fff; border-top: 1px solid var(--wpg-border); border-bottom: 1px solid var(--wpg-border); }
.wpg-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.wpg-cta h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 6px; }
.wpg-cta p { margin: 0; opacity: .9; }

/* Single ------------------------------------------------------------------- */
.wpg-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding-top: 48px; padding-bottom: 64px; align-items: start; }
.wpg-single__shot { margin: 0 0 40px; border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius); overflow: hidden; box-shadow: var(--wpg-shadow); background: var(--wpg-surface); }

.wpg-panel { background: var(--wpg-surface); border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius); padding: 24px; box-shadow: var(--wpg-shadow); }
.wpg-panel--sticky { position: sticky; top: 92px; }
.wpg-panel__price { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.wpg-panel__price span { font: 700 40px/1 var(--wpg-display); letter-spacing: -0.03em; }
.wpg-panel__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.wpg-panel__links .wpg-btn:only-child { grid-column: 1 / -1; }

.wpg-specs { margin: 22px 0 0; border-top: 1px solid var(--wpg-line); }
.wpg-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--wpg-line); font-size: 14px; }
.wpg-specs dt { color: var(--wpg-ink-3); }
.wpg-specs dd { margin: 0; font-weight: 600; text-align: right; }
.wpg-terms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

.wpg-tabs__list { display: flex; gap: 0; border-bottom: 1px solid var(--wpg-border); margin-bottom: 28px; }
.wpg-tabs__list button { background: none; border: 0; padding: 12px 18px; font: 600 15px/1 var(--wpg-font); cursor: pointer; color: var(--wpg-ink-3); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.wpg-tabs__list button[aria-selected="true"] { color: var(--wpg-ink); border-color: var(--wpg-accent); }
.wpg-changelog { background: var(--wpg-bg-deep); color: #e9e7df; border: 1px solid var(--wpg-border); padding: 24px; border-radius: var(--wpg-radius); font: 13.5px/1.7 var(--wpg-mono); white-space: pre-wrap; overflow-x: auto; }

/* Prose -------------------------------------------------------------------- */
.wpg-prose { font-size: 17px; line-height: 1.75; }
.wpg-prose > * + * { margin-top: 1.1em; }
.wpg-prose h2 { font-size: 28px; margin-top: 1.8em; }
.wpg-prose h3 { font-size: 22px; margin-top: 1.6em; }
.wpg-prose a { color: var(--wpg-accent); }
.wpg-prose img { border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius); }
.wpg-prose code { font-family: var(--wpg-mono); font-size: .88em; background: var(--wpg-surface-2); padding: 2px 6px; border-radius: 3px; }
.wpg-prose pre { background: var(--wpg-bg-deep); color: #eee; border: 1px solid var(--wpg-border); padding: 20px; border-radius: var(--wpg-radius); overflow-x: auto; }
.wpg-prose pre code { background: none; padding: 0; }
.wpg-prose blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--wpg-accent); color: var(--wpg-ink-2); }
.wpg-prose ul li::marker { color: var(--wpg-accent); }

/* Pagination / empty ------------------------------------------------------- */
.wpg-pagination { margin-top: 48px; }
.wpg-pagination ul { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.wpg-pagination a, .wpg-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius); text-decoration: none; font: 600 14px/1 var(--wpg-mono); background: var(--wpg-surface); }
.wpg-pagination .current { background: var(--wpg-accent); border-color: var(--wpg-accent); color: #fff; }
.wpg-pagination .dots { border: 0; background: none; }
.wpg-empty { text-align: center; padding: 80px 24px; border: 1px dashed var(--wpg-ink-3); border-radius: var(--wpg-radius); }

/* Comments ---------------------------------------------------------------- */
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { border: 1px solid var(--wpg-line); background: var(--wpg-surface); padding: 18px; border-radius: var(--wpg-radius); margin-bottom: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--wpg-border); border-radius: var(--wpg-radius); font: inherit; }
.comment-form .submit { background: var(--wpg-accent); color: #fff; border: 1px solid var(--wpg-border); padding: 12px 20px; font-weight: 600; border-radius: var(--wpg-radius); box-shadow: 3px 3px 0 var(--wpg-shadow-c); cursor: pointer; }

/* Footer ------------------------------------------------------------------ */
.wpg-footer { background: var(--wpg-bg-deep); color: var(--wpg-ink-2); margin-top: 0; }
.wpg-main + .wpg-footer { border-top: 1px solid var(--wpg-border); }
.wpg-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.wpg-footer .wpg-logo { color: #fff; }
.wpg-footer p { max-width: 36ch; margin-top: 16px; }
.wpg-footer h4, .wpg-footer .widget-title { color: #fff; font: 600 12px/1 var(--wpg-mono); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.wpg-footer ul { list-style: none; padding: 0; margin: 0; }
.wpg-footer li { margin-bottom: 10px; }
.wpg-footer a { text-decoration: none; }
.wpg-footer a:hover { color: var(--wpg-accent); }
.wpg-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--wpg-line-strong); font-size: 14px; }

/* WP core alignment helpers ------------------------------------------------ */
.alignwide { margin-left: -80px; margin-right: -80px; max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--wpg-ink-3); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
	.wpg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpg-cats { grid-template-columns: repeat(2, 1fr); }
	.wpg-hero__inner { grid-template-columns: 1fr; gap: 48px; }
	.wpg-stats { max-width: 520px; }
	.wpg-single__grid { grid-template-columns: 1fr; }
	.wpg-panel--sticky { position: static; }
	.wpg-single__side { order: -1; }
	.wpg-footer__grid { grid-template-columns: 1fr 1fr; }
	.alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 860px) {
	.wpg-nav-toggle { display: block; }
	.wpg-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 12px;
		padding: 16px 24px 24px; background: var(--wpg-bg); border-bottom: 1px solid var(--wpg-border);
	}
	.wpg-nav.is-open { display: flex; }
	.wpg-menu { flex-direction: column; }
	.wpg-header-search input { width: 100%; }
	.admin-bar .wpg-header { top: 46px; }
}

@media (max-width: 600px) {
	.wpg-grid { grid-template-columns: 1fr; }
	.wpg-hero__inner { padding-top: 56px; padding-bottom: 56px; }
	.wpg-hero-search { flex-direction: column; }
	.wpg-cta__inner { flex-direction: column; align-items: flex-start; }
	.wpg-footer__grid { grid-template-columns: 1fr; }
	.wpg-footer__bottom { flex-direction: column; }
	.wpg-toolbar { flex-direction: column; align-items: flex-start; }
	.wpg-segment { width: 100%; }
	.wpg-segment a { flex: 1; text-align: center; }
	.wpg-stats dd { font-size: 36px; }
	.wpg-stats__wide dd { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* Dark form fields ------------------------------------------------------- */
input[type="search"], input[type="text"], input[type="email"], input[type="url"], textarea, select { color: var(--wpg-ink); background-color: var(--wpg-surface); }
::placeholder { color: var(--wpg-ink-3); opacity: 1; }
.wpg-hero { background-color: var(--wpg-bg); }
.wpg-hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(255, 90, 31, .16), transparent); pointer-events: none; }
.wpg-hero__inner { position: relative; z-index: 1; }
.wpg-stats { box-shadow: 4px 4px 0 var(--wpg-accent); }
::selection { background: var(--wpg-accent); color: #fff; }
