.vt-film-search-page {
	padding-inline: 20px;
}

.vt-film-search-header {
	margin-bottom: 1.25rem;
	padding-bottom: 0.95rem;
	border-bottom: 1px solid var(--vt-line);
}

.vt-film-search-title {
	margin: 0;
	font-size: clamp(1.5rem, 2.3vw, 2.2rem);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.vt-film-search-intro {
	margin: 0.6rem 0 0;
	max-width: 70ch;
	color: var(--vt-muted);
}

.vt-film-search-layout {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 1.2rem;
	align-items: start;
}

.vt-film-search-sidebar {
	position: sticky;
	top: 1rem;
	padding: 1rem;
	border: 1px solid var(--vt-line);
	background: #f7f7f7;
}

.vt-film-search-form {
	display: grid;
	gap: 0.8rem;
}

.vt-filter-group {
	display: grid;
	gap: 0.35rem;
}

.vt-filter-label {
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

.vt-filter-input,
.vt-filter-select {
	width: 100%;
	padding: 0.6rem 0.7rem;
	border: 1px solid #aaa;
	font-size: 0.94rem;
	background: #fff;
	color: var(--vt-text);
}

.vt-filter-actions {
	margin-top: 0.35rem;
}

.vt-filter-submit {
	display: inline-block;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	padding: 0.65rem 0.95rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.vt-filter-submit:hover,
.vt-filter-submit:focus-visible {
	background: #222;
}

.vt-film-search-count {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: var(--vt-muted);
}

.vt-film-search-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: var(--vt-space-2);
}

@media (max-width: 1400px) {
	.vt-film-search-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.vt-film-search-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.vt-film-search-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.vt-film-search-empty {
	padding: 1rem;
	border: 1px dashed var(--vt-line);
	background: #fafafa;
}

.vt-film-search-empty h2 {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
}

.vt-film-search-empty p {
	margin: 0;
	color: var(--vt-muted);
}

.vt-film-search-pagination {
	margin-top: 1.2rem;
}

.vt-film-search-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.vt-film-search-pagination a,
.vt-film-search-pagination span {
	display: inline-block;
	padding: 0.35rem 0.5rem;
	border: 1px solid var(--vt-line);
	font-size: 0.85rem;
}

.vt-film-search-pagination .current {
	background: #000;
	color: #fff;
	border-color: #000;
}

@media (max-width: 900px) {
	.vt-film-search-layout {
		grid-template-columns: 1fr;
	}

	.vt-film-search-sidebar {
		position: static;
	}
}
