/* News — extends landing.css */

.ld-nav__link--active {
	color: var(--ld-text);
	border-color: var(--ld-accent);
	background: rgba(201, 162, 39, 0.1);
}

.ld-main--news {
	display: block;
	width: min(900px, 100%);
	padding-top: clamp(16px, 3vw, 32px);
	padding-bottom: clamp(24px, 4vw, 48px);
}

.nw-panel {
	padding: clamp(18px, 3vw, 28px);
	border-radius: var(--ld-radius);
	background: var(--ld-panel);
	border: 1px solid var(--ld-panel-border);
	box-shadow: var(--ld-shadow);
	backdrop-filter: blur(8px);
}

.nw-head {
	margin-bottom: 22px;
}

.nw-head__title {
	margin: 0;
	font-family: var(--ld-font-display);
	font-size: clamp(26px, 4vw, 34px);
	font-weight: 700;
	color: var(--ld-accent-bright);
	line-height: 1.15;
}

.nw-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.nw-tab {
	display: inline-flex;
	align-items: center;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	color: var(--ld-muted);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(74, 59, 47, 0.75);
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nw-tab:hover {
	color: var(--ld-text);
	border-color: rgba(201, 162, 39, 0.45);
}

.nw-tab--active {
	color: #1a1410;
	background: linear-gradient(180deg, var(--ld-accent-bright) 0%, var(--ld-accent) 100%);
	border-color: var(--ld-accent-dim);
}

.nw-list {
	display: grid;
	gap: 14px;
}

.nw-item {
	padding: 18px 20px;
	border-radius: var(--ld-radius-sm);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(74, 59, 47, 0.75);
	transition: border-color 0.2s;
}

.nw-item:hover {
	border-color: rgba(201, 162, 39, 0.35);
}

.nw-item--best {
	border-color: rgba(201, 162, 39, 0.45);
	background: rgba(201, 162, 39, 0.06);
}

.nw-item--fast {
	border-color: rgba(126, 200, 126, 0.35);
}

.nw-item--client {
	border-color: rgba(90, 130, 212, 0.35);
}

.nw-badge {
	display: inline-flex;
	margin-bottom: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.nw-badge--regular {
	color: #dce8ff;
	background: rgba(90, 130, 212, 0.14);
	border: 1px solid rgba(90, 130, 212, 0.35);
}

.nw-badge--fast {
	color: #d7f5d7;
	background: rgba(126, 200, 126, 0.14);
	border: 1px solid rgba(126, 200, 126, 0.35);
}

.nw-badge--best {
	color: #ffe8a3;
	background: rgba(201, 162, 39, 0.16);
	border: 1px solid rgba(201, 162, 39, 0.35);
}

.nw-badge--client {
	color: #dce8ff;
	background: rgba(90, 130, 212, 0.14);
	border: 1px solid rgba(90, 130, 212, 0.35);
}

.nw-badge--category {
	color: #f0e2c8;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(201, 162, 39, 0.28);
	margin-left: 6px;
}

.nw-item__title {
	margin: 0 0 8px;
	font-family: var(--ld-font-display);
	font-size: clamp(18px, 2.5vw, 22px);
	font-weight: 700;
	line-height: 1.35;
}

.nw-item__title a {
	color: var(--ld-accent-bright);
	text-decoration: none;
}

.nw-item__title a:hover {
	color: var(--ld-text);
	text-decoration: underline;
}

.nw-item__date {
	margin-bottom: 12px;
	font-size: 13px;
	color: var(--ld-muted);
}

.nw-item__content {
	font-size: 15px;
	line-height: 1.65;
	color: var(--ld-text);
	word-wrap: break-word;
}

.nw-item__content img {
	max-width: 100%;
	height: auto;
}

.nw-item__content p {
	margin: 0 0 12px;
}

.nw-item__content p:last-child {
	margin-bottom: 0;
}

.nw-item__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(74, 59, 47, 0.55);
}

.nw-item__meta {
	font-size: 13px;
	color: var(--ld-muted);
}

.nw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: var(--ld-radius-sm);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: #1a1410;
	background: linear-gradient(180deg, var(--ld-accent-bright) 0%, var(--ld-accent) 100%);
	box-shadow: 0 6px 18px rgba(201, 162, 39, 0.22);
	transition: filter 0.15s;
}

.nw-btn:hover {
	filter: brightness(1.05);
}

.nw-empty {
	padding: 32px 20px;
	text-align: center;
	border-radius: var(--ld-radius-sm);
	color: var(--ld-muted);
	background: rgba(255, 255, 255, 0.02);
	border: 1px dashed rgba(74, 59, 47, 0.75);
}

.nw-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(74, 59, 47, 0.55);
}

.nw-pagination__link,
.nw-pagination__current,
.nw-pagination__dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.nw-pagination__link {
	color: var(--ld-muted);
	border: 1px solid rgba(74, 59, 47, 0.75);
	background: rgba(255, 255, 255, 0.03);
}

.nw-pagination__link:hover {
	color: var(--ld-text);
	border-color: var(--ld-accent);
}

.nw-pagination__current {
	color: #1a1410;
	background: linear-gradient(180deg, var(--ld-accent-bright) 0%, var(--ld-accent) 100%);
}

.nw-pagination__dots {
	color: var(--ld-muted);
}

.nw-pagination__prev,
.nw-pagination__next {
	min-width: auto;
	padding: 0 14px;
}

.nw-mobile-nav {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 30;
	grid-template-columns: repeat(4, 1fr);
	padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
	background: rgba(15, 12, 10, 0.94);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(74, 59, 47, 0.75);
}

.nw-mobile-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px 4px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	color: var(--ld-muted);
	text-decoration: none;
}

.nw-mobile-nav a.is-active {
	color: var(--ld-accent-bright);
	background: rgba(201, 162, 39, 0.1);
}

.nw-mobile-nav__icon {
	font-size: 18px;
	line-height: 1;
}

@media (max-width: 960px) {
	.nw-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 4px;
		scrollbar-width: thin;
	}

	.nw-tab {
		flex-shrink: 0;
	}

	.nw-mobile-nav {
		display: grid;
	}

	body.ld-body {
		padding-bottom: 72px;
	}
}

@media (max-width: 520px) {
	.nw-item__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.nw-btn {
		width: 100%;
	}
}
