/*
Theme Name: Brodegger
Description: Schlankes, mobilfreundliches Theme für brodegger.at. Löst das Theme "Core" ab und nutzt dessen Galerien und Inhalte weiter.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: brodegger
*/

/* ---------------------------------------------------------------- Basis */

@font-face {
	font-family: "Oswald";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("assets/fonts/oswald-latin.woff2") format("woff2");
}

:root {
	--bg: #ffffff;
	--surface: #f6f3ee;
	--ink: #24211d;
	--muted: #6f6a62;
	--line: #e6e0d6;
	--accent: #9a4a1f;
	--accent-dark: #7a3915;

	--font-head: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 1180px;
	--narrow: 720px;
	--gutter: clamp(16px, 4vw, 32px);
	--space: clamp(40px, 7vw, 80px);
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	overflow-wrap: break-word;
}

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

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

a {
	color: var(--accent);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--accent-dark);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 1.6em 0 0.5em;
	font-family: var(--font-head);
	font-weight: 500;
	line-height: 1.2;
	text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
h4 { font-size: 1.2rem; }
h5,
h6 { font-size: 1.05rem; }

p,
ul,
ol,
blockquote,
figure,
table {
	margin: 0 0 1.2em;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2em 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
	z-index: 100;
	padding: 8px 14px;
	background: var(--ink);
	color: #fff;
}

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

/* --------------------------------------------------------------- Layout */

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: calc(var(--narrow) + 2 * var(--gutter));
}

/* Textspalte: gleiche linke Kante wie Überschrift und Logo, lesbare Zeilenlänge. */
.wrap--text {
	padding-right: max(
		var(--gutter),
		calc(min(100vw, var(--wrap) + 2 * var(--gutter)) - var(--narrow) - var(--gutter))
	);
}

.site-main {
	min-height: 60vh;
	padding-bottom: var(--space);
}

.section {
	margin-top: var(--space);
}

.section--flush {
	margin-top: 0;
	margin-bottom: clamp(28px, 5vw, 48px);
}

.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.section__title {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.more-link,
.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.more-link {
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
}

.back-link {
	margin: 40px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
	display: inline-block;
	padding: 0.7em 1.4em;
	border: 0;
	border-radius: 2px;
	background: var(--ink);
	color: #fff;
	font-size: 0.95rem;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: var(--accent);
	color: #fff;
}

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

.site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding: 14px var(--gutter);
}

.site-title {
	color: var(--ink);
	font-family: var(--font-head);
	flex: 1 1 0;
	min-width: 0;
	font-size: clamp(0.82rem, 4.1vw, 1.35rem);
	font-weight: 500;
	letter-spacing: 0.05em;
	white-space: nowrap;
	text-decoration: none;
	text-transform: uppercase;
}

.site-title:hover {
	color: var(--accent);
}

.nav-toggle {
	display: none;
	flex: none;
	align-items: center;
	gap: 10px;
	padding: 8px 0 8px 4px;
	border: 0;
	background: none;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle__icon {
	position: relative;
}

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

.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }

.nav-open .nav-toggle__icon { background: transparent; }
.nav-open .nav-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav .menu,
.site-nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: block;
	color: var(--muted);
	font-family: var(--font-head);
	font-size: 0.95rem;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current-menu-parent > a {
	color: var(--ink);
}

.submenu-toggle {
	display: none;
}

/* Desktop-Navigation */
@media (min-width: 960px) {
	.site-nav .menu {
		display: flex;
		flex-wrap: wrap;
		gap: 4px 26px;
	}

	.site-nav .menu > li {
		position: relative;
	}

	.site-nav .menu > li > a {
		padding: 10px 0;
	}

	.site-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: -18px;
		min-width: 240px;
		padding: 10px 0;
		border: 1px solid var(--line);
		background: var(--bg);
		box-shadow: 0 12px 30px rgba(36, 33, 29, 0.08);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
	}

	.site-nav .menu > li:last-child .sub-menu,
	.site-nav .menu > li:nth-last-child(2) .sub-menu {
		left: auto;
		right: -18px;
	}

	.site-nav li:hover > .sub-menu,
	.site-nav li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-nav .sub-menu a {
		padding: 7px 18px;
		font-family: var(--font-body);
		font-size: 0.95rem;
		letter-spacing: 0;
		text-transform: none;
	}
}

/* Mobile Navigation */
@media (max-width: 959px) {
	.nav-toggle {
		display: inline-flex;
	}

	.site-title {
		letter-spacing: 0.03em;
	}

	.site-nav {
		display: none;
		flex-basis: 100%;
		padding-bottom: 8px;
	}

	.nav-open .site-nav {
		display: block;
	}

	.site-nav .menu > li {
		position: relative;
		border-top: 1px solid var(--line);
	}

	.site-nav .menu > li > a {
		padding: 14px 56px 14px 0;
		font-size: 1.05rem;
	}

	.submenu-toggle {
		position: absolute;
		top: 0;
		right: -8px;
		display: grid;
		place-items: center;
		width: 52px;
		height: 52px;
		border: 0;
		background: none;
		color: var(--ink);
		font-size: 1.5rem;
		line-height: 1;
		cursor: pointer;
	}

	.submenu-toggle::before {
		content: "+";
	}

	.submenu-open > .submenu-toggle::before {
		content: "–";
	}

	.site-nav .sub-menu {
		display: none;
		padding: 0 0 12px 14px;
	}

	.submenu-open > .sub-menu {
		display: block;
	}

	.site-nav .sub-menu a {
		padding: 9px 0;
		font-family: var(--font-body);
		font-size: 1rem;
		letter-spacing: 0;
		text-transform: none;
	}
}

