/*
Theme Name: John Bull Pub
Theme URI: https://johnbull.fastgroup.dk/
Author: FastGroup ApS
Author URI: https://fastgroup.dk/
Description: Designforslag til John Bull Pub Aalborg. Pubskilt som sidehoved, live åbningstider, formularer til kontakt og ølsmagning samt import af indhold.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: johnbull
*/

/* Skrifter: Libre Caslon og Cabin, SIL Open Font License 1.1 (assets/fonts). */
@font-face {
	font-family: "Libre Caslon Display";
	src: url("assets/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Libre Caslon Text";
	src: url("assets/fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Cabin";
	src: url("assets/fonts/cabin-latin-wght-normal.woff2") format("woff2-variations"),
		url("assets/fonts/cabin-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* Farver hentet fra facaden på Østeraagade: skiltebræt, grøn stueetage, bladguld og okkergule mure. */
:root {
	--board: #121b1f;
	--petrol: #1d3f3a;
	--deep: #17332f;
	--frame: #2b5a50;
	--gilt: #d6b25e;
	--gilt-hi: #f2db97;
	--gilt-lo: #9c7a33;
	--ochre: #e8c982;
	--paper: #f6eedc;
	--mist: #c3cdc6;
	--ink: #121b1f;
	--rule: rgba(214, 178, 94, .35);
	--open: #8ee3a8;
	--closed: #eba08c;
	--error-dark: #ffb4a1;
	--error-light: #8a1c0e;
	--display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
	--italic: "Libre Caslon Text", Georgia, "Times New Roman", serif;
	--sans: "Cabin", "Gill Sans", "Gill Sans MT", Calibri, system-ui, sans-serif;
	--wrap: 72rem;
	--gutter: clamp(1.1rem, 4vw, 2.5rem);
	--pad-x: max(var(--gutter), calc((100% - var(--wrap)) / 2));
	--band-y: clamp(3.25rem, 7vw, 6rem);
	--measure: 62ch;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 1rem;
}

body {
	margin: 0;
	background: var(--petrol);
	color: var(--paper);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

@media (min-width: 48em) {
	body {
		font-size: 1.125rem;
	}
}

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

a {
	color: var(--gilt-hi);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

a:hover {
	color: #fff;
	text-decoration-thickness: 2px;
}

a[href^="mailto:"],
a[href^="tel:"] {
	white-space: nowrap;
}

:focus-visible {
	outline: 3px solid var(--gilt-hi);
	outline-offset: 3px;
}

h1,
h2,
h3 {
	margin: 0 0 .5em;
	font-weight: 400;
	line-height: 1.1;
	text-wrap: balance;
}

h1,
h2 {
	font-family: var(--display);
	letter-spacing: -.005em;
}

h1 {
	font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
}

h2 {
	font-size: clamp(1.95rem, 1.45rem + 2vw, 2.85rem);
}

h3 {
	font-family: var(--sans);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

p {
	margin: 0 0 1em;
	max-width: var(--measure);
}

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

strong {
	font-weight: 700;
}

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

.skip-link:focus {
	position: fixed !important;
	top: .75rem;
	left: .75rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: .7rem 1.1rem;
	clip: auto;
	clip-path: none;
	background: var(--gilt);
	color: var(--board);
	font-weight: 600;
	text-decoration: none;
}

/* Demo-bjælke */
.jb-demo {
	background: var(--ochre);
	color: var(--ink);
	font-size: .875rem;
	line-height: 1.45;
	padding: .5rem var(--gutter);
	text-align: center;
}

.jb-demo p {
	margin: 0 auto;
	max-width: none;
}

.jb-demo a {
	color: var(--ink);
	font-weight: 600;
}

.jb-demo a:focus-visible {
	outline-color: var(--ink);
}

/* Sidehoved: pubskiltet */
.fascia {
	background: var(--board);
	border-bottom: 1px solid var(--rule);
	position: relative;
	z-index: 20;
}

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

.fascia__sign {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	min-width: 0;
}

.fascia__name {
	display: inline-block;
	padding: .5em .8em .42em;
	border: 1px solid var(--gilt-lo);
	box-shadow: inset 0 0 0 3px var(--board), inset 0 0 0 4px rgba(156, 122, 51, .7);
	font-family: var(--display);
	font-size: clamp(1.05rem, .7rem + 1.7vw, 1.5rem);
	line-height: 1;
	letter-spacing: .085em;
	text-decoration: none;
	white-space: nowrap;
}

.fascia__name:hover {
	border-color: var(--gilt);
}

.wm {
	display: inline-block;
	text-transform: uppercase;
	font-size: .8em;
	color: transparent;
	background:
		linear-gradient(105deg, transparent 38%, rgba(255, 249, 226, .9) 50%, transparent 62%) no-repeat,
		linear-gradient(180deg, var(--gilt-hi) 0%, var(--gilt) 52%, var(--gilt-lo) 100%);
	background-size: 260% 100%, 100% 100%;
	background-position: 160% 0, 0 0;
	-webkit-background-clip: text;
	background-clip: text;
	filter: drop-shadow(0 1px 0 #000);
}

.wm__c {
	font-size: 1.25em;
}

@media (prefers-reduced-motion: no-preference) {
	.wm {
		animation: jb-gleam 2.4s cubic-bezier(.3, .1, .2, 1) .5s 1 both;
	}
}

@keyframes jb-gleam {
	from {
		background-position: 160% 0, 0 0;
	}
	to {
		background-position: -60% 0, 0 0;
	}
}

.fascia__panel {
	display: none;
	font-family: var(--italic);
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1.15;
	color: var(--gilt);
	text-align: center;
}

.fascia__toggle {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	min-height: 2.75rem;
	padding: .5rem .9rem;
	border: 1px solid var(--gilt-lo);
	border-radius: 2px;
	background: transparent;
	color: var(--paper);
	font: 600 1rem/1 var(--sans);
	cursor: pointer;
}

.fascia__toggle:hover {
	border-color: var(--gilt);
	color: var(--gilt-hi);
}

.fascia__toggle-icon,
.fascia__toggle-icon::before,
.fascia__toggle-icon::after {
	display: block;
	width: 1.1rem;
	height: 2px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

.fascia__toggle-icon {
	position: relative;
}

.fascia__toggle-icon::before,
.fascia__toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.fascia__toggle-icon::before {
	top: -6px;
}

.fascia__toggle-icon::after {
	top: 6px;
}

.fascia__toggle[aria-expanded="true"] .fascia__toggle-icon {
	background: transparent;
}

.fascia__toggle[aria-expanded="true"] .fascia__toggle-icon::before {
	transform: translateY(6px) rotate(45deg);
}

.fascia__toggle[aria-expanded="true"] .fascia__toggle-icon::after {
	transform: translateY(-6px) rotate(-45deg);
}

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

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

.fascia__nav a {
	display: block;
	color: var(--paper);
	font-weight: 500;
	text-decoration: none;
}

.fascia__nav a:hover {
	color: var(--gilt-hi);
}

.fascia__nav .current-menu-item > a,
.fascia__nav a[aria-current="page"] {
	color: var(--gilt-hi);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .5em;
}

@media (max-width: 59.99em) {
	.fascia__nav {
		border-top: 1px solid var(--rule);
	}

	.js .fascia__nav:not(.is-open) {
		display: none;
	}

	.fascia__nav li + li {
		border-top: 1px solid rgba(246, 238, 220, .08);
	}

	.fascia__nav a {
		padding: .85rem var(--gutter);
	}
}

@media (min-width: 60em) {
	.fascia__toggle {
		display: none;
	}

	.fascia:not(.is-grand) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
		padding-inline: var(--pad-x);
	}

	.fascia:not(.is-grand) .fascia__bar {
		padding-inline: 0;
		margin: 0;
	}

	.fascia__nav ul {
		display: flex;
		flex-wrap: wrap;
		gap: .25rem 2rem;
	}

	.fascia__nav a {
		padding: .6rem 0;
	}

	.fascia.is-grand .fascia__bar {
		justify-content: center;
		padding-top: 1.6rem;
		padding-bottom: 1.1rem;
	}

	.fascia.is-grand .fascia__sign {
		gap: 0;
		border: 1px solid var(--gilt-lo);
		box-shadow: 0 0 0 5px var(--board), 0 0 0 6px rgba(156, 122, 51, .7);
		padding: .9rem 1.6rem;
	}

	.fascia.is-grand .fascia__panel {
		display: block;
		width: 9.5rem;
	}

	.fascia.is-grand .fascia__name {
		margin-inline: 1.6rem;
		border-width: 0 1px;
		box-shadow: none;
		padding: .15em 1.1em .05em;
		font-size: clamp(2.2rem, 1rem + 2.6vw, 3.4rem);
	}

	.fascia.is-grand .fascia__nav ul {
		justify-content: center;
		padding: 0 var(--gutter) .55rem;
	}
}

/* Knapper */
.btn,
.entry .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.9rem;
	padding: .7rem 1.35rem;
	border: 1px solid var(--gilt);
	border-radius: 2px;
	background: var(--gilt);
	color: var(--board);
	font: 600 1rem/1.2 var(--sans);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.btn:hover,
.entry .wp-block-button__link:hover {
	background: var(--gilt-hi);
	border-color: var(--gilt-hi);
	color: var(--board);
	text-decoration: none;
}

.btn--line {
	background: transparent;
	color: var(--paper);
}

.btn--line:hover {
	background: rgba(214, 178, 94, .14);
	color: var(--gilt-hi);
}

.band--ochre .wp-block-button__link,
.band--ochre .btn {
	background: var(--board);
	border-color: var(--board);
	color: var(--gilt-hi);
}

.band--ochre .wp-block-button__link:hover,
.band--ochre .btn:hover {
	background: var(--petrol);
	border-color: var(--petrol);
	color: #fff;
}

.entry .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.75rem;
}

/* Indhold og bånd */
.entry {
	display: block;
}

.entry > :where(:not(.band):not(.hero):not(.page-hero)) {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.band {
	padding: var(--band-y) var(--pad-x);
}

/* Reserve, hvis WordPress alligevel tilføjer en indre beholder i gruppeblokke. */
.wp-block-group__inner-container {
	display: contents;
}

.entry .band > * {
	margin-top: 0;
	margin-bottom: 0;
}

.entry .band > * + * {
	margin-top: 1.25rem;
}

.entry .band > h2 + * {
	margin-top: .75rem;
}

.entry .band > * + h2,
.entry .wp-block-column > * + h2 {
	margin-top: 2.75rem;
}

.entry .wp-block-columns.duo {
	align-items: flex-start;
}

.entry .wp-block-columns.duo > .wp-block-column > .wp-block-heading:first-child {
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
}

.band--deep {
	background: var(--deep);
}

.band--ochre {
	background: var(--ochre);
	color: var(--ink);
}

.band--ochre a {
	color: var(--ink);
}

.band--ochre a:hover {
	color: var(--petrol);
}

.band--ochre :focus-visible {
	outline-color: var(--ink);
}

.lead {
	font-size: 1.2rem;
	line-height: 1.55;
	color: var(--mist);
}

@media (min-width: 48em) {
	.lead {
		font-size: 1.3rem;
	}
}

.band--ochre .lead {
	color: #3b3a2c;
}

.entry .wp-block-columns {
	gap: clamp(2rem, 5vw, 4.5rem);
	margin: 0;
}

.entry .wp-block-columns.split {
	align-items: center;
}

.entry .wp-block-column > * + * {
	margin-top: 1.1rem;
}

.entry .wp-block-column > h2 + * {
	margin-top: .75rem;
}

/* Billeder i vinduesrammer som facadens sprossevinduer */
.entry .wp-block-image {
	margin: 0;
}

.window,
.entry .wp-block-image:not(.is-plain) {
	position: relative;
	margin: 0;
	padding: clamp(.45rem, 1vw, .65rem);
	background: var(--frame);
	box-shadow: inset 0 0 0 1px rgba(242, 219, 151, .28);
}

.window img,
.entry .wp-block-image:not(.is-plain) img {
	width: 100%;
	outline: 1px solid rgba(242, 219, 151, .3);
	outline-offset: -1px;
}

.band--ochre .wp-block-image:not(.is-plain) {
	background: var(--petrol);
}

.window--mullions::after {
	content: "";
	position: absolute;
	inset: clamp(.45rem, 1vw, .65rem);
	background:
		linear-gradient(var(--frame), var(--frame)) 0 26% / 100% 7px no-repeat,
		linear-gradient(var(--frame), var(--frame)) 50% 100% / 7px 74% no-repeat,
		linear-gradient(var(--frame), var(--frame)) 25% 0 / 5px 26% no-repeat,
		linear-gradient(var(--frame), var(--frame)) 75% 0 / 5px 26% no-repeat;
	pointer-events: none;
}

/* Forsidens indgang */
.hero {
	padding: clamp(2.25rem, 6vw, 5rem) var(--pad-x) clamp(3rem, 7vw, 5.5rem);
}

.hero__inner {
	display: grid;
	gap: clamp(2.25rem, 5vw, 4rem);
	align-items: center;
}

@media (min-width: 60em) {
	.hero__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}
}

.hero__title {
	font-family: var(--italic);
	font-style: italic;
	font-size: clamp(2.6rem, 1.5rem + 4.6vw, 4.9rem);
	line-height: 1.02;
	letter-spacing: -.015em;
	margin-bottom: .45em;
}

.hero__lead {
	font-size: 1.2rem;
	color: var(--mist);
	max-width: 34ch;
}

@media (min-width: 48em) {
	.hero__lead {
		font-size: 1.3rem;
	}
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.5rem;
}

.hero__window img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* Åbent nu */
.jb-status {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin: 1.4rem 0 0;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.3;
}

.jb-status__dot {
	flex: none;
	width: .65rem;
	height: .65rem;
	border-radius: 50%;
	background: var(--closed);
	box-shadow: 0 0 0 4px rgba(235, 160, 140, .2);
}

.jb-status.is-open .jb-status__dot {
	background: var(--open);
	box-shadow: 0 0 0 4px rgba(142, 227, 168, .2);
}

/* Udvalget i tre ruder */
.panes {
	display: grid;
	gap: clamp(2rem, 4vw, 2.5rem);
	margin-top: 2.75rem !important;
}

@media (min-width: 48em) {
	.panes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.pane > * + * {
	margin-top: .6rem;
}

.pane > .wp-block-image + * {
	margin-top: 1.3rem;
}

.pane .wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.pane h3 {
	margin-bottom: 0;
}

.pane__link a {
	font-weight: 600;
}

/* Tallene fra baren */
.statement-band {
	padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.jb-statement {
	font-family: var(--display);
	font-size: clamp(1.85rem, 1.15rem + 2.9vw, 3.4rem);
	line-height: 1.16;
	letter-spacing: -.01em;
	max-width: 26ch;
	text-wrap: balance;
}

.entry .statement-band > .jb-statement + p {
	margin-top: 1.75rem;
	font-weight: 600;
}

/* Tidslinje */
.timeline {
	position: relative;
	display: grid;
	gap: 2rem;
	margin-top: 2rem !important;
	padding-left: 2rem;
	border-left: 2px solid var(--gilt-lo);
	max-width: 46rem;
}

.timeline__item {
	position: relative;
}

.timeline__item::before {
	content: "";
	position: absolute;
	left: calc(-2rem - 8px);
	top: .5rem;
	width: 14px;
	height: 14px;
	background: var(--gilt);
	box-shadow: 0 0 0 4px var(--petrol);
	transform: rotate(45deg);
}

.band--deep .timeline__item::before {
	box-shadow: 0 0 0 4px var(--deep);
}

.timeline__item h3 {
	font-family: var(--display);
	font-weight: 400;
	font-size: 1.55rem;
	margin-bottom: .3rem;
}

.entry .wp-block-quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.entry .wp-block-quote p {
	font-family: var(--italic);
	font-style: italic;
	font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
	line-height: 1.25;
	max-width: 30ch;
}

/* Fremhævet boks */
.notice {
	background: var(--ochre);
	color: var(--ink);
	padding: 1.4rem 1.5rem;
	max-width: 46rem;
	border-left: 6px solid var(--gilt-lo);
}

.notice h3,
.entry .notice .notice__title {
	margin: 0 0 .35rem;
	font-family: var(--sans);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

.notice a {
	color: var(--ink);
}

.small {
	font-size: .95rem;
	color: var(--mist);
}

.band--ochre .small {
	color: #3b3a2c;
}

/* Undersider */
.page-hero {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
	padding: clamp(2.5rem, 6vw, 4.75rem) var(--pad-x) clamp(2.5rem, 5vw, 4rem);
	border-bottom: 1px solid var(--rule);
}

@media (min-width: 60em) {
	.page-hero.has-image {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}
}

.page-hero h1 {
	margin-bottom: .35em;
}

.page-hero .lead {
	max-width: 40ch;
}

.page-hero__window img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.awards {
	display: grid;
	gap: 2rem;
	margin-top: 2rem !important;
}

@media (min-width: 48em) {
	.awards {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.award {
	border-top: 2px solid currentColor;
	padding-top: 1.1rem;
}

.award > * + * {
	margin-top: .5rem;
}

.award .wp-block-image.is-plain img {
	width: 5.5rem;
	margin-top: 1rem;
}

/* Formularer */
.jb-form {
	display: grid;
	gap: 1.15rem;
	max-width: 40rem;
	margin-top: 1.75rem;
}

.jb-form .field {
	margin: 0;
	max-width: none;
}

.jb-form label,
.jb-form legend {
	display: block;
	margin-bottom: .35rem;
	font-weight: 600;
	line-height: 1.35;
}

.jb-form .optional {
	font-weight: 400;
	opacity: .8;
}

.jb-form input[type="text"],
.jb-form input[type="email"],
.jb-form input[type="tel"],
.jb-form input[type="number"],
.jb-form input[type="date"],
.jb-form textarea {
	display: block;
	width: 100%;
	min-height: 2.9rem;
	padding: .65rem .8rem;
	border: 1px solid #7d6c43;
	border-radius: 2px;
	background: #fffbf1;
	color: var(--ink);
	font: inherit;
	line-height: 1.4;
}

.jb-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.jb-form input:focus-visible,
.jb-form textarea:focus-visible {
	outline: 3px solid var(--gilt-hi);
	outline-offset: 1px;
	border-color: var(--ink);
}

.band--ochre .jb-form input:focus-visible,
.band--ochre .jb-form textarea:focus-visible {
	outline-color: var(--ink);
}

.jb-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.jb-form .choices {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.75rem;
}

.jb-form .choices label {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	min-height: 2.75rem;
	margin: 0;
	font-weight: 400;
}

.jb-form input[type="radio"] {
	width: 1.2rem;
	height: 1.2rem;
	margin: 0;
	accent-color: var(--gilt-lo);
}

.jb-form .row {
	display: grid;
	gap: 1.15rem;
}

@media (min-width: 36em) {
	.jb-form .row {
		grid-template-columns: 1fr 1fr;
	}
}

.field__error {
	display: block;
	margin-top: .4rem;
	color: var(--error-dark);
	font-weight: 600;
	font-size: .95rem;
}

.band--ochre .field__error {
	color: var(--error-light);
}

.jb-form [aria-invalid="true"] {
	border-color: var(--error-light);
	box-shadow: 0 0 0 2px var(--error-dark);
}

.band--ochre .jb-form [aria-invalid="true"] {
	box-shadow: 0 0 0 2px var(--error-light);
}

.jb-form__note {
	font-size: .95rem;
	margin: 0;
}

.jb-form__demo {
	border-left: 4px solid var(--gilt-lo);
	padding: .2rem 0 .2rem .8rem;
}

.jb-form__status:empty {
	display: none;
}

.jb-form__status,
.jb-form__errors {
	font-weight: 600;
	margin: 0;
}

.jb-form__done {
	max-width: 40rem;
	margin-top: 1.75rem;
	padding: 1.25rem 1.4rem;
	border: 1px solid var(--gilt);
	background: rgba(214, 178, 94, .12);
	font-weight: 600;
}

.band--ochre .jb-form__done {
	border-color: var(--ink);
	background: rgba(255, 251, 241, .6);
}

.jb-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-card p + p {
	margin-top: 1rem;
}

.contact-card .btn {
	margin-top: 1.25rem;
}

/* Åbningstider */
.jb-hours {
	width: 100%;
	max-width: 24rem;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.jb-hours th,
.jb-hours td {
	padding: .45rem 0;
	vertical-align: baseline;
}

.jb-hours th {
	padding-right: 1rem;
	font-weight: 400;
	text-align: left;
}

.jb-hours td {
	text-align: right;
	white-space: nowrap;
}

.jb-hours tr + tr > * {
	border-top: 1px solid rgba(246, 238, 220, .14);
}

.jb-hours .is-today > * {
	font-weight: 700;
	color: var(--gilt-hi);
}

.jb-hours__today {
	font-weight: 400;
	font-size: .9em;
	color: var(--mist);
}

/* Sidefod: besøg os */
.site-footer {
	background: var(--board);
	border-top: 1px solid var(--rule);
	padding: clamp(3.25rem, 7vw, 5rem) var(--pad-x) 2rem;
}

.site-footer__grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 52em) {
	.site-footer__grid {
		grid-template-columns: 1.25fr 1fr 1fr;
	}
}

.site-footer__title {
	font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem);
	margin-bottom: .6rem;
}

.site-footer__h {
	font-family: var(--sans);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--gilt-hi);
	margin-bottom: .6rem;
	letter-spacing: 0;
}

.site-footer__addr {
	font-size: 1.15rem;
}

.site-footer__visit .btn {
	margin-top: 1.4rem;
}

.site-footer__note {
	margin-top: 1rem;
	font-size: .95rem;
	color: var(--mist);
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .75rem 2rem;
	margin-top: 3rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule);
	color: var(--mist);
	font-size: .9rem;
}

.site-footer__legal p {
	margin: 0;
}

.site-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__legal a {
	color: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.jb-demo,
	.fascia__toggle,
	.fascia__nav,
	.jb-form {
		display: none !important;
	}

	body,
	.band,
	.site-footer,
	.fascia {
		background: #fff !important;
		color: #000 !important;
	}
}
