/*
Theme Name: Teya Portfolio Hub
Theme URI: http://videocreator2026.duckdns.org/
Description: Тестовая прокладка — карточки демо-лендингов Teya (works).
Author: Teya
Version: 1.0.7
Text Domain: teya-portfolio-hub
*/

body.teya-works-hub {
	margin: 0;
	font-family: system-ui, Segoe UI, Roboto, sans-serif;
	background: #0f1419;
	color: #e8eaed;
}
.teya-works-hub__wrap {
	max-width: 880px;
	margin: 0 auto;
	padding: 48px 20px 64px;
}
.teya-works-hub__title {
	font-size: 1.75rem;
	margin: 0 0 8px;
}
.teya-works-hub__lead {
	opacity: 0.85;
	margin: 0 0 32px;
}
.teya-works-hub__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 16px;
}
.teya-works-hub__card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 20px;
	background: #1a2332;
	border: 1px solid #2a3544;
	border-radius: 12px;
	padding: 16px;
}
.teya-works-hub__shot-link {
	flex: 0 0 200px;
	display: block;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #2a3544;
	line-height: 0;
}
.teya-works-hub__shot {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	object-position: top left;
	aspect-ratio: 16 / 9;
}
.teya-works-hub__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.teya-works-hub__body-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}
.teya-works-hub__body h2 {
	margin: 0;
	font-size: 1.2rem;
	flex: 1;
	min-width: 0;
}
.teya-works-hub__created {
	flex-shrink: 0;
	font-size: 0.8rem;
	font-weight: 400;
	color: #e8eaed;
	opacity: 0.82;
	white-space: nowrap;
}
.teya-works-hub__body p {
	margin: 0 0 16px;
	opacity: 0.9;
}
@media (max-width: 560px) {
	.teya-works-hub__card {
		flex-direction: column;
	}
	.teya-works-hub__shot-link {
		flex: none;
		width: 100%;
	}
}
.teya-works-hub__btn {
	display: inline-block;
	padding: 10px 18px;
	background: #3b82f6;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
}
.teya-works-hub__btn:hover {
	background: #2563eb;
}
