/*
Theme Name: Frauenstimmen
Description: Block-Theme für die Befragung zur Frauengesundheit im Fichtelgebirge, umgesetzt nach dem Canva-Entwurf. Die Blöcke liegen im create-guten-block-Projekt frauenstimmen-blocks.
Version: 2.1.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: frauenstimmen
*/

/* Sections sit flush against each other, as in the mockup. */
.wp-site-blocks > *,
.site-main > * {
	margin-block: 0;
}

/* Keeps the footer at the bottom of short pages. */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wp-site-blocks > .site-main {
	flex: 1;
}

/* Shared with the blocks, and needed on pages without them */

.fs-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: 40px;
}

/* Header */

.site-wordmark {
	margin: 0;
	color: #d40618;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}

.site-wordmark a {
	color: inherit;
	text-decoration: none;
}

.site-wordmark strong {
	font-size: 23px;
	font-weight: 900;
}

.site-header__inner {
	align-items: center;
	gap: 12px 32px;
	min-height: 96px;
}

.site-header .site-nav {
	flex: 1;
	gap: 8px 44px;
	color: #464646;
	font-size: 14px;
	font-weight: 800;
}

.site-header .site-nav a {
	display: block;
	padding-block: 6px;
	border-bottom: 3px solid transparent;
}

.site-header .site-nav .wp-block-navigation-item a:hover,
.site-header .site-nav .wp-block-navigation-item a:focus-visible,
.site-header .site-nav .current-menu-item > a {
	border-bottom-color: #d40618;
	color: #d40618;
	text-decoration: none;
}

/* Content pages */

.site-content {
	padding: 48px 40px 64px;
}

.fs-page-head {
	padding-block: 44px 48px;
	background: radial-gradient(120% 140% at 85% 100%, #a8000f 0%, #d40618 55%);
}

.fs-page-head h1 {
	margin-block: 0;
	color: #fff;
}

.site-content h2 {
	margin-block: 36px 10px;
}

.site-content p,
.site-content ul {
	margin-block: 0 16px;
}

.site-content .fs-lead {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}

.site-content .wp-block-columns.fs-panels {
	gap: 18px;
	margin-block: 28px;
}

.site-content .fs-panel {
	padding: 22px 28px 24px;
	border-radius: 10px;
	background: #fdf1ef;
}

.site-content .fs-panel h2 {
	margin-top: 0;
}

.site-content .fs-panel > :last-child {
	margin-bottom: 0;
}

.site-content .is-style-outline .wp-block-button__link {
	padding: 12px 22px; /* The border makes up the rest of the filled button's padding. */
	border: 2px solid #d40618;
	background: transparent;
	color: #d40618;
}

.site-content .is-style-outline .wp-block-button__link:hover,
.site-content .is-style-outline .wp-block-button__link:focus-visible {
	background: #fbe3e1;
}

/* Footer */

.site-footer {
	position: relative;
	overflow: hidden;
	color: #707070;
}

.site-footer::before,
.site-footer::after {
	content: "";
	position: absolute;
	bottom: -40px;
	width: 150px;
	height: 100px;
	border-radius: 50%;
	background: #d40618;
}

.site-footer::before {
	left: -60px;
}

.site-footer::after {
	right: -50px;
}

.site-footer__inner {
	position: relative;
	z-index: 1;
	align-items: center;
	gap: 16px 80px;
	padding-block: 24px;
}

.site-footer .site-footer__nav {
	gap: 0;
	font-size: 13px;
	font-weight: 500;
}

.site-footer__nav li + li::before {
	content: "|";
	margin-inline: 16px;
}

.site-footer__nav a {
	color: #707070;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
	color: #d40618;
}

.site-footer__note {
	margin: 0;
	padding-left: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='22' viewBox='0 0 18 22'%3E%3Cpath fill='%23212330' d='M15 8V6A6 6 0 0 0 3 6v2H1v13h16V8h-2ZM5 6a4 4 0 0 1 8 0v2H5V6Z'/%3E%3C/svg%3E") no-repeat left center;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
}

@media (max-width: 782px) {
	.fs-container {
		padding-inline: 20px;
	}

	.site-header__inner {
		padding-block: 14px;
	}

	.site-header__cta {
		order: 2;
	}

	.site-header .site-nav {
		flex-basis: 100%;
		order: 3;
		justify-content: space-between;
		gap: 4px 16px;
		font-size: 13px;
	}

	.site-content {
		padding-inline: 20px;
	}

	.fs-page-head {
		padding-block: 32px 36px;
	}

	.site-footer__inner {
		padding-block: 24px 72px;
	}

	.site-footer::before,
	.site-footer::after {
		bottom: -60px;
		width: 110px;
		height: 90px;
	}
}
