/* Base Styles */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Archive Styling - Premium Look */
.vereinsnews-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.vereinsnews-archive article {
    background: rgba(255, 255, 255, 0.7); /* Leichtes weißes Overlay (Anpassbar) */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 2px solid #000000;
}

.vereinsnews-archive article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.vereinsnews-archive .post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.vereinsnews-archive .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vereinsnews-archive article:hover .post-thumbnail img {
    transform: scale(1.05);
}

.vereinsnews-archive h2 {
    margin: 20px 20px 10px;
    font-size: 1.4rem;
}

.vereinsnews-archive h2 a {
    color: #222;
    text-decoration: none;
}

.vereinsnews-archive .entry-excerpt {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}

.social-share span {
    font-size: 0.9rem;
    color: #666;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f3f3;
    color: #555;
    transition: all 0.3s ease;
}

.social-share a:hover {
    transform: translateY(-2px);
}

.social-share svg {
    width: 18px;
    height: 18px;
}

.share-facebook:hover {
    background: #3b5998;
    color: white;
}

.share-twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-linkedin:hover {
    background: #0077b5;
    color: white;
}

/* Filter Dropdown */
.jahrgang-filter {
    margin: 30px 0;
    text-align: center;
}

.jahrgang-filter select {
    padding: 12px 20px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
    min-width: 250px;
}

.main-content h1 {  /* oder eine spezifischere Klasse falls vorhanden */
    color: #fff !important;
}
.single-vereinsnews .entry-title {
    color: #fff !important;
}
.social-share span {
    color: #fff !important;
}
/* Single News Styling */
.single-vereinsnews .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.single-vereinsnews .entry-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.single-vereinsnews .featured-image {
    margin: 0 auto 40px;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.single-vereinsnews .entry-content {
    max-width: 800px;
    margin: 0 auto;
	padding: 15px;
    line-height: 1.8;
    font-size: 1.1rem;
	color: #000000;
	background: rgba(255, 255, 255, 0.7); /* Leichtes weißes Overlay (Anpassbar) */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid #000000;
}

/* Hashtag Style Categories */
.post-jahrgaenge {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    justify-content: center;
}

.post-jahrgaenge a {
    display: inline-block;
    padding: 8px 15px;
    background: #f3f3f3;
    color: #444;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-jahrgaenge a:hover {
    background: #0066cc;
    color: white;
}

/* Gallery Slider */
.additional-images {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 40px 0;
}

.additional-images::-webkit-scrollbar {
    height: 8px;
}

.additional-images::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.additional-images::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.additional-images::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.additional-images img {
    scroll-snap-align: start;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.additional-images img:hover {
    transform: scale(1.05);
}

/* Lightbox Overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.pagination .page-numbers {
    padding: 10px 18px;
    margin: 0 5px;
    border-radius: 5px;
    background: #f3f3f3;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #0066cc;
    color: white;
}