@charset "UTF-8";

/*!
Theme Name: Spielraum
Theme URI: https://www.ruhr-uni-bochum.de/spielraum/
Author: Mark Schwindt
Author URI: https://www.markschwindt.com
Description: Theme für Spielraum e. V., das Stipendienprogramm für studierende Eltern an der Ruhr-Universität Bochum.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spielraum
Tags: one-column, custom-logo, custom-menu, editor-style, translation-ready, full-width-template

Montserrat und Roboto Condensed stehen unter der SIL Open Font License 1.1.
*/
/* stylelint-disable-next-line value-keyword-case */
@font-face {
	font-display: swap;
	font-family: Montserrat;
	font-style: normal;
	font-weight: 100 900;
	src: url(assets/fonts/montserrat-latin-var.woff2) format("woff2");
}

@font-face {
	font-display: swap;
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 100 900;
	src: url(assets/fonts/roboto-condensed-latin-var.woff2) format("woff2");
}

:root {
	--spielraum-orange: #e95a0c;
	--spielraum-blue: #003761;
	--spielraum-apricot: #f9ae86;
	--spielraum-blush: #fbe3df;
	--frame-inset: 50px;
	--frame-thickness: 1em;
	--panel-gutter: 100px;
	--column-clearance: 465px;
	/* stylelint-disable-next-line length-zero-no-unit */
	--admin-bar-height: 0px;
	--panel-height: calc(100vh - var(--admin-bar-height));
}

/* stylelint-disable-next-line unit-no-unknown */
@supports (height: 100dvh) {

	:root {
		/* stylelint-disable-next-line unit-no-unknown */
		--panel-height: calc(100dvh - var(--admin-bar-height));
	}
}

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

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	background: #fff;
	color: #000;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
	line-height: 1.4;
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
}

body.menu-is-open {
	overflow: hidden;
}

img,
svg {
	height: auto;
	max-width: 100%;
}

@media screen and (max-width: 1450px) {

	:root {
		--column-clearance: 300px;
	}

	html {
		font-size: 85%;
	}
}

@media screen and (max-width: 480px) {

	:root {
		--frame-inset: 10px;
		--panel-gutter: 30px;
	}

	html {
		font-size: 70%;
	}
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 0.3em;
}

h3 {
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 1.2em;
	margin-bottom: 5px;
	margin-top: 0;
}

p {
	margin: 0 0 1em;
}

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

a {
	color: #f9ae86;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
	transition: color 0.3s ease;
}

a:hover,
a:focus {
	color: #e95a0c;
}

a:focus-visible {
	outline: 3px solid #e95a0c;
	outline-offset: 3px;
}

ul {
	list-style: none;
	padding: 0;
}

li {
	padding-left: 0.7em;
	text-indent: -0.8em;
}

.panel__text li::before,
.entry-content li::before {
	color: #e95a0c;
	content: "\25a0\00a0";
}

em {
	font-style: italic;
}

strong {
	font-weight: 700;
}

.nowrap {
	white-space: nowrap;
}

blockquote {
	border-left: 4px solid #e95a0c;
	margin: 1.5em 0;
	padding-left: 1em;
}

code,
pre {
	font-family: ui-monospace, SFMono-Regular, menlo, monospace;
	font-size: 0.9em;
}

pre {
	overflow-x: auto;
	padding: 1em;
}

table {
	border-collapse: collapse;
	width: 100%;
}

th,
td {
	border-bottom: 1px solid currentColor;
	padding: 0.4em 0.6em;
	text-align: left;
}

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

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #003761;
	display: block;
	font-family: Montserrat, "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	outline: 3px solid #e95a0c;
	outline-offset: 3px;
}

:focus-visible {
	outline: 3px solid #e95a0c;
	outline-offset: 3px;
}

.frame {
	bottom: 0;
	left: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: var(--admin-bar-height);
	z-index: 102;
}

.frame > span {
	background-color: #e95a0c;
	display: block;
	position: absolute;
}

.frame__top {
	height: var(--frame-thickness);
	left: var(--frame-inset);
	right: var(--frame-inset);
	top: var(--frame-inset);
}

.frame__left,
.frame__right {
	bottom: var(--frame-inset);
	top: var(--frame-inset);
	width: var(--frame-thickness);
}

