.aav-root {
	--aav-purple: var(--awb-color4, #5236b8);
	--aav-gold: var(--awb-color5, #e5a000);
	--aav-green: var(--awb-color-custom__1, #158449);
	--aav-dark: var(--awb-color6, #212529);
	--aav-muted: var(--awb-color7, #4c4c4d);
	--aav-border: #e7e7ea;
	--aav-surface: #ffffff;
	--aav-soft: #f7f6fc;
	box-sizing: border-box;
	color: var(--aav-dark);
	font-family: "Montserrat", var(--body_typography-font-family, Arial, sans-serif);
	margin: 2rem 0;
}

.aav-root *,
.aav-root *::before,
.aav-root *::after {
	box-sizing: inherit;
}

.aav-filter-hint {
	color: var(--aav-muted);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin: 0 0 1rem;
}

.aav-toolbar {
	align-items: center;
	background: var(--aav-surface);
	border: 1px solid var(--aav-border);
	display: grid;
	gap: 0.75rem 1rem;
	grid-template-columns: minmax(11rem, 0.32fr) 1fr;
	margin: 0;
	padding: 1rem;
}

.aav-toolbar + .aav-toolbar {
	border-top: 0;
	border-radius: 0 0 18px 18px;
}

.aav-toolbar:first-of-type {
	border-radius: 18px 18px 0 0;
}

.aav-label {
	color: var(--aav-purple);
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.aav-search,
.aav-category {
	appearance: none;
	background-color: #fff;
	border: 1px solid var(--aav-border) !important;
	border-radius: 999px;
	color: var(--aav-dark);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	width: 100%;
}

.aav-category {
	background-image: linear-gradient(45deg, transparent 50%, var(--aav-purple) 50%),
		linear-gradient(135deg, var(--aav-purple) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
	padding-right: 2.5rem;
}

.aav-search:focus,
.aav-category:focus {
	border-color: var(--aav-purple) !important;
	box-shadow: 0 0 0 3px rgba(82, 54, 184, 0.16);
	outline: none;
}

.aav-layout {
	align-items: stretch;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(18rem, 0.95fr) minmax(24rem, 1.25fr);
	margin: 1.5rem 0 0;
}

.aav-list-wrap,
.aav-detail-wrap {
	background: var(--aav-surface);
	border: 1px solid var(--aav-border) !important;
	border-radius: 22px;
	box-shadow: 0 16px 45px rgba(33, 37, 41, 0.08);
	min-width: 0;
	padding: 1rem;
}

.aav-list-wrap {
	display: flex;
	flex-direction: column;
	height: clamp(26rem, 62vh, 42rem);
	overflow: hidden;
}

.aav-questions {
	flex: 1 1 auto;
	max-height: none;
	min-height: 0;
	overflow-y: auto;
	padding: 0.25rem 0.25rem 0.25rem 0;
	scrollbar-color: var(--aav-purple) #eeeaf8;
	scrollbar-width: thin;
}

.aav-questions::-webkit-scrollbar {
	width: 10px;
}

.aav-questions::-webkit-scrollbar-thumb {
	background: var(--aav-purple);
	border-radius: 999px;
}

.aav-questions::-webkit-scrollbar-track {
	background: #eeeaf8;
	border-radius: 999px;
}

.aav-question {
	background: #fff;
	border: 1px solid transparent;
	border-radius: 14px;
	color: var(--aav-dark);
	cursor: pointer;
	margin: 0 0 0.45rem;
	padding: 0.85rem 0.95rem;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.aav-question:hover,
.aav-question:focus {
	background: var(--aav-soft);
	border-color: rgba(82, 54, 184, 0.22);
	box-shadow: 0 8px 22px rgba(82, 54, 184, 0.08);
	outline: none;
	transform: translateY(-1px);
}

.aav-question.aav-selected {
	background: var(--aav-purple);
	border-color: var(--aav-purple);
	box-shadow: 0 10px 26px rgba(82, 54, 184, 0.18);
	color: #fff;
}

.aav-question-title {
	font-size: 0.97rem;
	font-weight: 600;
	line-height: 1.45;
	padding: 0;
}

.aav-question.aav-selected .aav-question-title {
	font-weight: 700;
	outline: none;
}

.aav-no-results {
	color: var(--aav-muted);
	display: block;
	font-weight: 600;
	padding: 1rem 0.25rem;
}

.aav-detail-wrap {
	padding: 1.25rem;
}

.aav-main {
	align-items: center;
	background: #17151f;
	border-radius: 18px;
	color: #fff;
	display: flex;
	justify-content: center;
	min-height: 18rem;
	overflow: hidden;
	padding: 1.25rem;
	text-align: center;
}

.aav-main iframe {
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
	display: block;
	height: auto;
	min-height: 220px;
	width: 100%;
}

.aav-selected-title {
	color: var(--aav-purple);
	font-size: clamp(1.15rem, 1.5vw, 1.5rem);
	font-weight: 700;
	line-height: 1.35;
	margin: 1rem 0 0;
}

.aav-related-outer {
	background: var(--aav-surface);
	border: 1px solid var(--aav-border);
	border-radius: 22px;
	box-shadow: 0 16px 45px rgba(33, 37, 41, 0.08);
	margin-top: 1.5rem;
	padding: 1rem;
	width: 100%;
}

.aav-related-header {
	align-items: center;
	background: var(--aav-gold);
	border-radius: 18px;
	color: #fff;
	display: grid;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	font-weight: 800;
	gap: 1rem;
	grid-template-columns: 3rem 1fr 3rem;
	line-height: 1.2;
	padding: 0.9rem 1rem;
	text-align: center;
}

.aav-carousel-btn {
	align-items: center;
	background: rgba(255, 255, 255, 0.28);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 0;
	height: 2.75rem;
	justify-content: center;
	line-height: 1;
	width: 2.75rem;
}

.aav-carousel-prev::before,
.aav-carousel-next::before {
	border-color: currentColor;
	border-style: solid;
	content: "";
	display: block;
	height: 0.75rem;
	width: 0.75rem;
}

.aav-carousel-prev::before {
	border-width: 0 0 3px 3px;
	transform: rotate(45deg);
}

.aav-carousel-next::before {
	border-width: 3px 3px 0 0;
	transform: rotate(45deg);
}

.aav-carousel-btn:hover,
.aav-carousel-btn:focus {
	background: rgba(255, 255, 255, 0.44);
	outline: none;
}

.aav-carousel {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	overflow-x: auto;
	padding: 1rem 0.25rem 0.25rem;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--aav-purple) #eeeaf8;
	scrollbar-width: thin;
}

.aav-carousel-slide {
	flex: 0 0 min(21rem, 82vw);
	scroll-snap-align: start;
}

.aav-carousel-thumb {
	background: #17151f;
	border: 3px solid transparent;
	border-radius: 14px;
	cursor: pointer;
	overflow: hidden;
	padding: 0.35rem;
	transition: border-color 160ms ease, transform 160ms ease;
}

.aav-carousel-thumb:hover,
.aav-carousel-thumb:focus-within {
	border-color: var(--aav-purple);
	transform: translateY(-1px);
}

.aav-carousel-thumb iframe {
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 10px;
	display: block;
	height: auto;
	min-height: 120px;
	pointer-events: none;
	width: 100%;
}

.aav-root .d-none {
	display: none !important;
}

@media (max-width: 991px) {
	.aav-toolbar {
		grid-template-columns: 1fr;
	}

	.aav-layout {
		grid-template-columns: 1fr;
	}

	.aav-list-wrap {
		height: clamp(20rem, 48vh, 30rem);
	}

	.aav-main {
		min-height: 14rem;
	}
}

@media (max-width: 640px) {
	.aav-root {
		margin: 1.25rem 0;
	}

	.aav-toolbar,
	.aav-list-wrap,
	.aav-detail-wrap {
		border-radius: 16px;
	}

	.aav-main {
		padding: 0.75rem;
	}

	.aav-carousel-slide {
		flex-basis: 84%;
	}
}
