/**
Theme Name: NedReissn
Author: Florian Fritsch
Author URI: https://www.ned-reissn.de
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nedreissn
Template: astra
*/

/* Text Shadow */
.nr-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* Kein Logo Padding */
.ast-logo-title-inline .ast-site-identity {
    padding: 0em !important;
}

.ast-archive-description{
	padding: 0px !important;
	margin: 0px !important;
}

.ast-blog-layout-5-grid .post-content {
	padding-left: 0px !important;
}

body.home {
	background: url('/wp-content/uploads/bg00001.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* Logos in Linkliste ausgrauen */

.client-logo {
    /* 1. Sättigung entfernen */
    /* 2. Helligkeit extrem erhöhen (macht alles weiß) */
    filter: grayscale(80%) brightness(0) invert(1);
    
    /* Weicher Übergang zur Farbe */
    transition: filter 0.3s ease;
	
    max-width: 100%;
    height: auto;
}

.client-logo:hover {
    /* Zurück zur Originalfarbe */
    filter: grayscale(0%);
    
    /* Volle Deckkraft beim Hover */
    opacity: 1;
}

.client-gray-logo {
    /* Macht das Bild komplett grau */
    filter: grayscale(100%);
    
    /* Optional: Macht das Logo etwas blasser, damit es sich besser einfügt */
    opacity: 0.7;
    
    /* Sorgt für einen weichen Übergang */
    transition: filter 0.3s ease, opacity 0.3s ease;
    
    /* Responsiv: Verhindert, dass Logos aus ihrem Container ausbrechen */
    max-width: 100%;
    height: auto;
}

.client-gray-logo:hover {
    /* Zurück zur Originalfarbe */
    filter: grayscale(0%);
    
    /* Volle Deckkraft beim Hover */
    opacity: 1;
}

/* Custom Page Backgrounds */

/* Bogensport */
.page-id-34 {
	background: url('/wp-content/uploads/bg00005.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
/* IPSC */
.page-id-302 {
	background: url('/wp-content/uploads/bg00003.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* Custom News Layout */
.nr-custom-h1-design {
	font-size: 2em;
	padding-bottom: 0em;
	margin-bottom: 0em;
	line-height: auto;
}
.nr-custom-posted-on, .nr-custom-byline {
	font-size: 0.8em;
	color: #73767b;
}
.nr-custom-news-title {
	margin-top: 1em;
	font-size: 1.5em;
}
.nr-custom-news-excerpt > p {
	margin: 1em 0em;
}

/* Scrollbar */ 
/* --- Scrollbar für Chrome, Safari und Edge (WebKit) --- */

::-webkit-scrollbar {
    width: 3px; 
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--ast-global-color-0);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #005a87; 
}

/* Bild auf Beitragsseite */
.ast-article-single figure, .ast-article-single img:not(figure img) {
	-box-shadow: none;
	-webkit-box-shadow: none;
}

/* Willkommens HR */
.welcome-h {
	font-weight: 700 !important;
}

/* Partner Wall bei Links */ 

/* Zentriert die Logos vertikal im Galerie-Block */
.partner-wall .wp-block-gallery.has-nested-images {
    align-items: center; 
    justify-content: center;
}

/* Sorgt für einheitliche Abstände und Hover-Effekt */
.partner-wall .wp-block-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.partner-wall .wp-block-image img {
    max-height: 100px; /* Begrenzt die Höhe für ein ruhiges Bild */
    width: auto !important;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

.partner-wall .wp-block-image:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}