.VideosHero {
	display: flex;
	align-items: center;
	height: 400px;
	padding: 0;
	background-image:
		linear-gradient(90deg, rgba(9, 13, 16, 0.82), rgba(9, 13, 16, 0.48)),
		url("../images/5ff4dd45a8f1784ab5651ad24b20f6a3b64e32d3.png");
	color: #fff;
	background-size: cover;
}

.VideosHero .main,
.VideoCatalog .main {
	width: 1360px;
	max-width: 90%;
}

.VideosHero span {
	color: #ed5030;
	font-size: 14px;
	line-height: 21px;
}

.VideosHero h1 {
	margin-top: 18px;
	font-size: 64px;
	line-height: 80px;
}

.VideosHero p {
	max-width: 670px;
	margin-top: 18px;
	color: #ccd0d3;
	font-size: 18px;
	line-height: 29px;
}

.VideoCatalog {
	padding: 80px 0 110px;
	background: #f5f6f7;
}



.videoLayout {
	display: grid;
	grid-template-columns: 266px 1fr;
	gap: 26px;
}
.VideoCatalog .featuredTitle,
.VideoCatalog .videosTitle {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.VideoCatalog .featuredTitle {
	padding-bottom: 12px;
	border-bottom: 2px solid var(--site-red);
}

.VideoCatalog .featuredTitle h2,
.VideoCatalog .videosTitle h2 {
	font-size: 32px;
	line-height: 42px;
}

.VideoCatalog .featuredTitle span {
	color: var(--site-red);
	font-size: 16px;
	line-height: 24px;
}

.VideoCatalog .featuredVideo {
    margin-bottom: var(--p60);
	display: grid;
	grid-template-columns: 1.45fr 1fr;
	border: 1px solid var(--site-line);
	background: #fff;
	border-radius: 8px;
}

.VideoCatalog .featuredImage {
	position: relative;
	aspect-ratio: 660 / 360;
	flex-shrink: 0;
}

.VideoCatalog .featuredImage i,
.VideoCatalog .videoImage i {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: rgba(217, 45, 11, 0.88);
	color: #fff;
	font-style: normal;
	transform: translate(-50%, -50%);
	border-radius: 12px;
}


.VideoCatalog .featuredImage small {
	position: absolute;
	right: 12px;
	bottom: 10px;
	padding: 4px 8px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
}

.VideoCatalog .featuredVideo > div:last-child {
	padding: 40px 30px;
}

.VideoCatalog .featuredVideo > div > span {
	color: var(--site-red);
	font-size: 16px;
	line-height: 24px;
}

.VideoCatalog .featuredVideo h3 {
	margin-top: 10px;
	font-size: 24px;
	line-height: 34px;
}

.VideoCatalog .featuredVideo p {
	margin: 16px 0 26px;
	color: #626970;
	font-size: 16px;
	line-height: 26px;
}

.VideoCatalog .featuredVideo small {

	font-size: 14px;
	line-height: 22px;
}
.VideoCatalog .featuredVideo dl{
    display: flex;
    flex-wrap: wrap;
    gap: vaR(--p10) var(--p30);
    
}
.VideoCatalog .featuredVideo dl dd{
       display: flex;
       align-items: center;
       white-space: nowrap;
       gap: var(--p5);
}
.VideoCatalog .featuredVideo dl dd img{
    flex-shrink: 0;
}
.VideoCatalog .videosTitle {
}

.VideoCatalog .videosTitle div {
	display: flex;
}

.VideoCatalog .videosTitle button {
	padding: 9px 18px;
	background: #e8eaec;
	font-size: 12px;
	line-height: 18px;
}

.VideoCatalog .videosTitle button.active {
	background: var(--site-red);
	color: #fff;
}

.VideoCatalog .videoGrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 22px;
}

.VideoCatalog .videoGrid > a {
	padding-bottom: 18px;
	border: 1px solid var(--site-line);
	background: #fff;
	border-radius: 8px;
}

.VideoCatalog .videoImage {
	position: relative;
	aspect-ratio: 352 / 192;
	flex-shrink: 0;
}
.VideoCatalog .videoImage img{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.VideoCatalog .videoImage i {
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.72);
	color: #fff;
}

.VideoCatalog .videoGrid h3,
.VideoCatalog .videoGrid p,
.VideoCatalog .videoGrid > a > div:last-child {
	margin-right: 16px;
	margin-left: 16px;
}

.VideoCatalog .videoGrid h3 {
	margin-top: 16px;
	font-size: 16px;
	line-height: 24px;
}

.VideoCatalog .videoGrid p {
    height: 3em;
    line-height: 1.5;
	margin-top: 8px;
	color: #70767c;
	font-size: 14px;
	line-height: 22px;
}

.VideoCatalog .videoGrid > a > div:last-child {
	display: flex;
	justify-content: space-between;
	margin-top: 14px;
	color: #8b9095;
	font-size: 12px;
	line-height: 18px;
}

.VideoCatalog .pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 48px;
}

.VideoCatalog .pagination button,
.VideoCatalog .pagination span,
.VideoCatalog .pagination a{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--site-line);
	border-radius: 2px;
}

.VideoCatalog .pagination button.active {
	background: var(--site-red);
	color: #fff;
}

@media only screen and (max-width: 1440px) {
	.VideoCatalog .videoLayout {
		grid-template-columns: 230px 1fr;
	}
}

@media only screen and (max-width: 768px) {
	.VideosHero {
		height: auto;
		min-height: 400px;
	}

	.VideosHero h1 {
		font-size: 44px;
		line-height: 56px;
	}

	.VideoCatalog .videoLayout,
	.VideoCatalog .featuredVideo,
	.VideoCatalog .videoGrid {
		grid-template-columns: 1fr;
	}

	.VideoCatalog .featuredVideo > div:last-child {
		padding: 24px;
	}
}
