/*
Theme Name: Pinboard Petanque Kronshagen
Theme URI: http://localhost/kronshagen/
Description: Modernes Child-Theme der Spielgemeinschaft Pétanque Kronshagen, aufbauend auf Pinboard.
Author: Nikolai Ryll
Template: pinboard
Version: 2.2.2
Text Domain: pinboard-child
*/

:root {
	--pk-ink: #161616;
	--pk-muted: #5e5852;
	--pk-red: #e10600;
	--pk-red-dark: #b80500;
	--pk-paper: #f3e6c8;
	--pk-card: #fffdf8;
	--pk-line: #e6dcc8;
	--pk-sand: #f8f0dc;
	--pk-list: #f1ece4;
	--pk-display: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
	--pk-text: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--pk-shadow: 0 18px 50px rgba(28, 22, 14, 0.08);
	--pk-radius: 22px;
}

body.pk-theme,
body.pk-theme.custom-background {
	background-color: var(--pk-paper) !important;
	background-image:
		radial-gradient(rgba(255, 252, 246, 0.7) 0.7px, transparent 0.8px),
		radial-gradient(rgba(168, 138, 88, 0.28) 0.65px, transparent 0.75px) !important;
	background-size: 6px 6px, 10px 10px !important;
	background-position: 0 0, 3px 4px !important;
	background-repeat: repeat !important;
	background-attachment: scroll !important;
	color: var(--pk-ink);
	font-family: var(--pk-text);
	font-size: 1.0625rem;
	line-height: 1.65;
}

body.pk-theme #wrapper {
	max-width: 1120px;
	margin: 1.75rem auto 2.5rem;
	background: var(--pk-card);
	border-radius: var(--pk-radius);
	box-shadow: var(--pk-shadow);
	overflow: visible;
}

body.pk-theme a {
	color: var(--pk-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

body.pk-theme a:hover {
	color: var(--pk-red);
}

body.pk-theme h1,
body.pk-theme h2,
body.pk-theme h3,
body.pk-theme h4,
body.pk-theme h5,
body.pk-theme h6,
body.pk-theme .entry-title {
	font-family: var(--pk-display);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--pk-ink);
}

.pk-skip {
	position: absolute;
	left: 1rem;
	top: 0;
	z-index: 100;
	transform: translateY(-120%);
	background: var(--pk-ink);
	color: #fff;
	padding: 0.6rem 0.9rem;
	border-radius: 0 0 8px 8px;
}

.pk-skip:focus {
	transform: none;
	color: #fff;
}

.pk-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: #fff;
	border-bottom: 1px solid var(--pk-line);
	border-radius: var(--pk-radius) var(--pk-radius) 0 0;
}

.pk-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1.4rem 0.35rem;
}

.pk-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	text-decoration: none;
}

.pk-brand:hover {
	color: inherit;
}

.pk-logo {
	display: block;
	width: 84px;
	height: auto;
	object-fit: contain;
	flex: 0 0 auto;
}

.pk-name {
	display: block;
	font-family: var(--pk-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.pk-tag {
	display: block;
	margin-top: 0.15rem;
	color: var(--pk-muted);
	font-size: 0.92rem;
}

.pk-bar-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.pk-mail {
	color: var(--pk-muted);
	font-size: 0.92rem;
	text-decoration: none;
}

.pk-mail:hover {
	color: var(--pk-red);
}

.pk-nav-toggle {
	display: none;
	align-items: center;
	gap: 0.45rem;
	border: 1px solid var(--pk-ink);
	background: #fff;
	color: var(--pk-ink);
	border-radius: 999px;
	padding: 0.45rem 0.8rem;
	font: inherit;
	font-size: 0.92rem;
	cursor: pointer;
}

.pk-nav-toggle-icon,
.pk-nav-toggle-icon::before,
.pk-nav-toggle-icon::after {
	display: block;
	width: 16px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	content: "";
}

.pk-nav-toggle-icon {
	position: relative;
}

.pk-nav-toggle-icon::before,
.pk-nav-toggle-icon::after {
	position: absolute;
	left: 0;
}

.pk-nav-toggle-icon::before {
	top: -5px;
}

.pk-nav-toggle-icon::after {
	top: 5px;
}

body.pk-theme #access {
	position: static;
	z-index: 4;
	padding: 0.35rem 0.8rem 0.7rem;
	background: transparent;
	box-shadow: none;
}

body.pk-theme #access .nav-show,
body.pk-theme #access .nav-hide {
	display: none !important;
}

