@charset "utf-8";
/*
Theme Name: Blocksy Child
Description: Child theme for the Wellensittich Infoportal - Optimized for LCP, Polls, Carousel & LuckyWP TOC
Author: wellensittich-infoportal.de
Template: blocksy
Version: 1.3.0
*/

/* ==========================================================
   1) CSS-Variablen & Basis (Welli-Branding)
   ========================================================== */
:root {
  --wip-green: #65bc78;
  --wip-green-strong: #2f8a44;
  --wip-blue: #198fd9;
  --wip-text: #1c1c1c;
  --wip-muted: #5b6673;
  --wip-border: #e5e7eb;
  --wip-bg: #ffffff;
  --wip-shadow: 0 6px 20px rgba(0,0,0,.06);
  --wip-radius: 14px;
  
  /* Dein Welli-Gold & Grün */
  --welli-gold: #f1b20f; 
  --welli-green: #78ab4e;
  --welli-green-dark: #436b28;
}

/* Reduzierte Bewegung für LCP & Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   2) Bildunterschriften & Copyright (Fix für Gutenberg)
   ========================================================== */
.wp-block-image figcaption, .wp-caption-text {
  font-size: .85em; 
  color: #555 !important; 
  font-style: italic;
  text-align: center; 
  margin-top: 8px;
}

.wip-copyright {
  display: block; 
  margin-top: 4px; 
  font-size: 12px; 
  color: #666; 
  opacity: .9;
}

/* ==========================================================
   3) Karussell (Inkl. Edge-Fades & Navigation-Dots)
   ========================================================== */
.carousel-wrap { 
  position: relative; 
}

/* Weiße Ränder (Fades) links und rechts */
.carousel-wrap::before, .carousel-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 28px; pointer-events: none;
  background: linear-gradient(to right, #ffffff, rgba(255,255,255,0)) !important;
  z-index: 2;
}
.carousel-wrap::before { left: 0; transform: rotate(180deg); }
.carousel-wrap::after { right: 0; }

.carousel-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 1.25rem 1rem;
  scroll-behavior: smooth;
  scrollbar-width: none; 
}
.carousel-container::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 280px;
  background: #fff;
  border: 1px solid var(--wip-border);
  border-radius: 16px;
  box-shadow: var(--wip-shadow);
  padding: 1.5rem;
  scroll-snap-align: start;
  transition: transform .25s ease;
}
.carousel-item:hover { transform: translateY(-4px); }

.carousel-item h3 {
  color: var(--wip-green-strong) !important;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.carousel-item .more-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--wip-blue) !important;
  text-decoration: none;
  transition: color .2s ease;
}
.carousel-item .more-link:hover { color: var(--welli-green) !important; }

/* Karussell Pagination (Dots) */
.carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 15px;
  width: 100%;
}
.carousel-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background-color: #f1f3f5 !important;
  border: 1px solid #d9dde2 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none !important;
}
.carousel-dot.active {
  background-color: var(--welli-green) !important;
  border-color: var(--welli-green) !important;
  transform: scale(1.3);
}
.carousel-dot:hover {
  background-color: var(--welli-gold) !important;
  border-color: var(--welli-gold) !important;
}

/* ==========================================================
  4. WP-POLLS FIX FÜR BLOCKSY THEME
   ========================================================== */

/* 1. Den "Stimme abgeben" Button reparieren & stylen */
.wp-polls-wrap input[type="button"] {
    background-color: #65bc7b !important; /* Ihr Welli-Grün */
    color: #ffffff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 50px !important; /* Schön rund */
    cursor: pointer !important;
    display: block !important;
    margin: 25px auto 15px auto !important; /* Zentriert unter den Fragen */
    box-shadow: 0 4px 10px rgba(101, 188, 123, 0.3) !important;
    transition: all 0.3s ease !important;
    line-height: 1.5 !important;
    appearance: none !important; /* Hebelt Browser-Standards aus */
}

/* Button Hover-Effekt */
.wp-polls-wrap input[type="button"]:hover {
    background-color: #2f8a44 !important; /* Dunkleres Grün beim Drüberfahren */
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(101, 188, 123, 0.4) !important;
}
	
	/* Blauer Punkt im Auswahlkreis bei aktiver Auswahl */
