/*
 * Sipoon Wolf theme styles.
 *
 * Order: fonts, tokens, base, layout, components, header, footer, templates.
 * The styles of some templates are in separate files, for example faq.css. inc/assets.php loads
 * such a file only on the pages of its template. The files are not minified: the theme has no
 * build step.
 * The tokens come from the design system ("Komponenttikirjasto").
 */

/* Fonts --------------------------------------------------------------- */

/*
 * Archivo, variable font: weight 500-900, width 100-110%. SIL Open Font License.
 * The files have only the axis ranges that the styles use (fontTools varLib.instancer). If a style
 * needs a weight or a width outside these ranges, make the files again from the full font.
 */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 500 900;
	font-stretch: 100% 110%;
	font-display: swap;
	src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 500 900;
	font-stretch: 100% 110%;
	font-display: swap;
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
	/* Brand. */
	--wolf-ink: #0a0a0b;
	--wolf-gold: #fcb514;
	--wolf-gold-hover: #e0a800;
	--wolf-gold-dark: #8a6a00; /* Yellow text on a white ground. */
	--wolf-gold-tint: #fff6d6;

	/* Light ground. */
	--wolf-paper: #fff;
	--wolf-paper-2: #f5f5f2;
	--wolf-paper-3: #fafaf8; /* The days of the other months in the calendar. */
	--wolf-line: #dcdcd8;
	--wolf-line-strong: #bdbdb8;
	--wolf-ink-2: #3d3d42;
	--wolf-muted: #5a5a60;

	/* Dark ground. */
	--wolf-ink-3: #2a2a2d;
	--wolf-ink-4: #3a3a3f;
	--wolf-on-dark-lead: #e2e2df;
	--wolf-on-dark-2: #d6d6d3;
	--wolf-on-dark-muted: #a6a6ad;

	/* Form errors. */
	--wolf-error: #b3261e;
	--wolf-error-tint: #fdeceb;

	/* Type. */
	--wolf-font-display: "Archivo", helvetica, arial, sans-serif;
	--wolf-font-body: system-ui, -apple-system, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif;

	/* Layout. */
	--wolf-container: 1536px;
	--wolf-gutter: clamp(16px, 4vw, 48px);
	--wolf-section: clamp(56px, 7vw, 104px);
	--wolf-gap: clamp(12px, 1.6vw, 24px);
	--wolf-radius: 6px;

	/* Motion. */
	--wolf-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

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

body {
	margin: 0;
	background: var(--wolf-paper);
	color: var(--wolf-ink);
	font-family: var(--wolf-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.has-menu-open {
	overflow: hidden;
}

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

svg {
	flex: none;
}

/* The Lucide icons. An icon of the text size ("1em") aligns with the text. */
.icon {
	vertical-align: -0.125em;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--wolf-gold);
	outline-offset: 3px;
}

.site-footer :focus-visible,
.site-header :focus-visible,
.on-dark :focus-visible {
	outline-color: var(--wolf-gold);
}

main :focus-visible {
	outline-color: var(--wolf-ink);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--wolf-font-display);
	text-wrap: balance;
}

p {
	margin: 0;
}

button {
	font: inherit;
}

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

.skip-link:focus {
	position: fixed !important;
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 14px 20px;
	clip-path: none;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

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

.container {
	width: 100%;
	max-width: var(--wolf-container);
	margin-inline: auto;
	padding-inline: var(--wolf-gutter);
}

.container--narrow {
	max-width: calc(880px + 2 * var(--wolf-gutter));
}

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

/* Type ---------------------------------------------------------------- */

.display-xl {
	font-weight: 900;
	font-stretch: 108%;
	font-size: clamp(56px, 10vw, 156px);
	line-height: 0.82;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.display-l {
	font-weight: 900;
	font-stretch: 108%;
	font-size: clamp(40px, 8.4vw, 132px);
	line-height: 0.84;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.hero-title {
	font-weight: 900;
	font-stretch: 104%;
	font-size: clamp(34px, 6vw, 92px);
	line-height: 0.92;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

/*
 * The title has a soft hyphen (&shy;) from the editor. It breaks only there. On a small screen, a part
 * of the word can be too long for the line. Thus the browser also hyphenates the title there.
 */
@media (min-width: 640px) {

	.has-soft-hyphen {
		hyphens: manual;
	}
}

.section-title {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: clamp(28px, 3vw, 44px);
	padding-bottom: 16px;
	border-bottom: 4px solid var(--wolf-ink);
}

.section-title h2 {
	font-weight: 900;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1;
	text-transform: uppercase;
}

.eyebrow {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wolf-gold-dark);
}

.on-dark .eyebrow {
	color: var(--wolf-gold);
}

.lead {
	max-width: 52ch;
	font-size: clamp(19px, 1.7vw, 24px);
	font-weight: 500;
	line-height: 1.45;
}

.meta {
	font-size: 15px;
	font-weight: 600;
	color: var(--wolf-muted);
}

/* Components ---------------------------------------------------------- */

/* Buttons. One primary button in one view. */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: var(--wolf-radius);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.06em;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.button--primary {
	min-height: 56px;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.button--primary:hover {
	background: var(--wolf-gold-hover);
}

.button--outline {
	min-height: 56px;
	padding: 0 36px;
	border-color: var(--wolf-ink);
	background: var(--wolf-paper);
	color: var(--wolf-ink);
	letter-spacing: 0.1em;
}

.button--outline:hover {
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.button--outline-dark {
	min-height: 48px;
	border: 1px solid var(--wolf-ink-4);
	color: var(--wolf-paper);
	font-size: 13px;
	letter-spacing: 0.14em;
}

.button--outline-dark:hover {
	border-color: var(--wolf-gold);
	color: var(--wolf-gold);
}

.button--block {
	display: flex;
	width: 100%;
	font-size: 17px;
	letter-spacing: 0.02em;
}

/* Large primary button, for example in the front page image. */
.button--large {
	padding: 0 28px;
	font-size: 18px;
	letter-spacing: 0;
}

/* Black button on the yellow ground. */
.button--dark {
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.button--dark:hover {
	background: var(--wolf-ink-3);
}

/* Uppercase text link. */
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.16em;
	text-decoration: none;
	text-transform: uppercase;
}

.text-link:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.text-link--large {
	gap: 10px;
	font-size: 14px;
}

/* Black box with a text and buttons. For example the free ice times on the rink page. */
.dark-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
	padding: clamp(28px, 4vw, 56px);
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.dark-box__text {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	gap: 12px;
	max-width: 640px;
}

.dark-box__title {
	font-weight: 900;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1;
	text-transform: uppercase;
}

.dark-box__lead {
	color: var(--wolf-on-dark-lead);
	font-size: 17px;
	line-height: 1.55;
}

/* Category badge. */
.badge {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	line-height: 1.2;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* News card. */
.news-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 640px;
	color: var(--wolf-ink);
	text-decoration: none;
}

.news-card__media,
.news-feature__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wolf-paper-2);
}

.news-card__media img,
.news-feature__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--wolf-ease);
}

.news-card__media img.is-placeholder,
.news-feature__media img.is-placeholder {
	width: 28%;
	height: auto;
	margin: auto;
	position: absolute;
	inset: 0;
	opacity: 0.18;
	filter: grayscale(1);
	object-fit: contain;
}

.news-card:hover .news-card__media img:not(.is-placeholder),
.news-feature:hover .news-feature__media img:not(.is-placeholder) {
	transform: scale(1.04);
}

.news-card .badge,
.news-feature .badge {
	position: absolute;
	top: 16px;
	left: 16px;
}

.news-card .meta {
	margin-top: 6px;
}

.news-card__title {
	font-weight: 800;
	font-size: clamp(22px, 1.9vw, 28px);
	line-height: 1.15;
}

.news-card__more {
	display: flex;
	gap: 8px;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.news-card:hover .news-card__more,
.news-feature:hover .news-card__more {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: clamp(36px, 3vw, 44px);
}

/* Featured news item at the top of the news list. */
.news-feature {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	align-items: center;
	gap: clamp(20px, 3vw, 56px);
	color: var(--wolf-ink);
	text-decoration: none;
}

.news-feature__media {
	aspect-ratio: 3 / 2;
}

.news-feature__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.news-feature__title {
	font-weight: 900;
	font-size: clamp(28px, 3.4vw, 52px);
	line-height: 1.02;
}

.news-feature__lead {
	max-width: 46ch;
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.55;
	color: var(--wolf-ink-2);
}

.news-feature .news-card__more {
	margin-top: 4px;
}

/* Sub-page tiles. */
.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: var(--wolf-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tile {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	height: 100%;
	min-height: clamp(200px, 20vw, 300px);
	padding: clamp(24px, 2.4vw, 36px);
	background: var(--wolf-paper-2);
	color: var(--wolf-ink);
	text-decoration: none;
	transition: background-color 0.15s;
}

.tile:hover {
	background: var(--wolf-gold);
}

.tile__number {
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 15px;
}

.tile__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tile__title {
	font-weight: 900;
	font-size: clamp(22px, 1.8vw, 26px);
	line-height: 1.05;
	text-transform: uppercase;
	overflow-wrap: break-word;
	hyphens: auto;
}

.tile__text {
	font-size: 16px;
	line-height: 1.5;
	color: var(--wolf-ink-2);
}

.tile__arrow {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 22px;
}

/* CTA band. */
.cta-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: clamp(24px, 3vw, 40px);
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.cta-band__title {
	font-weight: 900;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.1;
	text-transform: uppercase;
}

/* The signup groups of a news story. */
.signup-summary {
	display: flex;
	flex-direction: column;
	gap: 34px;
	margin-top: 22px;
}

.schedule-list {
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--wolf-ink);
	list-style: none;
	font-size: clamp(17px, 1.3vw, 19px);
	line-height: 1.5;
}

.schedule-list__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--wolf-line);
}