body.pk-theme #access .pk-menu,
body.pk-theme #access ul {
	display: flex;
	flex-wrap: wrap;
	float: none;
	gap: 0.15rem 0.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 700;
	text-transform: none;
}

body.pk-theme #access li {
	position: relative;
	float: none;
}

body.pk-theme #access a {
	display: block;
	width: auto;
	height: auto !important;
	padding: 0.45rem 0.7rem;
	overflow: visible;
	border-radius: 999px;
	color: #161616 !important;
	font-size: 0.95rem;
	line-height: 1.3;
	text-decoration: none;
}

body.pk-theme #access a:hover,
body.pk-theme #access li.current_page_item > a,
body.pk-theme #access li.current-menu-item > a,
body.pk-theme #access li.current-menu-ancestor > a {
	background: #161616 !important;
	color: #fff !important;
}

body.pk-theme #access li ul {
	display: none;
	position: absolute;
	z-index: 40;
	top: calc(100% - 2px);
	left: 0;
	min-width: 230px;
	margin: 0 !important;
	padding: 0.4rem;
	background: var(--pk-ink);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	flex-direction: column;
}

body.pk-theme #access li:hover > ul,
body.pk-theme #access li:focus-within > ul {
	display: flex;
}

body.pk-theme #access li li {
	min-width: 0;
	background: transparent;
	border: 0;
}

body.pk-theme #access li li a {
	min-width: 0;
	padding: 0.55rem 0.75rem;
	background: transparent !important;
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	border-radius: 10px;
}

body.pk-theme #access li li a:hover,
body.pk-theme #access li li a:focus-visible {
	background: #3a3a3a !important;
	color: #fff !important;
}

.pk-home {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
	gap: 1.15rem 1.5rem;
	align-items: start;
	padding: 1.6rem 1.6rem 1rem;
}

.pk-hero {
	grid-column: 1;
	min-width: 0;
}

.pk-facts {
	grid-column: 2;
}

.pk-kicker {
	margin: 0 0 0.45rem;
	color: var(--pk-red);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pk-hero h1 {
	margin: 0 0 0.6rem;
	font-size: clamp(2rem, 4vw, 3.3rem);
}

.pk-hero p {
	max-width: 38rem;
	margin: 0;
	color: var(--pk-muted);
	font-size: 1.08rem;
}

.pk-hero-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.1rem !important;
}

.pk-button {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1rem;
	background: var(--pk-red);
	color: #fff !important;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none !important;
}

.pk-button:hover {
	background: var(--pk-red-dark);
	color: #fff !important;
}

.pk-button-ghost {
	background: transparent;
	color: var(--pk-ink) !important;
	box-shadow: inset 0 0 0 1px var(--pk-ink);
}

.pk-button-ghost:hover {
	background: var(--pk-ink);
	color: #fff !important;
}

.pk-facts {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pk-facts li {
	display: grid;
	grid-template-columns: 6.2rem 1fr;
	grid-template-rows: auto auto;
	column-gap: 0.75rem;
	align-items: baseline;
	padding: 0.75rem 0.9rem;
	background: var(--pk-sand);
	border-radius: 14px;
}

.pk-facts span {
	color: var(--pk-muted);
	font-size: 0.92rem;
}

.pk-facts strong {
	font-family: var(--pk-display);
	font-size: 1.15rem;
}

.pk-facts small {
	grid-column: 2;
	color: var(--pk-muted);
	font-size: 0.82rem;
}

body.pk-theme #container {
	margin: 0;
	padding: 0.4rem 1.15rem 1.4rem;
}

body.pk-theme #content {
	width: 100%;
	float: none;
}

body.pk-theme .entry,
body.pk-theme #comments,
body.pk-theme #respond {
	margin: 0;
	padding: 0.6rem 0.45rem 1rem;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.pk-theme .entry-header {
	margin-bottom: 0.4rem;
}

body.pk-theme .entry-title {
	margin: 0.4rem 0 0.8rem;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
}

body.pk-theme .entry-title:empty {
	display: none;
}