/* ----------------------------------------------------------- Startseite */

.strip {
	position: relative;
	margin-top: clamp(16px, 3vw, 32px);
}

.strip__track {
	display: flex;
	gap: 10px;
	height: clamp(240px, 62vh, 620px);
	padding-inline: var(--gutter);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.strip__track::-webkit-scrollbar {
	display: none;
}

.strip__item {
	flex: 0 0 auto;
	height: 100%;
	scroll-snap-align: center;
	background: var(--surface);
}

.strip__item img {
	display: block;
	width: auto;
	max-width: 88vw;
	height: 100%;
	object-fit: cover;
}

.strip__nav {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0 0 4px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	font-size: 1.8rem;
	line-height: 1;
	box-shadow: 0 2px 12px rgba(36, 33, 29, 0.18);
	transform: translateY(-50%);
	cursor: pointer;
}

.strip__nav--prev { left: 14px; }
.strip__nav--next { right: 14px; }

.strip__nav[disabled] {
	opacity: 0;
	pointer-events: none;
}

@media (hover: none) {
	.strip__nav {
		display: none;
	}
}

.intro {
	margin-top: clamp(32px, 6vw, 64px);
	text-align: center;
}

.intro__title {
	margin: 0;
	font-size: clamp(1.9rem, 5vw, 2.8rem);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.intro__roles {
	margin: 0.7em 0 0;
	color: var(--muted);
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.intro__tagline {
	margin: 0.4em 0 1.2em;
	color: var(--accent);
	font-family: var(--font-head);
	font-size: clamp(1.05rem, 2.4vw, 1.25rem);
	letter-spacing: 0.05em;
}

.intro__text {
	color: var(--muted);
	font-size: 1.125rem;
}

.intro__text p:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------- Kacheln */

.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: clamp(14px, 2.4vw, 24px);
}

.tile {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
}

.tile__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.tile:hover .tile__media img {
	transform: scale(1.04);
}

.tile__body {
	display: block;
	padding: 16px 18px 20px;
}

.tile__title {
	display: block;
	font-family: var(--font-head);
	font-size: 1.2rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tile:hover .tile__title {
	color: var(--accent);
}

.tile__text {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.tile--plain {
	justify-content: center;
	min-height: 120px;
}

/* --------------------------------------------------------------- Karten */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(24px, 3.5vw, 40px) clamp(18px, 2.6vw, 28px);
}

.card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--surface);
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.card__link:hover .card__media img {
	transform: scale(1.04);
}

.card__body {
	display: block;
	padding-top: 14px;
}

.card__meta {
	display: block;
	color: var(--muted);
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.card__title {
	margin: 4px 0 8px;
	font-size: 1.3rem;
	text-transform: uppercase;
}

.card__link:hover .card__title {
	color: var(--accent);
}

.card__text {
	display: block;
	color: var(--muted);
	font-size: 0.975rem;
	line-height: 1.6;
}

/* ------------------------------------------------------- Seitenkopf etc. */

.page-head {
	padding-top: clamp(28px, 5vw, 56px);
	padding-bottom: clamp(16px, 3vw, 28px);
}

.page-title {
	margin: 0;
	color: var(--ink);
	font-size: clamp(2rem, 6vw, 3.25rem);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.page-head__text {
	max-width: var(--narrow);
	margin-top: 10px;
	color: var(--muted);
}

/* --------------------------------------------------------- News-Übersicht */

.listing {
	display: grid;
	gap: var(--space) 56px;
}

@media (min-width: 1040px) {
	.listing {
		grid-template-columns: minmax(0, 1fr) 260px;
	}
}

.chips ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 clamp(24px, 4vw, 36px);
	padding: 0;
	list-style: none;
}

.chips a {
	display: block;
	padding: 5px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.9rem;
	text-decoration: none;
}

.chips a:hover,
.chips .current-cat a {
	border-color: var(--ink);
	color: var(--ink);
}

.widget {
	margin-bottom: 36px;
	font-size: 0.95rem;
}

.widget-title {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

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

.widget li {
	padding: 4px 0;
}

.widget a {
	color: var(--ink);
	text-decoration: none;
}

.widget a:hover {
	color: var(--accent);
}

.widget .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	line-height: 1.3;
}

.widget .tagcloud a {
	color: var(--muted);
	font-size: 0.9rem !important;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: var(--space);
}

.pagination .page-numbers {
	min-width: 42px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	color: var(--ink);
	text-align: center;
	text-decoration: none;
}

.pagination .current,
.pagination a:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

/* -------------------------------------------------------- Einzelbeitrag */

.post-head {
	padding-top: clamp(28px, 5vw, 56px);
	padding-bottom: clamp(16px, 3vw, 24px);
}

.post-meta {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.post-meta a {
	color: inherit;
}

.post-meta__sep {
	margin-inline: 6px;
}

.post-title {
	margin: 0;
	font-size: clamp(1.8rem, 5vw, 2.75rem);
	text-transform: uppercase;
}

.post-hero {
	margin-bottom: clamp(24px, 4vw, 40px);
}

.post-hero img {
	display: block;
	width: auto;
	max-width: min(100%, 960px);
	max-height: 78vh;
}

.post-foot {
	margin-top: clamp(32px, 5vw, 56px);
}

.post-tags a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 3px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.85rem;
	text-decoration: none;
}

.post-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-family: var(--font-head);
	letter-spacing: 0.03em;
}

.post-nav a {
	color: var(--ink);
	text-decoration: none;
}

.post-nav a:hover {
	color: var(--accent);
}

.post-nav__next {
	margin-left: auto;
	text-align: right;
}

.comments {
	margin-top: var(--space);
}

.comments__list {
	padding-left: 0;
	list-style: none;
}

.comments__list .comment-body {
	padding: 16px 0;
	border-top: 1px solid var(--line);
}

/* --------------------------------------------------------- Inhaltsbereich */

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

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

/* Alte Inhalte: Blocksatz und feste Breiten entschärfen. */
.entry-content [style*="justify"],
.entry-content [align="justify"] {
	text-align: left !important;
}

.entry-content [style*="width"] {
	max-width: 100%;
}

.entry-content img {
	height: auto;
}

.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo"] {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.entry-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 8px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content blockquote {
	margin-inline: 0;
	padding-left: 20px;
	border-left: 3px solid var(--accent);
	color: var(--muted);
	font-style: italic;
}

.entry-content li {
	margin-bottom: 0.3em;
}

.wp-caption,
.entry-content figure {
	max-width: 100%;
}

.wp-caption-text,
.wp-element-caption,
figcaption {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignleft,
.alignright {
	display: block;
	margin: 0 auto 1.2em;
}

@media (min-width: 600px) {
	.alignleft {
		float: left;
		max-width: 50%;
		margin: 0.3em 1.6em 1em 0;
	}

	.alignright {
		float: right;
		max-width: 50%;
		margin: 0.3em 0 1em 1.6em;
	}
}

.entry-content::after {
	content: "";
	display: block;
	clear: both;
}

/* WordPress-Standardgalerie [gallery] */
.entry-content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
	margin-bottom: 1.2em;
}

.entry-content .gallery-item {
	margin: 0;
}

.entry-content .gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* --------------------------------------------------------- Formulare */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
select,
textarea {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #cfc8bc;
	border-radius: 2px;
	background: #fff;
	color: var(--ink);
	font: inherit;
}

textarea {
	min-height: 160px;
}

label {
	display: block;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
}

/* ------------------------------------------------------------- Galerie */

.gallery-grid {
	--row: 240px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 1.2em;
}

.gallery-grid::after {
	content: "";
	flex-grow: 999;
}

.gallery-grid__item {
	position: relative;
	flex: var(--r, 1.33) 1 calc(var(--r, 1.33) * var(--row));
	max-width: 100%;
	aspect-ratio: var(--r, 1.33);
	overflow: hidden;
	background: var(--surface);
}

.gallery-grid__item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s, opacity 0.3s;
}

