/* === TIPS ARCHIVE GRID === */
.lb-tips-archive-wrapper {
    margin: 40px 0;
}

.lb-tips-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    margin-bottom: 40px;
}

/* === BANNER POSITIONING IN GRID === */
.lb-banner-container.lb-banner-1x2 {
    /* background: #f8f9fa; */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    /* border: 1px solid #e8e8e8; */
    transition: all 0.3s ease;
    height: 380px; /* Gleiche Höhe wie Tip-Cards */
}

.lb-banner-container.lb-banner-1x2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.lb-banner-single {
    position: relative;
    width: 100%;
    height: 100%;
}

.lb-banner-single img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lb-banner-overlay {
    display: none !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3), transparent);
    color: white;
    padding: 20px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.lb-banner-container:hover .lb-banner-overlay {
    transform: translateY(0);
    opacity: 1;
}

.lb-banner-overlay h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lb-banner-container a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* === TIP CARD STYLING === */
.lb-tip-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    height: 380px; /* Feste Höhe für alle Cards */
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.lb-tip-card a {
    text-decoration: none;
    color: inherit;
}

.lb-tip-card a:hover {
    text-decoration: none;
    color: inherit;
}

.lb-tip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lb-tip-image {
    position: relative;
    height: 160px; /* Feste Höhe für alle Bilder */
    min-height: 160px;
    max-height: 160px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin: 0;
    padding: 0;
    flex-shrink: 0; /* Verhindert, dass Bild kleiner wird */
}

/* Category Overlay oben im Bild */
.lb-tip-category-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    z-index: 2;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    /* Entferne Standard-Hintergrund und Farbe - wird durch Farbklassen überschrieben */
}

.lb-tip-category-overlay:hover {
    transform: scale(1.05);
}

