/*
Theme Name: queerANarchive
Theme URI: https://queeranarchive.hr/
Author: queerANarchive
Description: Arhivska tema za queerANarchive: najave događanja i otvorenih poziva na naslovnici te pregledna arhiva svih objava po godinama i programima. An archive theme for queerANarchive: upcoming events and open calls on the homepage, and a filterable index of every post by year and programme.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qanarchive
*/

/* ---------- Fonts (self-hosted, no requests to Google) ---------- */

@font-face {
	font-family: "QA Heros Cn";
	src: url("assets/fonts/heros-cn-bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "QA Heros Cn";
	src: url("assets/fonts/heros-cn-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "QA Lora";
	src: url("assets/fonts/lora.woff") format("woff");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "QA Lora";
	src: url("assets/fonts/lora-italic.woff") format("woff");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
	/* The queer flag, top to bottom: black, sky, blue, green, white, orange, red, pink, black. */
	--sky: #9ad9eb;
	--blue: #00a1e9;
	--green: #b5e51d;
	--paper: #fff;
	--orange: #ffc90d;
	--red: #fc6667;
	--pink: #feaec9;
	--ink: #000;

	--page: var(--green);  /* page background */
	--hover: var(--orange); /* text colour on black hover */

	--display: "QA Heros Cn", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--text: "QA Lora", Georgia, "Times New Roman", serif;

	--gutter: clamp(1rem, 3.5vw, 3rem);
	--max: 1440px;
	--rule: 2px solid var(--ink);
}

/* ---------- The QA monogram ----------
   Drawn as a mask so it can be green on black, black on green, etc. */

.qa-mark {
	display: inline-block;
	flex: none;
	aspect-ratio: 290 / 360;
	background-color: currentColor;
	-webkit-mask: url("assets/img/qa-mark.svg") center / contain no-repeat;
	mask: url("assets/img/qa-mark.svg") center / contain no-repeat;
}

/* ---------- Base ---------- */

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

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

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1.125rem;
	line-height: 1.55;
	font-kerning: normal;
}

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

a {
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1;
	margin: 0;
}

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

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: .6rem 1rem;
	background: var(--paper);
	font-family: var(--display);
}
.skip-link:focus {
	top: 1rem;
}

.site-main {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}

.button,
.search-submit {
	display: inline-block;
	padding: .55rem 1.1rem .5rem;
	border: 0;
	background: var(--ink);
	color: var(--hover);
	font-family: var(--display);
	font-size: 1.15rem;
	text-decoration: none;
	cursor: pointer;
}
.button:hover,
.search-submit:hover {
	background: var(--blue);
	color: var(--ink);
}

/* ---------- Header ---------- */

.site-header {
	background: var(--ink);
	color: var(--paper);
}

.site-header__bar {
	max-width: var(--max);
	margin: 0 auto;
	padding: 1rem var(--gutter);
	display: flex;
	align-items: center;
	gap: 1.5rem 2.5rem;
	flex-wrap: wrap;
}

.site-header__logo img {
	display: block;
	max-height: 56px;
	width: auto;
}

.site-header__brand {
	display: flex;
	align-items: center;
	gap: .9rem;
	color: var(--paper);
	text-decoration: none;
}
.site-header__mark {
	height: 54px;
	color: var(--green);
}
.site-header__name {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1;
}
.site-header__brand:hover .site-header__name {
	color: var(--green);
}

.site-nav {
	margin-left: auto;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.75rem;
}

