/**
 * News Overview Plugin - Single Post Styles
 */

/* Montserrat Font einbinden */

/* Container für die Beitragsansicht */
.news-single-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

/* Zurück-Button */
.news-single-back-button {
    margin-bottom: 20px;
    text-align: center;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(to right, #08A257, #00426A);
    opacity: 0.9;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
    border: none;
}

.news-back-link:hover,
.news-back-link:focus,
.news-back-link:active {
    opacity: 1;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(to right, #08A257, #00426A);
    border: none;
}

.news-back-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Kategorie-Tag */
.news-single-category {
    display: inline-block;
    padding: 4px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    background-color: #FFD700;
    border-radius: 9999px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Header-Bereich */
.news-single-header {
    margin-bottom: 30px;
}

.news-single-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.news-single-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.news-single-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-single-author img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.news-single-date {
    font-style: normal;
}

.news-single-date-value::after {
    content: " - ";
    margin: 0 5px;
}

/* Beitragsbild */
.news-single-featured-image-container {
    margin-bottom: 30px;
    border-radius: 23px;
    overflow: hidden;
}

.news-single-featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 23px;
}

/* Beitragsinhalt */
.news-single-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    margin-bottom: 40px;
}

.news-single-content p,
.news-single-content ul,
.news-single-content ol,
.news-single-content blockquote {
    margin-bottom: 1.5em;
}

.news-single-content h2,
.news-single-content h3,
.news-single-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 600;
}

.news-single-content h2 {
    font-size: 28px;
}

.news-single-content h3 {
    font-size: 24px;
}

.news-single-content h4 {
    font-size: 20px;
}

.news-single-content a {
    color: #00426A;
    text-decoration: none;
    background-image: linear-gradient(to right, #002E18, #00426A);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease;
}

.news-single-content a:hover {
    background-size: 100% 2px;
}

.news-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.news-single-content blockquote {
    border-left: 4px solid #00426A;
    padding-left: 20px;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
}

/* Schlagwörter */
.news-single-tags {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.news-single-tags h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-tag-list li a {
    display: inline-block;
    padding: 5px 15px;
    background: #f5f5f5;
    border-radius: 9999px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-tag-list li a:hover {
    background: linear-gradient(to right, #002E18, #00426A);
    color: white;
}

/* Autor-Box */
.news-single-author-box {
    display: flex;
    gap: 20px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin: 40px 0;
}

.news-author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.news-author-info {
    flex: 1;
}

.news-author-name {
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.news-author-bio {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-author-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #00426A;
    text-decoration: none;
    background-image: linear-gradient(to right, #002E18, #00426A);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s ease;
}

.news-author-link:hover {
    background-size: 100% 2px;
}

/* Navigation zwischen Beiträgen */
.news-single-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.news-prev-post,
.news-next-post {
    max-width: 45%;
}

.news-prev-post a,
.news-next-post a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.news-prev-post a:hover,
.news-next-post a:hover {
    color: #00426A;
}

.news-next-post {
    text-align: right;
}

/* Kommentare */
.news-comments-area {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.news-comments-title,
.news-comment-reply-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.news-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-comment-list li {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.news-comment-list li .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.news-comment-list li .comment-author img {
    border-radius: 50%;
}

.news-comment-list li .comment-author .fn {
    font-weight: 600;
    font-style: normal;
}

.news-comment-list li .comment-metadata {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.news-comment-list li .comment-content {
    font-size: 15px;
    line-height: 1.6;
}

.news-comment-form p {
    margin-bottom: 15px;
}

.news-comment-form input[type="text"],
.news-comment-form input[type="email"],
.news-comment-form input[type="url"],
.news-comment-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.news-comment-form textarea {
    height: 150px;
    resize: vertical;
}

.news-comment-form .news-comment-submit,
.news-comment-form .submit {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #002E18, #00426A);
    opacity: 0.9;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.news-comment-form .news-comment-submit:hover,
.news-comment-form .submit:hover {
    opacity: 1;
}

.news-comment-notes {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.news-comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.news-comment-nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.news-comment-nav-previous a,
.news-comment-nav-next a {
    color: #00426A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.news-comment-nav-previous a:hover,
.news-comment-nav-next a:hover {
    text-decoration: underline;
}

.news-no-comments {
    font-style: italic;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .news-single-title {
        font-size: 30px;
    }
    
    .news-single-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-author-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .news-single-author-box {
        flex-direction: column;
        padding: 20px;
    }
    
    .news-back-link {
        font-size: 13px;
        padding: 7px 14px;
    }
}

@media screen and (max-width: 480px) {
    .news-single-title {
        font-size: 26px;
    }
    
    .news-single-content h2 {
        font-size: 24px;
    }
    
    .news-single-content h3 {
        font-size: 20px;
    }
    
    .news-single-content h4 {
        font-size: 18px;
    }
    
    .news-single-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-prev-post,
    .news-next-post {
        max-width: 100%;
        text-align: left;
    }
    
    .news-back-link {
        font-size: 12px;
        padding: 6px 12px;
        width: 80%;
    }
} 