/*
Theme Name: Somosuno Sidewall
Version: 1.0.0
Description: The sidewall theme of Somosuno: raised white lettering moulded on a graphite tyre arc, tread blocks as the only ornament, pure monochrome.
Author: Somosuno
License: GPL-2.0-or-later
Text Domain: somosuno-sidewall
*/

/* tread / Alfa Slab One and Work Sans, carried inside the theme */

@font-face {
	font-family: "Alfa Slab One";
	src: url("assets/fonts/alfa-slab-one-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Work Sans";
	src: url("assets/fonts/work-sans-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Work Sans";
	src: url("assets/fonts/work-sans-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/* tread / Rubber, graphite and moulded white */

:root {
	--rubber: #e9eaeb;
	--moulded: #f8f8f8;
	--graphite: #2a2d33;
	--shadow: #16181c;
	--tread: #6b7078;
	--sipe: #454950;
	--raised: #ffffff;
	--ink: #1b1d21;
	--muted: #555a61;
	--on-graphite: #d9dbde;
	--seam: #d2d4d7;
	--slab: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
	--sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
	--width: 1120px;
	--measure: 64ch;
	--mould: 16px;
	--tread-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M3 0H18L15 14H0ZM10.4 3.2H11.7L10 11H8.7Z'/%3E%3C/svg%3E");
}

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

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

body {
	margin: 0;
	background: var(--rubber);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.6;
	font-weight: 400;
	font-optical-sizing: auto;
}

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

a {
	color: var(--graphite);
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 3px;
}

:focus-visible {
	outline: 3px solid var(--graphite);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--slab);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: 0.004em;
	color: var(--graphite);
	text-wrap: balance;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

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

.skip-link:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 10px 16px;
	background: var(--raised);
	color: var(--graphite);
	font-weight: 650;
	z-index: 100;
}

.wrap {
	width: 100%;
	max-width: var(--width);
	margin: 0 auto;
	padding: 0 24px;
}

/* tread / Tread: slanted blocks with sipes, tinted by background colour */

.tread-row {
	display: block;
	height: 12px;
	background: var(--graphite);
	-webkit-mask: var(--tread-tile) 0 0 / 22px 12px repeat-x;
	mask: var(--tread-tile) 0 0 / 22px 12px repeat-x;
}

.tread-row--up {
	transform: scaleY(-1);
}

/* tread / Home header: the wide tyre arc */

.arc-head {
	position: relative;
	padding-top: 6px;
}

.arc-head__mark {
	display: block;
	border-radius: 0;
}

.arc-head__mark img {
	display: block;
	width: 100%;
	height: clamp(176px, 24.5vw, 392px);
	object-fit: cover;
	object-position: 50% 0;
}

.arc-head__mark:focus-visible {
	outline-offset: -6px;
}

.arc-head .menu-line {
	position: absolute;
	top: 18px;
	right: 28px;
}

/* tread / Other pages: the compact strip with a tread edge */

.strip {
	background: var(--rubber);
}

.strip__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	flex-wrap: wrap;
	padding-top: 14px;
	padding-bottom: 12px;
}

.strip__logo {
	display: block;
	line-height: 0;
}

.strip__logo img {
	width: 172px;
	height: auto;
}

.strip__edge {
	height: 7px;
	background: var(--graphite);
	position: relative;
	margin-bottom: 12px;
}

.strip__edge .tread-row {
	position: absolute;
	left: 0;
	right: 0;
	top: 6px;
	height: 11px;
}

/* tread / Menu: two plain words */

.menu-line ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 6px 26px;
	flex-wrap: wrap;
}

.menu-line a {
	display: inline-block;
	padding: 6px 0 9px;
	font-weight: 650;
	font-size: 17px;
	letter-spacing: 0.01em;
	color: var(--graphite);
	text-decoration: none;
	position: relative;
}

.menu-line a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: var(--graphite);
	-webkit-mask: var(--tread-tile) 0 0 / 11px 6px repeat-x;
	mask: var(--tread-tile) 0 0 / 11px 6px repeat-x;
	opacity: 0;
}

.menu-line a:hover::after {
	opacity: 0.45;
}

.menu-line .current-menu-item > a::after,
.menu-line .current-menu-ancestor > a::after,
.menu-line .current-post-ancestor > a::after,
.menu-line .current-category-ancestor > a::after,
.menu-line a[aria-current="page"]::after {
	opacity: 1;
}

