/**
 * TMD Blog Styles for Upstore Theme
 * Стили для блога TMD, адаптированные под тему Upstore
 */

/* ============================================
   ОСНОВНЫЕ СТИЛИ БЛОГА
   ============================================ */

.blog-page__container {
	padding: 40px 0;
}

.blog-page__title {
	margin-bottom: 30px;
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	color: #333;
}

/* ============================================
   ОПИСАНИЕ БЛОГА
   ============================================ */

.blog-page__description {
	margin-bottom: 40px;
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.blog-description-content {
	max-height: 150px;
	overflow: hidden;
	transition: max-height 0.5s ease;
	font-size: 16px;
	line-height: 1.6;
	color: #666;
}

.blog-description-content.expanded {
	max-height: none;
}

.blog-description-toggle {
	margin-top: 10px;
	padding: 5px 15px;
	color: #007bff;
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}

.blog-description-toggle:hover {
	text-decoration: underline;
	color: #0056b3;
}

.blog-description-toggle i {
	margin-left: 5px;
	transition: transform 0.3s ease;
}

.blog-description-toggle.expanded i {
	transform: rotate(180deg);
}

/* ============================================
   КАТЕГОРИИ БЛОГА
   ============================================ */

.blog-categories {
	margin-bottom: 40px;
}

.blog-categories__wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 10px;
}

.blog-category-tab {
	padding: 12px 24px;
	cursor: pointer;
	border-radius: 5px 5px 0 0;
	transition: all 0.3s ease;
	background: #f5f5f5;
	color: #333;
	font-weight: 500;
	border: none;
	font-size: 14px;
	position: relative;
}

.blog-category-tab::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: transparent;
	transition: background 0.3s ease;
}

.blog-category-tab:hover {
	background: #e0e0e0;
	color: #007bff;
}

.blog-category-tab.active {
	background: #000000 !important;
	color: #fff;
}

.blog-category-tab.active::after {
	background: #000000;
}

/* ============================================
   СЕТКА БЛОГОВ
   ============================================ */

.blog__items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

/* ============================================
   КАРТОЧКА БЛОГА
   ============================================ */

.item-blog {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.item-blog:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
	transform: translateY(-5px);
	text-decoration: none;
}

/* ============================================
   ИЗОБРАЖЕНИЕ БЛОГА
   ============================================ */

.item-blog__image {
	position: relative;
	width: 100%;
	height: 250px;
	overflow: hidden;
	background: #f0f0f0;
}

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

.item-blog:hover .item-blog__image img {
	transform: scale(1.08);
}

.item-blog__date-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	padding: 10px 12px;
	border-radius: 6px;
	text-align: center;
	min-width: 60px;
	backdrop-filter: blur(5px);
}

.date-badge__day {
	display: block;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
}

.date-badge__month {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	margin-top: 5px;
	letter-spacing: 0.5px;
}

/* ============================================
   ТЕЛО КАРТОЧКИ
   ============================================ */

.item-blog__body {
	padding: 24px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.item-blog__category {
	display: inline-block;
	color: #007bff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
	transition: color 0.3s ease;
}

.item-blog:hover .item-blog__category {
	color: #0056b3;
}

.item-blog__title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 15px 0;
	color: #222;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s ease;
}

.item-blog:hover .item-blog__title {
	color: #007bff;
}

.item-blog__description {
	color: #666;
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 15px;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ============================================
   ФУТЕР КАРТОЧКИ
   ============================================ */

.item-blog__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid #e8e8e8;
}

/* ============================================
   ИНФОРМАЦИЯ ОБ АВТОРЕ
   ============================================ */

.author-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.author-info__image {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 2px solid #f0f0f0;
}

.author-info__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-info__details {
	flex-grow: 1;
}

.author-info__name {
	font-weight: 600;
	font-size: 14px;
	color: #333;
	line-height: 1.3;
}

.author-info__date {
	font-size: 12px;
	color: #999;
	margin-top: 2px;
}

/* ============================================
   СТАТИСТИКА
   ============================================ */

.item-blog__stats {
	display: flex;
	gap: 15px;
	font-size: 13px;
	color: #666;
	flex-wrap: wrap;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.stat-item i {
	color: #999;
	font-size: 14px;
}

/* ============================================
   СОЦИАЛЬНЫЕ КНОПКИ
   ============================================ */

.item-blog__social {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e8e8e8;
}

.social-share-buttons {
	display: flex;
	gap: 10px;
}

.social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #fff;
	transition: all 0.3s ease;
	text-decoration: none;
	font-size: 16px;
}

