/* 
 * Laufhaus Erospark Karlsruhe - News/Blog System
 * Modern Red-Black Theme - Optimierte Styles
 */

/* Hero Section */
.news-hero,
.article-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    margin-top: 70px; /* Account for fixed header */
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--background-darker);
}

.news-hero .hero-image,
.article-header .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.news-hero .hero-image img,
.article-header .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.5);
    transition: transform 10s ease;
}

.news-hero:hover .hero-image img,
.article-header:hover .hero-image img {
    transform: scale(1.05);
}

.news-hero .hero-overlay,
.article-header .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.8)
    );
    z-index: 2;
}

.news-hero .hero-content,
.article-header .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 1s ease-out forwards 0.5s;
}

@keyframes fadeUpIn {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Info Cards */
.news-info-grid {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    z-index: 4;
}

.news-info-card {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-accent);
    border-radius: 5px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.8s ease-out forwards;
}

.news-info-card:nth-child(1) {
    animation-delay: 0.6s;
}

.news-info-card:nth-child(2) {
    animation-delay: 0.8s;
}

.news-info-card:nth-child(3) {
    animation-delay: 1s;
}

.news-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.news-info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.news-info-card:hover .news-info-icon {
    transform: scale(1.2);
}

.news-info-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.news-info-text {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Search Section */
.search-section {
    padding: 2rem 0;
    background: linear-gradient(to bottom, rgba(10, 0, 0, 0.9), var(--background-dark));
    border-bottom: 1px solid var(--border-accent);
    position: relative;
    overflow: hidden;
}

.search-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cpath d='M0,0 L50,50 M50,0 L0,50' stroke='%23ff0000' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.search-form {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-input-container.focused {
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.search-input-container.error {
    animation: shakeError 0.5s ease-in-out;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.search-input-container input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.3);
}

.search-input-container button {
    position: absolute;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.search-input-container button:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: scale(1.1);
}

.search-error {
    position: absolute;
    bottom: -30px;
    left: 10px;
    color: var(--primary-color);
    font-size: 0.85rem;
    background: rgba(255, 0, 0, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

/* Featured Articles Section */
.featured-articles-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--background-dark), rgba(20, 0, 0, 0.9));
    position: relative;
    overflow: hidden;
}

.featured-articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0,0 L60,60 M60,0 L0,60' stroke='%23ff0000' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.featured-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2.5rem;
    margin-top: 3rem;
}

.featured-article {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 300px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-light);
    opacity: 0;
    transform: translateY(30px);
}

.featured-article.fade-in-element {
    opacity: 1;
    transform: translateY(0);
}

.featured-article:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--border-accent);
}

.featured-article-large {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 450px;
}

.featured-article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-article:hover .featured-article-image img {
    transform: scale(1.05);
}

.featured-article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.featured-article-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.featured-article-large .article-title {
    font-size: 2.2rem;
}

.article-title a {
    color: var(--text-light);
    text-decoration: none;
    background: linear-gradient(90deg, var(--text-light), var(--primary-color));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.article-title a:hover {
    color: var(--primary-color);
    background-size: 100% 2px;
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.article-date, 
.article-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-date i, 
.article-reading-time i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.featured-article:hover .article-date i,
.featured-article:hover .article-reading-time i {
    transform: translateY(-2px);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-light);
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* Main Content Section */
.news-content-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, rgba(10, 0, 0, 0.9), var(--background-dark));
    position: relative;
}

.news-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cpath d='M0,0 L50,50 M50,0 L0,50' stroke='%23ff0000' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.news-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.articles-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.articles-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Filter Info */
.filter-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(20px);
}

.filter-info.fade-in-element {
    opacity: 1;
    transform: translateY(0);
}

.filter-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-info h2 i {
    color: var(--primary-color);
}

.filter-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.clear-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 0, 0, 0.1);
}

.clear-filter i {
    font-size: 0.8rem;
}

.clear-filter:hover {
    color: var(--text-light);
    background: rgba(255, 0, 0, 0.2);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    opacity: 0;
    transform: translateY(30px);
}

.article-card.fade-in-element {
    opacity: 1;
    transform: translateY(0);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--border-accent);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-image .article-category {
    position: absolute;
    top: 15px;
    right: 25px;
    margin-bottom: 0;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(0, 0, 0, 0.3) 0%,
                transparent 30%,
                transparent 60%,
                rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.article-card:hover .article-image::before {
    opacity: 1;
}

.article-content {
    /*padding: 1.8rem;*/
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-content .article-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.article-content .article-excerpt {
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.article-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-accent);
}

.author-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.article-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.article-info i {
    color: var(--primary-color);
}

.read-more-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 1.5rem;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
    z-index: -1;
}

.read-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.read-more-btn:hover::before {
    left: 100%;
}

/* No Articles */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.no-articles i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-articles h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.no-articles p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

.pagination-item.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.pagination-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.pagination-item.prev,
.pagination-item.next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

/* News Sidebar */
.news-sidebar {
    margin-top: 2rem;
}

