/**
 * Стили страницы «Новости и статьи от экспертов» — НАЕКС
 * Дизайн-система Living Light Precision
 * Цвета: #ffffff, #f8fafc, #0f172a, #334155, #ffb703 / #ff7a00
 * Border-radius: <= 6px
 */

.samodvizhec-news-page {
	background-color: #f8fafc;
	color: #0f172a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
}

/* =========================================================================
   1. Хлебные крошки
   ========================================================================= */
.news-breadcrumbs {
	padding: 16px 0;
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
}

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

.news-bc-list a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-bc-list a:hover {
	color: #ff7a00;
}

.news-bc-sep {
	color: #cbd5e1;
}

.news-bc-current {
	color: #0f172a;
	font-weight: 600;
}

/* =========================================================================
   2. Hero экран
   ========================================================================= */
.news-hero {
	padding: 48px 0 36px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border-bottom: 1px solid #e2e8f0;
}

.news-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #334155;
	margin-bottom: 18px;
}

.news-badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffb703;
	box-shadow: 0 0 10px rgba(255, 183, 3, 0.8);
	animation: news-pulse 2s infinite ease-in-out;
}

@keyframes news-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

.news-hero-title {
	font-size: clamp(26px, 3.8vw, 42px);
	font-weight: 900;
	line-height: 1.2;
	color: #0f172a;
	margin: 0 0 16px;
	letter-spacing: -0.02em;
}

.news-title-accent {
	color: #ff7a00;
	position: relative;
	display: inline-block;
}

.news-title-accent::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 100%;
	height: 4px;
	background: rgba(255, 183, 3, 0.35);
	border-radius: 2px;
}

.news-hero-lead {
	font-size: clamp(15px, 1.8vw, 17px);
	color: #475569;
	max-width: 840px;
	margin: 0 0 28px;
	line-height: 1.65;
}

/* Чипы Hero */
.news-hero-chips {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 28px;
}

.news-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	transition: all 0.2s ease;
}

.news-chip:hover {
	border-color: #ffb703;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 183, 3, 0.12);
}

.news-chip-icon {
	font-size: 24px;
	line-height: 1;
}

.news-chip-text {
	display: flex;
	flex-direction: column;
}

.news-chip-text strong {
	font-size: 14px;
	color: #0f172a;
	font-weight: 700;
}

.news-chip-text span {
	font-size: 12px;
	color: #64748b;
}

/* Поиск */
.news-search-wrap {
	margin-bottom: 24px;
}

.news-search-box {
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 2px solid #ffb703;
	border-radius: 6px;
	padding: 4px 16px;
	box-shadow: 0 4px 14px rgba(255, 183, 3, 0.12);
	position: relative;
}

.news-search-icon {
	font-size: 18px;
	margin-right: 12px;
	flex-shrink: 0;
}

.news-search-input {
	flex-grow: 1;
	border: none;
	outline: none;
	font-size: 15px;
	color: #0f172a;
	padding: 12px 0;
	background: transparent;
	font-family: inherit;
}

.news-search-input::placeholder {
	color: #94a3b8;
}

.news-search-clear {
	background: #f1f5f9;
	border: none;
	color: #64748b;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
}

.news-search-clear:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.news-search-status {
	font-size: 13px;
	font-weight: 700;
	color: #ff7a00;
	margin-top: 8px;
	padding-left: 4px;
}

/* Табы фильтров */
.news-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.news-tab-btn {
	padding: 8px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	cursor: pointer;
	transition: all 0.2s ease;
}

.news-tab-btn:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

.news-tab-btn.is-active {
	background: #ffb703;
	color: #0f172a;
	border-color: #ffb703;
	box-shadow: 0 2px 8px rgba(255, 183, 3, 0.25);
}

/* =========================================================================
   3. Флагманская статья (Featured Guide)
   ========================================================================= */
.news-featured-section {
	padding: 40px 0 20px;
}

.news-featured-card {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-featured-card:hover {
	border-color: #ffb703;
	box-shadow: 0 12px 28px rgba(255, 183, 3, 0.15);
}

.news-featured-media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #0f172a;
	overflow: hidden;
}

.news-featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.news-featured-card:hover .news-featured-img {
	transform: scale(1.04);
}

.news-featured-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 12px;
	background: #0f172a;
	color: #ffffff;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.news-featured-body {
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-meta-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 13px;
}

.news-meta-tag {
	font-weight: 800;
	color: #ff7a00;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.news-meta-date {
	color: #64748b;
}

.news-meta-read {
	color: #64748b;
}

.news-featured-title {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 900;
	line-height: 1.3;
	margin: 0 0 14px;
}