.site-nav__list a {
	display: block;
	padding: .25rem 0;
	font-family: var(--display);
	font-size: 1.35rem;
	color: var(--paper);
	text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current-cat > a,
.site-nav__list .current-post-ancestor > a,
.site-nav__list .current-category-ancestor > a {
	color: var(--green);
}

.site-nav__list .sub-menu {
	list-style: none;
	padding: 0 0 0 1rem;
	margin: 0;
}

/* The two stripes from the current site, kept as the identity's signature. */
.site-header__stripes {
	height: 30px;
	background: linear-gradient(var(--sky) 0 50%, var(--blue) 50% 100%);
}

/* The archive page is orange, and its hovers flip to green. */
.qa-arhiva {
	--page: var(--orange);
	--hover: var(--green);
}

.nav-toggle {
	display: none;
	margin-left: auto;
	padding: .4rem .9rem .35rem;
	border: 2px solid var(--green);
	background: none;
	color: var(--green);
	font-family: var(--display);
	font-size: 1.15rem;
	cursor: pointer;
}

@media (max-width: 900px) {
	.js .nav-toggle {
		display: block;
	}
	.js .site-nav {
		display: none;
		flex-basis: 100%;
	}
	.js .site-header.is-open .site-nav {
		display: block;
	}
	.site-nav__list {
		flex-direction: column;
	}
	.site-nav__list a {
		font-size: 1.6rem;
	}
}

/* ---------- Section titles ---------- */

.section-title {
	font-size: clamp(2.2rem, 4.5vw, 3.75rem);
	letter-spacing: -.01em;
	padding-top: .9rem;
	border-top: 6px solid var(--ink);
	margin-bottom: 1.5rem;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	border-top: 6px solid var(--ink);
	padding-top: .9rem;
	margin-bottom: 1.5rem;
}
.section-head .section-title {
	border: 0;
	padding: 0;
	margin: 0;
}
.section-head__more {
	font-family: var(--display);
	font-size: 1.25rem;
	text-underline-offset: .2em;
}
.section-head__more:hover {
	background: var(--ink);
	color: var(--hover);
	text-decoration: none;
}

/* ---------- Homepage ---------- */

.home__intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 1.5rem 3rem;
	margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.home__intro > * {
	grid-column: 1;
}
/* The monogram sits on the first section rule, its tail crossing the line. */
.home__mark {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: end;
	height: clamp(10rem, 21vw, 19rem);
	margin-bottom: calc(clamp(2.5rem, 6vw, 5rem) * -1 - .1rem);
	position: relative;
	z-index: 1;
	pointer-events: none;
}
@media (max-width: 700px) {
	.home__intro {
		grid-template-columns: minmax(0, 1fr);
	}
	.home__mark {
		grid-column: 1;
		grid-row: auto;
		order: -1;
		height: 7.5rem;
		margin-bottom: 0;
	}
}
.home__wordmark {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
.home__lede {
	margin: 0;
	max-width: 32ch;
	font-size: clamp(1.6rem, 3.2vw, 2.6rem);
	line-height: 1.2;
}
.home__page-content {
	margin-top: 1.5rem;
}

.home__section + .home__section {
	margin-top: clamp(3rem, 7vw, 6rem);
}

/* Features: the big-date list. This is the page's one loud element. */

.features {
	border-bottom: var(--rule);
}

.feature__link {
	display: grid;
	grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr) minmax(0, 26rem);
	gap: 1.5rem clamp(1.25rem, 3vw, 3rem);
	align-items: start;
	padding: 1.5rem 0;
	border-top: var(--rule);
	text-decoration: none;
}
.feature__link:hover,
.feature__link:focus-visible {
	background: var(--ink);
	color: var(--hover);
	outline-offset: 0;
}
.feature__link:hover .feature__date,
.feature__link:focus-visible .feature__date {
	padding-left: .75rem;
}

.feature__date {
	margin: 0;
	display: flex;
	flex-direction: column;
}
.feature__day {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(5rem, 11vw, 10.5rem);
	line-height: .78;
	letter-spacing: -.03em;
}
.feature__month {
	font-style: italic;
	font-size: clamp(1.2rem, 1.8vw, 1.6rem);
	margin-top: .5rem;
}

.feature__strand {
	margin: 0 0 .5rem;
	font-family: var(--display);
	font-size: 1.15rem;
}
.feature__title {
	font-size: clamp(1.8rem, 3.2vw, 3rem);
	line-height: 1;
	max-width: 22ch;
	margin-bottom: .75rem;
}
.feature__details,
.feature__excerpt {
	margin: 0;
	max-width: 52ch;
}
.feature__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.feature__image--mark {
	display: grid;
	place-items: center;
	aspect-ratio: 3 / 2;
	background: var(--ink);
	color: var(--green);
}
.feature__image--mark .qa-mark {
	height: 62%;
}
.feature__link:hover .feature__image--mark {
	padding-right: 0;
	color: var(--sky);
}
.feature__image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.feature__link:hover .feature__image,
.feature__link:focus-visible .feature__image {
	padding-right: .75rem;
}

@media (max-width: 900px) {
	.feature__link {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.feature__image {
		grid-column: 1 / -1;
	}
	.feature__day {
		font-size: clamp(4.5rem, 20vw, 7rem);
	}
}

/* Open calls */

.calls {
	background: var(--sky);
	margin-left: calc(var(--gutter) * -1);
	margin-right: calc(var(--gutter) * -1);
	padding: clamp(1.5rem, 4vw, 3rem) var(--gutter);
}
.calls__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: var(--rule);
}
.calls__item a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: .5rem 2rem;
	flex-wrap: wrap;
	padding: .9rem 0;
	border-top: var(--rule);
	text-decoration: none;
}
.calls__item a:hover {
	background: var(--ink);
	color: var(--sky);
}
.calls__title {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	line-height: 1.05;
}
.calls__deadline {
	font-style: italic;
	white-space: nowrap;
}

