/* Rapidinhas – YouTube do Canal */
.rsd-yt,
.rsd-yt *,
.rsd-yt *::before,
.rsd-yt *::after {
	box-sizing: border-box;
}
.rsd-yt {
	--rsd-yt-active: #FF7A2F;
	--rsd-yt-thumb: 168px;
}

/* Cabeçalho (mesma marca "//" dos outros blocos) */
.rsd-yt__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 24px;
}
.rsd-yt__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.rsd-yt__h {
	margin: 0;
	color: #141414;
	line-height: 1.1;
}
.rsd-yt .rsd-mark {
	--rsd-mark: #FF7A2F;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 5px;
	height: 0.9em;
	font-size: 28px;
	transform: skewX(-22deg);
}
.rsd-yt .rsd-mark i {
	display: block;
	width: 5px;
	height: 100%;
	border-radius: 1px;
	background: var(--rsd-mark);
}
.rsd-yt__sub {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: #141414;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .15s ease;
}
.rsd-yt__sub:hover,
.rsd-yt__sub:focus-visible {
	background: #FF7A2F;
	color: #FFFFFF;
}
.rsd-yt__sub-icon {
	display: inline-flex;
	font-size: 18px;
}
.rsd-yt__sub-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Grade */
.rsd-yt__grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 28px;
	align-items: start;
}
.rsd-yt__main,
.rsd-yt__side {
	min-width: 0;
}

/* Player */
.rsd-yt__frame {
	padding: 6px;
	border-radius: 18px;
	background: #FF7A2F;
}
.rsd-yt__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #000000;
}
.rsd-yt__stage > iframe,
.rsd-yt__stage > div,
.rsd-yt__facade {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}
.rsd-yt__facade {
	display: block;
	padding: 0;
	margin: 0;
	background: #000000;
	cursor: pointer;
	overflow: hidden;
}
.rsd-yt__facade:focus-visible {
	outline: 3px solid #FFFFFF;
	outline-offset: -6px;
}
.rsd-yt__cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform .5s ease;
}
.rsd-yt__facade:hover .rsd-yt__cover {
	transform: scale(1.02);
}
.rsd-yt__cover-shade {
	position: absolute;
	inset: 0 0 auto 0;
	height: 45%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent);
	pointer-events: none;
}
.rsd-yt__cover-title {
	position: absolute;
	top: 18px;
	left: 22px;
	right: 22px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	color: #FFFFFF;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	text-align: left;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.rsd-yt__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin: -38px 0 0 -38px;
	border-radius: 999px;
	background: #FF7A2F;
	color: #FFFFFF;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
	transition: background-color .15s ease, transform .15s ease;
}
.rsd-yt__play svg {
	margin-left: 4px;
}
.rsd-yt__facade:hover .rsd-yt__play,
.rsd-yt__facade:focus-visible .rsd-yt__play {
	background: #141414;
	transform: scale(1.06);
}

/* Lista */
.rsd-yt__scroll {
	max-height: var(--rsd-yt-h, 560px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: #C8C8CE transparent;
}
.rsd-yt__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.rsd-yt__li {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid transparent;
}
.rsd-yt__li + .rsd-yt__li {
	border-top: 1px solid #E6E6EA;
}
.rsd-yt__item {
	display: grid;
	grid-template-columns: 30px var(--rsd-yt-thumb) minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	width: 100%;
	margin: 0;
	padding: 12px 8px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color .15s ease;
}
.rsd-yt--nonum .rsd-yt__item {
	grid-template-columns: var(--rsd-yt-thumb) minmax(0, 1fr);
}
.rsd-yt--nonum .rsd-yt__num {
	display: none;
}
.rsd-yt__item:hover {
	background: #F2F2F3;
}
.rsd-yt__item:focus-visible {
	outline: 3px solid var(--rsd-yt-active);
	outline-offset: -3px;
}
.rsd-yt__num {
	position: relative;
	color: #B4B4BC;
	font-family: "Archivo", sans-serif;
	font-size: 26px;
	font-weight: 900;
	line-height: 1;
	text-align: right;
}
.rsd-yt__item[aria-current="true"] .rsd-yt__num {
	color: var(--rsd-yt-active) !important;
}
.rsd-yt__item[aria-current="true"] .rsd-yt__num::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -2px;
	margin-top: -6px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 8px solid var(--rsd-yt-active);
}
.rsd-yt__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: #22222A;
	transition: box-shadow .15s ease;
}
.rsd-yt__thumb img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.rsd-yt__item[aria-current="true"] .rsd-yt__thumb {
	box-shadow: 0 0 0 3px var(--rsd-yt-active);
}
.rsd-yt__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.rsd-yt__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	color: #141414;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	overflow-wrap: anywhere;
}
.rsd-yt__date {
	color: #6E6E78;
	font-size: 12px;
	font-weight: 600;
}
.rsd-yt__now {
	display: none;
	align-items: center;
	gap: 6px;
	color: var(--rsd-yt-active);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .6px;
	text-transform: uppercase;
}
.rsd-yt__now::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: currentColor;
}
.rsd-yt__item[aria-current="true"] .rsd-yt__now {
	display: inline-flex;
}

