/*
Theme Name:        Custom Theme
Description:       Standalone theme for the site, based on the Volt theme by Saurabh Sharma.
Version:           4.0.1
Requires at least: 7.0
Requires PHP:      8.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       custom-theme
Domain Path:       /languages
*/

/* Site overrides, loaded after css/base.css and css/responsive.css. */

.primary-nav li ul li a {
	white-space: normal !important;
	color: #424242;
	font-size: 14px;
	line-height: 1.7142857;
	font-weight: 500;
	text-decoration: none !important;
	background: none !important;
}
.nav-menu > li > a {
	font-family: 'Lato', sans-serif;
}
.primary-nav li ul {
	width: 280px;
}
ul {
	font-family: 'Ovo', serif;
	font-size: 12pt;
}

/* Header */
.brand {
	display: none;
}
.header,
.primary-nav {
	width: 98%;
	margin: auto;
}
.header_widget_area {
	max-width: 100% !important;
	margin: 0;
}
.header .wrap {
	padding-top: 0 !important;
}
.hwa_wrap {
	padding-bottom: 0;
}
.header_widget_area {
	float: none;
}
.header_widget_area img {
	margin: auto;
}
.post-thumb img {
	width: 100%;
}
body {
	background-color: #eee !important;
}
.container {
	background-color: #eee !important;
	max-width: 1200px !important;
}
.sidebar1 {
	width: 29%;
	margin: 0 auto;
}
.widget,
.content_medium,
.header .wrap {
	background-color: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.content_medium {
	padding: 2%;
	margin-left: 0;
	margin-right: 2%;
}
.widget {
	padding: 6%;
	margin: 0 auto 4% auto;
}
.one_fourth {
	width: 47% !important;
	margin: 0 1.2%;
}
.wrap {
	width: 100%;
}
.footer {
	width: 97%;
	margin: auto;
}

@media only screen and (max-width: 600px) {
	.content_medium .half {
		width: 100% !important;
	}
	.column {
		width: 97.9166% !important;
	}
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
	font-family: 'Lato', sans-serif;
}
.section {
	font-family: 'Arbutus Slab', serif;
	font-size: 14pt;
}
p {
	font-family: 'Ovo', serif;
	font-size: 12pt;
}

/* Social media block in the sidebar, more compact */
.sidebar1 #block-12 {
	padding: 8px 12px !important;
}
.sidebar1 #block-12 .wp-block-social-links {
	margin: 0 !important;
}

/* "Aktuelles" page on mobile: image above the text */
@media screen and (max-width: 767px) {
	body.page-id-8 .content_medium .entry-list {
		display: block;
		width: 100%;
	}
	body.page-id-8 .content_medium .entry-list-left {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0 0 15px 0;
	}
	body.page-id-8 .content_medium .post-thumb {
		width: 100%;
	}
	body.page-id-8 .content_medium .post-thumb a {
		display: block;
		width: 100%;
	}
	body.page-id-8 .content_medium .post-thumb img {
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
		float: none;
		margin: 0;
	}
	body.page-id-8 .content_medium .entry-list-right {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0;
	}
}