.news-featured-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-featured-title a:hover {
	color: #ff7a00;
}

.news-featured-desc {
	font-size: 14px;
	color: #475569;
	line-height: 1.6;
	margin: 0 0 24px;
}

.news-featured-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.news-featured-call {
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	padding: 10px 16px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.news-featured-call:hover {
	background: #ffb703;
	border-color: #ffb703;
}

/* =========================================================================
   4. Сетка экспертных статей
   ========================================================================= */
.news-grid-section {
	padding: 40px 0 56px;
}

.news-grid-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 12px;
}

.news-grid-title {
	font-size: clamp(20px, 2.5vw, 26px);
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.news-grid-counter {
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
}

.news-articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
}

.news-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card:hover {
	border-color: #ffb703;
	box-shadow: 0 10px 24px rgba(255, 183, 3, 0.12);
	transform: translateY(-3px);
}

.news-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #0f172a;
	overflow: hidden;
	display: block;
}

.news-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

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

.news-card-cat {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 10px;
	background: rgba(15, 23, 42, 0.88);
	backdrop-filter: blur(4px);
	color: #ffffff;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.news-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.news-card-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #64748b;
	margin-bottom: 8px;
}

.news-card-title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 10px;
}

.news-card-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-card:hover .news-card-title a {
	color: #ff7a00;
}

.news-card-excerpt {
	font-size: 13px;
	color: #475569;
	line-height: 1.55;
	margin: 0 0 16px;
	flex-grow: 1;
}

.news-card-foot {
	border-top: 1px solid #f1f5f9;
	padding-top: 12px;
}

.news-read-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #ff7a00;
	text-decoration: none;
	transition: gap 0.2s ease, color 0.2s ease;
}

.news-read-link:hover {
	color: #0f172a;
	gap: 10px;
}

/* Нулевой результат поиска */
.news-no-results {
	padding: 48px 24px;
	text-align: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	margin-top: 20px;
}

.news-no-results-icon {
	font-size: 40px;
	margin-bottom: 12px;
}

.news-no-results h3 {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
}

.news-no-results p {
	font-size: 14px;
	color: #64748b;
	max-width: 500px;
	margin: 0 auto 20px;
}

/* =========================================================================
   5. Секция прямого контакта (ZERO веб-форм)
   ========================================================================= */
.news-contact-section {
	padding: 48px 0 64px;
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
}

.news-contact-card {
	padding: 36px 32px;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	border-top: 4px solid #ffb703;
	border-radius: 6px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	max-width: 960px;
	margin: 0 auto;
}

.news-contact-kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #ff7a00;
	margin-bottom: 8px;
}

.news-contact-title {
	font-size: clamp(22px, 3.2vw, 32px);
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 14px;
	line-height: 1.3;
}

.news-contact-desc {
	font-size: 15px;
	color: #475569;
	max-width: 680px;
	margin: 0 auto 28px;
	line-height: 1.65;
}

.news-contact-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
}

.news-main-call-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: #ffb703;
	color: #0f172a;
	font-size: 16px;
	font-weight: 800;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(255, 183, 3, 0.4);
	transition: all 0.2s ease;
}

.news-main-call-btn:hover {
	background: #ff7a00;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.news-branches-block {
	border-top: 1px solid #e2e8f0;
	padding-top: 24px;
	text-align: left;
}

.news-branches-head {
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 12px;
	text-align: center;
}

.news-branches-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-branch-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 12px;
}

.news-branch-city {
	color: #64748b;
	font-weight: 600;
}

.news-branch-tel {
	color: #0f172a;
	font-weight: 700;
	text-decoration: none;
}

.news-branch-tel:hover {
	color: #ff7a00;
}

/* =========================================================================
   6. Мобильная адаптивность
   ========================================================================= */
@media (max-width: 900px) {
	.news-featured-card {
		grid-template-columns: 1fr;
	}
	.news-featured-body {
		padding: 24px 20px;
	}
}

@media (max-width: 768px) {
	.news-hero {
		padding: 32px 0 24px;
	}
	.news-hero-chips {
		grid-template-columns: 1fr;
	}
	.news-articles-grid {
		grid-template-columns: 1fr;
	}
	.news-contact-card {
		padding: 24px 16px;
	}
	.news-contact-buttons {
		flex-direction: column;
		width: 100%;
	}
	.news-main-call-btn,
	.s-btn-whatsapp,
	.s-btn-telegram {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.news-filter-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 12px;
	}
	.news-tab-btn {
		white-space: nowrap;
		flex-shrink: 0;
	}
	.news-branches-list {
		flex-direction: column;
	}
	.news-branch-pill {
		width: 100%;
		justify-content: space-between;
	}
}