.schedule-list__item strong {
	font-weight: 700;
}

.schedule-list__item span {
	color: var(--wolf-ink-2);
}

.cta-band__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cta-band .eyebrow {
	font-size: 12px;
}

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

.site-header {
	position: relative;
	z-index: 40;
	color: var(--wolf-paper);
}

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

.site-header__logo {
	position: relative;
	z-index: 3;
	display: block;
	justify-self: center;
	border-radius: 50%;
}

.site-header__logo img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

.site-header__myclub,
.site-header__language {
	display: flex;
	align-items: center;
	min-height: 36px;
	padding: 0 4px;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-header__myclub:hover,
.site-header__language:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* Desktop header. */
.site-header__desktop {
	display: none;
}

.site-header__topbar {
	height: 36px;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.site-header__topbar .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	height: 100%;
}

/* The optional texts at the left side. They push the links to the right side. */
.site-header__note {
	position: relative;
	flex: 1 1 auto;
	align-self: stretch;
	min-width: 0;
	overflow: hidden;
}

.site-header__note-item {
	margin: 0;
	overflow: hidden;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	line-height: 36px;
	letter-spacing: 0.14em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

/* More than one text: the texts are on top of each other. The active text moves in from below. */
.site-header__note--rotate .site-header__note-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.site-header__note--rotate .site-header__note-item.is-active {
	opacity: 1;
	transform: none;
}

.site-header__note--rotate .site-header__note-item.is-leaving {
	opacity: 0;
	transform: translateY(-100%);
}

.site-header__divider {
	width: 1px;
	height: 14px;
	background: rgba(10, 10, 11, 0.35);
}

.site-header__bar {
	position: relative;
	border-bottom: 4px solid var(--wolf-gold);
	background-color: var(--wolf-ink);
	background-image: url("../images/header-bg.jpg");
	background-image: image-set(url("../images/header-bg.webp") type("image/webp"), url("../images/header-bg.jpg") type("image/jpeg"));
	background-position: center;
	background-size: cover;
}

.site-header__bar > .container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr);
	align-items: center;
	height: 128px;
}

.primary-nav {
	grid-column: 1;
}

.secondary-nav {
	grid-column: 3;
}

.site-header__desktop .site-header__logo {
	grid-column: 2;
	top: 30px;
	width: 148px;
	height: 148px;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.primary-nav__list,
.secondary-nav ul {
	display: flex;
	align-items: center;
	gap: 18px;
}

.secondary-nav ul {
	justify-content: flex-end;
}

.primary-nav__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wolf-paper);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.15s;
}

.primary-nav__toggle .icon {
	transition: transform 0.2s;
}

.primary-nav__item.is-active > .primary-nav__toggle,
.primary-nav__toggle:hover,
.primary-nav__toggle[aria-expanded="true"] {
	color: var(--wolf-gold);
}

.primary-nav__toggle[aria-expanded="true"] .icon {
	transform: rotate(180deg);
}

.secondary-nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--wolf-on-dark-2);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.15s;
}

.secondary-nav a:hover,
.secondary-nav .is-active a {
	color: var(--wolf-gold);
}

/* Mega menu panel. */
.mega-panel {
	position: absolute;
	z-index: 1;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	background-color: var(--wolf-paper);
	background-image: url("../images/menu-bg.jpg");
	background-image: image-set(url("../images/menu-bg.webp") type("image/webp"), url("../images/menu-bg.jpg") type("image/jpeg"));
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	color: var(--wolf-ink);
	box-shadow: 0 28px 56px rgba(10, 10, 11, 0.22);
}