.wp-polls-wrap .wp-polls-ul input[type="radio"]:checked {
    background-color: #198fd9 !important; /* Das Blau für den Punkt (hier Ihr Welli-Blau) */
    border-color: #65bc7b !important; /* Der grüne Außenring bleibt erhalten */
    box-shadow: inset 0 0 0 4px #ffffff !important; /* Erzeugt den weißen Abstand zwischen blauem Punkt und grünem Rand */
}

/* Falls Sie auch Mehrfachauswahl (eckige Checkboxen) nutzen */
.wp-polls-wrap .wp-polls-ul input[type="checkbox"]:checked {
    background-color: #198fd9 !important;
    border-color: #65bc7b !important;
    box-shadow: inset 0 0 0 3px #ffffff !important;
}

/* 2. Die Antworten (Listen-Elemente) besser strukturieren */
.wp-polls-ul {
    padding: 0 !important;
    margin: 20px 0 !important;
}

.wp-polls-ul li {
    display: flex !important;
    align-items: center !important;
    padding: 10px 15px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
    background: transparent !important;
    transition: background-color 0.2s ease !important;
}

/* Leichter grüner Hintergrund, wenn man mit der Maus über eine Antwort fährt */
.wp-polls-ul li:hover {
    background-color: #f4fcf6 !important; 
}

/* 3. Abstand zwischen Auswahl-Kreis und Text garantieren */
.wp-polls-ul input[type="radio"],
.wp-polls-ul input[type="checkbox"] {
    margin: 0 15px 0 0 !important; /* Schiebt den Text 15px nach rechts */
    flex-shrink: 0 !important; /* Verhindert, dass der Kreis kleiner gequetscht wird */
}

/* 4. Die Links im Footer (z.B. "Ergebnisse anzeigen") anpassen */
.wp-polls-wrap a {
    color: #65bc7b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.wp-polls-wrap a:hover {
    color: #2f8a44 !important;
    text-decoration: underline !important;
}
	
/* ==========================================================
   FIX: Balken-Layout in den Ergebnissen korrigieren
   ========================================================== */

/* 1. Erlaubt einen Zeilenumbruch innerhalb der Antworten */
.wp-polls-wrap .wp-polls-ul li {
    flex-wrap: wrap !important;
}

/* 2. Zwingt den Text-Container auf 100% Breite (Balken rutscht nach unten) */
.wp-polls-wrap .wp-polls-ul li > div:first-of-type {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 8px !important;
}

/* 3. Verhindert, dass der Balken gequetscht wird */
.wp-polls-wrap .pollbar {
    margin-top: 0 !important; /* Abstand wird nun vom Text gesteuert */
}	

/* ==========================================================
   5) Tabellen (Wichtig für Infoportale)
   ========================================================== */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.entry-content th {
  background: #f8f9fa;
  font-weight: 700;
  padding: 12px;
  border: 1px solid #dee2e6;
}
.entry-content td {
  padding: 12px;
  border: 1px solid #dee2e6;
}
.entry-content td:first-child {
  background: rgba(120, 171, 78, 0.05);
  font-weight: 600;
}

/* ==========================================================
   6) Custom Pagination (Blocksy Fix)
   ========================================================== */
.wip-pagination-fix .page-number.current {
    background-color: var(--welli-green) !important;
    color: #fff !important;
    border-radius: 8px;
}

/* ==========================================================
   7) Footer Styling (Welli Gold Fix)
   ========================================================== */
.fusion-footer-widget-area ul li a:hover,
.fusion-footer-widget-area .widget_nav_menu li a:hover {
  color: var(--welli-gold) !important; 
  padding-left: 8px !important; 
  text-decoration: none !important;
}

/* ==========================================================
   8) Wellensittich Generator (UI Fixes)
   ========================================================== */
#wellensittich-namen-generator select,
#wellensittich-namen-generator button {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 10px 0;
}
#generate-name-btn {
    margin-top: 25px !important; /* Etwas Luft zum Farbe-Dropdown */
}