/* ---------- The index ---------- */

.index__year {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	gap: 0 1.5rem;
	align-items: start;
}
.index__year + .index__year {
	margin-top: 3rem;
}
.index__year[hidden] {
	display: none;
}

.index__year-label {
	position: sticky;
	top: 1rem;
	font-size: clamp(2rem, 3.5vw, 3rem);
	letter-spacing: -.02em;
	padding-top: .35rem;
}

.index__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.index__year:last-child .index__list {
	border-bottom: 1px solid var(--ink);
}

.row {
	position: relative;
}
.row[hidden] {
	display: none;
}

.row__link {
	display: grid;
	grid-template-columns: 4.5rem 11rem minmax(0, 1fr);
	gap: 1rem;
	align-items: baseline;
	padding: .55rem .5rem .5rem 0;
	border-top: 1px solid var(--ink);
	text-decoration: none;
}
.index--no-strand .row__link {
	grid-template-columns: 4.5rem minmax(0, 1fr);
}

.row__date,
.row__strand {
	font-family: var(--display);
	font-size: 1.05rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.row__title {
	font-size: 1.15rem;
	line-height: 1.3;
}

.row__link:hover,
.row__link:focus-visible {
	background: var(--ink);
	color: var(--hover);
	outline-offset: 0;
}
.row__link:hover .row__date,
.row__link:focus-visible .row__date {
	padding-left: .5rem;
}

/* Hover preview of the post image (pointer devices only). */
.row__thumb {
	display: none;
}
@media (hover: hover) and (min-width: 901px) {
	.row__thumb {
		position: absolute;
		right: 1rem;
		top: 50%;
		z-index: 5;
		width: 15rem;
		transform: translateY(-50%);
		pointer-events: none;
		border: 4px solid var(--ink);
		background: var(--ink);
	}
	.row__thumb img {
		display: block;
		width: 100%;
		aspect-ratio: 32 / 22;
		object-fit: cover;
	}
	.row__link:hover .row__thumb,
	.row__link:focus-visible .row__thumb {
		display: block;
	}
	.row__link:hover .row__title,
	.row__link:focus-visible .row__title {
		padding-right: 17rem;
	}
}

@media (max-width: 700px) {
	.index__year {
		grid-template-columns: minmax(0, 1fr);
	}
	.index__year-label {
		position: static;
		margin-bottom: .5rem;
	}
	.row__link,
	.index--no-strand .row__link {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 0 .75rem;
	}
	.row__title {
		grid-column: 1 / -1;
	}
}

/* Filter controls */

.index-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-bottom: 2.5rem;
	padding: 1.25rem 0;
	border-top: 6px solid var(--ink);
}
.index-tools[hidden] {
	display: none;
}

.index-tools__search {
	flex: 1 1 18rem;
}
.index-tools__search input,
.search-field {
	width: 100%;
	padding: .55rem .75rem;
	border: 2px solid var(--ink);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--text);
	font-size: 1.15rem;
}
.index-tools__search input::placeholder,
.search-field::placeholder {
	color: rgba(0, 0, 0, .6);
	font-style: italic;
}
.index-tools__search input:focus,
.search-field:focus {
	background: var(--paper);
}

.index-tools__strands {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	flex: 2 1 30rem;
}