/* tread / The home page under the arc */

.home-lead {
	text-align: center;
	padding: 6px 0 44px;
}

.home-lead__tagline {
	font-size: clamp(2.15rem, 5.4vw, 4.4rem);
	max-width: 15ch;
	margin: 0 auto 0.3em;
	text-shadow: 0 2px 0 var(--raised);
}

.home-lead__line {
	max-width: 44ch;
	margin: 0 auto;
	color: var(--muted);
	font-size: 1.1rem;
}

/* The question as a graphite card edged with tread blocks */

.question-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px 40px;
	margin: 24px 0 64px;
	padding: 44px 48px;
	background: var(--graphite);
	color: var(--raised);
	border-radius: var(--mould);
	text-decoration: none;
}

.question-card::before,
.question-card::after {
	content: "";
	position: absolute;
	left: var(--mould);
	right: var(--mould);
	height: 12px;
	background: var(--graphite);
	-webkit-mask: var(--tread-tile) 0 0 / 22px 12px repeat-x;
	mask: var(--tread-tile) 0 0 / 22px 12px repeat-x;
}

.question-card::before {
	top: -11px;
	transform: scaleY(-1);
}

.question-card::after {
	bottom: -11px;
}

.question-card:focus-visible {
	outline: 3px solid var(--raised);
	outline-offset: -9px;
	box-shadow: 0 0 0 4px var(--graphite);
}

.question-card__title {
	color: var(--raised);
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	text-shadow: 0 3px 0 var(--shadow);
	margin-bottom: 0.45em;
}

.question-card__line {
	color: var(--on-graphite);
	margin-bottom: 1.4em;
	max-width: 46ch;
}

.question-card__go {
	display: inline-block;
	padding: 12px 22px 13px;
	background: var(--raised);
	color: var(--graphite);
	font-family: var(--slab);
	font-size: 1.1rem;
	line-height: 1.2;
	border-radius: 10px;
	box-shadow: 0 3px 0 var(--shadow);
}

.question-card:hover .question-card__go {
	background: var(--rubber);
}

.question-card__drawing {
	display: block;
	width: 100%;
	max-width: 400px;
	justify-self: end;
}

.question-list {
	display: grid;
	gap: 44px;
	margin: 36px 0 64px;
}

.question-list .question-card {
	margin: 0;
}

/* Search results and other plain listings: moulded rows with a graphite tread edge */

.result-list {
	display: grid;
	gap: 14px;
	margin: 8px 0 64px;
}

.result {
	display: block;
	padding: 22px 28px 22px 36px;
	background: var(--moulded);
	border-radius: 12px;
	color: var(--ink);
	text-decoration: none;
	box-shadow: inset 8px 0 0 var(--graphite), inset 0 -3px 0 var(--seam);
}

.result h2 {
	font-size: 1.5rem;
	margin: 0 0 0.25em;
}

.result p {
	margin: 0;
	color: var(--muted);
	max-width: 64ch;
}

.result:hover h2 {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

/* Somosuno's own words, on moulded white */

.panel {
	background: var(--moulded);
	border-radius: var(--mould);
	padding: 40px 48px;
	box-shadow: inset 0 -3px 0 var(--seam);
}

.home-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: 40px;
}

.prose {
	max-width: var(--measure);
}

.prose h2 {
	font-size: 1.75rem;
	margin-top: 1.4em;
}

.prose h2:first-child {
	margin-top: 0;
}

.prose h3 {
	font-size: 1.35rem;
	margin-top: 1.3em;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
	margin: 0 0 1em;
}

.prose li {
	margin-bottom: 0.35em;
}

.prose li::marker {
	color: var(--tread);
}

.prose strong {
	font-weight: 650;
}

/* tread / Ad slots: plain labelled panels */

.slot-panel {
	margin: 32px 0 56px;
	padding: 14px 16px 18px;
	background: var(--moulded);
	border: 1px solid var(--seam);
	border-radius: 10px;
}

.panel .slot-panel {
	margin: 28px 0 0;
	background: var(--rubber);
}

.flanco {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
}

.flanco iframe {
	max-width: 100%;
	border: 0;
}

.relieve {
	display: block;
	margin: 0 0 8px;
	font-family: var(--sans);
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--muted);
	text-align: left;
}

/* tread / Page heads for institutional, policy, search and missing pages */