/* ==========================================================
   9) LuckyWP Inhaltsverzeichnis (Welli-Design & Anti-Jump)
   ========================================================== */

/* Äußerer Container */
.lwptoc {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
}

/* Kasten innen - Hintergrund und Rand WEISS */
.lwptoc_i {
    background: #ffffff !important;
    border: 1px solid #ffffff !important; 
    border-radius: var(--wip-radius) !important;
    padding: 10px 0 !important; 
    box-shadow: none !important; 
    
    /* NEU: Verhindert das Springen bei langen Verzeichnissen */
    max-height: calc(100vh - 120px) !important; 
    overflow-y: auto !important; 
    scrollbar-width: thin; /* Elegante, schmale Scrollbar */
}

/* Titel "Inhaltsverzeichnis" */
.lwptoc_header {
    color: var(--wip-green-strong) !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
}

/* Der "[ ausblenden ]" Link */
.lwptoc_toggle a {
    color: var(--wip-muted) !important;
    font-weight: 400 !important;
    font-size: 0.85em !important;
}

/* Listenpunkte-Farbe */
.lwptoc_item {
    color: var(--wip-text) !important;
}

/* --- DIE LINKS --- */

/* 1. Normalzustand (inaktiv) */
.lwptoc_item a {
    color: var(--wip-muted) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: block !important; /* Wichtig für den Kasten-Look */
    padding: 4px 8px !important; /* Etwas Luft um den Text */
    border-radius: 4px !important;
    margin-bottom: 2px !important;
}

/* 2. Hover-Effekt: Welli-Gold (beim Drüberfahren von inaktiven Links) */
.lwptoc_item a:hover {
    color: var(--welli-gold) !important;
    background-color: rgba(241, 178, 15, 0.05) !important; 
    padding-left: 12px !important; /* Sanfter Einzug */
}

/* 3. Aktiver Link (UX Scroll Tracking) - Sprung-Fix */
.lwptoc_item a.lwptoc-active,
.lwptoc_item a.active,
.lwptoc_item.active > a,
.lwptoc_item a.lwptoc-is-active,
.lwptoc-active a {
    background-color: var(--welli-green) !important;
    color: #ffffff !important;
    padding-left: 8px !important;
    font-weight: normal !important; /* WICHTIG: Kein fettes Ruckeln mehr */
    text-shadow: 0 0 1px rgba(255,255,255,0.4) !important; /* Minimal kräftiger, ändert aber die Breite nicht */
}

/* Hover-Korrektur für den aktiven Link (damit er nicht gold wird) */
.lwptoc_item a.lwptoc-active:hover,
.lwptoc_item a.active:hover,
.lwptoc_item.active > a:hover,
.lwptoc_item a.lwptoc-is-active:hover,
.lwptoc-active a:hover {
    color: #ffffff !important;
    background-color: var(--welli-green-dark) !important; /* Wird etwas dunkler beim Hovern */
}
    
/* ==========================================================
   10) Avada Fallback: FAQ Akkordeon
   ========================================================== */
.wip-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.wip-accordion-item {
    background: #ffffff;
    border: 1px solid var(--wip-border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 0 !important; /* Verhindert Theme-Abstände */
}

/* Zwingt WordPress dazu, leere Absätze und Umbrüche zwischen den Boxen zu ignorieren */
.wip-accordion-wrapper > p, 
.wip-accordion-wrapper > br {
    display: none !important;
}

.wip-accordion-item[open] {
    border-color: var(--wip-green);
    box-shadow: 0 4px 12px rgba(120, 171, 78, 0.1);
}

.wip-accordion-title {
    padding: 16px 20px;
    font-weight: 700;
    color: var(--wip-green-strong);
    cursor: pointer;
    background: #fdfdfd;
    position: relative;
    list-style: none; /* Versteckt den Standard-Pfeil */
    margin: 0;
}

/* Versteckt den Standard-Pfeil in Webkit-Browsern */
.wip-accordion-title::-webkit-details-marker {
    display: none;
}

/* Eigenes Plus/Minus Icon */
.wip-accordion-title::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--wip-green);
}