.mega-panel__inner {
	display: grid;
	grid-template-columns: minmax(max-content, 1fr) minmax(0, 2fr);
	gap: 64px;
	align-items: start;
	max-width: var(--wolf-container);
	margin: 0 auto;
	padding: 72px var(--wolf-gutter) 64px;
}

.mega-panel__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.mega-panel__hub {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: var(--wolf-ink);
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-stretch: 110%;
	font-size: clamp(40px, 3.6vw, 56px);
	line-height: 0.95;
	text-decoration: none;
	text-transform: uppercase;
}

.mega-panel__hub-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
	transition: transform 0.15s;
}

.mega-panel__hub:hover .mega-panel__hub-icon,
.mega-panel__hub:focus-visible .mega-panel__hub-icon {
	transform: translateX(4px);
}

.mega-panel__groups {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	padding-top: 6px;
}

.mega-panel__group {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
	gap: 10px;
}

.mega-panel__group--wide {
	flex: 2 1 360px;
}

.mega-panel__group + .mega-panel__group:not(.mega-panel__group--wide) {
	flex: 1 1 200px;
}

.mega-panel__title {
	display: flex;
	align-items: center;
	min-height: 24px;
	margin: 0;
	padding-bottom: 6px;
	color: var(--wolf-muted);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.mega-panel__links {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: repeat(var(--columns, 1), minmax(0, 1fr));
	grid-template-rows: repeat(var(--rows, 1), auto);
	column-gap: 48px;
}

/* A yellow line grows in front of the link on hover and focus. The current page has the line. */
.mega-panel__link {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 9px 0;
	color: var(--wolf-ink);
	font-size: 19px;
	line-height: 1.4;
	text-decoration: none;
}

.mega-panel__link::before {
	content: "";
	flex: 0 0 auto;
	width: 0;
	height: 3px;
	margin-right: 0;
	background: var(--wolf-gold);
	transition: width 0.15s, margin-right 0.15s;
}

.mega-panel__link:hover::before,
.mega-panel__link:focus-visible::before,
.mega-panel__link[aria-current="page"]::before {
	width: 16px;
	margin-right: 10px;
}

.mega-panel__extra {
	padding: 0 18px;
	border: 2px solid var(--wolf-ink);
	border-radius: 999px;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Without JavaScript, show the panel when the section has focus or hover. */
.no-js .primary-nav__item:hover > .mega-panel,
.no-js .primary-nav__item:focus-within > .mega-panel {
	display: block;
}

/* Mobile header. */
.site-header__mobile {
	position: relative;
	z-index: 2;
	height: 72px;
	border-bottom: 4px solid var(--wolf-gold);
	background-color: var(--wolf-ink);
	background-image: url("../images/header-bg-1000.jpg");
	background-image: image-set(url("../images/header-bg-1000.webp") type("image/webp"), url("../images/header-bg-1000.jpg") type("image/jpeg"));
	background-position: center;
	background-size: cover;
}

@media (min-width: 720px) {

	.site-header__mobile {
		background-image: url("../images/header-bg.jpg");
		background-image: image-set(url("../images/header-bg.webp") type("image/webp"), url("../images/header-bg.jpg") type("image/jpeg"));
	}
}

.site-header__mobile-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
	align-items: center;
	height: 100%;
	padding: 0 16px;
}

.site-header__burger {
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	width: 48px;
	height: 48px;
	margin-left: -12px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wolf-paper);
	cursor: pointer;
}

.site-header__burger .icon--close,
.site-header__burger[aria-expanded="true"] .icon--menu {
	display: none;
}

.site-header__burger[aria-expanded="true"] .icon--close {
	display: block;
}

