/**
 * Terms & Conditions — modern layout (legacy jaingems.com/terms content)
 */
body.jg-terms-page .seprate-main-box.about-jg-shell {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.jg-terms-wrap {
	max-width: var(--jg-site-content-max, 1100px);
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	padding: clamp(0.5rem, 1.5vw, 0.85rem) var(--jg-site-pad-x, 1.25rem) clamp(1.75rem, 5vw, 2.75rem);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #020617;
}

.jg-terms-ol {
	margin: 0;
	padding-left: 0;
	list-style: none;
	counter-reset: jg-term;
}

.jg-terms-ol > li {
	counter-increment: jg-term;
	position: relative;
	margin: 0 0 1.15rem;
	padding: 1.15rem 1.15rem 1.15rem 3.15rem;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-left: 3px solid rgba(26, 95, 138, 0.55);
	border-radius: 14px;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
	line-height: 1.68;
	color: #0f172a;
	font-size: 1rem;
}

.jg-terms-ol > li strong {
	color: #020617;
	font-weight: 700;
}

.jg-terms-ol > li::before {
	content: counter(jg-term) ".";
	position: absolute;
	left: 1.1rem;
	top: 1.1rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: #0c4a6e;
}

.jg-terms-ol > li[value] {
	counter-increment: none;
}

.jg-terms-ol > li[value]::before {
	content: attr(value) ".";
}

.jg-terms-bank {
	margin-top: 1rem;
	padding: 1rem 1.15rem;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 10px;
	border: 1px solid rgba(26, 95, 138, 0.22);
	font-size: 0.9375rem;
	line-height: 1.58;
	color: #020617;
}

.jg-terms-bank strong {
	display: block;
	margin-bottom: 0.35rem;
	color: #020617;
}

.jg-terms-bank p {
	margin: 0.35rem 0;
}

@media (max-width: 600px) {
	.jg-terms-ol > li {
		padding-left: 1.1rem;
		padding-top: 2.45rem;
	}

	.jg-terms-ol > li::before {
		top: 0.85rem;
		left: 1.1rem;
	}
}