.wip-accordion-item[open] .wip-accordion-title::after {
    content: '−';
}

.wip-accordion-title:hover {
    background: #f4fbf6;
}

.wip-accordion-content {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    color: var(--wip-text);
    line-height: 1.6;
}

.wip-accordion-content p:last-child {
    margin-bottom: 0;
}
    
/* ==========================================================
   11) YOUTUBE: Der finale Avada-Variablen-Hack
   ========================================================== */

/* 1. Wir überschreiben Avadas heimliche Variablen direkt an der Wurzel */
.entry-content .fusion-video,
.entry-content .fusion-video.fusion-youtube {
    --awb-max-width: 100% !important;
    --awb-width: 100% !important;
    --awb-max-height: auto !important;
    
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 30px 0 !important;
    clear: both !important;
}

/* 2. Zwingt den Player, den nun befreiten Platz auch wirklich zu nutzen */
.entry-content .fusion-video lite-youtube,
.entry-content .fusion-video iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important; /* Kein Schrumpfen mehr! */
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    display: block !important;
    margin: 0 !important;
    border-radius: var(--wip-radius) !important;
    box-shadow: var(--wip-shadow) !important;
}
    
/* ==========================================================
   12) Blocksy Mega Menu (Skalierungs- & Auflösungs-Fix)
   ========================================================== */

/* MOBILE FIX (unverändert lassen) */
@media (max-width: 999px) {
    .mega-big-img, .mega-small-img, .mega-menu-auto-bild, .mega-kombi-pic, .mega-button, .mega-desc { display: none !important; }
    .custom-mega-menu .sub-menu { display: block !important; visibility: visible !important; opacity: 1 !important; }
    .mega-kombi-grid { display: block !important; }
}