.site-header__mobile .site-header__logo {
	top: 14px;
	width: 78px;
	height: 78px;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.site-header__mobile .site-header__myclub {
	justify-self: end;
	min-height: 44px;
	color: var(--wolf-gold);
}

/* Fullscreen mobile menu. The script sets the top position. */
.mobile-menu {
	position: fixed;
	z-index: 1;
	top: var(--wolf-menu-top, 76px);
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 44px 16px 40px;
	background: var(--wolf-ink);
}

.mobile-menu[hidden] {
	display: none;
}

.mobile-menu__section {
	border-bottom: 1px solid var(--wolf-ink-3);
}

.mobile-menu__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.mobile-menu__hub {
	flex: 1;
	padding: 18px 0;
	color: var(--wolf-paper);
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-stretch: 108%;
	font-size: 30px;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.mobile-menu__section.is-active .mobile-menu__hub {
	color: var(--wolf-gold);
}

.mobile-menu__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -8px;
	padding: 0;
	border: 1px solid var(--wolf-ink-4);
	border-radius: 50%;
	background: transparent;
	color: var(--wolf-paper);
	cursor: pointer;
}

.mobile-menu__toggle .icon {
	transition: transform 0.2s;
}

.mobile-menu__toggle[aria-expanded="true"] {
	border-color: var(--wolf-gold);
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.mobile-menu__toggle[aria-expanded="true"] .icon {
	transform: rotate(180deg);
}

.mobile-menu .mobile-menu__sub {
	display: flex;
	flex-direction: column;
	padding: 0 0 16px;
}

.mobile-menu .mobile-menu__sub[hidden] {
	display: none;
}

.mobile-menu__sub a {
	display: block;
	padding: 11px 0 11px 16px;
	border-left: 2px solid var(--wolf-ink-3);
	color: var(--wolf-line);
	font-size: 18px;
	text-decoration: none;
}

.mobile-menu__sub a[aria-current="page"] {
	border-left-color: var(--wolf-gold);
	color: var(--wolf-paper);
}

.mobile-menu__secondary ul {
	display: flex;
	flex-direction: column;
}

.mobile-menu__secondary a {
	display: block;
	padding: 12px 0;
	color: var(--wolf-paper);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.mobile-menu__secondary .is-active a {
	color: var(--wolf-gold);
}

/* The optional texts from the top bar of the desktop header, one text on each line. */
.mobile-menu__note {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 14px;
	border-left: 4px solid var(--wolf-gold);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mobile-menu__note p {
	margin: 0;
}

/* MyClub and the language pages: buttons in a row. */
.mobile-menu__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mobile-menu__buttons .button {
	flex: 1 1 140px;
}

/* Without JavaScript, show the mobile menu below the header bar. */
.no-js .mobile-menu,
.no-js .mobile-menu .mobile-menu__sub {
	display: flex;
}

.no-js .mobile-menu {
	position: static;
}

.no-js .site-header__burger,
.no-js .mobile-menu__toggle {
	display: none;
}

/* The mobile header stays at the top of the screen. */
@media (max-width: 1239.98px) {
	.site-header {
		position: sticky;
		top: 0;
	}

	.no-js .site-header {
		position: relative;
	}
}

@media (min-width: 601px) and (max-width: 1239.98px) {
	.admin-bar .site-header {
		top: var(--wp-admin--admin-bar--height, 0);
	}
}

@media (min-width: 1240px) {
	.site-header__desktop {
		display: block;
	}

	.site-header__mobile,
	.mobile-menu {
		display: none !important;
	}
}

@media (min-width: 1320px) {
	.primary-nav__list,
	.secondary-nav ul {
		gap: 26px;
	}

	.primary-nav__toggle {
		font-size: 14px;
	}
}

@media (min-width: 1440px) {
	.primary-nav__list,
	.secondary-nav ul {
		gap: 36px;
	}

	.primary-nav__toggle {
		font-size: 15px;
	}
}

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

.site-footer {
	overflow: hidden;
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(20px, 5vw, 88px);
	padding: clamp(40px, 7vw, 128px) 0 clamp(28px, 5vw, 88px);
	background-color: var(--wolf-ink);
	background-image: url("../images/footer-bg-1000.jpg");
	background-image: image-set(url("../images/footer-bg-1000.webp") type("image/webp"), url("../images/footer-bg-1000.jpg") type("image/jpeg"));
	background-position: center bottom;
	background-size: cover;
}

@media (min-width: 720px) {

	.site-footer__brand {
		background-image: url("../images/footer-bg.jpg");
		background-image: image-set(url("../images/footer-bg.webp") type("image/webp"), url("../images/footer-bg.jpg") type("image/jpeg"));
	}
}

.site-footer__logo {
	display: block;
	width: clamp(96px, 11vw, 176px);
	height: auto;
}

.marquee {
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: wolf-marquee 45s linear infinite;
}

.marquee__item {
	display: flex;
	align-items: center;
	gap: 0.35em;
	padding-right: 0.35em;
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-stretch: 110%;
	font-size: clamp(52px, 14vw, 232px);
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	white-space: nowrap;
}

.marquee__item img {
	display: block;
	width: 0.62em;
	height: 0.62em;
}

/* Stop the slogan when the focus is in the footer brand area. The pointer does not stop it. */
.site-footer__brand:focus-within .marquee__track {
	animation-play-state: paused;
}

@keyframes wolf-marquee {

	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.site-footer__stripes {
	display: flex;
	flex-direction: column;
}

.site-footer__stripes span {
	display: block;
	height: clamp(8px, 1vw, 14px);
	background: var(--wolf-ink);
}

.site-footer__stripes span:nth-child(1),
.site-footer__stripes span:nth-child(5) {
	height: clamp(18px, 2.4vw, 34px);
	background: var(--wolf-gold);
}

.site-footer__stripes span:nth-child(3) {
	height: clamp(12px, 1.7vw, 24px);
	background: var(--wolf-paper);
}

.site-footer__main {
	padding-top: clamp(36px, 7vw, 112px);
}

.footer-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 40px 32px;
}

.footer-nav__column {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

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

.footer-nav__title {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--wolf-gold);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-decoration: none;
	text-transform: uppercase;
}

.footer-nav__links a {
	display: block;
	padding: 10px 0;
	color: var(--wolf-paper);
	font-size: 17px;
	line-height: 1.4;
	text-decoration: none;
}

.footer-nav__title:hover,
.footer-nav__links a:hover,
.site-footer__legal a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: clamp(40px, 5vw, 72px);
	padding: 28px 0 36px;
	border-top: 1px solid var(--wolf-ink-3);
	color: var(--wolf-on-dark-muted);
	font-size: 15px;
}

.site-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal a {
	display: block;
	padding: 12px 0;
	color: inherit;
	text-decoration: none;
}

@media (max-width: 640px) {

	.footer-nav {
		grid-template-columns: 1fr 1fr;
		gap: 0 16px;
	}

	.footer-nav__links {
		display: none;
	}

	.footer-nav__title {
		justify-content: space-between;
		min-height: 56px;
		border-bottom: 1px solid var(--wolf-ink-3);
	}

	/* The Lucide arrow-right icon. */
	.footer-nav__title::after {
		content: "";
		width: 16px;
		height: 16px;
		background: var(--wolf-paper);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	}
}

/* Page header --------------------------------------------------------- */

.page-header {
	padding: clamp(80px, 10vw, 152px) 0 clamp(40px, 5vw, 72px);
}

.page-header .container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.page-header .lead {
	max-width: 60ch;
	font-size: clamp(18px, 1.5vw, 21px);
	font-weight: 400;
	line-height: 1.55;
}

/* Page header with an image. */
.page-hero {
	position: relative;
	display: flex;
	min-height: clamp(420px, 40vw, 620px);
	overflow: hidden;
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.page-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 35%;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 11, 0.45);
}

.page-hero .container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 16px;
	padding-top: clamp(96px, 10vw, 160px);
	padding-bottom: clamp(32px, 4vw, 64px);
}

.page-hero .lead {
	max-width: 48ch;
	color: var(--wolf-on-dark-lead);
	font-size: clamp(17px, 1.5vw, 21px);
	font-weight: 400;
	line-height: 1.5;
}

/* Content from the classic editor -------------------------------------- */

.prose {
	display: flow-root;
	font-size: clamp(17px, 1.3vw, 19px);
	line-height: 1.65;
}

.prose > * {
	max-width: 66ch;
	margin-top: 0;
	margin-bottom: 22px;
}

.prose > *:last-child {
	margin-bottom: 0;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: clamp(36px, 4vw, 56px);
	margin-bottom: 16px;
	line-height: 1.1;
}

.prose h2 {
	font-weight: 900;
	font-size: clamp(26px, 2.6vw, 36px);
	text-transform: uppercase;
}

.prose h3 {
	font-weight: 800;
	font-size: clamp(21px, 1.8vw, 26px);
}

.prose h4 {
	font-weight: 800;
	font-size: 19px;
}

.prose a {
	color: var(--wolf-ink);
	text-decoration-thickness: 2px;
	text-decoration-color: var(--wolf-gold);
	text-underline-offset: 4px;
}

.prose a:hover {
	text-decoration-color: currentColor;
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose li + li {
	margin-top: 6px;
}

.prose li::marker {
	color: var(--wolf-gold-dark);
	font-weight: 700;
}

.prose blockquote {
	margin-left: 0;
	padding-left: 24px;
	border-left: 4px solid var(--wolf-gold);
	font-size: 1.15em;
	font-weight: 500;
}

.prose hr {
	max-width: none;
	height: 0;
	border: 0;
	border-top: 1px solid var(--wolf-line);
}

.prose table {
	width: 100%;
	max-width: none;
	border-collapse: collapse;
	border-top: 2px solid var(--wolf-ink);
	font-size: 0.95em;
}

.prose th,
.prose td {
	padding: 14px 16px 14px 0;
	border-bottom: 1px solid var(--wolf-line);
	text-align: left;
	vertical-align: top;
}

.prose th {
	font-weight: 700;
}

.prose img {
	display: block;
}

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

.prose .wp-caption-text,
.prose figcaption,
.figure__caption {
	padding-top: 12px;
	color: var(--wolf-muted);
	font-size: 14px;
	line-height: 1.5;
}

.prose .alignleft {
	float: left;
	margin: 6px 32px 16px 0;
	max-width: 50%;
}

.prose .alignright {
	float: right;
	margin: 6px 0 16px 32px;
	max-width: 50%;
}

.prose .aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.prose .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
	gap: var(--wolf-gap);
	max-width: none;
}

.prose .gallery-item {
	margin: 0;
}

.prose .gallery-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.prose iframe {
	max-width: 100%;
}

@media (max-width: 600px) {

	.prose .alignleft,
	.prose .alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 22px;
	}
}