body.pk-theme .entry-content {
	color: var(--pk-ink);
	font-size: 1.05rem;
	line-height: 1.7;
}

body.pk-theme .entry-content p,
body.pk-theme .entry-content ul,
body.pk-theme .entry-content ol {
	margin: 0 0 0.9rem;
}

body.pk-theme .entry-content p:empty,
body.pk-theme .entry-content h3:empty {
	display: none;
	margin: 0;
}

body.pk-theme .entry-content a,
body.pk-theme .entry-content a:visited,
body.pk-theme .entry-content a[style],
body.pk-theme .entry-content a[style] span {
	color: var(--pk-ink) !important;
	font-weight: 700;
}

body.pk-theme .entry-content a:hover,
body.pk-theme .entry-content a:hover span {
	color: var(--pk-red) !important;
}

body.pk-theme.home .entry-content td:last-child,
body.pk-theme.home .entry-content td:last-child span {
	color: var(--pk-muted) !important;
	font-weight: 600;
}

body.pk-theme .entry-content img,
body.pk-theme .metaslider,
body.pk-theme .metaslider .slides,
body.pk-theme .mappress-map,
body.pk-theme iframe {
	max-width: 100%;
	height: auto;
}

body.pk-theme .metaslider {
	margin: 0 0 1.4rem;
}

body.pk-theme .metaslider img,
body.pk-theme .entry-content img {
	border-radius: 14px;
}

body.pk-theme .entry-content table {
	width: 100%;
	margin: 0.4rem 0 1.5rem;
	border-collapse: collapse;
	text-align: left;
}

body.pk-theme .entry-content tr,
body.pk-theme .entry-content tr:nth-child(even) {
	background: transparent;
}

body.pk-theme .entry-content td,
body.pk-theme .entry-content th {
	padding: 0.85rem 0.35rem;
	border-bottom: 1px solid var(--pk-line);
	vertical-align: baseline;
	text-align: left;
}

body.pk-theme.home #container {
	grid-column: 1 / -1;
	width: auto;
	margin: 0;
	padding: 0;
}

body.pk-theme.home .entry {
	margin: 0 !important;
	padding: 0;
}

body.pk-theme.home .entry-content {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
	column-gap: 1.5rem;
	align-items: start;
}

body.pk-theme.home .entry-content > p,
body.pk-theme.home .entry-content > h3,
body.pk-theme.home .entry-content > .clear {
	display: none;
}

body.pk-theme.home .metaslider {
	grid-column: 1;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.pk-theme.home .entry-content table {
	grid-column: 2;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0.35rem 0.85rem 0.15rem;
	background: var(--pk-list);
	border-radius: 14px;
}

body.pk-theme.home .entry-content tbody,
body.pk-theme.home .entry-content tr {
	display: block;
}

body.pk-theme.home .entry-content tr {
	padding: 0.55rem 0 0.6rem;
	border-bottom: 1px solid var(--pk-line);
}

body.pk-theme.home .entry-content tr:last-child {
	border-bottom: 0;
}

body.pk-theme.home .entry-content td {
	display: block;
	width: auto !important;
	padding: 0 0 0 1.15rem;
	border: 0;
}

body.pk-theme.home .entry-content td:first-child {
	position: relative;
	padding-left: 1.15rem;
}

body.pk-theme.home .entry-content td:first-child::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 0.62rem;
	height: 0.62rem;
	border-radius: 50%;
	background: var(--pk-red);
	transform: none;
}

body.pk-theme.home .entry-content td:first-child a {
	font-size: 0.98rem;
	letter-spacing: 0.03em;
}

body.pk-theme.home .entry-content td:last-child {
	color: var(--pk-muted);
	font-size: 0.82rem;
	font-weight: 600;
	text-align: left !important;
	white-space: normal;
	padding-top: 0.1rem;
}

body.pk-theme .entry-content > strong {
	display: block;
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--pk-line);
}

body.pk-theme .alignleft,
body.pk-theme .alignright {
	max-width: min(180px, 42%);
	height: auto;
	margin-bottom: 0.8rem;
}

.pk-footer {
	margin-top: 0;
	padding: 1.4rem 1.6rem 1rem;
	background: var(--pk-ink);
	color: #f4f0e8;
	border-radius: 0 0 var(--pk-radius) var(--pk-radius);
	border: 0;
}