/* DESKTOP-LOGIK: Optimiert für 150% Skalierung & kleine Laptops */
@media (min-width: 1000px) {
    
    /* NEU: Wir lösen die Verbindung zum schmalen Menüpunkt */
    .custom-mega-menu { 
        position: static !important; 
    }

    .custom-mega-menu > .sub-menu {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 25px !important;
        
        /* FLEXIBEL: 90% der Fensterbreite, aber max 1100px */
        width: 92vw !important;         
        max-width: 1100px !important;   
        
        /* ZENTRIERUNG: Absolut sicher über left: 50% */
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        
        padding: 30px !important;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 15px 45px rgba(0,0,0,0.1);
        z-index: 9999 !important;
    }

   /* Kombi-Box (Linke Seite) */
    .custom-mega-menu > .sub-menu > li:first-child {
        grid-column: 1 / 3 !important;
        grid-row: 1 / 3 !important;
        display: flex !important; /* WICHTIG: Macht den Listenpunkt selbst zur Flexbox */
        align-items: stretch !important; /* Zwingt den Inhalt auf volle Höhe */
    }

    .mega-kombi-grid { 
        display: flex !important; 
        gap: 25px; 
        width: 100%; /* Nutzt die volle Breite der 2 Grid-Spalten */
        align-items: stretch !important; /* Zwingt Info und Pic auf gleiche Höhe */
    }
    
    .mega-kombi-info { 
        flex: 1; 
        display: flex; 
        flex-direction: column; 
        justify-content: center; /* Zentriert den Text vertikal zum Bild */
        min-width: 220px; 
    }
    
    .mega-kombi-pic { 
        flex: 1.2; 
        display: flex; /* WICHTIG */
    }
    
    .mega-big-img { 
        width: 100%; 
        height: 100% !important; /* Nutzt die volle Höhe des .mega-kombi-grid */
        min-height: 320px; /* Garantiert eine Mindesthöhe für das vertikale Gefühl */
        max-height: 400px; /* Begrenzt die Höhe nach oben */
        object-fit: cover; /* WICHTIG: Beschneidet das Bild vertikal, damit es nicht verzerrt */
        border-radius: 8px; 
    }

    /* Rechte Kacheln */
    .custom-mega-menu > .sub-menu > li:nth-child(n+2) { grid-column: span 1 !important; }
    .custom-mega-menu > .sub-menu > li:nth-child(n+2) a { display: flex !important; flex-direction: column !important; text-decoration: none !important; }
    
    .mega-small-img { 
        width: 100%; 
        height: 105px !important; /* Etwas kleiner für mehr Stabilität */
        object-fit: cover; 
        border-radius: 6px; 
        margin-bottom: 8px; 
    }

    /* Texte anpassen für Skalierung */
    .mega-title-big { display: block; font-size: 22px; font-weight: 800; color: #222; margin-bottom: 12px; }
    .mega-desc { display: block; font-size: 14px; line-height: 1.4; color: #555; margin-bottom: 18px; }
    .mega-button { display: inline-block; background-color: #78ab4e; color: #fff !important; padding: 10px 18px; border-radius: 6px; font-weight: 700; font-size: 13px; text-align: center; align-self: flex-start; }

    /* Hover Effekte */
    .custom-mega-menu > .sub-menu:hover > li { opacity: 0.6; transition: all 0.3s ease; }
    .custom-mega-menu > .sub-menu > li:hover { opacity: 1; transform: translateY(-3px); z-index: 10; }

    .custom-mega-menu .wip-copyright { display: none !important; }
}
	
/* ==========================================================
   MOBILE MENÜ (Finale Reinigung & Strich-Entfernung)
   ========================================================== */
@media (max-width: 999px) {

    /* 1. Radikale Entfernung aller Listensymbole (Punkte/Striche) */
    .mobile-menu ul, 
    .mobile-menu li {
        list-style: none !important;
        list-style-type: none !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    /* Diese Regel killt die Striche/Bullets, die Blocksy per CSS einfügt */
    .mobile-menu li::before,
    .mobile-menu li::after,
    .mobile-menu .sub-menu li::before {
        content: none !important;
        display: none !important;
    }

    /* 2. Untermenü-Block (Der helle Kasten) */
    .mobile-menu .sub-menu {
        background-color: #fcfcfc !important; /* Ganz zartes Grau */
        margin: 5px 0 !important;
    }

    .mobile-menu .sub-menu li a {
        padding: 16px 20px !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        color: #333 !important;
        justify-content: center !important;
        border-bottom: 1px solid rgba(241, 178, 15, 0.05) !important;
    }

    /* 3. Hauptmenü-Punkte */
    .mobile-menu > li > a {
        padding: 22px 20px !important;
        font-size: 21px !important;
        font-weight: 700 !important;
        justify-content: center !important;
    }

    /* 4. Goldene Trennlinie nur zwischen den Hauptblöcken */
    .mobile-menu > li {
        border-bottom: 1px solid rgba(241, 178, 15, 0.2) !important;
    }

    /* 5. Den Dropdown-Pfeil zentriert neben den Text schieben */
    .mobile-menu [data-arrow] {
        position: relative !important;
        right: auto !important;
        margin-left: 8px !important;
        display: inline-flex !important;
        align-items: center;
    }
}
	
/* ========================================= */
/* Styling für das Native Gutenberg Akkordeon (FAQ) */
/* ========================================= */

.wp-block-details {
    background-color: #ffffff;
    border: 1px solid #edeff2;
    box-shadow: 0px 5px 15px rgba(176, 181, 193, 0.1); /* Sanfter Schatten wie beim Stackable-Block */
    border-radius: 8px; /* Leicht abgerundete Ecken */
    margin-bottom: 20px !important;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* Der klickbare Titelbereich */
.wp-block-details summary {
    padding: 20px 50px 20px 25px; /* Platz rechts für den Pfeil lassen */
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Versteckt das Standard-Dreieck */
    position: relative;
    outline: none;
    color: #111518;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

/* Versteckt das Standard-Dreieck in Safari/Chrome zusätzlich */
.wp-block-details summary::-webkit-details-marker {
    display: none;
}

/* Benutzerdefinierter, moderner Pfeil (rechtsbündig) */
.wp-block-details summary::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #111518;
    border-bottom: 2px solid #111518;
    transition: transform 0.3s ease;
}

/* Styling, wenn das Akkordeon geöffnet ist */
.wp-block-details[open] summary {
    border-bottom: 1px solid #edeff2; /* Trennlinie zwischen Titel und Text */
    background-color: #fafbfc; /* Ganz leichte farbliche Hervorhebung */
}

/* Pfeil dreht sich um, wenn geöffnet */
.wp-block-details[open] summary::after {
    transform: translateY(-50%) rotate(225deg);
}

/* Der Textbereich im Inneren */
.wp-block-details > *:not(summary) {
    padding: 20px 25px;
    margin: 0;
    color: #4a505e;
    line-height: 1.7;
}

/* Falls Links im Text sind, etwas hervorheben */
.wp-block-details > *:not(summary) a {
    text-decoration: underline;
    font-weight: 500;
}	
	
/* Styling für den Tabellen-Fallback */
.wip-table-fallback {
    overflow-x: auto; /* Macht Tabellen auf dem Handy scrollbar */
    margin-bottom: 2em;
}

.wip-table-fallback table {
    width: 100%;
    border-collapse: collapse;
}

.wip-table-fallback th, 
.wip-table-fallback td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

/* Falls du den Typ 1 von Avada imitieren willst (Zebra-Look) */
.table-type-1 tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table-type-1 th {
    background-color: #eee;
    font-weight: bold;
}	
	
/* ========================================= */
/* Styling für das Pflanzen-Grid */
/* ========================================= */
	
	
.plant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.plant-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  background: #fff;
  transition: transform 0.2s;
  position: relative;
}

.plant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.danger-badge {
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

/* 🔴 Hochgiftig / Tödlich */
.level-critical { border-top: 5px solid #d9534f; }
.level-critical .danger-badge { background: #d9534f; color: white; }

/* 🟠 Giftig / Reizend */
.level-high { border-top: 5px solid #f0ad4e; }
.level-high .danger-badge { background: #f0ad4e; color: white; }

/* 🟡 Unverträglich */
.level-medium { border-top: 5px solid #f1c40f; }
.level-medium .danger-badge { background: #f1c40f; color: #333; }

.latin-name { font-style: italic; color: #666; font-size: 0.9rem; margin-top: -10px; }
.plant-card a { text-decoration: none; font-weight: bold; color: inherit; }
.plant-card a:hover { text-decoration: underline; }	
	
/* --- Basis-Styles (wie vorher) --- */
.plant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Leicht breiter für bessere Lesbarkeit */
  gap: 25px;
  padding: 20px 0;
  margin-bottom: 40px; /* Abstand nach unten */
}

.plant-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  transition: all 0.2s ease-in-out;
  position: relative;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.plant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.danger-badge {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.latin-name { font-style: italic; color: #777; font-size: 0.95rem; margin-top: -10px; margin-bottom: 15px; }
.plant-card h4 { margin-top: 0; margin-bottom: 5px; color: #333; }
.plant-card p { color: #555; font-size: 0.95rem; line-height: 1.5; margin-bottom: 0; }
.plant-card a { text-decoration: none; color: inherit; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.plant-card a:hover { border-color: currentColor; }

/* --- Kategorien für Giftpflanzen (wie vorher) --- */
.level-critical { border-top: 5px solid #d9534f; }
.level-critical .danger-badge { background: #fbeee1; color: #d9534f; border: 1px solid #d9534f; }

.level-high { border-top: 5px solid #f0ad4e; }
.level-high .danger-badge { background: #fdf6ec; color: #f0ad4e; border: 1px solid #f0ad4e; }

/* --- NEU: Kategorie für SICHRE Pflanzen (Grün/Teal) --- */
.level-safe { border-top: 5px solid #5c8a55; /* Teal-Grün passend zu deinem Logo */ }
.level-safe .danger-badge { background: #eef7ee; color: #5c8a55; border: 1px solid #5c8a55; }	
	
.plant-card a { text-decoration: none; color: inherit; }
.plant-card a:hover { text-decoration: underline; } /* Zeigt dem Nutzer beim drüberfahren, dass es klickbar ist */	
	
.entry-card .entry-title {
    font-size: 20px !important;
    line-height: 1.3; /* Sorgt für einen angenehmen Zeilenabstand */
}	