.social-btn:hover {
	transform: scale(1.15);
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-btn--facebook {
	background: #3b5998;
}

.social-btn--facebook:hover {
	background: #2d4373;
}

.social-btn--twitter {
	background: #1da1f2;
}

.social-btn--twitter:hover {
	background: #0c85d0;
}

.social-btn--pinterest {
	background: #bd081c;
}

.social-btn--pinterest:hover {
	background: #9a0717;
}

.social-btn--google {
	background: #dd4b39;
}

.social-btn--google:hover {
	background: #c23321;
}

/* ============================================
   ПАГИНАЦИЯ
   ============================================ */

.blog-page__pagination {
	margin: 40px 0 20px;
	text-align: center;
}

.blog-page__pagination .pagination {
	display: inline-flex;
	gap: 5px;
}

.blog-page__pagination .pagination > li > a,
.blog-page__pagination .pagination > li > span {
	padding: 8px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	transition: all 0.3s ease;
}

.blog-page__pagination .pagination > li > a:hover {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
}

.blog-page__pagination .pagination > .active > a,
.blog-page__pagination .pagination > .active > span {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
}

.blog-page__results {
	text-align: center;
	color: #666;
	font-size: 14px;
	margin-top: 15px;
}

/* ============================================
   ПУСТОЕ СОСТОЯНИЕ
   ============================================ */

.blog-page__empty {
	text-align: center;
	padding: 80px 20px;
	color: #999;
	font-size: 18px;
}

.blog-page__empty p {
	margin: 0;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1200px) {
	.blog__items {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		gap: 25px;
	}
}

@media (max-width: 992px) {
	.blog-page__title {
		font-size: 32px;
	}
	
	.blog__items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.blog-page__container {
		padding: 20px 0;
	}
	
	.blog-page__title {
		font-size: 28px;
		margin-bottom: 20px;
	}
	
	.blog__items {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.blog-categories__wrapper {
		flex-direction: column;
		align-items: stretch;
		gap: 5px;
	}
	
	.blog-category-tab {
		text-align: center;
		border-radius: 5px;
		padding: 10px 16px;
	}
	
	.blog-category-tab::after {
		display: none;
	}
	
	.item-blog__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	
	.item-blog__stats {
		width: 100%;
		justify-content: flex-start;
	}
	
	.blog-description-content {
		text-align: left;
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.item-blog__image {
		height: 200px;
	}
	
	.item-blog__title {
		font-size: 18px;
	}
	
	.item-blog__body {
		padding: 18px;
	}
	
	.blog-page__title {
		font-size: 24px;
	}
	
	.author-info {
		gap: 8px;
	}
	
	.author-info__image {
		width: 35px;
		height: 35px;
	}
}

/* ============================================
   УТИЛИТЫ
   ============================================ */

/* Скрытие Pinterest iframe виджета */
.pin_it_iframe_widget {
	display: none !important;
}

/* Анимации при загрузке */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.item-blog {
	animation: fadeInUp 0.5s ease backwards;
}

.item-blog:nth-child(1) { animation-delay: 0.1s; }
.item-blog:nth-child(2) { animation-delay: 0.2s; }
.item-blog:nth-child(3) { animation-delay: 0.3s; }
.item-blog:nth-child(4) { animation-delay: 0.4s; }
.item-blog:nth-child(5) { animation-delay: 0.5s; }
.item-blog:nth-child(6) { animation-delay: 0.6s; }

 
/* ============================================
   HERO СЕКЦИЯ СТАТЬИ
   ============================================ */

.news-page__hero.hero-news {
	position: relative;
	margin-bottom: 60px;
	overflow: hidden;
}

.hero-news__container {
	position: relative;
	z-index: 2;
	padding: 40px 0;
}

.hero-news__content {
	max-width: 800px;
	margin: 0 auto;
}

.hero-news__breadcrumbs {
	margin-bottom: 30px;
}

.hero-news__blog-body {
	text-align: center;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-news__blog-body .item-blog__category {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 20px;
	backdrop-filter: blur(5px);
}

.hero-news__blog-body .item-blog__title {
	font-size: 42px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 30px 0;
	line-height: 1.3;
}

.hero-news__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-news__image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
	z-index: 1;
}

.hero-news__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 500px;
}

/* ============================================
   МЕТА ИНФОРМАЦИЯ СТАТЬИ
   ============================================ */

.item-blog__meta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.item-blog__author.autor-blog {
	display: flex;
	align-items: center;
	gap: 15px;
}

.item-blog__author .autor-blog__image {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.3);
}

.item-blog__author .autor-blog__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.item-blog__author .autor-blog__details {
	text-align: left;
}

.item-blog__author .autor-blog__name {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 4px;
}

.item-blog__author .autor-blog__date {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.item-blog__stats {
	display: flex;
	gap: 25px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
}

.item-blog__stats .stat-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.item-blog__stats .stat-item i {
	font-size: 18px;
}

/* ============================================
   ОСНОВНОЙ КОНТЕНТ СТАТЬИ
   ============================================ */

.news-page__content.content-article {
	padding: 60px 0;
}

.content-article__container {
	max-width: 900px;
}

.article-content-wrapper {
	background: #fff;
	padding: 0;
}

.article-description {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	margin-bottom: 40px;
}

.article-description p {
	margin-bottom: 20px;
}

.article-description h2,
.article-description h3,
.article-description h4 {
	margin-top: 30px;
	margin-bottom: 15px;
	color: #222;
	font-weight: 600;
}

.article-description h2 {
	font-size: 32px;
}

.article-description h3 {
	font-size: 26px;
}

.article-description h4 {
	font-size: 22px;
}

.article-description img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 25px 0;
}

.article-description ul,
.article-description ol {
	margin: 20px 0;
	padding-left: 30px;
}

.article-description li {
	margin-bottom: 10px;
}

.article-description blockquote {
	border-left: 4px solid #007bff;
	padding-left: 20px;
	margin: 30px 0;
	font-style: italic;
	color: #555;
	background: #f8f9fa;
	padding: 20px;
	border-radius: 4px;
}

/* ============================================
   ТЕГИ
   ============================================ */

.article-tags {
	margin: 40px 0;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 8px;
}

.tags-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.tags-title i {
	color: #007bff;
}

.tags-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-item {
	display: inline-block;
}

.tag-link {
	display: inline-block;
	padding: 8px 16px;
	background: #fff;
	color: #333;
	border: 1px solid #ddd;
	border-radius: 20px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}

.tag-link:hover {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
	text-decoration: none;
	transform: translateY(-2px);
}

/* ============================================
   СОЦИАЛЬНЫЕ КНОПКИ
   ============================================ */

.article-social {
	margin: 40px 0;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 8px;
	text-align: center;
}

.social-share__title {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
}

.social-share__buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.social-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.social-btn:hover {
	text-decoration: none;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn i {
	font-size: 18px;
}

.social-btn--facebook {
	background: #3b5998;
}

.social-btn--facebook:hover {
	background: #2d4373;
}

.social-btn--twitter {
	background: #1da1f2;
}

.social-btn--twitter:hover {
	background: #0c85d0;
}

.social-btn--pinterest {
	background: #bd081c;
}

.social-btn--pinterest:hover {
	background: #9a0717;
}

.social-btn--google {
	background: #dd4b39;
}

.social-btn--google:hover {
	background: #c23321;
}

/* ============================================
   КОММЕНТАРИИ
   ============================================ */

.article-comments {
	padding: 60px 0;
	background: #f8f9fa;
}

.comments-wrapper {
	max-width: 900px;
	margin: 0 auto;
}

.comments-header {
	margin-bottom: 30px;
}

.comments-title {
	font-size: 28px;
	font-weight: 600;
	color: #333;
	display: flex;
	align-items: center;
	gap: 10px;
}

.comments-title i {
	color: #007bff;
}

/* ============================================
   ФОРМА КОММЕНТАРИЯ
   ============================================ */

.comment-form {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
	padding: 25px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comment-form__avatar {
	flex-shrink: 0;
}

.comment-form__avatar img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.comment-form__content {
	flex-grow: 1;
}

.comment-form__input-wrapper {
	margin-bottom: 15px;
}

.commenttextbox {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	transition: border-color 0.3s ease;
}

.commenttextbox:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.comment-form__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.btn-attach {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 6px;
	color: #333;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-attach:hover {
	background: #e9ecef;
	border-color: #007bff;
	color: #007bff;
}

.comment-form__actions .btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	background: #007bff;
	border: none;
	border-radius: 6px;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.comment-form__actions .btn-primary:hover {
	background: #0056b3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.comment-preview-image {
	max-width: 200px;
	margin-top: 15px;
	border-radius: 6px;
	border: 2px solid #ddd;
}

/* ============================================
   PROMPT ДЛЯ ВХОДА
   ============================================ */

.comment-login-prompt {
	padding: 30px;
	background: #fff;
	border: 2px dashed #ddd;
	border-radius: 8px;
	text-align: center;
	margin-bottom: 40px;
}

.comment-login-prompt p {
	margin: 0;
	font-size: 16px;
	color: #666;
}

.comment-login-prompt a {
	color: #007bff;
	font-weight: 600;
	text-decoration: underline;
}

.comment-login-prompt a:hover {
	color: #0056b3;
}

/* ============================================
   СПИСОК КОММЕНТАРИЕВ
   ============================================ */

.comments-list {
	margin-top: 30px;
}

/* Эти стили будут применены к загруженным комментариям */
.comment-item {
	padding: 25px;
	background: #fff;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.comment-item__avatar img {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	object-fit: cover;
}

.comment-item__author {
	font-weight: 600;
	color: #333;
	font-size: 15px;
}

.comment-item__date {
	color: #999;
	font-size: 13px;
}

.comment-item__content {
	padding-left: 60px;
	color: #555;
	line-height: 1.6;
}

/* ============================================
   ПОХОЖИЕ СТАТЬИ
   ============================================ */

.news-page__blog-slider {
	padding: 60px 0;
	background: #fff;
}

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

/* ============================================
   СВЯЗАННЫЕ ТОВАРЫ
   ============================================ */

.blog-related-products {
	padding: 60px 0;
	background: #f8f9fa;
}

.blog-related-products .section-title {
	margin-bottom: 40px;
	text-align: center;
}

.swiper-viewport {
	position: relative;
}

.swiper-viewport .swiper-button-next,
.swiper-viewport .swiper-button-prev {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	z-index: 10;
}

.swiper-viewport .swiper-button-next {
	right: -20px;
}

.swiper-viewport .swiper-button-prev {
	left: -20px;
}

.swiper-viewport .swiper-button-next:hover,
.swiper-viewport .swiper-button-prev:hover {
	background: #007bff;
	color: #fff;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО ВХОДА
   ============================================ */

#loginModal .modal-content {
	border-radius: 8px;
}

#loginModal .modal-header {
	background: #f8f9fa;
	border-bottom: 1px solid #dee2e6;
	border-radius: 8px 8px 0 0;
}

#loginModal .modal-title {
	font-weight: 600;
	color: #333;
}

#loginModal .form-group label {
	font-weight: 500;
	color: #555;
	margin-bottom: 8px;
}