.page-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 16px 40px;
	padding: 36px 0 28px;
}

.page-head__title {
	font-size: clamp(2rem, 4.4vw, 3.4rem);
	margin-bottom: 0.25em;
	text-shadow: 0 2px 0 var(--raised);
}

.page-head__lead {
	color: var(--muted);
	max-width: 54ch;
	margin: 0;
	font-size: 1.1rem;
}

.page-head__drawing {
	width: 220px;
	line-height: 0;
}

.page-body {
	margin-bottom: 64px;
}

.page-body .panel {
	max-width: 860px;
}

.page-date {
	margin: 28px 0 0;
	padding-top: 16px;
	border-top: 2px solid var(--seam);
	color: var(--muted);
	font-size: 15px;
}

/* tread / Archive: the niche's name raised on a short arc */

.archive-head {
	text-align: center;
	padding: 10px 0 8px;
}

.archive-head__arc {
	display: block;
	width: min(640px, 100%);
	margin: 0 auto;
}

.archive-head__arc text {
	font-family: var(--slab);
	font-size: 70px;
	fill: var(--raised);
}

.archive-head__lead {
	max-width: 52ch;
	margin: 8px auto 0;
	color: var(--muted);
	font-size: 1.1rem;
}

.empty-note {
	margin: 32px 0 64px;
}

/* tread / A row of tread with one block gone */

.missing {
	text-align: center;
	padding: 48px 0 72px;
}

.missing__drawing {
	width: min(420px, 100%);
	margin: 0 auto 28px;
	display: block;
}

.missing__title {
	font-size: clamp(2rem, 4.6vw, 3.2rem);
}

.missing p {
	max-width: 46ch;
	margin-left: auto;
	margin-right: auto;
	color: var(--muted);
}

/* tread / Footer: graphite band with tread along its top */

.site-foot {
	margin-top: 40px;
	position: relative;
	background: var(--graphite);
	color: var(--on-graphite);
	font-size: 16px;
}

.site-foot > .tread-row {
	position: absolute;
	left: 0;
	right: 0;
	top: -11px;
}

.site-foot__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 28px 56px;
	padding-top: 44px;
	padding-bottom: 48px;
}

.site-foot__brand {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.site-foot__brand img {
	width: 64px;
	height: 64px;
	flex: none;
	border-radius: 12px;
}

.site-foot__name {
	font-family: var(--slab);
	font-size: 1.6rem;
	line-height: 1.1;
	color: var(--raised);
	margin: 2px 0 6px;
	text-shadow: 0 2px 0 var(--shadow);
}

.site-foot__tagline {
	margin: 0;
}

.site-foot a {
	color: var(--raised);
}

.site-foot__publisher {
	margin: 0 0 14px;
}

.groove-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2px 26px;
}

.groove-links li {
	position: relative;
}

/* a short groove after each link, like the cut between two tread blocks */
.groove-links li:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -15px;
	top: 50%;
	width: 3px;
	height: 15px;
	margin-top: -7px;
	background: var(--tread);
	border-radius: 2px;
	transform: skewX(-14deg);
}

.groove-links a {
	display: inline-block;
	padding: 6px 0;
	text-decoration-thickness: 1px;
}

/* tread / The consent strip along the foot of the window */

.talon {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	padding: 10px max(16px, calc((100vw - var(--width)) / 2 + 24px));
	background: var(--moulded);
	color: var(--ink);
	border-top: 3px solid var(--graphite);
	font-size: 15px;
	line-height: 1.45;
}

.talon p {
	margin: 0;
	flex: 1 1 420px;
}

.talon a {
	color: var(--graphite);
	font-weight: 600;
}

.talon button,
.prose .taco button[value="1"],
.prose .taco button[value="0"] {
	min-height: 44px;
	min-width: 112px;
	padding: 8px 18px;
	border: 0;
	border-radius: 9px;
	background: var(--graphite);
	color: var(--raised);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.2;
	cursor: pointer;
}

.talon button:hover,
.prose .taco button[value="1"]:hover,
.prose .taco button[value="0"]:hover {
	background: var(--shadow);
}

.talon button:focus-visible,
.prose .taco button:focus-visible {
	outline: 3px solid var(--raised);
	outline-offset: -6px;
	box-shadow: 0 0 0 3px var(--graphite);
}