/* Category Badge Colors */
.lb-tip-category-overlay.color-0 { background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%); color: #333; } /* KOMMUNIKATION - Grün */
.lb-tip-category-overlay.color-1 { background: linear-gradient(135deg, #FFF3E0 0%, #FFD1B3 100%); color: #333; } /* KREATIVITÄT & AUSDRUCK - Orange */
.lb-tip-category-overlay.color-2 { background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%); color: #333; } /* COACHING & SELBSTERKENNTNIS - Lila */
.lb-tip-category-overlay.color-3 { background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD9 100%); color: #333; } /* BEWUSSTSEIN & ENERGIEARBEIT - Pink */
.lb-tip-category-overlay.color-4 { background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%); color: #333; } /* UMWELT - GRÜNE ERDE - Grün */
.lb-tip-category-overlay.color-5 { background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%); color: #333; } /* NATURHEILKRAFT - Grün */
.lb-tip-category-overlay.color-6 { background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%); color: #333; } /* KÖRPERARBEIT - Blau */
.lb-tip-category-overlay.color-7 { background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%); color: #333; } /* NAHRUNG ALS MEDIZIN - Rot */
.lb-tip-category-overlay.color-8 { background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%); color: #333; } /* BEZIEHUNG & PARTNERSCHAFT - Lila */
.lb-tip-category-overlay.color-9 { background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%); color: #333; } /* TRADITIONELLE METHODEN - Blau */
.lb-tip-category-overlay.color-10 { background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%); color: #333; } /* ERLEUCHTUNG - EGOTOD - Grau */

.lb-tip-image img, .lb-tip-image svg {
    width: 100%;
    height: 160px; /* Feste Höhe für alle Bilder */
    min-height: 160px;
    max-height: 160px;
    object-fit: cover; /* Bild wird zugeschnitten, um Container zu füllen */
    object-position: center; /* Bild wird zentriert zugeschnitten */
    transition: transform 0.3s ease;
    display: block; /* Entfernt Leerraum unter Bildern */
    margin: 0;
    padding: 0;
}

.lb-tip-card:hover .lb-tip-image img,
.lb-tip-card:hover .lb-tip-image svg {
    transform: scale(1.05);
}

.lb-tip-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lb-tip-expert-name {
    font-size: 18px;
    font-weight: 600;
    color: #191970; /* Dunkelblau wie experts */
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.lb-tip-expert-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lb-tip-expert-name a:hover {
    color: #4B0082; /* Dunkelviolett beim Hover */
    text-decoration: none;
}

.lb-tip-quote {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
    font-style: italic;
}

.lb-tip-quote:before {
    content: '"';
    font-size: 16px;
    color: #999;
}

.lb-tip-quote:after {
    content: '"';
    font-size: 16px;
    color: #999;
}

.lb-tip-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}

.lb-tip-profile-link {
    color: #4B0082; /* Dunkelviolett wie experts */
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lb-tip-profile-link:hover {
    color: #191970; /* Dunkelblau beim Hover */
    text-decoration: none;
}

/* === RESPONSIVE === */

/* Laptop: 3 Spalten */
@media (max-width: 1366px) {
    .lb-tips-archive-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 25px;
    }
    
    .lb-banner-container.lb-banner-1x2 {
        grid-column: span 1;
        grid-row: span 1;
        height: 360px; /* Gleiche Höhe wie Tip-Cards */
    }
}

/* Tablet: 2 Spalten */
@media (max-width: 1024px) {
    .lb-tips-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
    
    .lb-tip-card {
        height: 360px; /* Feste Höhe für alle Cards */
    }
    
    .lb-tip-image {
        height: 160px; /* Feste Höhe für alle Bilder */
        min-height: 160px;
        max-height: 160px;
    }
    
    .lb-tip-image img, .lb-tip-image svg {
        height: 160px; /* Feste Höhe für alle Bilder */
        min-height: 160px;
        max-height: 160px;
    }
    
    .lb-tip-content {
        padding: 16px;
    }
}

/* Mobile: 1 Spalte */
@media (max-width: 768px) {
    .lb-tips-archive-grid {
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }
    
    .lb-banner-container.lb-banner-1x2 {
        grid-column: span 1;
        grid-row: span 1;
        height: 340px; /* Gleiche Höhe wie Tip-Cards */
    }
    
    .lb-tip-card {
        height: 340px; /* Feste Höhe für alle Cards */
    }
    
    .lb-tip-image {
        height: 160px; /* Feste Höhe für alle Bilder */
        min-height: 160px;
        max-height: 160px;
    }
    
    .lb-tip-image img, .lb-tip-image svg {
        height: 160px; /* Feste Höhe für alle Bilder */
        min-height: 160px;
        max-height: 160px;
    }
    
    .lb-tip-content {
        padding: 14px;
    }
    
    .lb-tip-expert-name {
        font-size: 15px;
    }
    
    .lb-tip-category-overlay {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* === PAGINATION === */
.lb-pagination-wrapper {
    text-align: center;
    margin: 40px 0;
}

.lb-pagination-wrapper .page-numbers {
    display: inline-flex;
    margin: 0 5px;
    padding: 8px 12px;
    background: transparent;
    color: #191970;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lb-pagination-wrapper a.page-numbers:hover,
.lb-pagination-wrapper span.page-numbers.current {
    background: #191970;
    color: white;
}

/* === LOAD MORE BUTTON === */
.lb-load-more-wrapper {
    text-align: center;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.lb-load-more-button {
    background: #191970; /* Dunkelblau wie Profile Button */
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 25px; /* Runde Ecken wie Profile Button */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 25, 112, 0.3);
}

.lb-load-more-button:hover {
    background: #4B0082; /* Dunkleres Violett beim Hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 0, 130, 0.4);
}

.lb-load-more-button:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lb-load-more-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

.lb-load-more-info {
    font-size: 14px;
    color: #666;
}

.lb-load-more-info .lb-loaded-count,
.lb-load-more-info .lb-total-count {
    font-weight: 600;
    color: #191970;
}

/* Loading Animation */
.lb-load-more-button.lb-loading {
    position: relative;
    pointer-events: none;
}

.lb-load-more-button.lb-loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: lb-spin 0.8s linear infinite;
}

@keyframes lb-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Grid Loading State */
.lb-tips-archive-grid.lb-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Pagination Loading State */
.lb-pagination-wrapper.lb-loading {
    opacity: 0.6;
    pointer-events: none;
}