.frame__left {
	left: var(--frame-inset);
}

.frame__right {
	right: var(--frame-inset);
}

.frame__bottom-left,
.frame__bottom-right {
	bottom: var(--frame-inset);
	height: var(--frame-thickness);
}

.frame__bottom-left {
	left: var(--frame-inset);
	width: calc(100% - 450px);
}

.frame__bottom-right {
	right: var(--frame-inset);
	width: 58px;
}

@media screen and (max-width: 480px) {

	.frame__bottom-left,
	.frame__bottom-right {
		width: 33%;
	}
}

.site-logo {
	bottom: 25px;
	position: fixed;
	right: 130px;
	width: 250px;
	z-index: 102;
}

.site-logo a {
	display: block;
}

.site-logo img {
	display: block;
	width: 100%;
}

@media screen and (max-width: 480px) {

	.site-logo {
		bottom: 3px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		width: 25%;
	}
}

.menu-toggle {
	appearance: none;
	background: none;
	border: 0;
	cursor: pointer;
	height: 50px;
	padding: 0;
	position: fixed;
	right: 100px;
	top: calc(100px + var(--admin-bar-height));
	width: 35px;
	z-index: 116;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background: none;
}

.menu-toggle__bar {
	background: #e95a0c;
	display: block;
	height: 5px;
	left: 0;
	position: absolute;
	transition: transform 0.5s, opacity 0.5s, background 0.5s, top 0.5s;
	width: 100%;
}

.menu-toggle__bar:nth-child(1) {
	top: 3px;
}

.menu-toggle__bar:nth-child(2) {
	top: 14px;
}

.menu-toggle__bar:nth-child(3) {
	top: 25px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
	top: 14px;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
	top: 14px;
	transform: rotate(-45deg);
}

.site-menu {
	background: #fff;
	bottom: 66px;
	left: 66px;
	opacity: 0;
	padding: 66px;
	pointer-events: none;
	position: fixed;
	right: 66px;
	top: calc(66px + var(--admin-bar-height));
	transition: opacity 1s, visibility 1s;
	visibility: hidden;
	z-index: 115;
}

.site-menu.is-open {
	opacity: 0.98;
	pointer-events: auto;
	visibility: visible;
}

.site-menu__list {
	bottom: 66px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	left: 10%;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	position: absolute;
	right: 10%;
	text-align: center;
	top: 0;
}

.site-menu li {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	justify-content: center;
	padding: 0.6em 0;
	text-indent: 0;
}

.site-menu li::before {
	content: none;
}

