html {
    font-size: 16px;
}

p {
    font-weight: inherit !important;    
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Scoped Reset - Only for Events Section */
.bau-events-main-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bau-events-main-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
    padding: 8rem 5% 5rem;
    background: #f8f9fa;
}

.bau-events-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bau-events-section-title {
    font-size: 40px;
    font-weight: 900;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.bau-events-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff7b00, #ff9a00);
    border-radius: 2px;
}

.bau-events-timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.bau-events-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #ff7b00, #ff9a00);
}

.bau-events-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    animation: bauEventsFadeIn 0.6s ease both;
}

.bau-events-item:nth-child(even) {
    flex-direction: row-reverse;
}

.bau-events-date-wrapper {
    flex: 1;
    text-align: right;
    padding-right: 3rem;
}

.bau-events-item:nth-child(even) .bau-events-date-wrapper {
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
}

.bau-events-date-number {
    font-size: 3rem;
    font-weight: 900;
    color: #ff7b00;
    line-height: 1;
}

.bau-events-date-month {
    font-size: 1.2rem;
    color: #666;
}

.bau-events-content-wrapper {
    flex: 1;
    padding-left: 3rem;
    position: relative;
}

.bau-events-item:nth-child(even) .bau-events-content-wrapper {
    padding-right: 3rem;
    padding-left: 0;
}

.bau-events-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ff7b00;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.bau-events-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.bau-events-thumbnail {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.bau-events-thumbnail-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.bau-events-thumbnail-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bau-events-thumbnail-placeholder::before {
    content: '';
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23ff7b00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}

.bau-events-info {
    flex: 1;
}

.bau-events-info h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.bau-events-info p {
    color: #666;
    margin-bottom: 1rem;
}

.bau-events-timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff7b00;
    border: 4px solid white;
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 1;
}

.bau-events-load-more-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.bau-events-btn-load-more {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 13px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.bau-events-btn-load-more:hover {
    border-color: #ff7b00;
    color: #ff7b00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.15);
    text-decoration: none;
}

.bau-events-news-link {
    color: #ff7b00;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.bau-events-news-link:hover {
    gap: 1rem;
    text-decoration: none;
}

@keyframes bauEventsFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .bau-events-timeline-line {
        display: none;
    }

    .bau-events-item {
        flex-direction: column !important;
    }

    .bau-events-date-wrapper {
        text-align: center !important;
        padding: 0 !important;
    }

    .bau-events-content-wrapper {
        padding: 1rem 0 !important;
    }

    .bau-events-thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
}

/* ========================================
   News Section - Aktuelles
   ======================================== */

.bau-news-section {
    padding: 4rem 5%;
    background: white;
    font-size: 16px;
}

.bau-news-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bau-news-section-title {
    font-size: 40px;
    font-weight: 900;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.bau-news-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff7b00, #ff9a00);
    border-radius: 2px;
}

/* Filter Tabs */
.bau-news-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.bau-news-filter-tab {
    padding: 0.5rem 1.5rem;
    background: #f0f0f0;
    color: #3b3b3b;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 16px;
}

.bau-news-filter-tab.active,
.bau-news-filter-tab:hover {
    background: linear-gradient(135deg, #ff7b00, #ff9a00);
    color: white;
    transform: translateY(-2px);
}

/* News Grid */
.bau-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* News Card */
.bau-news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: bauNewsFadeIn 0.6s ease both;
    display: flex;
    flex-direction: column;
}

.bau-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* News Image */
.bau-news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.bau-news-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bau-news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bau-news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ed981a, #ff7b00);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(237, 152, 26, 0.3);
    z-index: 10;
}

/* News Content */
.bau-news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bau-news-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.bau-news-title {
    font-size: 21px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.bau-news-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 12.8px;
    flex: 1;
}

.bau-news-link {
    color: #ff7b00;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    align-self: flex-start;
}

.bau-news-link:hover {
    gap: 1rem;
    text-decoration: none;
}

/* Featured News */
.bau-news-featured {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border-radius: 15px;
}

.bau-news-featured .bau-news-image {
    flex: 1.2;
    min-height: 350px;
    height: auto;
}

.bau-news-featured .bau-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    /* background: linear-gradient(135deg, #ed981a 0%, #ff7b00 100%); */
    background: linear-gradient(to bottom right, #4c5860, rgba(76, 88, 97, 0.76)); 
}

.bau-news-featured .bau-news-title {
    font-size: 32px;
    color: white;
    margin-bottom: 12.8px;
}

.bau-news-featured .bau-news-date {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.bau-news-featured .bau-news-excerpt {
    color: rgba(255,255,255,0.95);
    font-size: 17.6px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.bau-news-featured .bau-news-link {
    color: white;
    /* background: rgba(255,255,255,0.25); */
    background: var(--bs-primary);
    padding: 0.7rem 1.8rem;
    border-radius: 25px;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.bau-news-featured .bau-news-link:hover {
    background: rgba(255,255,255,0.35);
    transform: translateX(5px);
    gap: 0.5rem;
}

/* Animation */
@keyframes bauNewsFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - News */
@media (max-width: 768px) {
    .bau-news-grid {
        grid-template-columns: 1fr;
    }

    .bau-news-featured {
        grid-column: span 1;
        flex-direction: column;
    }

    .bau-news-featured .bau-news-image {
        min-height: 200px;
        flex: none;
    }

    .bau-news-featured .bau-news-content {
        padding: 1.5rem;
    }

    .bau-news-featured .bau-news-title {
        font-size: 32px;
    }

    .bau-news-filter-tabs {
        gap: 0.5rem;
    }

    .bau-news-filter-tab {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}