.ravikant-faq,
.ravikant-faq * {
	box-sizing: border-box;
}

.ravikant-faq {
	width: 100%;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
	font-family: inherit;
	color: inherit;
}

.ravikant-faq--auto,
.ravikant-faq--shortcode {
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.ravikant-faq__header {
	margin-bottom: 1.5rem;
}

.ravikant-faq__badge {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-bottom: .65rem;
	padding: .35rem .75rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: .78em;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: transparent;
}

.ravikant-faq__title {
	margin: 0;
	font-family: inherit;
	line-height: 1.15;
	color: inherit;
}

.ravikant-faq__subtitle {
	max-width: 760px;
	margin-top: .75rem;
	line-height: 1.65;
	color: inherit;
}

.ravikant-faq__subtitle p {
	margin: 0;
}

.ravikant-faq__items {
	display: flex;
	flex-direction: column;
	gap: .85rem;
}

.ravikant-faq__item {
	overflow: hidden;
	border: 1px solid rgba(17, 24, 39, .14);
	border-radius: .9rem;
	background: transparent;
	color: inherit;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

@supports (color: color-mix(in srgb, currentColor 16%, transparent)) {
	.ravikant-faq__item {
		border-color: color-mix(in srgb, currentColor 16%, transparent);
	}

	.ravikant-faq__item.ravikant-is-open {
		border-color: color-mix(in srgb, currentColor 30%, transparent);
	}
}

.ravikant-faq__question {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 1.15rem;
	border: 0;
	background: transparent;
	font: inherit;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	color: inherit;
	cursor: pointer;
}

.ravikant-faq__question:hover,
.ravikant-faq__question:focus {
	background: rgba(17, 24, 39, .03);
	outline: none;
}

.ravikant-faq__question:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.ravikant-faq__question-text {
	min-width: 0;
}

.ravikant-faq__icon {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-weight: 700;
	line-height: 1;
	color: inherit;
}

.ravikant-faq__icon-open {
	display: none;
}

.ravikant-faq__item.ravikant-is-open .ravikant-faq__icon-closed {
	display: none;
}

.ravikant-faq__item.ravikant-is-open .ravikant-faq__icon-open {
	display: inline;
}

.ravikant-faq__answer {
	line-height: 1.7;
	color: inherit;
}

.ravikant-faq__answer[hidden] {
	display: none !important;
}

.ravikant-faq__answer-inner {
	padding: 0 1.15rem 1rem;
}

.ravikant-faq__answer-inner > :first-child {
	margin-top: 0;
}

.ravikant-faq__answer-inner > :last-child {
	margin-bottom: 0;
}

.ravikant-faq--empty {
	padding: 1rem;
	border: 1px dashed currentColor;
	border-radius: .75rem;
}

@media (max-width: 767px) {
	.ravikant-faq__question {
		padding: .9rem 1rem;
	}

	.ravikant-faq__answer-inner {
		padding: 0 1rem 1rem;
	}

	.ravikant-faq__icon {
		width: 1.55rem;
		height: 1.55rem;
	}
}
