/* =========================================================
   JULKLAPPSSPELET — GLOBAL SHELL
========================================================= */

.jks-site .site-header,
.jks-site .site-footer {
	background: transparent;
}

.jks-header {
	background: rgba(247, 241, 231, .96);
	border-bottom: 1px solid var(--jks-line);
	position: relative;
	z-index: 100;
}

.jks-header__inner {
	align-items: center;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	margin: 0 auto;
	max-width: var(--jks-wide);
	min-height: 82px;
	padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.jks-brand {
	color: var(--jks-midnight);
	justify-self: start;
	text-decoration: none;
}

.jks-brand__name {
	font-family: var(--jks-sans);
	font-size: .86rem;
	font-weight: 800;
	letter-spacing: .145em;
}

.jks-nav {
	align-items: center;
	display: flex;
	gap: clamp(1.5rem, 3vw, 2.75rem);
	justify-content: center;
}

.jks-nav a {
	color: var(--jks-midnight);
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
}

.jks-nav a:hover {
	color: var(--jks-wine);
}

.jks-play-button {
	align-items: center;
	background: var(--jks-midnight);
	color: var(--jks-cream);
	display: inline-flex;
	font-size: .76rem;
	font-weight: 750;
	gap: .55rem;
	justify-self: end;
	letter-spacing: .1em;
	min-height: 42px;
	padding: .7rem 1.05rem;
	text-decoration: none;
	text-transform: uppercase;
}

.jks-play-button:hover {
	background: var(--jks-forest);
	color: #fff;
}

.jks-play-button__dot {
	background: currentColor;
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	width: 6px;
}

.jks-menu-toggle,
.jks-mobile-nav {
	display: none;
}


/* Footer */

.jks-footer {
	background: var(--jks-midnight);
	color: rgba(247, 241, 231, .78);
	padding: clamp(4.5rem, 8vw, 7.5rem) 0 2rem;
}

.jks-footer__inner {
	margin: 0 auto;
	max-width: var(--jks-wide);
	padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.jks-footer__lead {
	align-items: end;
	display: flex;
	justify-content: space-between;
	padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.jks-footer__brand {
	color: var(--jks-cream);
	font-family: var(--jks-sans);
	font-size: clamp(1.25rem, 2vw, 1.8rem);
	font-weight: 800;
	letter-spacing: .12em;
	text-decoration: none;
}

.jks-footer__lead p {
	color: var(--jks-champagne);
	font-family: var(--jks-serif);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	margin: 0;
}

.jks-footer__nav {
	border-top: 1px solid rgba(247, 241, 231, .16);
	display: grid;
	gap: 3rem;
	grid-template-columns: repeat(2, minmax(150px, 1fr));
	margin-left: auto;
	max-width: 520px;
	padding: 3rem 0 4rem;
}

.jks-footer__nav > div {
	display: flex;
	flex-direction: column;
	gap: .65rem;
}

.jks-footer__label {
	color: var(--jks-champagne);
	font-size: .68rem;
	font-weight: 750;
	letter-spacing: .16em;
	margin-bottom: .5rem;
	text-transform: uppercase;
}

.jks-footer__nav a {
	color: var(--jks-cream);
	text-decoration: none;
}

.jks-footer__nav a:hover {
	text-decoration: underline;
}

.jks-footer__bottom {
	align-items: center;
	border-top: 1px solid rgba(247, 241, 231, .16);
	display: flex;
	font-size: .78rem;
	justify-content: space-between;
	padding-top: 1.5rem;
}

.jks-footer__bottom a {
	color: inherit;
}


/* Remove GeneratePress default content width feeling.
   Individual JKS templates control their own layout. */

.jks-site .site.grid-container {
	max-width: none;
}

.jks-site .site-content {
	padding: 0;
}

.jks-site .content-area {
	width: 100%;
}

.jks-site .site-main {
	margin: 0;
}


/* Mobile */

@media (max-width: 768px) {

	.jks-header__inner {
		display: flex;
		justify-content: space-between;
		min-height: 68px;
	}

	.jks-nav,
	.jks-play-button {
		display: none;
	}

	.jks-brand__name {
		font-size: .76rem;
		letter-spacing: .11em;
	}

	.jks-menu-toggle {
		background: transparent;
		border: 0;
		display: flex;
		flex-direction: column;
		gap: 6px;
		padding: .75rem .15rem .75rem .75rem;
	}

	.jks-menu-toggle span {
		background: var(--jks-midnight);
		display: block;
		height: 1px;
		width: 25px;
	}

	.jks-mobile-nav {
		background: var(--jks-cream);
		border-top: 1px solid var(--jks-line);
		padding: 1.25rem;
	}

	.jks-mobile-nav.is-open {
		display: block;
	}

	.jks-mobile-nav nav {
		display: flex;
		flex-direction: column;
	}

	.jks-mobile-nav a {
		border-bottom: 1px solid var(--jks-line);
		color: var(--jks-midnight);
		font-family: var(--jks-serif);
		font-size: 1.65rem;
		padding: 1rem .25rem;
		text-decoration: none;
	}

	.jks-mobile-nav__play {
		align-items: center;
		background: var(--jks-midnight);
		color: var(--jks-cream) !important;
		display: flex;
		font-family: var(--jks-sans) !important;
		font-size: .8rem !important;
		font-weight: 750;
		gap: .6rem;
		justify-content: center;
		letter-spacing: .1em;
		margin-top: 1rem;
		text-transform: uppercase;
	}

	.jks-footer__lead {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	.jks-footer__nav {
		margin-left: 0;
		max-width: none;
	}

	.jks-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: .6rem;
	}
}