.gallery-grid__item:hover img {
	transform: scale(1.03);
	opacity: 0.92;
}

@media (max-width: 380px) {
	.nav-toggle__label {
		display: none;
	}
}

@media (max-width: 600px) {
	.gallery-grid {
		--row: 150px !important;
		gap: 6px;
	}
}

/* ------------------------------------------------------------ Lightbox */

.lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(20, 18, 16, 0.96);
	color: #fff;
}

.lightbox[open] {
	display: grid;
	place-items: center;
}

.lightbox::backdrop {
	background: rgba(20, 18, 16, 0.96);
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 100vw;
	margin: 0;
	padding: 56px 12px 20px;
}

.lightbox__img {
	max-width: min(100vw - 24px, 1600px);
	max-height: calc(100dvh - 120px);
	object-fit: contain;
}

.lightbox__caption {
	min-height: 1.5em;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
}

.lightbox__close,
.lightbox__nav {
	position: fixed;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0 0 4px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.lightbox__close:hover,
.lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.28);
}

.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

.lightbox--single .lightbox__nav {
	display: none;
}

@media (max-width: 600px) {
	.lightbox__nav {
		top: auto;
		bottom: 14px;
		transform: none;
	}
}

/* --------------------------------------------------------------- Footer */

.site-footer {
	border-top: 1px solid var(--line);
	background: var(--surface);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding: 28px var(--gutter);
}

.footer-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav a,
.site-footer__copy {
	color: var(--muted);
	font-family: var(--font-head);
	font-size: 0.9rem;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
}

.footer-nav a:hover {
	color: var(--ink);
}

.site-footer__copy {
	margin: 0;
}

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

	* {
		transition: none !important;
	}
}
