/* Single Post Stílusok */
.news_single-post {
    color: #333;
    line-height: 1.8;
}

.news_post-header {
    margin-bottom: 40px;
    text-align: center;
}

.news_post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #777;
}

.news_post-date {
    display: flex;
    align-items: center;
}

.news_post-date::before {
    content: "\f133";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
}

.news_post-category {
    padding: 4px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
}

.news_post-title {
    font-size: 2.2rem;
    color: var(--green);
    margin-bottom: 30px;
    line-height: 1.3;
}

.news_post-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news_post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news_post-content {
    font-size: 1.1rem;
}

.news_post-content p {
    margin-bottom: 1.5em;
}

.news_post-content h2,
.news_post-content h3 {
    color: var(--green);
    margin: 2em 0 1em;
    line-height: 1.3;
}

.news_post-content h2 {
    font-size: 1.8rem;
}

.news_post-content h3 {
    font-size: 1.5rem;
}

.news_post-content blockquote {
    border-left: 4px solid #fffc00;
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #777;
}

.news_post-content a {
    color: var(--green);
    text-decoration: underline;
}

.news_post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.news_post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.news_post-tag {
    background-color: #f8f8f8;
    color: #333;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news_post-tag:hover {
    background-color: var(--green);
    color: white;
}

/* Kapcsolódó bejegyzések */
.news_related-posts {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.news_related-title {
    font-size: 1.8rem;
    color: var(--green);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.news_related-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #fffc00;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.news_related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news_related-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news_related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news_related-image {
    height: 180px;
    overflow: hidden;
}

.news_related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news_related-content {
    padding: 20px;
}

.news_related-heading {
    font-size: 1.2rem;
    color: var(--green);
    margin-bottom: 15px;
}

.news_related-link {
    display: inline-flex;
    align-items: center;
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news_related-link:hover {
    color: #333;
}

.news_related-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.news_related-link:hover i {
    transform: translateX(5px);
}

/* Reszponzív stílusok */
@media (max-width: 768px) {
    .news_single-post {
        margin: 50px auto;
    }
    
    .news_post-title {
        font-size: 1.8rem;
    }
    
    .news_post-image {
        height: 300px;
    }
    
    .news_post-content h2 {
        font-size: 1.5rem;
    }
    
    .news_post-content h3 {
        font-size: 1.3rem;
    }
    
    .news_related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news_post-title {
        font-size: 1.5rem;
    }
    
    .news_post-image {
        height: 250px;
    }
    
    .news_post-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}