body:has(.talon:not([hidden])) {
	padding-bottom: 168px;
}

@media (min-width: 760px) {
	body:has(.talon:not([hidden])) {
		padding-bottom: 96px;
	}
}

/* Accept and decline, set into the cookies page's own text */

.prose .taco {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 8px 0 12px;
	padding: 18px;
	background: var(--rubber);
	border-radius: 12px;
}

.surco {
	color: var(--muted);
	font-size: 16px;
}

/* tread / The question page */

.question-screen {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}

.question-top {
	display: flex;
	justify-content: center;
	padding: 14px 20px 0;
}

.question-top a {
	display: block;
	line-height: 0;
	border-radius: 10px;
}

.question-top img {
	width: clamp(150px, 20vw, 208px);
	height: auto;
}

.question-main {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: var(--width);
	margin: 0 auto;
	padding: 28px 24px 40px;
}

.question-main fieldset {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.question-main legend {
	float: left;
	flex: 0 0 100%;
	width: 100%;
	padding: 0;
	margin: 0 0 0.2em;
	font-family: var(--slab);
	font-size: clamp(1.95rem, 4.8vw, 3.6rem);
	line-height: 1.1;
	color: var(--graphite);
	text-wrap: balance;
	text-shadow: 0 2px 0 var(--raised);
}

.question-main fieldset > p {
	margin: 0;
}

.question-main [id$="-description"] {
	flex: 0 0 100%;
	margin: 0 0 18px;
	padding-right: max(0px, calc(100% - 54ch));
	color: var(--muted);
	font-size: 1.15rem;
}

/* Each answer sits in its own paragraph */
.question-main fieldset > p:not([id]):not([role]) {
	flex: 1 1 100%;
	display: flex;
}

.question-main button {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 72px;
	margin: 0;
	padding: 16px 22px 16px 54px;
	border: 0;
	border-radius: 14px;
	background: var(--graphite);
	color: var(--raised);
	font-family: var(--slab);
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	line-height: 1.15;
	text-align: left;
	text-shadow: 0 2px 0 var(--shadow);
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
}

/* The grooved left edge: slanted sipes cut into the block */
.question-main button::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 30px;
	background: repeating-linear-gradient(-62deg, var(--graphite) 0 7px, var(--shadow) 7px 10px);
	box-shadow: inset -3px 0 0 var(--shadow);
	z-index: -1;
}

/* A brief tread shimmer that passes three times, then stops */
.question-main button::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -40%;
	width: 30%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.09), transparent);
	transform: skewX(-18deg);
	z-index: -1;
	animation: tread-pass 7s ease-in-out 2s 3 both;
	pointer-events: none;
}

.question-main fieldset > p:nth-of-type(3) button::after {
	animation-delay: 2.4s;
}

.question-main fieldset > p:nth-of-type(4) button::after {
	animation-delay: 2.8s;
}

.question-main fieldset > p:nth-of-type(5) button::after {
	animation-delay: 3.2s;
}

@keyframes tread-pass {
	0%,
	80% {
		left: -40%;
	}
	100% {
		left: 120%;
	}
}

.question-main button:hover {
	background: #33373e;
}

.question-main button:focus-visible {
	outline: 4px solid var(--raised);
	outline-offset: -8px;
	box-shadow: 0 0 0 4px var(--graphite);
	border-radius: 14px;
}

/* Only the chosen block's tread rolls, and only while its request is pending */
.question-main button[aria-busy="true"]::before {
	animation: tread-roll 0.6s linear infinite;
}

.question-main button[aria-busy="true"]::after {
	animation: none;
	opacity: 0;
}

.question-main button:disabled {
	cursor: progress;
}

.question-main button:disabled:not([aria-busy="true"]) {
	background: #4a4e55;
}

@keyframes tread-roll {
	from {
		background-position: 0 0;
	}
	to {
		background-position: 0 -20px;
	}
}

.question-main [role="status"] {
	flex: 0 0 100%;
	min-height: 1.6em;
	margin: 4px 0 0;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.05rem;
	font-weight: 500;
}

.question-foot {
	padding: 18px 24px 22px;
	border-top: 2px solid var(--seam);
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.5;
	text-align: center;
}

.question-foot p {
	margin: 0 0 4px;
}

.question-foot a {
	color: var(--graphite);
	text-decoration-thickness: 1px;
}

.question-foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 16px;
}

