/* Fonts */
@font-face {
	font-family: Audiowide;
	src: url("../fonts/audiowide-latin.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Open Sans";
	src: url("../fonts/open-sans-greek.woff2") format("woff2");
	font-weight: 300 800;
	font-display: swap;
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
	font-family: "Open Sans";
	src: url("../fonts/open-sans-latin.woff2") format("woff2");
	font-weight: 300 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens */
:root {
	--black: #111;
	--ink: #303030;
	--ink-soft: #555;
	--red: #dd0000;
	--red-hover: #353535;
	--red-on-dark: #ff4438;
	--grey: #f6f6f6;
	--grey-section: #f2f2f2;
	--dark: #444;
	--white: #fff;
	--font-body: "Open Sans", Arial, Helvetica, sans-serif;
	--font-logo: Audiowide, Arial, sans-serif;
	--header-h: 5.5rem;
	--gutter: 1rem;
	--section-y: clamp(3rem, 6vw, 5rem);
}

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

html {
	scroll-padding-top: var(--header-h);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.75;
}

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

h1,
h2,
h3 {
	margin: 0 0 1rem;
	line-height: 1.25;
}

p {
	margin: 0;
}

p + p {
	margin-top: 1rem;
}

a {
	color: var(--red);
}

a:hover {
	color: var(--black);
}

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

.site-header :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--white);
}

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

.skip-link {
	position: absolute;
	top: -4rem;
	left: 1rem;
	z-index: 100;
	padding: 0.5rem 1rem;
	background: var(--white);
	color: var(--black);
}

.skip-link:focus {
	top: 0.5rem;
}

/* Layout */
.wrap {
	width: min(1100px, 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.wrap--text {
	width: min(46rem, 100% - 2 * var(--gutter));
}

.section {
	padding-block: var(--section-y);
}

/* Any other block added to the homepage keeps the .wrap width; "Full width" opts out */
.home main > :not([class*="wp-block-lazyblock-lc-"], .alignfull) {
	width: min(1100px, 100% - 2 * var(--gutter));
	margin-inline: auto;
	margin-block: 2rem;
}

/* Full-width Group: the background spans the page, the blocks inside keep the .wrap width */
.alignfull.is-layout-constrained {
	padding-inline: var(--gutter);
}

/* A Content width set on the Group gives it a wp-container class and takes priority */
.alignfull.is-layout-constrained:not([class*="wp-container-core-group-is-layout"]) > :not(.alignfull) {
	max-width: 1100px;
}

/* Row, Stack and Grid variations of the Group block. WordPress sizes the grid columns for a 24px gap */
.wp-block-group.is-layout-flex,
.wp-block-group.is-layout-grid {
	gap: 24px;
}

/* Group styles: Στενό and Φαρδύ */
.wp-block-group.is-layout-constrained.is-style-lc-narrow > :not(.alignfull) {
	max-width: 800px;
}

.wp-block-group.is-layout-constrained.is-style-lc-wide > :not(.alignfull) {
	max-width: 1400px;
}

/* Full-size Media Library image placed behind a section's content */
.hero,
.section--dark {
	position: relative;
	isolation: isolate;
}

.section-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.section--dark {
	background:
		radial-gradient(ellipse at 70% 30%, rgb(255 255 255 / 7%), transparent 60%),
		var(--dark);
	color: var(--white);
}

.section__title {
	font-size: clamp(1.5rem, 3vw, 1.75rem);
	font-weight: 700;
	color: var(--black);
}

.section__title::after {
	content: "";
	display: block;
	width: 1.25rem;
	height: 2px;
	margin-top: 1.25rem;
	background: currentcolor;
}

.section__title--small {
	font-size: 1.0625rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 2.5rem;
}

.section--dark .section__title {
	color: var(--white);
}

.page-title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	color: var(--black);
}

/* Buttons */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.5rem 1.25rem;
	border-radius: 4px;
	background: var(--red);
	color: var(--white);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s, color 0.15s;
}

.button:hover {
	background: var(--red-hover);
	color: var(--white);
}