/* Carregar mais */
.rsd-yt__more {
	display: block;
	width: 100%;
	height: 48px;
	margin: 12px 0 4px;
	padding: 0 20px;
	border: 2px solid #141414;
	border-radius: 999px;
	background: transparent;
	color: #141414;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.rsd-yt__more:hover,
.rsd-yt__more:focus-visible {
	background: #FF7A2F;
	border-color: #FF7A2F;
	color: #FFFFFF !important;
}
.rsd-yt__more[disabled] {
	opacity: .6;
	cursor: progress;
}

/* Editor */
.rsd-editor-notice {
	margin: 0;
	padding: 12px 16px;
	border: 1px dashed #8C8C96;
	border-radius: 8px;
	color: #6E6E78;
	font-size: 13px;
}

/* Tablet: player em cima, lista em duas colunas embaixo */
@media (max-width: 1024px) {
	.rsd-yt__grid {
		grid-template-columns: 1fr;
	}
	.rsd-yt__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 16px;
	}
	.rsd-yt .rsd-yt__li:nth-child(2) {
		border-top-style: none;
	}
	.rsd-yt__more {
		max-width: 360px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Celular */
@media (max-width: 767px) {
	.rsd-yt__grid {
		gap: 16px;
	}
	.rsd-yt__head .rsd-yt__sub {
		height: 40px;
		padding: 0 16px;
		font-size: 13px;
	}
	.rsd-yt__play {
		width: 60px;
		height: 60px;
		margin: -30px 0 0 -30px;
	}
	.rsd-yt__play svg {
		width: 24px;
		height: 24px;
	}
	.rsd-yt__cover-title {
		top: 12px;
		left: 14px;
		right: 14px;
		font-size: 16px;
	}
	.rsd-yt__list {
		display: block;
	}
	.rsd-yt .rsd-yt__li:nth-child(2) {
		border-top-style: solid;
	}
	.rsd-yt__item {
		grid-template-columns: 22px var(--rsd-yt-thumb) minmax(0, 1fr);
		gap: 12px;
		padding: 10px 4px;
	}
	.rsd-yt__num {
		font-size: 20px;
	}
	.rsd-yt__more {
		max-width: none;
	}

	/* Fila que rola para o lado */
	.rsd-yt--mrow .rsd-yt__scroll {
		max-height: none !important;
		overflow: visible;
		padding-right: 0;
	}
	.rsd-yt--mrow .rsd-yt__list {
		display: grid;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 64%;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding: 6px 6px 8px;
		margin: 0 -6px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.rsd-yt--mrow .rsd-yt__list::-webkit-scrollbar {
		display: none;
	}
	.rsd-yt--mrow .rsd-yt__li,
	.rsd-yt--mrow .rsd-yt__li + .rsd-yt__li {
		border-top: 0;
		scroll-snap-align: start;
	}
	.rsd-yt--mrow .rsd-yt__item {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		height: 100%;
		padding: 0;
		background: transparent;
	}
	.rsd-yt--mrow .rsd-yt__item:hover {
		background: transparent;
	}
	.rsd-yt--mrow .rsd-yt__num {
		display: none;
	}
	.rsd-yt--mrow .rsd-yt__thumb {
		width: 100%;
	}
	.rsd-yt--mrow .rsd-yt__title {
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rsd-yt__cover,
	.rsd-yt__play,
	.rsd-yt__thumb {
		transition: none;
	}
}