/* Page template ------------------------------------------------------- */

.page-content {
	padding-bottom: clamp(72px, 9vw, 136px);
}

.page-hero + .page-content {
	padding-top: var(--wolf-section);
}

.page-children {
	padding-bottom: clamp(72px, 9vw, 136px);
}

.page-content + .page-children {
	margin-top: calc(-1 * clamp(24px, 4vw, 64px));
}

/* Signup groups ------------------------------------------------------- */

.signups {
	padding-block: var(--wolf-section) clamp(72px, 9vw, 136px);
}

/* The page content above has a large space below it. */
article:has(> .page-content) + .signups {
	padding-top: 0;
}

.signups__title {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wolf-line);
	font-weight: 900;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1;
	text-transform: uppercase;
}

.signup-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 40px;
	padding-block: clamp(24px, 3vw, 40px);
	border-bottom: 1px solid var(--wolf-line);
}

.signup-group__body {
	display: flex;
	flex: 999 1 420px;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.signup-group__title {
	font-weight: 800;
	font-size: clamp(19px, 1.7vw, 24px);
	line-height: 1.25;
}

.signup-group__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	font-size: 16px;
	color: var(--wolf-ink-2);
}

.signup-group__note {
	font-size: 15px;
	color: var(--wolf-ink-2);
}

.signup-group__status {
	font-weight: 700;
	font-size: 15px;
	color: var(--wolf-muted);
}

.signup-group--open .signup-group__status {
	color: var(--wolf-gold-dark);
}

.signup-group__places {
	margin-top: -6px;
	font-size: 15px;
	color: var(--wolf-ink-2);
}

.signup-group__action,
.signup-group__closed {
	flex: 1 0 200px;
	max-width: 100%;
	min-height: 56px;
	padding: 0 28px;
}

.signup-group__action {
	font-size: 17px;
	letter-spacing: 0.04em;
}

.signup-group__closed {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed var(--wolf-line-strong);
	border-radius: var(--wolf-radius);
	background: var(--wolf-paper-2);
	color: var(--wolf-muted);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

.signups__text,
.signups__empty {
	margin-top: 20px;
	font-size: 15px;
	color: var(--wolf-muted);
}

.signups__empty {
	font-size: 17px;
	color: var(--wolf-ink-2);
}

/* News list ----------------------------------------------------------- */

.news-header {
	padding: clamp(80px, 10vw, 152px) 0 clamp(28px, 3vw, 40px);
	border-bottom: 1px solid var(--wolf-line);
}

.news-header .container {
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 3vw, 48px);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border: 2px solid var(--wolf-line-strong);
	border-radius: 999px;
	background: var(--wolf-paper);
	color: var(--wolf-ink);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 0.15s;
}

.chip:hover {
	border-color: var(--wolf-ink);
}

.chip[aria-current="page"] {
	border-color: var(--wolf-ink);
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.chip__count {
	font-weight: 600;
	opacity: 0.7;
}

.news-list {
	padding: clamp(40px, 5vw, 80px) 0 clamp(72px, 9vw, 136px);
}

.news-list > .container {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 6vw, 88px);
}

.news-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

/* The script loads a new category. */
[data-news][aria-busy="true"] .news-list {
	opacity: 0.5;
	transition: opacity 0.2s;
}

.news-empty {
	max-width: 52ch;
	font-size: 19px;
}

/* The search form below the "no results" text. */
.news-empty .search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.news-empty .search-form label {
	flex: 1 1 240px;
}

.news-empty .search-field {
	width: 100%;
	min-height: 56px;
	padding: 0 16px;
	border: 2px solid var(--wolf-line-strong);
	border-radius: var(--wolf-radius);
	background: var(--wolf-paper);
	color: var(--wolf-ink);
	font: inherit;
}

.news-empty .search-field:focus {
	border-color: var(--wolf-ink);
}

.news-empty .search-submit {
	min-height: 56px;
	padding: 0 24px;
	border: 2px solid var(--wolf-ink);
	border-radius: var(--wolf-radius);
	background: var(--wolf-ink);
	color: var(--wolf-paper);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.news-empty .search-submit:hover {
	background: var(--wolf-ink-2);
}

/* Single news item ---------------------------------------------------- */

.article-header {
	padding: clamp(80px, 10vw, 140px) 0 clamp(28px, 3vw, 44px);
}

.article-header .container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.article-header__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.article-header__title {
	font-weight: 900;
	font-size: clamp(34px, 5.4vw, 76px);
	line-height: 0.98;
	letter-spacing: -0.01em;
}

.article-header .lead {
	max-width: none;
	font-size: clamp(19px, 1.8vw, 24px);
}

.article-figure {
	max-width: 1312px;
	margin: 0 auto;
	padding: 0 clamp(0px, 4vw, 64px);
}

.article-figure img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-figure .figure__caption {
	max-width: 880px;
	padding-inline: var(--wolf-gutter);
}

.article-body {
	padding-top: clamp(36px, 4vw, 64px);
}

.related-news {
	padding: clamp(72px, 9vw, 136px) 0;
}

/* Front page --------------------------------------------------------- */

/* The large image at the top. */
.front-hero {
	position: relative;
	display: flex;
	min-height: clamp(560px, 56vw, 820px);
	overflow: hidden;
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.front-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 30%;
}

.front-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.35) 40%, rgba(10, 10, 11, 0.85) 100%);
}

.front-hero__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: clamp(20px, 2.4vw, 32px);
	padding-top: clamp(96px, 11vw, 168px);
	padding-bottom: clamp(40px, 5vw, 80px);
}

.front-hero__eyebrow {
	font-size: clamp(12px, 1.1vw, 15px);
}

