* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}

/* Breadcrumbs */
.breadcrumb-list {
    display: flex;
    list-style: none;
    padding-top: 120px;
    /* padding: 120px 0; */
    /* margin-bottom: 0px; */
    flex-wrap: wrap;
}

.breadcrumb-list__item {
    color: #666;
    font-size: 14px;
}

.breadcrumb-list__item:not(:last-child)::after {
    content: " / ";
    margin: 0 8px;
    color: #999;
}

.breadcrumb-list__item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-list__item a:hover {
    color: #F97316;
}

/* News Header */
.news-page__header {
    margin-bottom: 30px;
}

.news-card__title {
    font-size: 32px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* News Card */
.news-page {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.news-card__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.news-card__wrapper {
    padding: 30px;
}

.news-card__text {
    font-size: 16px;
    line-height: 2.0;
    color: #444;
    margin-bottom: 30px;
    text-align: justify;
    text-align-last: left;     /* последняя строка */
    hyphens: auto;             /* переносы слов */
}

.news-card__text b {
    color: #F97316;
    font-weight: 600;
}

.news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.news-card__date {
    color: #666;
    font-size: 14px;
}

.action-views {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.action-views i {
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.share {
    background: #F97316;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.share:hover {
    background: #EA580C;
    color: white;
}

/* Products Section */
.news-page__products {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

.action-products__head {
    background: #f8f9fa;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.action-products__head-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.action-products__head-count {
    background: #F97316;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.action-product {
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.action-product__image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.action-product__content {
    flex: 1;
}

.action-product__name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    line-height: 1.4;
}

.action-product__name:hover {
    color: #F97316;
}

.action-product__rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    color: #666;
    text-decoration: none;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 14px;
    height: 14px;
    background: #ddd;
    border-radius: 2px;
    position: relative;
}

.star.filled {
    background: #F97316;
}

.product-buy {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-buy__price {
    font-size: 24px;
    font-weight: 700;
    color: #F97316;
}

.product-buy__sub {
    font-size: 14px;
    color: #666;
}

.buy-btn {
    background: #F97316;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-btn:hover {
    background: #EA580C;
}

/* Comments */
.news-page__comments {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

.news-page__comments-title {
    background: #f8f9fa;
    padding: 20px 30px;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.news-page__comments-count {
    background: #F97316;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.comment {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.comment:last-child {
    border-bottom: none;
}

.comment__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
}

.comment__user-info {
    flex: 1;
}

.comment__username {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.comment__date {
    font-size: 12px;
    color: #666;
}

.comment__message {
    margin-bottom: 10px;
    color: #444;
}

.comment__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment__vote {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.vote-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 2px;
}

.vote-btn:hover {
    color: #F97316;
}

.reply-btn {
    color: #F97316;
    text-decoration: none;
    font-size: 14px;
}

.reply-btn:hover {
    text-decoration: underline;
}

/* Related News */
.related-news {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
}

.related-news__title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F97316;
    display: inline-block;
}

.related-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.news-item {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-item__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item__content {
    padding: 20px;
}

.news-item__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-item__title a {
    color: inherit;
    text-decoration: none;
}

.news-item__title a:hover {
    color: #F97316;
}

.news-item__excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-item__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.news-item__date {
    font-weight: 500;
}

.news-item__views {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .news-card__title {
        font-size: 24px;
    }

    .action-product {
        flex-direction: column;
        text-align: center;
    }

    .news-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-news__grid {
        grid-template-columns: 1fr;
    }
}