.chip {
	padding: .3rem .8rem .25rem;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.05rem;
	cursor: pointer;
}
.chip:hover {
	background: var(--sky);
}
.chip[aria-pressed="true"] {
	background: var(--ink);
	color: var(--hover);
}

.index-tools__years {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1rem;
	flex-basis: 100%;
	font-family: var(--display);
	font-size: 1.15rem;
}
.index-tools__years a {
	text-underline-offset: .2em;
}
.index-tools__years a:hover {
	background: var(--ink);
	color: var(--hover);
	text-decoration: none;
}

.index-tools__count {
	margin: 0;
	flex-basis: 100%;
	font-style: italic;
}

/* ---------- Page heads ---------- */

.page-head {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-head__title {
	font-size: clamp(3rem, 8vw, 7rem);
	line-height: .9;
	letter-spacing: -.02em;
	max-width: 16ch;
}
.page-head__text {
	margin-top: 1.25rem;
}
.page-head__search {
	margin-top: 1.5rem;
	max-width: 36rem;
}

.search-form {
	display: flex;
	gap: .5rem;
}
.search-form label {
	flex: 1;
}

.empty {
	font-size: 1.3rem;
	font-style: italic;
}

/* ---------- Single post ---------- */

.entry__head {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.entry__strand {
	margin: 0 0 .75rem;
	font-family: var(--display);
	font-size: 1.35rem;
}
.entry__strand a {
	text-decoration: none;
	border-bottom: 2px solid;
}
.entry__strand a:hover {
	background: var(--ink);
	color: var(--hover);
}
.entry__title {
	font-size: clamp(2.6rem, 6.5vw, 6.25rem);
	line-height: .92;
	letter-spacing: -.02em;
	max-width: 18ch;
	overflow-wrap: break-word;
	hyphens: manual;
}

.entry__image {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	background: var(--ink);
}
.entry__image img {
	display: block;
	width: 100%;
	max-height: 82vh;
	object-fit: contain;
}
.entry__image figcaption {
	padding: .5rem .75rem;
	color: var(--paper);
	font-size: .95rem;
	font-style: italic;
}

.entry__layout {
	display: grid;
	grid-template-columns: minmax(12rem, 17rem) minmax(0, 42rem);
	gap: 2rem clamp(2rem, 6vw, 6rem);
	align-items: start;
}
.entry--page .entry__content {
	max-width: 42rem;
}

.entry__facts {
	margin: 0;
	position: sticky;
	top: 1.5rem;
	border-top: var(--rule);
}
.entry__facts div {
	padding: .6rem 0 .65rem;
	border-bottom: 1px solid var(--ink);
}
.entry__facts dt {
	font-family: var(--display);
	font-size: 1rem;
}
.entry__facts dd {
	margin: .1rem 0 0;
	font-size: 1.05rem;
	line-height: 1.35;
}

@media (max-width: 900px) {
	.entry__layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.entry__facts {
		position: static;
	}
}

.entry__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: clamp(3rem, 7vw, 5rem);
	border-top: 6px solid var(--ink);
	padding-top: 1rem;
}
.entry__nav-link {
	display: block;
	text-decoration: none;
}
.entry__nav-link--prev {
	grid-column: 2;
	text-align: right;
}
.entry__nav-label {
	display: block;
	font-style: italic;
}
.entry__nav-title {
	display: block;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	line-height: 1.05;
}
.entry__nav-link:hover .entry__nav-title {
	background: var(--ink);
	color: var(--hover);
}

/* ---------- Prose (post and page text) ---------- */

.prose {
	font-size: 1.2rem;
	line-height: 1.62;
}
.prose > * {
	margin-top: 0;
	margin-bottom: 1.1em;
}
.prose > :last-child {
	margin-bottom: 0;
}
.prose h2,
.prose h3,
.prose h4 {
	margin-top: 1.8em;
	margin-bottom: .5em;
}
.prose h2 {
	font-size: 2rem;
}
.prose h3 {
	font-size: 1.6rem;
}
.prose h4 {
	font-size: 1.3rem;
}
.prose a {
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}
.prose a:hover {
	background: var(--sky);
}
.prose blockquote {
	margin-left: 0;
	padding-left: 1.25rem;
	border-left: 6px solid var(--ink);
	font-style: italic;
}
.prose hr {
	border: 0;
	border-top: var(--rule);
	margin: 2em 0;
}
.prose ul,
.prose ol {
	padding-left: 1.25em;
}
.prose img {
	display: block;
}
.prose figure {
	margin-left: 0;
	margin-right: 0;
}
.prose figcaption,
.prose .wp-caption-text,
.prose .gallery-caption {
	margin-top: .4rem;
	font-size: .95rem;
	font-style: italic;
}
.prose .alignleft {
	float: left;
	margin: .3em 1.5em 1em 0;
	max-width: 50%;
}
.prose .alignright {
	float: right;
	margin: .3em 0 1em 1.5em;
	max-width: 50%;
}
.prose .aligncenter {
	margin-left: auto;
	margin-right: auto;
}
.prose .wp-caption {
	max-width: 100%;
}
.prose iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

/* Galleries: classic shortcode and block. Photo documentation runs wider than the text. */
.prose .gallery,
.prose .wp-block-gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	gap: .5rem !important;
	margin: 2rem 0;
}
.prose .gallery br {
	display: none;
}
.prose .gallery-item,
.prose .wp-block-gallery .wp-block-image {
	width: auto !important;
	margin: 0 !important;
}
.prose .gallery-item img,
.prose .wp-block-gallery img {
	width: 100%;
	height: 100% !important;
	aspect-ratio: 1;
	object-fit: cover;
	border: 0 !important;
}
@media (min-width: 1200px) {
	.entry__content .gallery,
	.entry__content .wp-block-gallery,
	.entry__content .alignwide {
		margin-right: -10rem;
	}
}

