/* Modernes Magazin-Layout für News */

.btn-news-ghost, .btn-news-ghost-sm {
    background: transparent;
    color: #ffd13b;
    border: 1.2px solid #ffd13b;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: none;
    transition: background 0.16s, color 0.16s, border 0.16s;
    opacity: 0.75;
    padding: 8px 22px;
    font-size: 1.04rem;
    margin-left: 0.5em;
}
.btn-news-ghost-sm {
    padding: 5px 15px;
    font-size: 0.98rem;
}
.btn-news-ghost:hover, .btn-news-ghost-sm:hover {
    background: #ffd13b11;
    color: #fffbe6;
    border-color: #ffd13b;
    opacity: 1;
    text-decoration: none;
}
.news-magazine-date--gold {
    color: #ffd13b;
    font-weight: 700;
    font-size: 1.12rem;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.news-magazine-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 18px 0 40px 0;
}

/* Entfernt Link-Unterstreichungen und Blautöne in News-Cards und Content */
.news-magazine-card-link,
.news-magazine-card-link:visited,
.news-magazine-card-link:active {
    text-decoration: none !important;
    color: inherit !important;
}

/* Kategorie-Badge für News */
.news-badge {
    position: absolute;
    top: 4px;
    left: -38px;
    min-width: 145px;
    padding: 7px 32px;
    font-size: 0.89rem;
    font-family: 'Oswald', 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #fff;
    background: #333;
    border-radius: 6px;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.18);
    transform: rotate(-18deg);
    z-index: 3;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.11);
    border: 2.5px solid rgba(255,255,255,0.12);
    user-select: none;
    pointer-events: none;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.badge-update    { background: #e53935; }
.badge-info      { background: #40bfff; color: #fff; }
.badge-event     { background: linear-gradient(90deg,#ffd700 60%,#ffb300 100%); color: #222; text-shadow: none; }
.badge-news      { background: #111; color: #fff; }

@media (max-width: 800px) {
    .news-badge {
        font-size: 0.93rem;
        min-width: 82px;
        padding: 5px 12px;
        top: 4px;
        left: -18px;
        padding-left: 8px;
    }
}

.news-magazine-card-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}
.news-magazine-text a,
.news-detail-text a {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: none !important;
}
.news-magazine-text strong,
.news-detail-text strong {
    color: #ffd13b;
    font-weight: 700;
    text-shadow: 0 1px 4px #0005;
}

.news-magazine-card {
    display: flex;
    flex-direction: row;
    background: rgba(20, 22, 26, 0.692); /* wie .content-section */
    border-radius: 12px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.45);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 180px;
}
.news-magazine-card:hover {
    transform: translateY(-3px) scale(1.012);
    box-shadow: 0 8px 32px 0 rgba(255,180,50,0.15), 0 2px 8px 0 rgba(0,0,0,0.25);
}

.news-magazine-img-wrap {
    flex: 0 0 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1814;
    min-height: 180px;
    max-width: 240px;
    overflow: hidden;
}
.news-magazine-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0 0 0 0;
    background: #222;
}
.news-magazine-img--placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #bfa14a;
    background: #28231a;
}

.news-magazine-content {
    flex: 1 1 auto;
    padding: 32px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-magazine-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffd13b;
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.news-magazine-text {
    color: #f7f7f7;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 16px;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.news-magazine-meta {
    font-size: 0.95rem;
    color: #bfa14a;
    display: flex;
    gap: 22px;
    align-items: center;
}
.news-magazine-date i,
.news-magazine-author i {
    margin-right: 5px;
}
@media (max-width: 800px) {
    .news-magazine-card {
        flex-direction: column;
        min-height: unset;
    }
    .news-magazine-img-wrap {
        max-width: 100%;
        min-height: 140px;
    }
    .news-magazine-img,
    .news-magazine-img--placeholder {
        height: 140px;
    }
    .news-magazine-content {
        padding: 18px 14px 14px 14px;
    }
    .news-magazine-title {
        font-size: 1.1rem;
    }
}

/* === Detailansicht für einzelne News (news_detail.php) === */
.news-detail-section {
    margin: 40px 0 60px 0;
}
.news-detail-card {
    background: rgba(30, 25, 20, 0.97);
    border-radius: 14px;
    box-shadow: 0 6px 32px 0 rgba(0,0,0,0.50);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 820px;
    margin: 0 auto 30px auto;
    border: 1px solid rgba(255,255,255,0.08);
}
.news-detail-img-wrap {
    width: 100%;
    height: 340px;
    background: #1a1814;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.news-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    background: #222;
}
.news-detail-content {
    padding: 36px 36px 32px 36px;
    display: flex;
    flex-direction: column;
}
.news-detail-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffd13b;
    margin: 0 0 18px 0;
    line-height: 1.12;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.16);
}
.news-detail-meta {
    font-size: 1.05rem;
    color: #bfa14a;
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 18px;
}
.news-detail-date i,
.news-detail-author i {
    margin-right: 6px;
}
.news-detail-text {
    color: #f7f7f7;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 16px;
    white-space: pre-line;
    word-break: break-word;
}
@media (max-width: 900px) {
    .news-detail-card {
        max-width: 98vw;
    }
    .news-detail-content {
        padding: 18px 10px 18px 10px;
    }
    .news-detail-img-wrap {
        height: 180px;
    }
    .news-detail-title {
        font-size: 1.3rem;
    }
}
.btn.btn-secondary {
    display: inline-block;
    margin-top: 18px;
}

