.rr-latest-videos {
	width: 100%;
	padding: 0 0 22px;
}

.rr-latest-videos__panel {
	position: relative;
	width: min(100% - 48px, 1680px);
	margin: 0 auto;
	padding: 22px 28px 24px;
	border: 1px solid rgba(6, 23, 68, 0.08);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 14px 38px rgba(6, 23, 68, 0.08);
}

.rr-latest-videos__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 18px;
}

.rr-latest-videos__title {
	display: inline-flex;
	align-items: center;
	gap: 0.58rem;
	margin: 0;
	color: var(--rr-ink);
	font-size: clamp(1.45rem, 1.45vw, 1.92rem);
	font-style: italic;
	line-height: 1;
	letter-spacing: 0;
}

.rr-section-bolt {
	display: inline-block;
	width: 18px;
	height: 20px;
	background: linear-gradient(135deg, #ffd138 0%, #ff9a00 100%);
	clip-path: polygon(47% 0, 100% 0, 63% 37%, 88% 37%, 18% 100%, 37% 53%, 0 53%);
	transform: skewX(-11deg);
}

.rr-latest-videos__view-all {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	color: var(--rr-blue-deep);
	font-size: 0.88rem;
	line-height: 1;
	white-space: nowrap;
}

.rr-latest-videos__view-all span {
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.rr-video-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 17px;
}

.rr-video-card {
	overflow: hidden;
	border: 1px solid rgba(6, 23, 68, 0.08);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 9px 20px rgba(6, 23, 68, 0.08);
}

.rr-video-card__thumb {
	position: relative;
	height: 135px;
	overflow: hidden;
	background: #e8f1ff;
}

.rr-video-card__thumb::before,
.rr-video-card__thumb::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.rr-video-card__thumb::before {
	inset: 0;
	background:
		linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 37%),
		radial-gradient(circle at 56% 44%, rgba(255, 255, 255, 0.72), transparent 0.5rem),
		linear-gradient(180deg, transparent 0 62%, rgba(0, 0, 0, 0.24) 100%);
}

.rr-video-card__thumb::after {
	left: 50%;
	bottom: 0;
	width: 88%;
	height: 42%;
	border-left: 4px solid rgba(255, 255, 255, 0.45);
	border-right: 4px solid rgba(255, 255, 255, 0.2);
	transform: translateX(-50%) perspective(130px) rotateX(58deg);
	transform-origin: bottom;
}

.rr-video-card__thumb--neon {
	background:
		radial-gradient(circle at 24% 34%, #ff47c8 0 9%, transparent 18%),
		linear-gradient(135deg, #3512a4 0%, #11115a 46%, #fa2ebf 100%);
}

.rr-video-card__thumb--jungle {
	background:
		radial-gradient(circle at 48% 50%, #5a4d31 0 12%, transparent 13%),
		linear-gradient(135deg, #56b778 0%, #c7e59e 43%, #2c7a50 100%);
}

.rr-video-card__thumb--family {
	background:
		radial-gradient(circle at 16% 56%, #ff58cf 0 12%, transparent 13%),
		linear-gradient(135deg, #ffb238 0%, #3dc9ff 48%, #ff74be 100%);
}

.rr-video-card__thumb--speed {
	background:
		linear-gradient(90deg, rgba(255, 154, 0, 0.78), transparent 22%, transparent 80%, rgba(255, 154, 0, 0.76)),
		linear-gradient(135deg, #051b42 0%, #0d6ccf 52%, #04132d 100%);
}

.rr-video-card__thumb--skyline {
	background:
		radial-gradient(circle at 21% 19%, #e6a547 0 10%, transparent 11%),
		linear-gradient(135deg, #7fd0ff 0%, #e6f3ff 48%, #3276ff 100%);
}

.rr-video-card__duration {
	position: absolute;
	right: 7px;
	bottom: 7px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 24px;
	padding: 0 7px;
	border-radius: 7px;
	background: rgba(7, 13, 30, 0.88);
	color: #ffffff;
	font-size: 0.8rem;
	line-height: 1;
}

.rr-video-card__body {
	padding: 13px 14px 15px;
}

.rr-video-card__title {
	margin: 0 0 11px;
	color: var(--rr-ink);
	font-size: 0.98rem;
	line-height: 1.1;
	letter-spacing: 0;
}

.rr-video-card__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	line-height: 1;
}

.rr-video-card__tag--neon,
.rr-video-card__tag--skyline {
	background: #f0e5ff;
	color: #7445c8;
}

.rr-video-card__tag--jungle {
	background: #e8fae5;
	color: #31a64a;
}

.rr-video-card__tag--family {
	background: #fff0e7;
	color: #ef7438;
}

.rr-video-card__tag--speed {
	background: #e7f3ff;
	color: #3387dd;
}


@media (max-width: 1180px) {
	.rr-latest-videos__panel {
		width: min(100% - 32px, 1180px);
		padding: 20px;
	}

	.rr-video-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.rr-latest-videos__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.9rem;
	}

	.rr-video-grid {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 620px) {
	.rr-latest-videos__panel {
		width: min(100% - 1.2rem, 620px);
		padding: 16px;
		border-radius: 18px;
	}
}
.rr-video-card__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rr-video-card__thumb::before,
.rr-video-card__thumb::after {
	z-index: 1;
}

.rr-video-card__duration {
	z-index: 2;
}
.rr-video-card__title b {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}
.rr-video-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.rr-video-card:focus-visible {
	outline: 3px solid rgba(22, 133, 248, 0.42);
	outline-offset: 4px;
}

.rr-video-card__thumb {
	height: 170px;
}

@media (max-width: 1180px) {
	.rr-video-card__thumb {
		height: 160px;
	}
}

@media (max-width: 760px) {
	.rr-video-card__thumb {
		height: 210px;
	}
}