/* On the dark hero photo, hover turns white like the other buttons on dark backgrounds. */
.hero .button:hover {
	background: var(--white);
	color: var(--black);
}

.button--ghost {
	background: transparent;
	box-shadow: inset 0 0 0 2px var(--white);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--black);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* With JavaScript the header floats: clear over the homepage hero, black on scroll */
.js .site-header {
	position: fixed;
	inset-inline: 0;
}

.js body:not(.home) main {
	padding-top: var(--header-h);
}

.js .home .site-header:not(.is-scrolled, :has(.site-nav.is-open)) {
	background: transparent;
}

.js .home .hero__inner {
	padding-top: calc(var(--header-h) + clamp(4rem, 9vw, 7rem));
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.custom-logo {
	display: block;
	width: auto;
	height: 4.5rem;
}

@media (prefers-reduced-motion: no-preference) {
	.site-header {
		transition: background-color 0.25s;
	}
}

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

.site-nav__list a {
	color: var(--white);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav__list a:hover {
	color: var(--red-on-dark);
}

.nav-toggle {
	display: none;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 1.5rem;
	height: 2px;
	margin-inline: auto;
	background: var(--white);
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -7px;
}

.nav-toggle__bars::after {
	top: 7px;
}

@media (max-width: 60rem) {
	.js .nav-toggle {
		display: block;
	}

	.site-header__inner {
		flex-wrap: wrap;
		gap: 0;
	}

	.site-nav {
		width: 100%;
		padding-bottom: 1rem;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list a {
		display: block;
		padding-block: 0.625rem;
	}

	/* Full-screen panel under the header, so the header itself never changes height */
	.js .site-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		width: auto;
		padding: 1rem var(--gutter) 2rem;
		overflow-y: auto;
		background: var(--black);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.75rem);
	}

	.js .admin-bar .site-nav {
		top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 32px));
	}

	.js .site-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.js .site-nav__list a {
		padding-block: 1.125rem;
		border-bottom: 1px solid rgb(255 255 255 / 12%);
		font-size: 1.25rem;
	}

	.js .site-nav__list li {
		opacity: 0;
		transform: translateY(0.5rem);
	}

	.js .site-nav.is-open li {
		opacity: 1;
		transform: none;
	}

	html.nav-open {
		overflow: hidden;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
		background: transparent;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
		transform: translateY(7px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
		transform: translateY(-7px) rotate(-45deg);
	}

	@media (prefers-reduced-motion: no-preference) {
		.js .site-nav {
			transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
		}

		.js .site-nav li {
			transition: opacity 0.3s, transform 0.3s;
		}

		.js .site-nav.is-open li:nth-child(2) {
			transition-delay: 0.05s;
		}

		.js .site-nav.is-open li:nth-child(3) {
			transition-delay: 0.1s;
		}

		.js .site-nav.is-open li:nth-child(4) {
			transition-delay: 0.15s;
		}

		.js .site-nav.is-open li:nth-child(n + 5) {
			transition-delay: 0.2s;
		}

		.nav-toggle__bars,
		.nav-toggle__bars::before,
		.nav-toggle__bars::after {
			transition: transform 0.25s, background-color 0.15s;
		}
	}
}

/* Hero: dark timber effect drawn in CSS, shown when no image is chosen */
.hero {
	background:
		radial-gradient(ellipse at center, transparent 35%, rgb(0 0 0 / 65%) 100%),
		repeating-linear-gradient(to bottom, transparent 0 58px, rgb(0 0 0 / 55%) 58px 60px),
		repeating-linear-gradient(92deg, rgb(255 255 255 / 3%) 0 2px, transparent 2px 9px, rgb(255 255 255 / 2%) 9px 10px, transparent 10px 23px),
		#232323;
	color: var(--white);
	text-align: center;
}

.hero__inner {
	padding-block: clamp(4rem, 9vw, 7rem) clamp(5rem, 13vw, 11rem);
}