.pk-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 1.25rem;
}

.pk-footer-brand {
	display: flex;
	gap: 0.8rem;
	align-items: center;
}

.pk-footer .pk-logo {
	width: 76px;
	height: auto;
	background: #fff;
	border-radius: 12px;
}

.pk-footer-name {
	margin: 0;
	font-family: var(--pk-display);
	font-size: 1.15rem;
	font-weight: 700;
}

.pk-footer p {
	margin: 0 0 0.35rem;
}

.pk-footer-label {
	color: #b9b3aa;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.pk-theme .pk-footer a,
body.pk-theme .pk-footer a:visited {
	color: #fff !important;
	text-decoration: none;
}

body.pk-theme .pk-footer a:hover {
	color: #ffb4b0 !important;
}

body.pk-theme #copyright {
	margin-top: 1rem;
	padding-top: 0.8rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: transparent;
	color: #b9b3aa;
}

body.pk-theme #copyright p {
	float: none;
	width: auto;
	margin: 0;
}

body.pk-theme:focus-visible,
body.pk-theme a:focus-visible,
body.pk-theme button:focus-visible {
	outline: 2px solid var(--pk-red);
	outline-offset: 3px;
}

@media screen and (max-width: 860px) {
	body.pk-theme #wrapper {
		margin: 0.75rem;
		border-radius: 16px;
	}

	.pk-header {
		border-radius: 16px 16px 0 0;
	}

	.pk-footer {
		border-radius: 0 0 16px 16px;
	}

	.pk-nav-toggle {
		display: inline-flex;
	}

	.pk-mail {
		display: none;
	}

	.pk-logo,
	.pk-footer .pk-logo {
		width: 64px;
		height: auto;
	}

	body.pk-theme #access {
		display: none;
		padding: 0 0.8rem 0.9rem;
	}

	body.pk-theme #access.is-open {
		display: block;
	}

	body.pk-theme #access .pk-menu,
	body.pk-theme #access ul,
	body.pk-theme #access li ul {
		display: flex;
		position: static;
		float: none;
		flex-direction: column;
		width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0;
		background: transparent;
		box-shadow: none;
		border-radius: 0;
	}

	body.pk-theme #access a,
	body.pk-theme #access li li a {
		width: auto;
		height: auto !important;
		padding: 0.7rem 0.4rem;
		border-radius: 0;
		color: #161616 !important;
		background: transparent !important;
		border-top: 1px solid var(--pk-line);
	}

	body.pk-theme #access li li a {
		padding-left: 1rem;
		color: #3d3d3d !important;
		font-weight: 600;
	}

	.pk-home,
	.pk-footer-grid,
	body.pk-theme.home .entry-content {
		grid-template-columns: 1fr;
	}

	.pk-home {
		padding: 1.2rem 1rem 0.8rem;
	}

	.pk-hero,
	.pk-facts,
	body.pk-theme.home .metaslider,
	body.pk-theme.home .entry-content table {
		grid-column: 1;
	}

	body.pk-theme.home .entry-content td,
	body.pk-theme.home .entry-content td:last-child {
		display: block;
		text-align: left;
		white-space: normal;
	}

	body.pk-theme.home .entry-content td:last-child {
		padding-top: 0;
	}
}

@media screen and (max-width: 640px) {
	body.pk-theme {
		font-size: 1rem;
	}

	.pk-bar {
		padding: 0.75rem 0.9rem 0.3rem;
	}

	.pk-name {
		font-size: 1.12rem;
	}

	body.pk-theme .alignleft,
	body.pk-theme .alignright {
		float: none;
		display: block;
		max-width: 140px;
		margin: 0.8rem 0;
	}
}

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

#access .pk-menu > li > a {
	color: #161616 !important;
}

#access .pk-menu > li > a:hover,
#access .pk-menu > li.current-menu-item > a,
#access .pk-menu > li.current-menu-ancestor > a,
#access .pk-menu > li.current_page_item > a {
	background: #161616 !important;
	color: #fff !important;
}

#access .pk-menu li li a:hover,
#access .pk-menu li li a:focus-visible {
	background: #3a3a3a !important;
	color: #fff !important;
}
