/*
Willkommen beim individuellen CSS!

Unter https://wp.me/PEmnE-Bt erfährst du mehr über die Funktionsweise.
*/

:root {
  --spdred: #E3000F; 
	--spddarkred: #B61C3E;
	--spdredtrans: rgb(227, 0, 15, 0.7);
	--spddarkredtrans: rgb(182,28,62 ,0.7);
	--transwhite: rgb(0,0,0,0.3);
	
  /* Font Family */
  --global--font-primary: 'spd-the-sans-bold'
}

.hidden{
	display: none;
}

body {
	background-color: #fff
}

.wp-block-cover img.wp-block-cover__image-background {
    width: 100%;
    height: auto;
    image-rendering: auto;
}

.text-white {
	color: black;
}

.full-width {
	width: 90% !important;
	max-width: 100% !important;
}

@media (max-width: 770px) {
	#masthead {
		background-color: white;
		box-shadow: none;
	}
}

@media (max-width: 770px) {
	.singular .entry-title {
        font-size: 3rem; /* Kleinere Schriftgröße bei kleineren Bildschirmen */
    }
}

#masthead {
	max-height: 10px;
	max-width: 100%;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 20px;
	margin: 20px;
	display: flex;
	justify-content: space-between; /* Space between the logo and menu */
  align-items: center;
}

.wp-block-latest-posts__post-title{
	color: var(--spdred);
	font: bold;
}

.centerd {
	margin-left: auto !important;
	margin-right: auto !important;
}

.primary-navigation {
	flex-grow: 1;
	justify-content: flex-end;
  width: 100%;
}

#primary-mobile-menu {
	background-color: var(--spdred) !important;
	border-radius: 5px;
}

#primary-mobile-menu span{
	color: white;
}

.startside-button2 {
	margin-right: auto !important;
	flex-shrink: 0;
}

.manu-wrapper {
	display: flex;
	list-style: none; /* Remove default list styling */
	margin: 0;
	padding: 0;
	width: 100%; /* Full width to support flex behavior */
	justify-content: flex-end; /* Aligns all items to the right by default */
}

.behind-scenes p {
            color: #666;
        }

	.primary-menu-container {
		background-color: var(--spdred) !important;
		z-index: 1;
	}

.site-tabs {
	height: 1390px;
}

#colophon {
	display: none;
}

	@media only screen and (min-width: 770px){
.startside-button {
	background-image: url('https://spd-ortsverein-hopsten.de/wp-content/uploads/2024/08/spd-logo.png') !important;
	background-size: contain;
	background-repeat: no-repeat;
	margin-left: 20px !important;
	width: 200px !important;
}
}

#custom_html-3 {
	width: auto;
	float: right;
	font-size: 16px;
}

.grecaptcha-badge {
	visibility: hidden;
	width: 150px !important;
	height: 64px !important;
	right: -108px !important;
}

.footer-links a{
	color: white !important;
	margin-right: 5px;
}

#icon-facebook, #icon-instagram {
	color: white;
}

.widget_custom_html {
	color: white;
}

.widget-area {
	padding-right: 15px;
	padding-left: 15px;
	padding-bottom: 0px;
	padding-top: 0px;
	margin-top: 0px !important;
	background: var(--spddarkred);
	width: 100%;
	max-width: 100%;
}

.jetpack_widget_social_icons{
	padding-top: 15px;
}

.site-main {
	padding-top: 0px
}

.widget {
	margin-top: 0px;
	margin-bottom: 0px;
	width: 500px;
	height: 70px;
}

.site-footer {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

.menu-item a{
	background-color: var(--spdred);
	font-size: 25px;
}

.primary-navigation a:hover, .primary-navigation a:link, .primary-navigation a:visited {
	color: #fff !important;
}

.primary-navigation a:hover {
	text-decoration: none;
}

.primary_menu_item a{
	background-color: var(--spddarkred);
	border-radius: 5px;
}

.primary_menu_item a:hover {
	transition: background-color 0.3s ease;
	/*background-color: var(--transwhite) !important;*/
}

.menu-item a:hover {
	transition: background-color 0.3s ease;);
    border-radius: 5px;
}

.topic-tab-image {
	margin-top: 15px !important;
}

.no-stripes tr {
	background-color: rgba(0, 0, 0, 0) !important;
}

.topic-header {
	text-align: center;
	display: block;
}

.topic-header-text {
	height: 65px;
	text-align: center;
	display: block;
	padding-top: 13px !important;
}

.entry-header {
	background-color: var(--spdred);
	text-align: center;
	margin-top: 2.5rem !important;
	border: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.entry-header h1 {
	color: white;
	padding-top: 25px;
  /*height: 100px;*/
}

.sharedaddy {
	display: none;
}

.tablepress .odd td{
	background-color: rgba(255, 255, 255, .4) !important;
}

.tablepress .even td{
	background-color: rgba(255, 255, 255, 0) !important;
}

.wp-block-gallery.is-cropped .blocks-gallery-item img {
	max-height: 353.94px;
	max-width: 265.45px;
}

.grunion-field-text{
	opacity: 100% !important;
}

/*
Theme Name: SPD Child Theme
*/

/* Hier kommen deine eigenen Stile */
/* @import url('../twentytwentyone/style.css'); /* Importiert das Haupttheme CSS */

/* Custom Styles */

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

.opensans {
  font-family: "Open Sans", sans-serif;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

header .logo img {
    max-height: 60px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
		outline-color: rgba(255, 255, 255, 0.3)
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

nav ul li a:focus {
	background-color: rgba(255, 255, 255, 0.3) !important;
	outline-color: rgba(255, 255, 255, 0.3) !important;
	border-radius: 5px;
}

#landingpage_logo {
		
}

.site a:focus img {
	outline: none !important;
}


/* Hero-Bereich */
#hero {
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #ffffff;
    color: #E3000F;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cccccc;
}

/* Sektionen */
section {
    margin-bottom: 60px;
}

h2 {
    color: #E3000F;
    font-size: 28px;
    margin-bottom: 20px;
}

p {
    line-height: 1.8;
    font-size: 16px;
}

/* News-Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.news-item h3 {
    color: #E3000F;
    font-size: 22px;
    margin-bottom: 10px;
}

.news-item p {
    margin-bottom: 15px;
}

.read-more {
    color: #E3000F;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.news-item:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
}