.hero__eyebrow {
	margin: 0 0 1.25rem;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hero__title {
	margin: 0 0 1.75rem;
	padding: 0.25em 0.5rem;
	border: 3px solid var(--white);
	font-family: var(--font-logo);
	font-size: clamp(2.25rem, 8.5vw, 5.5rem);
	font-weight: 400;
	line-height: 1.25;
}

.hero__text {
	max-width: 62rem;
	margin: 0 auto 2rem;
	font-size: clamp(1.0625rem, 2vw, 1.5rem);
	line-height: 1.4;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

/* About */
.about {
	background: var(--grey);
}

.about__signature {
	margin: 0.5rem 0 0;
	color: var(--black);
	font-style: italic;
	font-weight: 700;
	text-align: right;
}

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 2.5rem 1rem;
	margin: 4rem 0 0;
	text-align: center;
}

.stats__item {
	display: flex;
	flex-direction: column-reverse;
}

.stats dd {
	margin: 0;
	color: var(--black);
	font-family: var(--font-body);
	font-size: clamp(3.5rem, 7vw, 5rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.stats dt {
	color: var(--black);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.stats dt::before {
	content: "";
	display: block;
	width: 1.5rem;
	height: 2px;
	margin: 1.25rem auto;
	background: var(--red);
}

/* Services */
.services {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
	gap: 2.25rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: service;
}

.service {
	display: grid;
	counter-increment: service;
}

.service__title {
	margin-bottom: 0.25rem;
	color: var(--red-on-dark);
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
}

/* Dark glass panel, so the text stands off the background image */
.service__body {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	grid-template-rows: auto 1fr auto;
	padding: 1.25rem;
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 6px;
	background: rgb(0 0 0 / 50%);
	backdrop-filter: blur(6px);
}

.service__body::before {
	content: counter(service) ".";
	grid-row: 1 / span 3;
	color: var(--grey);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.25;
}

.service__body > * {
	grid-column: 2;
}

.service__summary {
	margin: 0 0 1rem;
}

.service__more {
	justify-self: start;
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.service__more:hover {
	background: var(--white);
	color: var(--black);
}

html:not(.js) .service__more {
	display: none;
}

.service__link {
	justify-self: start;
	color: var(--red-on-dark);
}

.service__link:hover {
	color: var(--white);
}

/* Application and eBook */
.feature__grid {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.feature__action {
	margin: 0;
}

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

.feature__body .button {
	margin-top: 1.75rem;
}

.section__title--center {
	margin-inline: auto;
	font-size: 1.25rem;
	font-weight: 400;
}

.section__title--center::after {
	margin-inline: auto;
}

.section__title--plain {
	font-size: 1.25rem;
	font-weight: 400;
}

.ebook__title {
	color: var(--black);
	font-size: clamp(1.625rem, 3vw, 2.125rem);
	font-weight: 700;
	line-height: 1.2;
}

.ebook__subtitle {
	margin: 0 0 0.75rem;
	color: #6e6e6e;
	font-size: clamp(2rem, 4vw, 2.875rem);
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.feature__action {
	text-align: center;
}

@media (min-width: 54rem) {
	.feature__grid {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

.button--large {
	min-height: 3rem;
	border: 1px solid transparent;
	font-size: 1.0625rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.button--green {
	background: #6f7f22;
}

.button--blue {
	background: #2d5d94;
}

.button--full {
	width: 100%;
}

/* Product images */
.feature__image {
	display: block;
	margin-inline: auto;
}

/* Education statement */
.education {
	position: relative;
	isolation: isolate;
	padding-block: clamp(5rem, 11vw, 9rem);
	background: var(--black);
}

.education .section-bg {
	object-position: right center;
}

/* Dark fade over the image, behind the text */
.education::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to right, rgb(0 0 0 / 92%) 25%, rgb(0 0 0 / 15%) 75%);
}

@media (max-width: 48rem) {
	.education .section-bg {
		object-position: center;
	}

	.education::after {
		background: rgb(0 0 0 / 65%);
	}
}

.education__text {
	max-width: 34rem;
	margin: 0;
	color: var(--white);
	font-size: clamp(1.75rem, 4vw, 2.625rem);
	font-weight: 700;
	line-height: 1.2;
}

/* Contact */
.contact {
	background: var(--grey-section);
}

.contact__details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1.5rem;
	margin: 0 0 2.5rem;
}

.contact__detail {
	position: relative;
	min-height: 2.5rem;
	padding-left: 3.25rem;
}

.contact__details dt {
	color: var(--black);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.contact__details dt .icon {
	position: absolute;
	top: 0;
	left: 0;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0.625rem;
	border-radius: 4px;
	background: var(--red);
	color: var(--white);
}

.contact__details dd {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
}

.contact__details a {
	color: inherit;
	text-decoration: none;
}

.contact__details a:hover {
	color: var(--red);
}

.contact__grid {
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 48rem) {
	.contact__grid {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

/* Form card */
.contact__form {
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border-radius: 10px;
	background: var(--white);
	box-shadow: 0 12px 32px rgb(0 0 0 / 8%);
}

.field-row {
	display: grid;
	gap: 0 1rem;
}

@media (min-width: 36rem) {
	.field-row {
		grid-template-columns: 1fr 1fr;
	}
}

.contact .field label {
	margin-bottom: 0;
	color: var(--black);
	font-size: 0.875rem;
	font-weight: 700;
}

.contact .wpcf7-form-control-wrap {
	margin-top: 0.375rem;
}

.contact .field input,
.contact .field textarea {
	background: var(--grey);
	color: var(--black);
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.contact .field textarea {
	height: 9rem;
}

.contact .field input:focus,
.contact .field textarea:focus {
	border-color: var(--red);
	outline: 0;
	background: var(--white);
	box-shadow: 0 0 0 3px rgb(221 0 0 / 15%);
}

.contact .field .wpcf7-not-valid {
	border-color: #a50f0f;
}

input.button {
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.contact input.button {
	width: 100%;
	min-height: 3rem;
	border-radius: 6px;
}

input.button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.contact .wpcf7-spinner {
	display: none;
}

.contact form.submitting .wpcf7-spinner {
	display: block;
	margin: 0.75rem auto 0;
}

/* GDPR acceptance */
.field--acceptance .wpcf7-list-item {
	margin: 0;
}

.contact .field--acceptance label {
	display: flex;
	gap: 0.625rem;
	font-weight: 400;
	line-height: 1.5;
}

.contact .field--acceptance input {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.125rem 0 0;
	accent-color: var(--red);
}

.field--acceptance a {
	color: var(--red);
}

.contact__map {
	text-align: center;
}

.contact__map img {
	display: block;
	margin-inline: auto;
}

.contact__map-link {
	margin-top: 1rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--red);
	font: inherit;
	text-transform: uppercase;
	cursor: pointer;
}

.contact__map-link:hover {
	color: var(--black);
}

html:not(.js) .contact__map-link {
	display: none;
}

.dialog--map {
	width: min(60rem, 100vw - 2rem);
	padding: 3rem 1rem 1rem;
}

.dialog--map iframe {
	display: block;
	width: 100%;
	height: 70dvh;
	border: 0;
}

.contact__social {
	margin-top: 3rem;
}

.contact__social ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.contact__social a {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	background: var(--black);
	color: var(--white);
}

.contact__social a:hover {
	background: var(--red);
}

.contact__social .icon {
	width: 1rem;
	height: 1rem;
}

.wpcf7-form-control-wrap {
	display: block;
	font-weight: 400;
}

.wpcf7-not-valid-tip {
	color: #a50f0f;
	font-size: 0.875rem;
	font-weight: 700;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
}

/* Form dialogs */
.dialog {
	width: min(31.25rem, 100vw - 2rem);
	max-height: calc(100dvh - 2rem);
	padding: 1.5rem;
	border: 0;
	border-radius: 10px;
	color: var(--black);
}

.dialog::backdrop {
	background: rgb(0 0 0 / 70%);
}

html:not(.js) .dialog {
	position: static;
	display: block;
	margin: 2rem auto 0;
}

/* Side drawer for service details */
.js .drawer {
	width: min(30rem, 100vw);
	height: 100dvh;
	max-height: 100dvh;
	margin: 0 0 0 auto;
	padding: 0;
	border-radius: 0;
	transform: translateX(100%);
}

.js .drawer[open] {
	transform: none;
}

.drawer__body {
	min-height: 100%;
	padding: 1.5rem;
}

.drawer .dialog__title {
	color: var(--black);
	font-weight: 800;
}

.drawer__action {
	margin-top: 1.5rem;
}

@media (prefers-reduced-motion: no-preference) {
	.js .drawer {
		transition: transform 0.3s ease, display 0.3s allow-discrete, overlay 0.3s allow-discrete;
	}

	@starting-style {
		.js .drawer[open] {
			transform: translateX(100%);
		}
	}
}

.dialog__title {
	font-size: 1.375rem;
	margin-right: 2rem;
}

.dialog__intro {
	margin: 0 2rem 1rem 0;
	font-size: 1rem;
}

.dialog__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	background: none;
	color: var(--ink);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.dialog__notice {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.field {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
}

.field label:not(fieldset label),
.field legend {
	display: block;
	margin-bottom: 0.25rem;
	padding: 0;
	font-weight: 700;
}

fieldset.field label {
	display: block;
	padding-block: 0.25rem;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid #767676;
	border-radius: 4px;
	font: inherit;
}

.field textarea {
	display: block;
	height: 10rem;
	resize: vertical;
}

.ac-form__error {
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
	background: #a50f0f;
	color: var(--white);
}

._form-thank-you {
	padding: 1rem 2rem 1rem 0;
	font-size: 1.125rem;
	text-align: center;
}

/* Footer */
.site-footer {
	background: var(--black);
	color: #bbb;
}

.site-footer a {
	color: var(--white);
}

/* Same frame as the header: copyright in the logo's place, links in the menu's */
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	min-height: var(--header-h);
	padding-block: 1rem;
}

.site-footer__copyright {
	color: var(--white);
	font-size: 0.8125rem;
	font-weight: 700;
}

.site-footer__copyright span {
	color: var(--red-on-dark);
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links a {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-footer__links a:hover {
	color: var(--red-on-dark);
}

@media (max-width: 60rem) {
	.site-footer__inner {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}

	.site-footer__links {
		justify-content: center;
	}
}

/* Blog */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 6px;
	background: var(--white);
	box-shadow: 0 6px 20px rgb(0 0 0 / 8%);
}

.post-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card__body {
	padding: 1.25rem;
}

.post-card__title {
	margin-bottom: 0.5rem;
	font-size: 1.125rem;
}

.post-card__title a {
	color: var(--black);
	text-decoration: none;
}

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

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
	margin-bottom: 0.5rem;
	color: var(--ink-soft);
	font-size: 0.8125rem;
}

.post-meta a {
	color: var(--red);
	text-decoration: none;
}

.post-image {
	display: block;
	width: 100%;
	margin-block: 1.5rem;
	border-radius: 6px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding-inline: 0.75rem;
	border-radius: 4px;
	background: var(--grey);
	color: var(--black);
	font-weight: 700;
	text-decoration: none;
}

.pagination a.page-numbers:hover {
	background: var(--black);
	color: var(--white);
}

.pagination .page-numbers.current {
	background: var(--red);
	color: var(--white);
}

.post-navigation .nav-links {
	display: grid;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid #dcdcdc;
}

@media (min-width: 36rem) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}

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

.post-navigation a {
	color: var(--black);
	font-weight: 700;
	text-decoration: none;
}

.post-navigation a:hover {
	color: var(--red);
}

/* Plain pages: white sheet on light grey */
.page-backdrop {
	background: var(--grey-section);
}

.page-sheet {
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: 10px;
	background: var(--white);
	box-shadow: 0 12px 32px rgb(0 0 0 / 8%);
}

/* Editor content */
.prose h2 {
	font-size: 1.5rem;
	margin-top: 2.5rem;
}

.prose h3 {
	font-size: 1.25rem;
	margin-top: 2rem;
}