.front-hero__title {
	font-weight: 900;
	font-stretch: 106%;
	font-size: clamp(30px, 7.4vw, 124px);
	line-height: 0.9;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}

.front-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* The games on a dark band. */
.games {
	border-top: 1px solid var(--wolf-ink-3);
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.games__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 28px;
}

.games__title,
.games__subtitle {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wolf-on-dark-muted);
}

.games .text-link {
	color: var(--wolf-paper);
}

/* The pinned games. */
.games__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	gap: var(--wolf-gap);
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.game-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	padding: clamp(24px, 2.6vw, 36px);
	background: #141416;
	color: var(--wolf-paper);
	text-decoration: none;
	transition: background-color 0.15s;
}

a.game-card:hover {
	background: #161618;
}

.game-card__team {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wolf-gold);
}

.game-card__time {
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1;
	text-transform: uppercase;
}

.game-card__teams {
	display: flex;
	align-items: center;
	gap: 16px;
}

.game-card__teams img {
	display: block;
	flex: none;
	width: 56px;
	height: 56px;
}

.game-card__vs {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 15px;
	color: var(--wolf-on-dark-muted);
}

.game-card__opponent {
	min-width: 0;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: clamp(20px, 1.8vw, 26px);
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.game-card__more {
	display: flex;
	gap: 8px;
	margin-top: auto;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wolf-on-dark-muted);
}

a.game-card:hover .game-card__more {
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* The home games of the junior teams in the current week. */
.games__week {
	margin-top: clamp(32px, 3.6vw, 48px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.games__week-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
}

.games__week-label {
	font-size: 14px;
	color: #8a8a90;
}

.games__rows {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(560px, 100%), 1fr));
	column-gap: clamp(32px, 4vw, 64px);
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.week-game {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	min-height: 64px;
	padding: 10px 0;
	box-sizing: border-box;
	color: var(--wolf-paper);
	text-decoration: none;
	transition: background-color 0.15s;
}

a.week-game:hover {
	background: #161618;
}

.week-game__time {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 16px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wolf-gold);
}

.week-game__teams {
	overflow: hidden;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: clamp(16px, 1.3vw, 19px);
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.week-game__vs {
	font-weight: 700;
	color: #8a8a90;
}

.week-game__arrow {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	color: var(--wolf-on-dark-muted);
}

@media (max-width: 600px) {

	.week-game {
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: 2px;
	}

	.week-game__time {
		grid-column: 1 / -1;
		font-size: 14px;
	}

	.week-game__teams {
		white-space: normal;
	}
}

.games__empty {
	margin: 12px 0 0;
	font-size: 16px;
	color: var(--wolf-on-dark-muted);
}

/* The highlight cards. */
.highlights {
	padding-top: clamp(56px, 8vw, 120px);
}

.highlights__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
	gap: clamp(16px, 2.4vw, 32px);
	margin-block: 0;
	list-style: none;
}

.highlight-card {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--wolf-ink);
	color: var(--wolf-paper);
	text-decoration: none;
}

.highlight-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	transition: transform 0.6s var(--wolf-ease);
}

.highlight-card:hover .highlight-card__image {
	transform: scale(1.04);
}

.highlight-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 11, 0.5);
}

.highlight-card__body {
	position: absolute;
	z-index: 1;
	right: clamp(20px, 3vw, 44px);
	bottom: clamp(20px, 3vw, 44px);
	left: clamp(20px, 3vw, 44px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.highlight-card__title {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.05;
}

.highlight-card__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(48px, 4vw, 60px);
	height: clamp(48px, 4vw, 60px);
	border-radius: 50%;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
	transition: background-color 0.15s;
}

.highlight-card:hover .highlight-card__button {
	background: var(--wolf-gold-hover);
}

/* The sections with a large grey title: the news and the supporters. */
.front-section {
	padding: clamp(72px, 10vw, 152px) 0;
}

.front-news {
	padding-bottom: clamp(72px, 9vw, 136px);
}

.front-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 32px;
	margin-bottom: clamp(32px, 4vw, 64px);
}

.front-header__title {
	font-weight: 900;
	font-stretch: 110%;
	font-size: clamp(56px, 10vw, 156px);
	line-height: 0.82;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--wolf-muted);
	overflow-wrap: anywhere;
	hyphens: auto;
}

/* The social media band. */
.social {
	padding: clamp(56px, 7vw, 104px) 0;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.social__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
}

.social__title {
	font-weight: 900;
	font-stretch: 110%;
	font-size: clamp(38px, 6.4vw, 96px);
	line-height: 0.86;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.social__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3px;
	margin: clamp(28px, 3vw, 44px) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 720px) {

	.social__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

/* On the front page, a small screen shows 4 rows of 3 posts. */
@media (max-width: 719px) {

	.social--front .social__grid li:nth-child(n + 13) {
		display: none;
	}
}

.social-tile {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.social-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--wolf-ease);
}

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

/* A dark layer on the image when the pointer is on it, as on Instagram. */
.social-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 11, 0.25);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.social-tile:hover::after {
	opacity: 1;
}

.social-tile .icon {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 10px;
	filter: drop-shadow(0 1px 2px rgba(10, 10, 11, 0.5));
}

.social-tile:focus-visible {
	outline-offset: -4px;
}

/* The supporters. */
.sponsors__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 20vw, 300px), 1fr));
	gap: var(--wolf-gap);
	margin: clamp(4px, 1vw, 24px) 0 0;
	padding: 0;
	list-style: none;
}

.sponsor {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(84px, 9vw, 132px);
	padding: 0 clamp(20px, 2.4vw, 36px);
	border-radius: 999px;
	background: var(--wolf-paper-2);
	color: var(--wolf-ink);
	text-decoration: none;
	transition: background-color 0.15s;
}

a.sponsor:hover {
	background: var(--wolf-line);
}

.sponsor__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(var(--sponsor-logo-height, 50%), 70%);
	object-fit: contain;
}

.sponsor__name abbr {
	text-decoration: none;
}

