.news-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-layout .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin: 0 -15px;
}

.news-layout .news-item {
    background: #fff;
   /* border: 1px solid #eee;
    transition: box-shadow 0.3s ease;*/
}

.news-layout .news-item:hover {
  /*  box-shadow: 0 5px 15px rgba(0,0,0,0.1);*/
}

/* Anpassungen für Items ohne Bild */
.news-layout .news-item.no-image .item-content {
    padding-top: 20px;
}


.news-layout .item-media {
    position: relative;
}

.news-layout .item-image {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.news-layout .item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-layout .category-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #fff;
    padding: 2px 8px;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid #000;
    z-index: 2;
}

.news-layout .item-content {
    padding: 20px;
}

.news-layout .article-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/*.news-layout .article-title a {
    color: #333;
    text-decoration: none;
}

.news-layout .article-title a:hover {
    color: #666;
}*/

.news-layout .article-meta {
    color: #666;
    margin-bottom: 15px;
    font-size: 10px;
    text-transform: uppercase;
}

.news-layout .article-meta .author {
    font-weight: bold;
}

/*.news-layout .article-meta span:not(:last-child):after {
    content: " | ";
    margin: 0 5px;
}
*/
.news-layout .article-intro {
    color: #666;
    line-height: 1.5;
    margin-top: 15px;
    font-size: 14px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .news-layout .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .news-layout .news-grid {
        grid-template-columns: 1fr;
    }
}