body.page-template-template-selfhosted #content.site-content {
	margin-top: 0;
	padding-top: 10px;
}

body.page-template-template-selfhosted .selfhosted-video-hub-copy .archive-description p:last-child {
	margin-bottom: 0;
}

@media screen and (min-width: 1200px) {
	body.page-template-template-selfhosted .content-area,
	body.page-template-template-selfhosted .content-area.with-sidebar-right,
	body.page-template-template-selfhosted .content-area.with-sidebar-left {
		float: none;
		width: 100%;
		margin: 0;
	}

	body.page-template-template-selfhosted .site-main,
	body.page-template-template-selfhosted .site-main.with-sidebar-right,
	body.page-template-template-selfhosted .site-main.with-sidebar-left {
		margin: 0;
	}

	body.page-template-template-selfhosted .site-content .widget-area {
		display: none;
	}

	body.page-template-template-selfhosted .page-header.anwad-archive-feed-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1em;
		margin-bottom: 10px;
	}

	body.page-template-template-selfhosted .page-header.anwad-archive-feed-header .widget-title {
		flex: 1 1 auto;
		margin-bottom: 0;
	}

	body.page-template-template-selfhosted .page-header.anwad-archive-feed-header #filters {
		position: static;
		flex: 0 0 auto;
		margin: 0 0 0 auto;
	}

	body.page-template-template-selfhosted .videos-list {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
		margin: 0;
	}

	body.page-template-template-selfhosted #main .videos-list .thumb-block {
		display: block !important;
		float: none;
		width: 100% !important;
		min-width: 0;
		margin: 0;
		padding: 0;
	}

	body.page-template-template-selfhosted #main .videos-list .video-preview-item {
		display: block !important;
		justify-self: stretch;
		width: 100% !important;
	}

	body.page-template-template-selfhosted #main .videos-list .thumb-block a {
		display: block !important;
		width: 100% !important;
	}

	body.page-template-template-selfhosted #main .videos-list .post-thumbnail {
		aspect-ratio: 4 / 3;
		overflow: hidden;
	}

	body.page-template-template-selfhosted #main .videos-list .post-thumbnail-container {
		position: absolute;
		inset: 0;
		height: 100%;
	}

	body.page-template-template-selfhosted #main .videos-list .post-thumbnail img,
	body.page-template-template-selfhosted #main .videos-list .post-thumbnail .wpst-trailer {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	body.page-template-template-selfhosted #main .videos-list .entry-header {
		display: -webkit-box;
		height: 3.6em;
		padding: 0.55em 0 0;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body.page-template-template-selfhosted #main .videos-list .entry-header span {
		display: -webkit-box;
		overflow: hidden;
		text-overflow: ellipsis;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	body.page-template-template-selfhosted .site-main > .pagination,
	body.page-template-template-selfhosted .category-archive-supporting-copy {
		margin-bottom: 10px;
	}

	body.page-template-template-selfhosted .selfhosted-video-hub-copy {
		margin-top: 0;
	}
}

@media screen and (max-width: 767.98px) {
	body.page-template-template-selfhosted .page-header.anwad-archive-feed-header {
		margin-bottom: 0.45rem;
	}

	body.page-template-template-selfhosted .selfhosted-video-hub-copy {
		margin-top: 0.75rem;
	}
}
