/*
 * RI Course Cards for Elementor
 * Everything is scoped under .ri-cc so the theme is never affected.
 * Elementor style controls override these defaults.
 */
.ri-cc,
.ri-cc *,
.ri-cc *::before,
.ri-cc *::after {
	box-sizing: border-box;
}

.ri-cc {
	width: 100%;
}

.ri-cc .ri-cc__title {
	margin: 0 0 28px;
	padding: 0;
	font-weight: 500;
	line-height: 1.2;
	color: #0b3a4a;
}

.ri-cc .ri-cc__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
}

.ri-cc .ri-cc__card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 28px;
	background-color: #fff;
	border: 1px solid rgba(11, 58, 74, 0.14);
	border-radius: 6px;
	transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.ri-cc .ri-cc__card-title {
	margin: 0 0 16px;
	padding: 0;
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.35;
	color: #0b3a4a;
}

.ri-cc--divider .ri-cc__card-title {
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(11, 58, 74, 0.14);
}

/* ---- Modules: topic list ---- */
.ri-cc .ri-cc__list {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	counter-reset: ri-cc-n;
}

.ri-cc .ri-cc__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.65em;
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #4a5a60;
	list-style: none;
	counter-increment: ri-cc-n;
}

.ri-cc .ri-cc__list li::before {
	flex: none;
	font-weight: 700;
	line-height: inherit;
	color: #2a9ca0;
}

.ri-cc .ri-cc__list--bullet li::before {
	content: "\2022";
}

.ri-cc .ri-cc__list--check li::before {
	content: "\2713";
}

.ri-cc .ri-cc__list--number li::before {
	content: counter(ri-cc-n) ".";
	min-width: 1.4em;
}

.ri-cc .ri-cc__list--none li::before {
	display: none;
}

.ri-cc .ri-cc__assessment {
	margin: 0;
	padding: 14px 0 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #4a5a60;
	border-top: 1px solid rgba(11, 58, 74, 0.14);
}

/* ---- Fees ---- */
.ri-cc .ri-cc__price {
	display: flex;
	align-items: baseline;
	gap: 0.4em;
	margin: 0 0 6px;
	padding: 0;
}

.ri-cc .ri-cc__price--usd .ri-cc__amount {
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.2;
	color: #0b3a4a;
}

.ri-cc .ri-cc__price--inr .ri-cc__amount {
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.3;
	color: #4a5a60;
}

.ri-cc .ri-cc__currency {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2a9ca0;
}

.ri-cc .ri-cc__note {
	margin: 20px 0 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #4a5a60;
}

.ri-cc .ri-cc__note a {
	color: #2a9ca0;
	text-decoration: underline;
}

.ri-cc .ri-cc__note a:hover {
	color: #0b3a4a;
}

/* Editor-only hint */
.ri-cc .ri-cc__editor-note {
	margin: 0 0 12px;
	padding: 8px 12px;
	font-size: 12px;
	color: #7a5b00;
	background: #fff8e1;
	border-left: 3px solid #f0b429;
}

@media (max-width: 1024px) {
	.ri-cc .ri-cc__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ri-cc .ri-cc__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
