/*
 Theme Name:   GeneratePress Child
 Description:  GeneratePress Child Theme
 Author:       Pixelpolka
 Author URI:   https://www.pixelpolka.de
 Template:     generatepress
 Version:      1.0
 Text Domain:  generatepress-child
*/



.wp-block-post-title a{
	color: var(--contrast);
	text-decoration: none;
}
.wp-block-post-title a:hover{
	color: var(--accent);
	text-decoration: underline;
}
.wp-block-read-more {
	text-decoration: underline;
}

/* ---------- Navigation ----------- */

.sub-menu li a::before {
	content: '– ';
}

/* --------- Hero ------------*/

.quote {
	color: #fff;
	width: 540px;
	padding: 2rem;
	background-color: rgba(0,0,0,.1);
}

.author {
	text-align: right;
	margin-top: 1rem;
}

@media (max-width: 600px) {
	.quote {
		width: 100%;
		padding: 1rem;
	}
}

:not(.home) .page-hero {
	min-height: 35vh;
}
:not(.home) .inside-page-hero {
	display: flex;
	flex-wrap: wrap;
	align-content: end;
	min-height: 35vh;
}
:not(.home) .hero-title {
	background-color: var(--base-2);
	padding: .4em .8em 0 .8em;
/* 	font-size: 40px !important; */
}
@media(max-width: 500px) {
	:not(.home) .hero-title {
		padding: .2em .4em 0 .4em;
	}
}


/* ---------- Inhalt ----------- */
h1 {
	max-width: 40ch;
}

.entry-content :is( h2, h3, h4, h5, h6, p, ul, ol){
	max-width: 80ch;
/* 	text-wrap: balance; */
/* 	white-space: unset; */
}

.entry-content .wp-block-list li {
	list-style-type: square;
	margin-bottom: .5rem;
}

.entry-content > p:nth-of-type(1) {
	font-size: 1.25rem;
	font-weight: 600;
	max-width: 65ch;
}

@media(min-width:769px) {
	.entry-content > p:nth-of-type(1) {
		font-size: 1.4rem;
	}
}

.teaser-spalte {
	margin-top: 3rem !important;
}

.wp-block-post-featured-image img {
	aspect-ratio: 16/9;
	margin-bottom: 1rem;
}

h2:not(:nth-of-type(1)) {
	margin-top: 4rem
}
h3 {
	margin-top: 3rem;
}

.fussnoten-linie {
	background-color: var(--contrast-3);
	border: 1px;
	margin-top: 4rem;
	margin-bottom: 1rem;
	width: 200px;
}

.sidebar-headline {
	margin-bottom: .4rem;
	font-size: 1.3rem;
	font-weight: 600;
}

.wp-block-file:not(.wp-element-button) {
	font-size: unset;
}

/* ------- Seitenleiste -------- */

.inside-right-sidebar {
	padding-top: 80px;
}


/* --------- Footer ---------- */

.site-footer {
	font-size: 1rem;
	line-height: 1.4;
}
.site-footer a {
	text-decoration: none;
}
.site-footer a:hover {
	text-decoration: underline;
}

.footer-widget-1 .widget:nth-of-type(1) {
	margin-bottom: 1rem !important;
}

.footer-widget-1 .widget:nth-of-type(1) p {
  font-size: 1.2rem
}

.footer-widget-2 ul li {
	margin-bottom: 0;
}

.footer-widget-2 {
	max-width: fit-content;
}

@media (max-width: 768px) {
	.footer-widget-1 {
		padding-bottom: 2rem;
		border-bottom: 1px solid var(--base-2)
	}
}
.footer-widget-2 a::before {
	content: '';
	display: inline-block;
	width: .3rem;
	height: .3rem;
	background-color: var(--base-2);
	margin-right: .5rem;
	position: relative;
	bottom: .15rem;
}

#menu-datenschutz-und-impressum li:nth-of-type(1) {
	border-right: 1px solid var(--base-2);
	padding-right: 20px;
}


.kinderkrippe .entry-content table,
.kindergarten .entry-content table {
	width: 55%;
	min-width: 300px;
}

.kinderkrippe .entry-content table td,
.kindergarten .entry-content table td {
	border-color: var(--contrast-3)
}

.kinderkrippe .entry-content table tr:nth-of-type(1) td:nth-of-type(1),
.kindergarten .entry-content table tr:nth-of-type(1) td:nth-of-type(1) {
	width: 40%;
}

.kinderkrippe .entry-content table tr:nth-of-type(1) td:nth-of-type(2),
.kindergarten .entry-content table tr:nth-of-type(1) td:nth-of-type(2) {
	width: 60%;
}

/* --- Stellenausschreibungen --- */

.single-stellenausschreibung .site-content .content-area {
	width: unset !important;
}