.site-menu a {
	color: #e95a0c;
	display: block;
	font-family: Montserrat, "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 2em;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.site-menu a:hover,
.site-menu a:focus {
	color: #003761;
}

.site-menu .is-active > a,
.site-menu .current-menu-item > a {
	color: #003761;
}

.no-js .menu-toggle,
.no-js .site-menu {
	display: none;
}

@media screen and (max-width: 1450px) {

	.site-menu {
		bottom: 64px;
		left: 64px;
		right: 64px;
		top: calc(64px + var(--admin-bar-height));
	}
}

@media screen and (max-width: 480px) {

	.menu-toggle {
		right: 30px;
		top: calc(30px + var(--admin-bar-height));
		width: 30px;
	}

	.site-menu {
		bottom: 21px;
		left: 21px;
		padding: 30px;
		right: 21px;
		top: calc(21px + var(--admin-bar-height));
	}

	.site-menu__list {
		bottom: 80px;
	}

	.site-menu a {
		font-size: 1.6em;
	}
}

.sponsors {
	bottom: 0;
	font-size: 0.9em;
	left: 50%;
	position: absolute;
	text-align: center;
	transform: translateX(-50%);
	width: 220px;
}

.sponsors__intro {
	margin: 0 0 0.5em;
}

.sponsors__list {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sponsors li {
	padding-left: 0;
	text-indent: 0;
}

.sponsors li::before {
	content: none;
}

.sponsors img {
	display: block;
	height: auto;
	width: 100px;
}

.award {
	bottom: 73px;
	position: absolute;
	right: 73px;
	width: 35px;
	z-index: 103;
}

.award img {
	display: block;
	width: 100%;
}

.illustration {
	bottom: -1px;
	max-height: calc(var(--panel-height) - 40px);
	object-fit: contain;
	object-position: bottom center;
	position: absolute;
	right: 80px;
	width: 300px;
	z-index: 101;
}

.figure {
	max-height: calc(var(--panel-height) - 60px);
	object-fit: contain;
	object-position: bottom center;
	position: absolute;
	width: 300px;
	z-index: 100;
}

.figure--a {
	bottom: -1px;
	right: 248px;
}

.figure--b {
	bottom: 3px;
	right: 244px;
}

@media screen and (max-width: 1450px) {

	.figure {
		display: none;
	}
}

@media screen and (max-width: 1250px) {

	.illustration,
	.award {
		display: none;
	}
}

button,
.button,
input[type="submit"],
input[type="button"] {
	appearance: none;
	background: #f9ae86;
	border: 0;
	color: #003761;
	cursor: pointer;
	display: inline-block;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 0.8em;
	line-height: 1.2;
	padding: 8px 12px;
	text-decoration: none;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
	background: #e95a0c;
	color: #003761;
}

.wp-element-button {
	background: #f9ae86;
	color: #003761 !important;
	border-radius: 0;
	transition: color 0.3s ease;
	transition: background-color 0.3s ease;
}

.wp-element-button:hover,
.wp-element-button:focus {
	background: #e95a0c;
	color: #003761 !important;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea {
	background: transparent;
	border: 1px solid currentColor;
	color: inherit;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 1em;
	max-width: 100%;
	padding: 7px 10px;
}

.search-form {
	display: flex;
	gap: 8px;
	margin: 1em 0;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
}

@media screen and (max-width: 480px) {

	.panel__text button,
	.panel__text .button {
		font-size: 1.2em;
		margin-top: 10px;
		padding: 10px;
		text-align: center;
		width: 100%;
	}

	.wp-block-button,
	.wp-element-button {
		width: 100%;
	}
}

.panel {
	min-height: var(--panel-height);
	overflow: hidden;
	position: relative;
}

.panel__heading {
	color: #e95a0c;
	font-family: Montserrat, "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 4em;
	font-weight: 700;
	left: var(--panel-gutter);
	line-height: normal;
	margin: 0.67em 0 0;
	position: absolute;
	right: var(--panel-gutter);
	top: 48px;
}

.panel__subheading {
	color: #000;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 1.8em;
	font-weight: 300;
	left: var(--panel-gutter);
	line-height: normal;
	margin: 0.83em 0 0;
	position: absolute;
	right: var(--panel-gutter);
	top: 165px;
}

.panel__subheading h1,
.panel__subheading h2,
.panel__subheading h3,
.panel__subheading h4,
.panel__subheading h5,
.panel__subheading h6,
.panel__subheading p {
	color: inherit;
	font: inherit;
	margin: 0;
}

.panel__text {
	background: #003761;
	bottom: 0;
	color: #fff;
	left: 0;
	padding: 35px var(--panel-gutter) var(--panel-gutter);
	position: absolute;
	right: 0;
	z-index: 99;
	max-height: calc(var(--panel-height) - 300px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.panel__text a {
	color: #f9ae86;
}

.panel__text a:hover,
.panel__text a:focus {
	color: #e95a0c;
}

.panel__text:focus-visible {
	outline: 3px solid #f9ae86;
	outline-offset: 3px;
}

@media screen and (min-width: 1251px) {

	.panel--no-sub .panel__text {
		max-height: calc(var(--panel-height) - 200px);
	}
}

.panel__body {
	font-size: 1.2em;
}

.panel--plain .panel__body {
	padding-right: var(--column-clearance);
}

.panel__text .wp-block-columns {
	column-gap: 35px;
	display: flex;
	flex-flow: row wrap;
	margin: 0;
}

.panel__text .wp-block-column {
	flex: 1;
	min-width: 0;
}

.panel__text .wp-block-column:last-child {
	padding-right: var(--column-clearance);
}

.panel--compact .panel__text {
	font-size: 0.8em;
}

@media screen and (max-width: 1450px) {

	.panel__subheading {
		top: 150px;
	}
}

@media screen and (max-width: 1250px) {

	.panel {
		display: flex;
		flex-direction: column;
		padding: calc(var(--frame-inset) + 3.5em) var(--panel-gutter) 0;
	}

	.panel__heading,
	.panel__subheading {
		margin: 0 0 0.4em;
		position: static;
	}

	.panel__subheading {
		margin-bottom: 1em;
	}

	.panel__text {
		flex: 0 0 auto;
		margin: auto calc(var(--panel-gutter) * -1) 0;
		max-height: none;
		overflow: visible;
		padding-bottom: calc(var(--frame-inset) + 5em);
		position: static;
	}

	.panel__text .wp-block-columns {
		flex-direction: column;
		row-gap: 1.2em;
	}

	.panel__text .wp-block-column {
		flex: 0 0 auto;
		width: 100%;
	}

	.panel__text .wp-block-column:last-child {
		padding-right: 0;
	}

	.panel--plain .panel__body {
		padding-right: 0;
	}

	.panel--compact .panel__text {
		font-size: 1em;
	}
}

@media screen and (max-width: 480px) {

	.panel {
		padding-top: var(--panel-gutter);
	}

	.panel__heading {
		font-size: 3em;
		width: 90%;
	}

	.panel__subheading {
		font-size: 1.4em;
		margin-bottom: 1em;
	}

	.panel__text {
		padding-top: 1em;
		padding-bottom: var(--panel-gutter);
	}
}

.page-shell {
	padding: calc(var(--frame-inset) + 5em) var(--panel-gutter) calc(var(--frame-inset) + 9em);
}

.page-shell__inner {
	margin: 0 auto;
	max-width: 46rem;
}

.page-header {
	margin-bottom: 2em;
}

.page-title,
.entry-title {
	color: #e95a0c;
	font-family: Montserrat, "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 2.6em;
	font-weight: 700;
	margin: 0 0 0.3em;
}

.page-title a,
.entry-title a {
	color: inherit;
	text-decoration: none;
}

.page-title a:hover,
.page-title a:focus,
.entry-title a:hover,
.entry-title a:focus {
	color: #003761;
}

.entry {
	margin-bottom: 4em;
}

.entry:last-child {
	margin-bottom: 0;
}

.entry-meta {
	color: #003761;
	font-size: 0.9em;
}

.entry-meta > * + * {
	margin-left: 0.75em;
}

.entry-thumbnail {
	margin: 0 0 1.5em;
}

.entry-thumbnail img {
	display: block;
	width: 100%;
}

.entry-content,
.entry-summary,
.page-content {
	font-size: 1.1em;
}

.entry-content > * + *,
.entry-summary > * + *,
.page-content > * + * {
	margin-top: 1em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-summary h2,
.entry-summary h3,
.entry-summary h4,
.page-content h2,
.page-content h3,
.page-content h4 {
	color: #003761;
	font-family: Montserrat, "Helvetica Neue", helvetica, arial, sans-serif;
	margin-top: 1.5em;
}

.entry-footer {
	font-size: 0.9em;
	margin-top: 1em;
}

.more-link {
	font-weight: 700;
}

.post-navigation,
.pagination {
	border-top: 2px solid #e95a0c;
	margin-top: 2em;
	padding-top: 1em;
}

.post-navigation a,
.pagination a {
	text-decoration: none;
}

.post-navigation .nav-subtitle,
.pagination .nav-subtitle {
	display: block;
	font-size: 0.8em;
	text-transform: uppercase;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 0.2em 0.5em;
}

.pagination .current {
	background: #e95a0c;
	color: #fff;
}

.comments-area {
	border-top: 2px solid #e95a0c;
	margin-top: 3em;
	padding-top: 1.5em;
}

.comments-area .comment-list {
	list-style: none;
	padding: 0;
}

.comments-area .comment-list li {
	padding-left: 0;
	text-indent: 0;
}

.comments-area .comment-list li::before {
	content: none;
}

@media screen and (max-width: 480px) {

	.page-shell {
		padding-bottom: calc(var(--frame-inset) + 7em);
		padding-top: calc(var(--frame-inset) + 4em);
	}

	.page-title,
	.entry-title {
		font-size: 2em;
	}
}

.edit-link {
	position: absolute;
	bottom: 1.2em;
	left: 3.6em;
	z-index: 999;
}