.sponsor__name {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: clamp(14px, 1.2vw, 17px);
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

/* Team page ----------------------------------------------------------- */

/* White outline button on a dark ground. */
.button--ghost {
	gap: 12px;
	padding: 0 22px;
	border: 1.5px solid var(--wolf-paper);
	border-radius: 999px;
	color: var(--wolf-paper);
	font-size: 13px;
	letter-spacing: 0.14em;
}

.button--ghost:hover {
	background: var(--wolf-paper);
	color: var(--wolf-ink);
}

/* The quick facts. */
.team-facts {
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.team-facts__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 14px clamp(20px, 3vw, 48px);
	margin-block: 0;
	padding-block: clamp(18px, 2vw, 28px);
}

.team-facts__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.team-facts dt {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.team-facts dd {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* The wide facts of the rink page. */
.team-facts--wide .team-facts__list {
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.team-facts--wide dd {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.2;
}

.section-title--tight {
	align-items: flex-end;
	gap: 16px 24px;
	margin-bottom: 0;
}

.section-title .meta {
	font-weight: 400;
}

/* The filter buttons. The script shows them. */
.filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.filter-buttons[hidden],
[data-filter-tags][hidden] {
	display: none;
}

.chip[aria-pressed="true"] {
	border-color: var(--wolf-ink);
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

/* A row of chips that the user can scroll. */
.chips--scroll {
	flex-wrap: nowrap;
	margin-inline: calc(-1 * var(--wolf-gutter));
	padding: 2px var(--wolf-gutter);
	overflow-x: auto;
	scrollbar-width: none;
}

.chips--scroll::-webkit-scrollbar {
	display: none;
}

.chips--scroll > * {
	flex: 0 0 auto;
	white-space: nowrap;
}

.chips--scroll .chip {
	min-height: 48px;
	padding: 0 22px;
}

/* The staff. */
.staff-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
	gap: clamp(24px, 2.4vw, 36px) clamp(16px, 2.4vw, 40px);
	margin: clamp(24px, 2.4vw, 36px) 0 0;
	padding: 0;
	list-style: none;
}

.person {
	display: flex;
	align-items: center;
	gap: 16px;
}

.person__initials {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 19px;
}

.person__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.person__name {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: clamp(17px, 1.5vw, 21px);
}

.person__role {
	font-size: 15px;
	color: var(--wolf-muted);
}

/* A person with contact links. The initials stay at the top. */
.person--contact {
	align-items: flex-start;
}

.person__link {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--wolf-ink);
	font-size: 15px;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.person__role + .person__link {
	margin-top: -4px;
}

.person__link + .person__link {
	margin-top: -12px;
}

.person__link:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

/* Teams page ---------------------------------------------------------- */

.team-groups {
	padding-bottom: clamp(32px, 5vw, 80px);
}

.team-groups > .container {
	padding-bottom: clamp(4px, 1vw, 16px);
}

.team-group {
	padding: clamp(28px, 3vw, 48px) 0 clamp(40px, 5vw, 72px);
}

.team-group .section-title {
	gap: 8px 16px;
	margin-bottom: clamp(20px, 3vw, 40px);
}

.team-group .section-title h2 {
	font-size: clamp(26px, 3vw, 44px);
}

.team-group__count {
	flex: 0 0 auto;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wolf-muted);
}

.team-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 22vw, 290px), 1fr));
	gap: clamp(24px, 3vw, 44px) clamp(12px, 2vw, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.team-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--wolf-ink);
	text-decoration: none;
}

.team-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wolf-ink);
}

.team-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--wolf-ease);
}

.team-card:hover .team-card__media img {
	transform: scale(1.04);
}

.team-card__media--mono,
.team-card__media--logo {
	background: var(--wolf-paper-2);
}

.team-card__media .team-card__logo {
	position: absolute;
	height: auto;
	object-fit: contain;
}

.team-card__media--mono .team-card__logo {
	top: -18%;
	right: -14%;
	width: 62%;
	opacity: 0.14;
}

.team-card__media--logo .team-card__logo {
	top: 50%;
	left: 50%;
	width: 38%;
	transform: translate(-50%, -50%);
}

.team-card:hover .team-card__media--logo .team-card__logo {
	transform: translate(-50%, -50%) scale(1.04);
}

.team-card__mono {
	position: absolute;
	bottom: clamp(12px, 1.4vw, 22px);
	left: clamp(12px, 1.4vw, 22px);
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-stretch: 110%;
	font-size: clamp(40px, 6vw, 88px);
	line-height: 0.85;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.team-card__badge {
	position: absolute;
	top: clamp(8px, 1vw, 16px);
	left: clamp(8px, 1vw, 16px);
	max-width: calc(100% - 2 * clamp(8px, 1vw, 16px));
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: clamp(10px, 0.8vw, 12px);
	letter-spacing: 0.16em;
}

.team-card__title {
	margin-top: 4px;
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: clamp(18px, 1.9vw, 28px);
	line-height: 1.05;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.team-card:hover .team-card__title {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}

.team-card__year {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.12em;
	color: var(--wolf-gold-dark);
}

/* Contact page ------------------------------------------------------- */

.club-info__map {
	position: relative;
	display: block;
	align-self: stretch;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #161618;
	color: var(--wolf-ink);
	text-decoration: none;
}

.map-art {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

/* The colors of the map art. The dark map is the default. */
.map-art__block {
	fill: #1d1f1c;
}

.map-art__road {
	stroke: #2a2a2d;
}

.map-art__street {
	stroke: #222225;
}

.map-art--light {
	background: #edede8;
}

.map-art--light .map-art__block {
	fill: #e0e3d6;
}

.map-art--light .map-art__road,
.map-art--light .map-art__street {
	stroke: #fff;
}

.map-art--light .club-info__map-label {
	background: var(--wolf-ink);
	color: #fff;
}

.map-art--light:hover .club-info__map-label {
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.club-info__map-label {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: #fff;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: background-color 0.15s;
}

.club-info__map:hover .club-info__map-label {
	background: var(--wolf-gold-hover);
}

/* Organization page ------------------------------------------------- */

.org-group {
	padding-bottom: clamp(64px, 8vw, 112px);
}

/* Rink page --------------------------------------------------------- */

.rink-content {
	padding-top: clamp(40px, 5vw, 72px);
	padding-bottom: 0;
}

.rink-info {
	padding-block: clamp(56px, 7vw, 112px);
}

.rink-info__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	align-items: start;
	gap: clamp(40px, 5vw, 80px);
}

.rink-info__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
}

.rink-info__col .section-title {
	align-self: stretch;
}

.rink-info__text {
	max-width: 60ch;
	color: var(--wolf-ink-2);
	font-size: 17px;
	line-height: 1.55;
}

.rink-info__col .club-info__map {
	aspect-ratio: 4 / 3;
}

/* The public skating times. */
.skating-times {
	align-self: stretch;
	margin: 0;
	padding: 0;
	list-style: none;
}

.skating-times__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding-block: 18px;
	border-bottom: 1px solid var(--wolf-line);
}

.skating-times__when {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.skating-times__day {
	min-width: 2.6em;
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 20px;
	text-transform: uppercase;
}

.skating-times__time {
	font-size: 18px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.skating-times__badge {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wolf-paper-2);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
}

.skating-times__badge--sticks {
	background: var(--wolf-ink);
	color: #fff;
}

/* The free ice times. */
.rink-ice {
	padding-bottom: clamp(56px, 7vw, 112px);
}

.rink-ice__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.rink-ice__person {
	color: #a6a6ad;
	font-size: 15px;
}

.rink-ice__button {
	min-height: 56px;
	font-size: 17px;
}

/* Rules page -------------------------------------------------------- */

.rules {
	padding-bottom: clamp(64px, 8vw, 120px);
}

.rules__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 4px solid var(--wolf-ink);
}

.rule {
	border-bottom: 1px solid var(--wolf-line);
}

.rule__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 72px;
	padding: 16px 8px;
	border: 0;
	background: none;
	color: var(--wolf-ink);
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: clamp(19px, 1.8vw, 24px);
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.15s;
}