#loginModal .form-control {
	padding: 12px 16px;
	border-radius: 6px;
	border: 1px solid #ddd;
}

#loginModal .form-control:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.login-links {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
	font-size: 14px;
}

.login-links a {
	color: #007bff;
	text-decoration: none;
}

.login-links a:hover {
	text-decoration: underline;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 992px) {
	.hero-news__blog-body .item-blog__title {
		font-size: 36px;
	}

	.item-blog__meta {
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.news-page__hero.hero-news {
		margin-bottom: 40px;
	}

	.hero-news__container {
		padding: 30px 0;
	}

	.hero-news__blog-body .item-blog__title {
		font-size: 28px;
	}

	.hero-news__image img {
		min-height: 350px;
	}

	.item-blog__meta {
		flex-direction: column;
		gap: 15px;
	}

	.news-page__content.content-article {
		padding: 40px 0;
	}

	.article-description {
		font-size: 15px;
	}

	.article-description h2 {
		font-size: 26px;
	}

	.article-description h3 {
		font-size: 22px;
	}

	.social-share__buttons {
		flex-direction: column;
	}

	.social-btn {
		width: 100%;
		justify-content: center;
	}

	.comment-form {
		flex-direction: column;
		gap: 15px;
	}

	.comment-form__avatar {
		display: none;
	}

	.comment-item__content {
		padding-left: 0;
		margin-top: 10px;
	}

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

@media (max-width: 480px) {
	.hero-news__blog-body .item-blog__title {
		font-size: 24px;
	}

	.hero-news__image img {
		min-height: 300px;
	}

	.comments-title {
		font-size: 24px;
	}

	.article-tags,
	.article-social {
		padding: 20px;
	}
}

/* ============================================
   УТИЛИТЫ
   ============================================ */

.pin_it_iframe_widget {
	display: none !important;
}

/* Скрытие кнопок слайдера если товаров мало */
.swiper-viewport.hide-nav .swiper-button-next,
.swiper-viewport.hide-nav .swiper-button-prev {
	opacity: 0;
	pointer-events: none;
}
/**
 * Дополнительные стили хлебных крошек для TMD Blog
 * Различные варианты оформления
 */

/* ============================================
   ВАРИАНТ 1: МИНИМАЛИСТИЧНЫЙ (по умолчанию)
   ============================================ */

.breadcrumbs-wrapper {
	background: #f8f9fa;
	padding: 15px 0;
	margin-bottom: 0;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 8px;
}

.breadcrumbs-item {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #666;
}

.breadcrumbs-item:not(:last-child)::after {
	content: '/';
	margin-left: 8px;
	color: #999;
}

.breadcrumbs-item a {
	color: #666;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumbs-item a:hover {
	color: #007bff;
	text-decoration: none;
}

.breadcrumbs-item.active a,
.breadcrumbs-item.active span {
	color: #333;
	font-weight: 500;
}

/* ============================================
   ВАРИАНТ 2: С ИКОНКАМИ
   Раскомментируйте, чтобы использовать
   ============================================ */

/*
.breadcrumbs-item:not(:last-child)::after {
	content: '\f105';
	font-family: 'FontAwesome';
	margin-left: 8px;
	color: #999;
	font-size: 12px;
}

.breadcrumbs-item:first-child a::before {
	content: '\f015';
	font-family: 'FontAwesome';
	margin-right: 5px;
}
*/

/* ============================================
   ВАРИАНТ 3: С ФОНОМ НА ЭЛЕМЕНТАХ
   Раскомментируйте, чтобы использовать
   ============================================ */

/*
.breadcrumbs-wrapper {
	background: transparent;
	padding: 20px 0;
}

.breadcrumbs-item a {
	padding: 6px 12px;
	background: #f8f9fa;
	border-radius: 4px;
	color: #666;
}

.breadcrumbs-item a:hover {
	background: #007bff;
	color: #fff;
}

.breadcrumbs-item.active span {
	padding: 6px 12px;
	background: #007bff;
	color: #fff;
	border-radius: 4px;
}
*/

/* ============================================
   ВАРИАНТ 4: FLAT СТИЛЬ (как на скриншоте)
   Раскомментируйте, чтобы использовать
   ============================================ */

/*
.breadcrumbs-wrapper {
	background: transparent;
	padding: 15px 0;
	border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs {
	gap: 5px;
}

.breadcrumbs-item {
	font-size: 13px;
	color: #666;
}

.breadcrumbs-item:not(:last-child)::after {
	content: '›';
	margin-left: 5px;
	color: #999;
	font-size: 16px;
}

.breadcrumbs-item a {
	color: #666;
	text-decoration: none;
}

.breadcrumbs-item a:hover {
	color: #000;
	text-decoration: underline;
}

.breadcrumbs-item.active span {
	color: #000;
	font-weight: 400;
}
*/

/* ============================================
   ВАРИАНТ 5: ТЕМНАЯ ТЕМА (для Hero секции)
   ============================================ */

.hero-news__breadcrumbs.breadcrumbs-wrapper {
	background: transparent;
	padding: 0;
	margin-bottom: 30px;
	border: none;
}

.hero-news__breadcrumbs .breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 8px;
}

.hero-news__breadcrumbs .breadcrumbs-item {
	display: flex;
	align-items: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
}

.hero-news__breadcrumbs .breadcrumbs-item:not(:last-child)::after {
	content: '/';
	margin-left: 8px;
	color: rgba(255, 255, 255, 0.6);
}

.hero-news__breadcrumbs .breadcrumbs-item a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s ease;
}

.hero-news__breadcrumbs .breadcrumbs-item a:hover {
	color: #fff;
	text-decoration: none;
}

.hero-news__breadcrumbs .breadcrumbs-item.active a,
.hero-news__breadcrumbs .breadcrumbs-item.active span {
	color: #fff;
	font-weight: 500;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 768px) {
	.breadcrumbs-wrapper {
		padding: 12px 0;
	}
	
	.breadcrumbs-item {
		font-size: 13px;
	}
	
	/* Скрываем промежуточные крошки на мобильных */
	.breadcrumbs-item:not(:first-child):not(:last-child) {
		display: none;
	}
	
	/* Добавляем многоточие между первой и последней */
	.breadcrumbs-item:first-child:not(:last-child)::after {
		content: '...';
		margin: 0 5px;
		color: #999;
	}
}

@media (max-width: 480px) {
	.breadcrumbs {
		gap: 5px;
	}
	
	.breadcrumbs-item {
		font-size: 12px;
	}
}
.item-blog__description {
    display: none !important;
}