.wp-block-button__link {
	background: var(--ink);
	color: var(--hover);
	border-radius: 0;
	font-family: var(--display);
	text-decoration: none;
}

/* ---------- Pagination ---------- */

.pagination {
	margin-top: 3rem;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	font-family: var(--display);
	font-size: 1.2rem;
}
.pagination .page-numbers {
	padding: .25rem .6rem;
	text-decoration: none;
	border: 2px solid var(--ink);
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--ink);
	color: var(--hover);
}
.pagination .page-numbers.dots {
	border: 0;
}

/* ---------- Partners and footer ----------
   Below the green page the flag continues: white (partners band), orange, red, pink, black. */

.site-footer__stripes {
	height: 45px;
	background: linear-gradient(var(--orange) 0 33.33%, var(--red) 33.33% 66.66%, var(--pink) 66.66% 100%);
}
.site-footer__stripes--white {
	height: 60px;
	background: linear-gradient(var(--paper) 0 25%, var(--orange) 25% 50%, var(--red) 50% 75%, var(--pink) 75% 100%);
}

.partners {
	background: var(--paper);
}
.partners__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 2rem var(--gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 3rem;
}
.partners__title {
	font-size: 1rem;
	font-weight: 400;
	margin-bottom: .75rem;
}
.partners img {
	display: block;
	max-height: 72px;
	width: auto;
}
.partners .gallery {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 3rem;
	margin: 0;
}
.partners .gallery-item {
	margin: 0;
	width: auto !important;
}
.partners .gallery br {
	display: none;
}

.site-footer {
	background: var(--ink);
	color: var(--paper);
}
.site-footer__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 3rem var(--gutter) 3.5rem;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem;
	font-size: 1rem;
}
.site-footer p {
	margin: 0 0 .6rem;
}
.site-footer__mark {
	display: block;
	height: 5rem;
	margin-bottom: 1rem;
	color: var(--green);
}
.site-footer__name {
	font-family: var(--display);
	font-weight: 700;
	font-size: 2rem;
	color: var(--green);
	line-height: 1;
}
.site-footer__social,
.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--display);
	font-size: 1.25rem;
}
.site-footer a {
	color: var(--green);
	text-decoration: none;
}
.site-footer a:hover {
	color: var(--sky);
	text-decoration: underline;
}

@media (max-width: 700px) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

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

@media print {
	body {
		background: #fff;
	}
	.site-header,
	.site-footer,
	.partners,
	.index-tools,
	.entry__nav {
		display: none;
	}
}
