:root {
	--tftv-black: #111;
	--tftv-muted: #666;
	--tftv-border: #e5e5e5;
	--tftv-bg-soft: #f4f4f4;
	--tftv-browse-bg: #f5f5f5;
	--tftv-accent: #ffd300;
	--tftv-christmas: #ce0004;
	--tftv-max: 1200px;
	--tftv-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--tftv-font);
	color: var(--tftv-black);
	background: #fff;
	line-height: 1.5;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	opacity: 0.85;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.tftv-container {
	width: min(100% - 40px, var(--tftv-max));
	margin-inline: auto;
}

.tftv-section {
	padding: 60px 0;
}

.tftv-section-title {
	margin: 0 0 28px;
	font-size: clamp(1.4rem, 2vw, 1.85rem);
	font-weight: 700;
}

.tftv-page-title {
	margin: 0 0 30px;
	font-size: clamp(1.6rem, 2.5vw, 2rem);
	font-weight: 700;
}

.tftv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0;
	border-radius: 2px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.tftv-btn--dark,
.tftv-btn--primary {
	background: #000;
	color: #fff;
}

.tftv-btn--dark:hover,
.tftv-btn--primary:hover {
	background: #222;
	opacity: 1;
	color: #fff;
}

.tftv-btn--light {
	background: #fff;
	color: #000;
}

.tftv-btn--christmas {
	background: var(--tftv-christmas);
	color: #fff;
}

/* Header */
.tftv-header {
	border-bottom: 1px solid var(--tftv-border);
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
}

.tftv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 72px;
}

.tftv-logo {
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.tftv-nav__list {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tftv-nav__list a {
	font-weight: 500;
}

.tftv-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}

.tftv-nav-toggle span:not(.screen-reader-text) {
	display: block;
	width: 22px;
	height: 2px;
	background: #000;
}

.tftv-mobile-nav {
	border-top: 1px solid var(--tftv-border);
	padding: 16px 20px 24px;
}

.tftv-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tftv-mobile-nav li + li {
	margin-top: 12px;
}

@media (max-width: 860px) {
	.tftv-nav,
	.tftv-header__account {
		display: none;
	}

	.tftv-nav-toggle {
		display: flex;
	}
}

/* Hero */
.tftv-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
	align-items: center;
}

.tftv-hero__title {
	margin: 0 0 16px;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
	font-weight: 800;
}

.u-text-mark {
	background: linear-gradient(transparent 60%, var(--tftv-accent) 60%);
}

.tftv-hero__subtitle {
	margin: 0 0 24px;
	font-size: 1.15rem;
	color: var(--tftv-muted);
}

@media (max-width: 900px) {
	.tftv-hero__grid {
		grid-template-columns: 1fr;
	}
}

/* Grids */
.tftv-arts-grid__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.tftv-arts-grid__actions {
	margin-top: 32px;
	text-align: center;
}

@media (max-width: 900px) {
	.tftv-arts-grid__items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.tftv-arts-grid__items {
		grid-template-columns: 1fr;
	}
}

.tftv-section--christmas {
	background: #faf6f6;
}

.tftv-section--christmas .tftv-arts-grid__actions .tftv-btn {
	background: var(--tftv-christmas);
}

/* Newsletter */
.tftv-newsletter {
	background: var(--tftv-bg-soft);
}

.tftv-newsletter__inner {
	max-width: 720px;
	text-align: center;
}

.tftv-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}

.tftv-newsletter__form input {
	padding: 12px 14px;
	border: 1px solid #ccc;
	min-width: 180px;
	font: inherit;
}

.tftv-newsletter__note,
.tftv-newsletter__hint {
	color: var(--tftv-muted);
	font-size: 0.95rem;
}

/* Inspiration */
.tftv-inspiration-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.tftv-inspiration-grid__item {
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	background: #eee;
}

.tftv-inspiration-grid__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 800px) {
	.tftv-inspiration-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* How-to CTA */
.tftv-howto-cta {
	padding: 70px 0;
	background: linear-gradient(120deg, #1a1a1a, #3a3a3a);
	color: #fff;
	text-align: center;
}

.tftv-howto-cta__title {
	margin: 0 0 22px;
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

/* Single */
.tftv-single-art__grid {
	display: grid;
	grid-template-columns: 1.7fr 0.8fr;
	gap: 40px;
	align-items: start;
}

.tftv-single-art__title {
	margin: 24px 0 10px;
	font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.tftv-single-art__intro {
	margin: 0 0 14px;
	color: var(--tftv-muted);
	font-size: 1rem;
	line-height: 1.55;
	max-width: 42rem;
}

.tftv-single-art__content {
	color: var(--tftv-muted);
}

.tftv-download-btn {
	width: 100%;
	min-height: 56px;
	font-size: 1.05rem;
}

.tftv-downloads-count {
	margin: 14px 0 0;
	color: var(--tftv-muted);
}

.tftv-tag-list {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.tftv-tag-list a {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid #ddd;
	background: #fafafa;
	font-size: 0.9rem;
}

@media (max-width: 800px) {
	.tftv-single-art__grid {
		grid-template-columns: 1fr;
	}
}

/* Browse */
.tftv-browse {
	background: var(--tftv-browse-bg);
}

/* Footer */
.tftv-footer {
	padding: 40px 0 50px;
	border-top: 1px solid var(--tftv-border);
	color: var(--tftv-muted);
	font-size: 0.9rem;
}

.tftv-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tftv-footer__links a:hover {
	color: #000;
}

.tftv-entry > *:first-child {
	margin-top: 0;
}
