/* News System Styles - Angebote */
/* Layout wie im Screenshot: Bild links/rechts, Text-Block mit grauem Hintergrund */

.news-list {
    padding: var(--spacing-xl, 4rem) 0;
    background-color: var(--color-white, #ffffff);
    min-height: 60vh;
}

.news-list-title {
    font-family: var(--font-headline, 'Spectral', serif);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--color-dark, #222222);
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* News Card Styles - Layout wie Screenshot */
.news-card {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    margin: 10vh auto;
}

.news-card-reverse {
    flex-direction: row-reverse;
}

.news-card-image-wrapper {
    flex: 0 0 50%;
    width: 50%;
    overflow: hidden;
    position: relative;
}

.news-card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    flex: 0 0 50%;
    width: 50%;
    background: var(--color-primary, #616363);
    position: relative;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
}

.news-card-content-inner {
    width: 100%;
    max-width: 500px;
}

.news-card-title {
    font-family: var(--font-headline, 'Spectral', serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white, #ffffff);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.news-card-details {
    background: var(--color-white, #ffffff);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.news-card-period,
.news-card-price {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.news-card-period:last-child,
.news-card-price:last-child {
    margin-bottom: 0;
}

.news-card-value {
    color: var(--color-dark, #222222);
    font-weight: 500;
    display: block;
}

.news-card-price .news-card-value {
    color: var(--color-secondary, #8b7355);
    font-size: 1.25rem;
    font-weight: 600;
}

.news-card-teaser {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text, #555555);
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-card-link {
    display: inline-block;
    color: var(--color-white, #ffffff);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    font-family: var(--font-body, 'Commissioner', sans-serif);
}

.news-card-link:hover {
    opacity: 0.8;
}

.news-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text, #666666);
    font-size: 1.125rem;
    background: var(--color-white, #ffffff);
    border-radius: 8px;
}

/* News Detail Styles - Standard Template Override */
.news.news-single {
    padding: var(--spacing-xl, 4rem) 0;
    background-color: var(--color-white, #ffffff);
}

.news.news-single .article {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Titel oben mittig */
.news.news-single .header {
    margin-bottom: 2rem;
    text-align: center;
}

.news.news-single .header h1 {
    font-family: var(--font-headline, 'Spectral', serif);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--color-dark, #222222);
}

/* Zeitraum und Preis ohne Boxen, nur Werte */
.news.news-single .footer {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0 3rem 0;
    justify-content: center;
    background: transparent;
    padding: 0;
}

.news.news-single .footer p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

/* Datum komplett ausblenden */
.news.news-single .news-list-date {
    display: none !important;
}

/* "Created by" Text ausblenden, nur Author Name anzeigen */
.news.news-single .news-list-author {
    text-align: center;
    color: var(--color-dark, #222222);
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
}

/* "Created by" Text verstecken - alle Textknoten außer span verstecken */
.news.news-single .news-list-author {
    font-size: 0;
}

.news.news-single .news-list-author span[itemprop="name"] {
    font-size: 1.1rem;
    color: var(--color-dark, #222222);
    font-weight: 500;
    display: inline-block;
}

/* Wenn es mehrere Author-Elemente gibt, das erste ist Name, das zweite ist Email */
.news.news-single .footer p > .news-list-author:first-of-type span[itemprop="name"] {
    color: var(--color-dark, #222222);
    font-size: 1.1rem;
    font-weight: 500;
}

.news.news-single .footer p > .news-list-author:last-of-type span[itemprop="name"] {
    color: var(--color-secondary, #8b7355);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Teaser ausblenden */
.news.news-single .teaser-text {
    display: none;
}

/* Container für Text und Bild nebeneinander */
.news.news-single .article {
    position: relative;
}

/* Clearfix für Float-Layout */
.news.news-single .article::after {
    content: '';
    display: table;
    clear: both;
}

/* Text links, Bild rechts */
.news.news-single .news-text-wrap {
    float: left;
    width: calc(50% - 1.5rem);
    padding-right: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text, #333333);
    font-family: var(--font-body, 'Commissioner', sans-serif);
    margin: 2rem 0;
    box-sizing: border-box;
}

.news.news-single .news-img-wrap {
    float: right;
    width: calc(50% - 1.5rem);
    padding-left: 1.5rem;
    margin: 2rem 0;
    box-sizing: border-box;
}

.news.news-single .news-img-wrap .outer {
    width: 100%;
}

.news.news-single .mediaelement.mediaelement-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.news.news-single .mediaelement.mediaelement-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Duplikat entfernt - bereits oben definiert */

.news.news-single .news-text-wrap p {
    margin-bottom: 1.5rem;
}

.news.news-single .news-text-wrap h2,
.news.news-single .news-text-wrap h3,
.news.news-single .news-text-wrap h4 {
    font-family: var(--font-headline, 'Spectral', serif);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--color-dark, #222222);
    font-weight: 600;
}

.news.news-single .news-text-wrap h2 {
    font-size: 2rem;
}

.news.news-single .news-text-wrap h3 {
    font-size: 1.75rem;
}

.news.news-single .news-text-wrap h4 {
    font-size: 1.5rem;
}

.news.news-single .news-text-wrap ul,
.news.news-single .news-text-wrap ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news.news-single .news-text-wrap li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.news.news-single .news-text-wrap a {
    color: var(--color-secondary, #8b7355);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.news.news-single .news-text-wrap a:hover {
    color: var(--color-primary, #616363);
}

/* Backlink komplett ausblenden */
.news.news-single .news-backlink-wrap {
    display: none !important;
}

.news.news-single .news-related-wrap {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

/* Preis und Buchen Button Section ganz unten */
.news.news-single .news-bottom-section {
    margin-top: 4rem;
    padding-top: 0;
    text-align: left;
}

.news.news-single .news-price {
    margin-bottom: 2rem;
    text-align: left;
}

.news.news-single .news-price-value {
    font-family: var(--font-headline, 'Spectral', serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary, #8b7355);
    display: block;
}

.news.news-single .news-booking-button {
    margin-top: 1.5rem;
    text-align: left;
}

/* News Detail Styles - Angepasst für Layout-Struktur */
.news.news-single .news-detail {
    padding: var(--spacing-xl, 4rem) 0;
    background-color: var(--color-white, #ffffff);
}

.news.news-single .news-detail .container {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 2rem;
}

.news.news-single .news-article {
    max-width: 1200px;
    margin: 0 auto;
}

.news.news-single .news-article-header {
    margin-bottom: 2rem;
    padding-bottom: 0;
}

.news.news-single .news-article-title {
    font-family: var(--font-headline, 'Spectral', serif);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-dark, #222222);
}

.news.news-single .news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    background: var(--color-light-gray, #f5f5f5);
    padding: 2rem;
    border-radius: 8px;
    justify-content: space-around;
}

.news.news-single .news-article-period,
.news.news-single .news-article-price {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.news.news-single .news-article-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text, #666666);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-body, 'Commissioner', sans-serif);
}

.news.news-single .news-article-value {
    color: var(--color-dark, #222222);
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
}

.news.news-single .news-article-price .news-article-value {
    color: var(--color-secondary, #8b7355);
    font-size: 1.4rem;
    font-weight: 700;
}

.news.news-single .news-article-media {
    margin: 3rem 0;
}

.news.news-single .news-article-image {
    margin: 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.news.news-single .news-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news.news-single .news-article-image figcaption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text, #666666);
    font-style: italic;
    text-align: center;
    font-family: var(--font-body, 'Commissioner', sans-serif);
}

.news.news-single .news-article-body {
    margin: 2.5rem 0;
}

.news.news-single .news-article-teaser {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text, #555555);
    font-family: var(--font-body, 'Commissioner', sans-serif);
    font-style: italic;
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--color-light-gray, #f9f9f9);
    border-left: 4px solid var(--color-secondary, #8b7355);
    border-radius: 4px;
}

.news.news-single .news-article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text, #333333);
    font-family: var(--font-body, 'Commissioner', sans-serif);
    margin-top: 2.5rem;
}

.news.news-single .news-article-content p {
    margin-bottom: 1.5rem;
}

.news.news-single .news-article-content h2,
.news.news-single .news-article-content h3,
.news.news-single .news-article-content h4 {
    font-family: var(--font-headline, 'Spectral', serif);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--color-dark, #222222);
    font-weight: 600;
}

.news.news-single .news-article-content h2 {
    font-size: 2rem;
}

.news.news-single .news-article-content h3 {
    font-size: 1.75rem;
}

.news.news-single .news-article-content h4 {
    font-size: 1.5rem;
}

.news.news-single .news-article-content ul,
.news.news-single .news-article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news.news-single .news-article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.news.news-single .news-article-content a {
    color: var(--color-secondary, #8b7355);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.news.news-single .news-article-content a:hover {
    color: var(--color-primary, #616363);
}

.news-article-related {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.news-article-related h3 {
    font-family: var(--font-headline, 'Spectral', serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--color-dark, #222222);
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.news-related-item {
    background: var(--color-light-gray, #f9f9f9);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--color-light-gray, #f5f5f5);
}

.news-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-related-item:hover .news-related-image img {
    transform: scale(1.05);
}

.news-related-title {
    padding: 1.25rem;
    font-family: var(--font-headline, 'Spectral', serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.news-related-title a {
    color: var(--color-dark, #222222);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-related-title a:hover {
    color: var(--color-secondary, #8b7355);
}

/* News Article Buttons */
.news.news-single .news-article-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 3rem 0;
    flex-wrap: wrap;
}

.news.news-single .btn-news-book,
.news.news-single .btn-news-inquiry {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: var(--font-body, 'Commissioner', sans-serif);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.news.news-single .btn-news-book {
    background-color: var(--color-secondary, #8b7355);
    color: var(--color-white, #ffffff);
    border-color: var(--color-secondary, #8b7355);
}

.news.news-single .btn-news-book:hover {
    background-color: var(--color-primary, #616363);
    border-color: var(--color-primary, #616363);
    color: var(--color-white, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news.news-single .btn-news-inquiry {
    background-color: transparent;
    color: var(--color-secondary, #8b7355);
    border-color: var(--color-secondary, #8b7355);
}

.news.news-single .btn-news-inquiry:hover {
    background-color: var(--color-secondary, #8b7355);
    color: var(--color-white, #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary, #8b7355);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
    font-family: var(--font-body, 'Commissioner', sans-serif);
}

.news-back-link:hover {
    color: var(--color-primary, #616363);
    transform: translateX(-4px);
}

/* Pagination Styles */
.news-pagination {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-item {
    margin: 0;
}

.pagination-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-text, #666666);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: var(--font-body, 'Commissioner', sans-serif);
    font-weight: 500;
}

.pagination-link:hover {
    background: var(--color-light-gray, #f5f5f5);
    border-color: var(--color-secondary, #8b7355);
    color: var(--color-secondary, #8b7355);
}

.pagination-current {
    background: var(--color-secondary, #8b7355);
    color: var(--color-white, #ffffff);
    border-color: var(--color-secondary, #8b7355);
    cursor: default;
}

.pagination-current:hover {
    background: var(--color-secondary, #8b7355);
    color: var(--color-white, #ffffff);
}

/* Responsive Design */
@media (max-width: 968px) {
    .news-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-card-reverse {
        flex-direction: column;
    }
    
    .news-card-image-wrapper,
    .news-card-content {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .news-card-image-wrapper {
        height: 400px;
    }
    
    .news-card-content {
        padding: 3rem 2rem;
    }
    
    .news-card-title {
        font-size: 2rem;
    }

    /* News Detail Responsive */
    .news.news-single .article {
        max-width: 90%;
        padding: 0 1.5rem;
    }

    .news.news-single .news-text-wrap,
    .news.news-single .news-img-wrap {
        float: none;
        width: 100%;
        padding: 0;
        margin: 2rem 0;
    }
}

@media (max-width: 968px) {
    .news-detail .container {
        max-width: 90%;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .news-list {
        padding: var(--spacing-lg, 3rem) 0;
    }
    
    .news-list-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .news-grid {
        max-width: 90%;
        padding: 0 1rem;
    }
    
    .news-card-content {
        padding: 2rem 1.5rem;
    }
    
    .news-card-title {
        font-size: 1.75rem;
    }
    
    .news-card-image-wrapper {
        height: 300px;
    }
    
    .news-detail .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .news-article-title {
        font-size: 2rem;
    }
    
    .news-article-meta {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .news-related-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-list {
        justify-content: center;
    }

    /* News Detail Mobile */
    .news.news-single .article {
        max-width: 100%;
        padding: 0 1rem;
    }

    .news.news-single .header h1 {
        font-size: 2rem;
    }

    .news.news-single .news-text-wrap,
    .news.news-single .news-img-wrap {
        float: none;
        width: 100%;
        padding: 0;
        margin: 1.5rem 0;
    }

    .news.news-single .news-bottom-section {
        margin-top: 3rem;
        padding-top: 0;
        text-align: left;
    }

    .news.news-single .news-price-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .news-card-content {
        padding: 1.5rem 1rem;
    }
    
    .news-card-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .news-card-details {
        padding: 1.5rem;
    }
    
    .news-article-title {
        font-size: 1.75rem;
    }
    
    .news-article-content {
        font-size: 1rem;
    }

    /* News Detail Small Mobile */
    .news.news-single .header h1 {
        font-size: 1.75rem;
    }

    .news.news-single .news-text-wrap {
        font-size: 1rem;
    }

    .news.news-single .news-price-value {
        font-size: 1.5rem;
    }
}