.sidebar-widget {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.sidebar-widget.fade-in-element {
    opacity: 1;
    transform: translateY(0);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-strong);
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 0.75rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.sidebar-widget:hover .widget-title::after {
    width: 70px;
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-list a i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.category-list .count {
    background: rgba(255, 0, 0, 0.2);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list li.active a {
    background: rgba(255, 0, 0, 0.1);
    color: var(--text-light);
    padding-left: 1.25rem;
}

.category-list a:hover i,
.category-list li.active a i {
    transform: translateX(3px);
}

.category-list a:hover .count,
.category-list li.active a .count {
    background: var(--primary-color);
    color: white;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover,
.tag.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Newsletter Widget */
.newsletter-form-widget .newsletter-interests {
                    margin-top: 1rem;
                }
                
                .newsletter-form-widget .interest-options {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 0.5rem;
                }
                
                .newsletter-form-widget .interest-options label {
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    cursor: pointer;
                    color: var(--text-muted);
                    transition: all 0.3s ease;
                }
                
                .newsletter-form-widget .interest-options label:hover {
                    color: var(--text-light);
                }
                
                .newsletter-form-widget .interest-options input[type="checkbox"] {
                    appearance: none;
                    width: 18px;
                    height: 18px;
                    border: 2px solid var(--border-light);
                    border-radius: 4px;
                    outline: none;
                    transition: all 0.3s ease;
                    position: relative;
                }
                
                .newsletter-form-widget .interest-options input[type="checkbox"]:checked {
                    background-color: var(--primary-color);
                    border-color: var(--primary-color);
                }
                
                .newsletter-form-widget .interest-options input[type="checkbox"]:checked::after {
                    content: '✔';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    color: white;
                    font-size: 12px;
                }
                
                .newsletter-form-widget button {
                    width: 100%;
                    padding: 0.85rem 1rem;
                    background: var(--primary-color);
                    color: white;
                    border: none;
                    border-radius: 5px;
                    font-weight: 600;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 0.5rem;
                    margin-top: 1rem;
                }
                
                .newsletter-form-widget button:hover {
                    background: var(--secondary-color);
                    transform: translateY(-3px);
                    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
                }
                
                .newsletter-message {
                    margin-top: 1rem;
                    padding: 0.7rem 1rem;
                    border-radius: 5px;
                    font-size: 0.9rem;
                    display: flex;
                    align-items: center;
                    gap: 0.5rem;
                    transition: all 0.3s ease;
                }
                
                .newsletter-message.error {
                    background: rgba(255, 0, 0, 0.1);
                    color: var(--primary-color);
                }
                
                .newsletter-message.success {
                    background: rgba(0, 255, 0, 0.1);
                    color: #00cc00;
                }
                
                .newsletter-message i {
                    font-size: 1.2rem;
                }

/* Contact Widget */
.contact-widget {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(20, 0, 0, 0.9));
}

.contact-widget p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.contact-item a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--text-light);
}

.contact-address {
    color: var(--text-muted);
    font-style: normal;
}

/* Popular Articles Widget */
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.popular-article {
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.popular-article:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateX(5px);
}

.popular-article-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.popular-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-article:hover .popular-article-image img {
    transform: scale(1.1);
}

.popular-category {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.popular-article-content {
    padding: 0.5rem 0.5rem 0.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popular-article-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.popular-article-content h4 a {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.popular-article-content h4 a:hover {
    color: var(--primary-color);
}

.popular-date {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popular-date i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

/* Article Detail Page */
.article-header {
    height: auto;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 3rem;
    background: var(--background-darker);
    position: relative;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-header .article-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.article-author-info {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.article-author-info:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--border-accent);
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.author-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-author-info:hover .author-image img {
    transform: scale(1.1);
}

.author-details {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    display: block;
    font-size: 1.1rem;
}

.author-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.article-featured-image {
    max-height: 600px;
    overflow: hidden;
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.article-featured-image:hover img {
    transform: scale(1.05);
}

.article-body {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 0.5rem;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1.25rem;
    color: var(--text-light);
}

.article-body ul, 
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(255, 0, 0, 0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.article-body a:hover {
    color: var(--text-light);
    text-decoration-color: var(--text-light);
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
    background: rgba(255, 0, 0, 0.05);
    border-radius: 0 5px 5px 0;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tags-label i {
    color: var(--primary-color);
}

.tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    flex-wrap: wrap;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.article-share:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--border-accent);
}

.share-label {
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-label i {
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.share-button.facebook {
    background: #3b5998;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.whatsapp {
    background: #25d366;
}

.share-button.email {
    background: #7d7d7d;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.share-button.clicked {
    transform: scale(0.9);
}

/* Article Gallery */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.article-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.article-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* Lightbox Styles */
.article-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.article-lightbox.active {
    display: flex;
}

.article-lightbox .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.article-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--text-light);
    padding: 10px;
    font-size: 1rem;
}

.article-lightbox .lightbox-close,
.article-lightbox .lightbox-prev,
.article-lightbox .lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.article-lightbox .lightbox-close {
    top: 20px;
    right: 20px;
}

.article-lightbox .lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.article-lightbox .lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.article-lightbox .lightbox-close:hover,
.article-lightbox .lightbox-prev:hover,
.article-lightbox .lightbox-next:hover {
    background: var(--primary-color);
    transform: rotate(0deg) scale(1.1);
}

.article-lightbox .lightbox-close:hover {
    transform: rotate(90deg);
}

.article-lightbox .lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.article-lightbox .lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Related Articles Section */
.related-articles-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--background-dark), rgba(20, 0, 0, 0.9));
    position: relative;
}

.related-articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cpath d='M0,0 L50,50 M50,0 L0,50' stroke='%23ff0000' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* View All News Button */
.view-all-btn {
    display: block;
    margin: 4rem auto 0;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    transition: all 0.5s ease;
    text-decoration: none;
    max-width: 260px;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.view-all-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.view-all-btn:hover {
    background-position: right center;
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .article-header .article-title {
        font-size: 2.5rem;
    }
    
    .news-content-layout {
        grid-template-columns: 1.5fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .news-content-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article {
        height: 350px;
    }
    
    .article-header .article-title {
        font-size: 2rem;
    }
    
    .breadcrumbs {
        display: none;
    }
    
    .news-info-grid {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        grid-template-columns: repeat(3, 1fr);
        margin: 2rem auto;
        padding: 0 2rem;
    }
    
    .news-hero, .article-header {
        min-height: auto;
        height: auto;
        padding: 6rem 0 2rem;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
	
    
    .article-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .article-author-info {
        /*flex-direction: column;*/
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .news-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-info-card {
        display: grid;
        grid-template-columns: auto 1fr;
        text-align: left;
        padding: 1.2rem;
        align-items: center;
        gap: 1rem;
    }
    
    .news-hero .hero-content, 
    .article-header .hero-content {
        padding: 1rem;
    }
    
    .article-gallery {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .filter-info {
        padding: 1rem;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .article-header .article-title {
        font-size: 1.8rem;
    }
    
    .article-header .article-excerpt {
        font-size: 0.9rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.3rem;
    }
    
    .pagination-item.prev,
    .pagination-item.next {
        display: none;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .article-gallery {
        gap: 0.5rem;
    }
    
    .article-gallery img {
        height: 150px;
    }
    
    .lightbox-prev, .lightbox-next {
        display: none !important;
    }
    
    .news-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .news-hero .hero-text {
        font-size: 0.9rem;
    }
    
    .sidebar-widget {
        padding: 1.2rem;
    }
    
    .search-input-container input {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .news-info-icon {
        font-size: 2rem;
    }
    
    .news-info-title {
        font-size: 1.2rem;
    }
    
    .news-info-text {
        font-size: 0.85rem;
    }
}

/* Fix für die Hero Section auf mobilen Geräten */
@media (max-width: 992px) {
    .news-hero .hero-content {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .news-hero, .article-header {
        display: block;
        height: auto;
    }
    
    .news-hero .hero-image, 
    .article-header .hero-image {
        position: absolute;
    }
    
    .news-info-grid {
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .news-info-card {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Anpassungen für sehr kleine Geräte */
@media (max-width: 380px) {
    .news-info-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .news-info-icon {
        margin-bottom: 0.5rem;
    }
    
    .article-author-info {
        padding: 1rem;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
    
    .article-category {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .search-input-container button {
        font-size: 1rem;
    }
    
    .article-lightbox .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* Dark Mode Optimizations */
@media (prefers-color-scheme: dark) {
    .article-lightbox {
        background: rgba(0, 0, 0, 0.95);
    }
}
/* CSS für Girl-Ankündigungen - zu Ihrer bestehenden CSS-Datei hinzufügen */

/* Spezielle Karte für Girls in der News-Übersicht */
.article-card.girl-announcement {
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card.girl-announcement:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.article-card.girl-announcement::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 70%, rgba(255, 0, 0, 0.1) 70%);
    z-index: 1;
}

.article-card.girl-announcement .article-image::after {
    content: '\f004';  /* heart icon */
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
    z-index: 2;
    animation: pulse 2s infinite;
}

/* Girl-Announcement-Abzeichen */
.girl-announcement-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    transform: rotate(45deg);
    z-index: 3;
}

/* Profilkarte auf der Detailseite */
.girl-announcement-profile {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 5px;
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-soft);
}

.girl-announcement-profile h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.girl-profile-card {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.girl-profile-image {
    flex: 0 0 250px;
    max-width: 250px;
}

.girl-profile-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    aspect-ratio: 3/4;
    transition: transform 0.3s ease;
}

.girl-profile-card:hover .girl-profile-image img {
    transform: scale(1.05);
}

.girl-profile-details {
    flex: 1;
    min-width: 300px;
}

.girl-profile-actions {
    margin-top: 1.5rem;
    text-align: center;
}

/* Animationen */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .girl-profile-image {
        flex: 0 0 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .girl-profile-details {
        text-align: center;
    }
}
