/* Современные стили для отдельной новости */
.news-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.news-single__header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.news-single__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.news-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.news-single__date,
.news-single__reading-time,
.news-single__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-single__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-single__category-link {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f4ce47;
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.news-single__category-link:hover {
    background: #d4b037;
}

/* Изображение новости */
.news-single__image-wrapper {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-single__image {
    width: 100%;
    height: auto;
    display: block;
}

.news-single__image-caption {
    padding: 1rem;
    background: #f8f9fa;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* Контент новости */
.news-single__content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
}

.news-single__content h2,
.news-single__content h3,
.news-single__content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.news-single__content h2 {
    font-size: 1.5rem;
}

.news-single__content h3 {
    font-size: 1.25rem;
}

.news-single__content h4 {
    font-size: 1.1rem;
}

.news-single__content p {
    margin-bottom: 1.5rem;
}

.news-single__content ul,
.news-single__content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.news-single__content li {
    margin-bottom: 0.5rem;
}

.news-single__content blockquote {
    border-left: 4px solid #f4ce47;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.news-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Футер новости */
.news-single__footer {
    border-top: 1px solid #e5e5e5;
    padding-top: 2rem;
}

.news-single__footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-single__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-single__tags-label {
    font-weight: 600;
    color: #1a1a1a;
    margin-right: 0.5rem;
}

.news-single__tag-link {
    color: #666;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: background 0.3s ease;
}

.news-single__tag-link:hover {
    background: #f4ce47;
    color: #000;
}

/* Социальные кнопки */
.news-single__share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-single__share-label {
    font-weight: 600;
    color: #1a1a1a;
}

.news-single__share-buttons {
    display: flex;
    gap: 0.5rem;
}

.news-single__share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.news-single__share-button:hover {
    transform: scale(1.1);
}

.news-single__share-button--vk {
    background: #4c75a3;
    color: white;
}

.news-single__share-button--telegram {
    background: #0088cc;
    color: white;
}

.news-single__share-button--whatsapp {
    background: #25d366;
    color: white;
}

/* Навигация между постами */
.news-single__navigation {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.news-single__navigation-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.news-single__nav-link {
    flex: 1;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
    max-width: calc(50% - 1rem);
}

.news-single__nav-link:hover {
    background: #f4ce47;
    color: #000;
}

.news-single__nav-link--prev {
    text-align: left;
}

.news-single__nav-link--next {
    text-align: right;
}

.news-single__nav-label {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.news-single__nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Связанные новости */
.news-single__related {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e5e5;
}

.news-single__related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.news-single__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.news-card--small {
    margin: 0;
}

.news-card--small .news-card__image-wrapper {
    height: 150px;
}

.news-card--small .news-card__title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.news-card--small .news-card__date {
    font-size: 0.8rem;
    color: #666;
}

.news-card--small .news-card__content {
    padding: 1rem;
}

.news-card--small .news-card__footer {
    display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-single {
        padding: 1rem 0;
    }

    .news-single__title {
        font-size: 1.75rem;
    }

    .news-single__meta {
        gap: 1rem;
    }

    .news-single__footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .news-single__navigation-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .news-single__nav-link {
        max-width: 100%;
    }

    .news-single__nav-link--prev,
    .news-single__nav-link--next {
        text-align: left;
    }

    .news-single__related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-single__title {
        font-size: 1.5rem;
    }

    .news-single__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-single__categories {
        justify-content: flex-start;
    }

    .news-single__share {
        justify-content: flex-start;
    }
}