.question-foot li a {
	display: inline-block;
	padding: 5px 0;
}

/* tread / If a long-form post ever joins the question: graphite band, moulded panel */

.article-band {
	background: var(--graphite);
	color: var(--on-graphite);
	border-radius: var(--mould);
	padding: 40px 48px 36px;
	margin: 24px 0 0;
}

.article-band h1 {
	color: var(--raised);
	font-size: clamp(2rem, 4.2vw, 3.2rem);
	text-shadow: 0 3px 0 var(--shadow);
	max-width: 24ch;
}

.article-band a {
	color: var(--raised);
}

.article-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	font-size: 15px;
}

.article-byline img {
	width: 40px;
	height: 40px;
	border-radius: 8px;
}

.article-body {
	margin: 0 0 56px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.article-body figure {
	margin: 28px 0;
}

.article-body figure img {
	display: block;
	width: 100%;
	border-radius: 10px;
	background: var(--rubber);
}

.article-body figcaption {
	margin-top: 8px;
	font-size: 15px;
	color: var(--muted);
}

.article-body aside {
	margin: 28px 0;
	padding: 20px 24px;
	background: var(--rubber);
	border-left: 8px solid var(--graphite);
	border-radius: 0 12px 12px 0;
}

.article-body blockquote {
	margin: 28px 0;
	padding: 0 0 0 22px;
	border-left: 4px solid var(--tread);
	font-family: var(--slab);
	font-size: 1.3rem;
	line-height: 1.3;
	color: var(--graphite);
}

.article-body details {
	margin: 0 0 12px;
	padding: 12px 18px;
	background: var(--rubber);
	border-radius: 10px;
}

.article-body summary {
	font-weight: 650;
	cursor: pointer;
}

.article-body dl dt {
	font-weight: 650;
}

.article-body dl dd {
	margin: 0 0 12px;
}

.article-body ol {
	counter-reset: step;
	list-style: none;
	padding-left: 0;
}

.article-body ol > li {
	counter-increment: step;
	position: relative;
	padding-left: 52px;
	margin-bottom: 14px;
}

.article-body ol > li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -2px;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	background: var(--graphite);
	color: var(--raised);
	font-family: var(--slab);
	border-radius: 8px;
}

.table-wrap,
.article-body table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.article-body table {
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 16px;
}

.article-body th {
	background: var(--graphite);
	color: var(--raised);
	font-weight: 650;
	text-align: left;
	padding: 10px 14px;
}

.article-body td {
	padding: 10px 14px;
	border-bottom: 2px solid var(--seam);
}

/* tread / Where the sidewall narrows: tablets and phones */

@media (max-width: 900px) {
	.question-card {
		grid-template-columns: minmax(0, 1fr);
		padding: 36px 28px 32px;
	}

	.question-card__drawing {
		justify-self: start;
		max-width: 300px;
		order: -1;
	}

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

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

	.page-head__drawing {
		display: none;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 17px;
	}

	.wrap {
		padding: 0 16px;
	}

	.arc-head .menu-line {
		position: static;
		display: flex;
		justify-content: flex-end;
		padding: 4px 16px 6px;
	}

	.home-lead {
		padding-bottom: 32px;
	}

	.question-card {
		padding: 30px 22px 28px;
		margin-bottom: 48px;
	}

	.panel {
		padding: 28px 20px;
	}

	.article-band {
		padding: 30px 22px 26px;
	}

	.strip__row {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.strip__logo img {
		width: 118px;
	}

	.menu-line ul {
		gap: 4px 16px;
		flex-wrap: nowrap;
	}

	.menu-line a {
		font-size: 15.5px;
	}

	.talon {
		padding: 8px 14px 10px;
		font-size: 13.5px;
		line-height: 1.38;
		gap: 6px 10px;
	}

	.talon p {
		flex-basis: 100%;
	}

	.talon button {
		flex: 1 1 0;
	}

	.question-top {
		padding-top: 10px;
	}

	.question-main {
		justify-content: flex-start;
		padding: 18px 16px 28px;
	}

	.question-main [id$="-description"] {
		margin-bottom: 12px;
	}
}

@media (min-width: 760px) {
	.question-main fieldset {
		gap: 18px;
	}

	.question-main fieldset > p:not([id]):not([role]) {
		flex: 1 1 0;
	}

	.question-main button {
		min-height: 96px;
	}
}

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