/* Главная страница */
* {
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	margin: 0;
	padding: 16px;
	background: #e8e8e8;
	color: #222;
	line-height: 1.5;
}

.wrap {
	max-width: 680px;
	margin: 0 auto;
}

.header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	padding: 12px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-logo {
	flex-shrink: 0;
}

.logo-img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 50%;
}

.header-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
}

.news-bubble {
	background: #fff;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.news-title {
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 8px;
}

.news-summary {
	font-size: 0.95rem;
	color: #333;
	margin-bottom: 10px;
}

.news-summary a {
	color: #0088cc;
	text-decoration: none;
}

.news-summary a:hover {
	text-decoration: underline;
}

.news-preview {
	border-left: 4px solid #0088cc;
	padding: 10px 12px;
	margin: 10px 0;
	background: #f5f5f5;
	border-radius: 0 8px 8px 0;
}

.preview-link {
	color: #0088cc;
	font-weight: 600;
	text-decoration: none;
}

.preview-link:hover {
	text-decoration: underline;
}

.preview-summary {
	font-size: 0.9rem;
	color: #555;
}

.news-tg-promo {
	font-size: 0.85rem;
	color: #666;
	margin-top: 10px;
}

.news-tg-promo a {
	color: #0088cc;
	text-decoration: none;
}

.news-meta {
	font-size: 0.8rem;
	color: #999;
	margin-top: 8px;
}

.pagination {
	text-align: center;
	margin: 24px 0;
	font-size: 0.95rem;
}

.page-link {
	color: #0088cc;
	text-decoration: none;
	margin: 0 8px;
}

.page-link:hover {
	text-decoration: underline;
}

.page-info {
	color: #666;
}

.footer {
	margin-top: 32px;
	padding: 20px;
	text-align: center;
	font-size: 0.9rem;
	color: #666;
	background: #fff;
	border-radius: 12px;
}

/* Страница статьи — тот же стиль, что и список новостей */
body.article-page .wrap {
	max-width: 680px;
	margin: 0 auto;
}

.article-back {
	margin-bottom: 12px;
}

.article-back .back-link {
	color: #0088cc;
	text-decoration: none;
	font-size: 0.95rem;
}

.article-back .back-link:hover {
	text-decoration: underline;
}

.article-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.article-header {
	margin-bottom: 24px;
}

.article-header h1 {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.meta {
	font-size: 0.9rem;
	color: #666;
}

.meta a {
	color: #0088cc;
	text-decoration: none;
}

.article-card article p {
	margin: 0 0 1em 0;
	line-height: 1.6;
}

.attribution {
	margin-top: 24px;
	font-size: 0.9rem;
	color: #666;
}

.attribution a {
	color: #0088cc;
}

.article-card .news-tg-promo {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}