.rule__toggle:hover {
	background: var(--wolf-paper-2);
}

.rule__number {
	flex: none;
	min-width: 2ch;
	color: var(--wolf-gold-dark);
	font-weight: 900;
	font-size: 15px;
}

.rule__title {
	flex: 1;
}

.rule__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wolf-paper-2);
	transition: background-color 0.15s;
}

.rule__icon .icon {
	transition: transform 0.2s var(--wolf-ease);
}

.rule__toggle[aria-expanded="true"] .rule__icon {
	background: var(--wolf-gold);
}

.rule__toggle[aria-expanded="true"] .rule__icon .icon {
	transform: rotate(180deg);
}

.rule__panel {
	padding: 0 8px 28px clamp(8px, 4vw, 48px);
	color: var(--wolf-ink-2);
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.6;
}

.rule__panel > * {
	max-width: 70ch;
}

/* The "prose" class sets "display". Keep the closed panels hidden. */
.rule__panel[hidden] {
	display: none;
}

/* Without JavaScript, all the rules are open and the buttons do nothing. */
.no-js .rule__panel[hidden] {
	display: flow-root;
}

.no-js .rule__toggle {
	cursor: default;
}

.no-js .rule__toggle:hover {
	background: none;
}

.no-js .rule__icon {
	display: none;
}

.privacy-band {
	padding-block: clamp(48px, 6vw, 88px);
	background: var(--wolf-paper-2);
}

.privacy-band .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
}

.privacy-band__title {
	font-weight: 800;
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.15;
}

/* Members page ------------------------------------------------------ */

.members-box {
	padding-bottom: clamp(48px, 6vw, 88px);
}

.members-cards {
	padding-bottom: clamp(72px, 9vw, 136px);
}

.members-cards__grid {
	display: grid;
	/* Not more than 3 columns. A column is not narrower than 280px. */
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(280px, (100% - 2 * var(--wolf-gap)) / 3)), 1fr));
	gap: var(--wolf-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.info-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(24px, 2.4vw, 36px);
	background: var(--wolf-paper-2);
}

.info-card__title {
	font-weight: 900;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.1;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.info-card__text {
	color: var(--wolf-ink-2);
	font-size: 16px;
	line-height: 1.55;
}

.info-card__text p + p {
	margin-top: 12px;
}

/* Players page ------------------------------------------------------ */

.image-tiles {
	padding-bottom: clamp(72px, 9vw, 136px);
}

.image-tiles__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
	gap: clamp(16px, 2vw, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* A large image card with the text at the bottom. */
.image-tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--wolf-ink);
	color: var(--wolf-paper);
	text-decoration: none;
}

.image-tile__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	transition: transform 0.6s var(--wolf-ease);
}

.image-tile__image.is-placeholder {
	top: 12%;
	bottom: auto;
	left: 19%;
	width: 62%;
	height: auto;
	opacity: 0.16;
	object-fit: contain;
}

.image-tile:hover .image-tile__image:not(.is-placeholder) {
	transform: scale(1.04);
}

.image-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 11, 0.5);
}

.image-tile__body {
	position: absolute;
	z-index: 1;
	right: clamp(20px, 2.4vw, 36px);
	bottom: clamp(20px, 2.4vw, 36px);
	left: clamp(20px, 2.4vw, 36px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.image-tile__number {
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 15px;
	color: var(--wolf-gold);
}

.image-tile__title {
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: clamp(28px, 2.6vw, 38px);
	line-height: 1;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.image-tile__text {
	font-size: 16px;
	line-height: 1.5;
	color: var(--wolf-on-dark-lead);
}

.image-tile__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-top: 4px;
	border-radius: 50%;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
	transition: background-color 0.15s;
}

.image-tile:hover .image-tile__button {
	background: var(--wolf-gold-hover);
}

/* Yellow band with a name and a black button. */
.contact-band {
	padding-block: clamp(48px, 6vw, 88px);
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.contact-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

.contact-band__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-band__eyebrow {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.contact-band__title {
	font-weight: 900;
	font-size: clamp(26px, 3vw, 44px);
	line-height: 1.05;
	text-transform: uppercase;
}

.contact-band .button {
	min-height: 56px;
}

/* Join page --------------------------------------------------------- */

/* Text and a yellow button on one line. */
.join-prompt {
	padding-block: var(--wolf-section);
}

.join-prompt__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
}

.join-prompt__text {
	max-width: 24ch;
	margin: 0;
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: clamp(24px, 2.6vw, 36px);
	line-height: 1.15;
}

.join-prompt .button {
	min-height: 56px;
}

/* Course page ------------------------------------------------------- */

/* The black page header without an image shows the club logo. */
.page-hero__logo {
	position: absolute;
	top: 50%;
	right: -8%;
	width: clamp(320px, 52vw, 820px);
	max-width: none;
	opacity: 0.12;
	transform: translateY(-50%);
}

.page-hero--logo::after {
	content: none;
}

.signups:has(+ .course-content) {
	padding-bottom: var(--wolf-section);
}

/* The contact person in the band at the bottom of the course page. */
.contact-band {
	padding-block: clamp(56px, 7vw, 104px);
	background: var(--wolf-paper-2);
}

.contact-band__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

/* The extra group has a white signup button. */
.signup-group__action--extra {
	border-color: var(--wolf-gold);
	background: var(--wolf-paper);
}

.signup-group__action--extra:hover {
	background: var(--wolf-gold);
}

/* Schedule page ----------------------------------------------------- */

/* The script loads a new view. */
[data-schedule][aria-busy="true"] [data-schedule-part] {
	opacity: 0.5;
	transition: opacity 0.2s;
}

/* 404 ----------------------------------------------------------------- */

/* Black outline button on the yellow ground. */
.button--ink-outline {
	border-color: var(--wolf-ink);
	color: var(--wolf-ink);
}

.button--ink-outline:hover {
	background: var(--wolf-ink);
	color: var(--wolf-gold);
}

/* Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* The responsibility page. */

.page-header__main {
	display: flex;
	flex: 999 1 min(520px, 100%);
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
}
