/*
Theme Name: Frost Child
Theme URI: https://menschen-im-grundgesetz.de/
Description: Child-Theme von Frost, optisch an das bisherige Neve-Erscheinungsbild von Menschen im Grundgesetz angeglichen.
Author: Menschen im Grundgesetz
Template: frost
Version: 1.0.3
Text Domain: frost-child
*/

body.custom-background,
body {
	background-color: #ffffff;
	background-image: url("/wp-content/uploads/2026/05/Gemini_Generated_Image_xffohnxffohnxffo1-scaled.png");
	background-position: left top;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: #121212;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.site-header,
.wp-block-template-part.site-header,
header.site-header,
header.site-header .wp-block-group.alignfull,
header.site-header .wp-block-group.site-header {
	background: transparent !important;
	background-color: transparent !important;
	border: 0;
	box-shadow: none;
}

.mig-header-inner {
	align-items: center;
}

.wp-block-site-logo img {
	max-height: 96px;
	width: auto;
}

.wp-block-site-title,
.wp-block-site-title a {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 600;
	font-size: 1.35rem;
	color: #4b547d;
	text-decoration: none;
}

.mig-menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 8px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.mig-menu-toggle span {
	display: block;
	height: 2px;
	margin: 6px 0;
	background: #121212;
}

.mig-nav {
	font-size: 1em;
}

.mig-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

.mig-menu > li {
	position: relative;
}

.mig-menu a {
	color: #121212;
	text-decoration: none;
	font-weight: 600;
	line-height: 1.6;
}

.mig-menu > li > a {
	display: inline-flex;
	align-items: center;
	text-transform: uppercase;
	letter-spacing: 0;
	padding: 8px 0;
	border-top: 2px solid transparent;
}

.mig-menu > .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 6px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transform: translateY(1px);
}

.mig-menu > li > a:hover,
.mig-menu > li.current-menu-item > a,
.mig-menu > li.current-menu-ancestor > a,
.mig-menu > li.current_page_item > a {
	color: #3f4669;
	border-top-color: #3f4669;
}

.mig-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 10px 24px rgba(18, 18, 18, 0.12);
	z-index: 30;
}

.mig-menu > li:hover > .sub-menu,
.mig-menu > li:focus-within > .sub-menu {
	display: block;
}

.mig-menu .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-weight: 500;
	text-transform: none;
	font-size: 0.95em;
	color: #121212;
}

.mig-menu .sub-menu a:hover {
	color: #3f4669;
}

@media (max-width: 960px) {
	.mig-menu-toggle {
		display: inline-block;
	}

	.mig-nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
		width: min(320px, 90vw);
		height: 100vh;
		padding: 24px 18px;
		overflow: auto;
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 8px 0 24px rgba(18, 18, 18, 0.12);
	}

	body.mig-menu-open .mig-nav {
		display: block;
	}

	.mig-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.mig-menu > li > a {
		text-transform: uppercase;
		padding: 12px 0;
		border-top: 0;
		border-bottom: 1px solid rgba(75, 84, 125, 0.15);
		width: 100%;
	}

	.mig-menu .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		width: 100%;
		padding: 0 0 8px 12px;
		background: transparent;
		box-shadow: none;
	}

	.mig-menu > li.is-open > .sub-menu,
	.mig-menu > li:focus-within > .sub-menu {
		display: block;
	}
}

.wp-site-blocks,
.site-content,
main.site-content,
main.wp-block-group.site-content,
.entry-content,
.wp-block-post-content,
.wp-block-group.site-content {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none;
	border-radius: 0;
}

.entry-header .wp-block-post-title,
h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 600;
	color: #121212;
}

a {
	color: #4b547d;
}

a:hover {
	color: #3f4669;
}

.wp-block-button__link {
	background-color: #3f4669;
	color: #ffffff;
	border-radius: 4px;
}

.site-footer,
footer.site-footer,
footer.site-footer .wp-block-group.alignfull,
footer.site-footer .wp-block-group.site-footer {
	background: transparent !important;
	background-color: transparent !important;
	color: #121212;
	margin-top: 2rem;
	box-shadow: none;
	border: 0;
}

.mig-footer-inner a {
	color: #3f4669;
}

@media (max-width: 781px) {
	.mig-menu,
	.wp-block-navigation__container {
		justify-content: flex-start;
	}

	body {
		background-attachment: scroll;
	}
}
