/* CSS Document */


.news-section{
	width: calc(100% - 40px);
    max-width: 1000px;
    background-color: white;
    margin-top: 70px;
	padding: 0 20px;
}

.news-section h1{
	/*padding: 0px 20px;*/
}

.news-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    /*padding: 0 20px;*/
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-entry {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.news-text {
    flex: 1;
    min-width: 0;
}

.news-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0f5a88;
    text-decoration: none;
    margin-bottom: 5px;
    display: inline-block;
}

.news-title:hover {
    text-decoration: underline;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 8px;
}

.news-teaser {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.news-image-wrapper {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    overflow: hidden;
    border-radius: 6px;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsiv */
@media (max-width: 768px) {
    .news-entry {
        flex-direction: column;
    }

    .news-image-wrapper {
        width: 100%;
        height: auto;
    }

    .news-image {
        height: auto;
    }
}



.news-hero-container {
        width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    top: 70px;
}

.news-hero-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-hero-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #fff 100%);
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0; right: 0;
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    pointer-events: none;
}

.news-hero-content {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    pointer-events: all;
	width: 100%;
}

.news-hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.news-teaser {
    font-style: italic;
    color: #444;
    margin-top: 10px;
}

.news-date {
    font-size: 0.9rem;
    color: #777;
}

.news-detail-content {
    padding: 30px 20px;
    background: #fff;
}

.news-content {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.back-to-news {
        position: absolute;
    left: 20px;
    top: 20px;
    display: inline-block;
    padding: 10px 15px;
    background-color: #0f5a88;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    z-index: 10;
}

.back-to-news:hover {
    background-color: #083a5c;
}

/* Mobilanpassung */
@media (max-width: 768px) {
    .news-hero-image {
        height: 280px;
    }

    .news-hero-overlay {
        height: 280px;
        padding: 20px 10px;
    }

    .news-hero-content {
        padding: 15px;
    }

    .news-hero-content h1 {
        font-size: 1.5rem;
    }
}
