.content {
	--sdf-content-accent: #0051f3;
	--sdf-content-bg: #14171d;
	--sdf-content-head: #20242c;
	--sdf-content-head-2: #1a1e25;
	--sdf-content-line: #303641;
	--sdf-content-text: #f4f6fa;
	--sdf-content-muted: #aeb5c2;
}

/* --------------------------------------------------------------------------
 * Responsive blog tables
 * ----------------------------------------------------------------------- */

.content .sdf-table-scroll {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 24px 0 34px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--sdf-content-line);
	border-top-color: rgba(0, 81, 243, 0.76);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.012);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	scrollbar-width: thin;
	scrollbar-color: var(--sdf-content-accent) #20242c;
}

.content .sdf-table-scroll:focus-visible {
	outline: 2px solid var(--sdf-content-accent);
	outline-offset: 3px;
}

.content .sdf-table-scroll::-webkit-scrollbar {
	height: 7px;
}

.content .sdf-table-scroll::-webkit-scrollbar-track {
	background: #20242c;
}

.content .sdf-table-scroll::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: var(--sdf-content-accent);
}

.content figure.wp-block-table.sdf-table-figure {
	width: 100%;
	max-width: 100%;
	margin: 24px 0 34px;
	overflow: visible;
}

.content figure.wp-block-table.sdf-table-figure > .sdf-table-scroll {
	margin: 0;
}

.content figure.wp-block-table.sdf-table-figure figcaption {
	margin: 9px 4px 0;
	color: var(--sdf-content-muted);
	font-size: 13px;
	line-height: 1.8;
	text-align: right;
}

.content .sdf-table-scroll > table.sdf-blog-table {
	width: max-content !important;
	min-width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	table-layout: auto !important;
	direction: rtl;
	color: var(--sdf-content-text);
	background: transparent !important;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	line-height: 1.85;
}

.content .sdf-table-scroll > table.sdf-blog-table th,
.content .sdf-table-scroll > table.sdf-blog-table td {
	min-width: 145px;
	max-width: 320px;
	padding: 15px 17px !important;
	border: 0 !important;
	/*
	 * Draw separators on the visual left edge of every RTL cell.
	 * Using inline-end avoids dropping the separator before the last
	 * visual column, which happened with inline-start in RTL tables.
	 */
	border-inline-end: 1px solid var(--sdf-content-line) !important;
	border-bottom: 1px solid var(--sdf-content-line) !important;
	color: inherit;
	background: transparent !important;
	text-align: center !important;
	vertical-align: middle !important;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
}

.content .sdf-table-scroll > table.sdf-blog-table tr > :last-child {
	/* The wrapper already provides the outer left border. */
	border-inline-end: 0 !important;
}

/* Keep cell content centered even when the theme adds alignment to inner paragraphs. */
.content .sdf-table-scroll > table.sdf-blog-table th > *,
.content .sdf-table-scroll > table.sdf-blog-table td > * {
	text-align: center !important;
}

.content .sdf-table-scroll > table.sdf-blog-table th > :first-child,
.content .sdf-table-scroll > table.sdf-blog-table td > :first-child {
	margin-top: 0 !important;
}

.content .sdf-table-scroll > table.sdf-blog-table th > :last-child,
.content .sdf-table-scroll > table.sdf-blog-table td > :last-child {
	margin-bottom: 0 !important;
}

.content .sdf-table-scroll > table.sdf-blog-table tbody:last-of-type > tr:last-child > * {
	border-bottom: 0 !important;
}

.content .sdf-table-scroll > table.sdf-blog-table thead th,
.content .sdf-table-scroll > table.sdf-blog-table.sdf-table-assumed-head tbody:first-of-type > tr:first-child > td {
	padding-top: 16px !important;
	padding-bottom: 16px !important;
	color: #fbfcff !important;
	background: linear-gradient(180deg, var(--sdf-content-head), var(--sdf-content-head-2)) !important;
	font-weight: 800 !important;
	white-space: nowrap;
}

.content .sdf-table-scroll > table.sdf-blog-table tbody tr:nth-child(even) > * {
	background: rgba(255, 255, 255, 0.018) !important;
}

.content .sdf-table-scroll > table.sdf-blog-table tbody tr:hover > * {
	background: rgba(0, 81, 243, 0.05) !important;
}

.content .sdf-table-scroll > table.sdf-blog-table.sdf-table-assumed-head tbody:first-of-type > tr:first-child:hover > td {
	background: linear-gradient(180deg, var(--sdf-content-head), var(--sdf-content-head-2)) !important;
}

.content .sdf-table-scroll > table.sdf-blog-table tbody td:first-child {
	color: #fff;
	font-weight: 700;
}

.content .sdf-table-scroll > table.sdf-blog-table caption {
	caption-side: bottom;
	padding: 12px 16px;
	color: var(--sdf-content-muted);
	font-size: 13px;
	line-height: 1.8;
	text-align: right;
}

.content .sdf-table-scroll > table.sdf-blog-table a {
	color: var(--sdf-content-accent);
	text-decoration: none;
}

.content .sdf-table-scroll > table.sdf-blog-table a:hover {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
 * Blog lists
 * ----------------------------------------------------------------------- */

.content .sdf-unordered-list,
.content .sdf-ordered-list {
	box-sizing: border-box;
	width: 100%;
	margin: 22px 0 28px !important;
	padding: 0 !important;
}

.content .sdf-unordered-list {
	list-style: none !important;
}

.content .sdf-unordered-list > li {
	position: relative;
	margin: 0 0 7px !important;
	padding: 11px 15px !important;
	border: 0 !important;
	border-inline-start: 3px solid var(--sdf-content-accent) !important;
	border-radius: 9px;
	list-style: none !important;
	background: rgba(255, 255, 255, 0.018);
	color: inherit;
	line-height: 1.95;
}

.content .sdf-unordered-list > li:dir(rtl) {
	background: linear-gradient(270deg, rgba(0, 81, 243, 0.075), rgba(255, 255, 255, 0.012) 48%, transparent 100%);
}

.content .sdf-unordered-list > li:dir(ltr) {
	background: linear-gradient(90deg, rgba(0, 81, 243, 0.075), rgba(255, 255, 255, 0.012) 48%, transparent 100%);
}

.content .sdf-unordered-list > li:last-child {
	margin-bottom: 0 !important;
}

.content .sdf-ordered-list {
	counter-reset: sdf-list-item;
	list-style: none !important;
}

.content .sdf-ordered-list > li {
	position: relative;
	counter-increment: sdf-list-item;
	min-height: 42px;
	margin: 0 !important;
	padding-block: 11px 12px !important;
	padding-inline-start: 48px !important;
	padding-inline-end: 6px !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
	list-style: none !important;
	color: inherit;
	line-height: 1.95;
}

.content .sdf-ordered-list > li::before {
	content: counter(sdf-list-item);
	position: absolute;
	inset-inline-start: 0;
	top: 10px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--sdf-content-accent);
	box-shadow: 0 7px 18px rgba(0, 81, 243, 0.12);
	color: #ffffff;
	font-size: 14px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.content .sdf-ordered-list > li:last-child {
	border-bottom: 0 !important;
}

.content .sdf-unordered-list .sdf-unordered-list,
.content .sdf-unordered-list .sdf-ordered-list,
.content .sdf-ordered-list .sdf-unordered-list,
.content .sdf-ordered-list .sdf-ordered-list {
	margin-top: 10px !important;
	margin-bottom: 2px !important;
}

.content .sdf-unordered-list > li > :first-child,
.content .sdf-ordered-list > li > :first-child {
	margin-top: 0 !important;
}

.content .sdf-unordered-list > li > :last-child,
.content .sdf-ordered-list > li > :last-child {
	margin-bottom: 0 !important;
}

@media (max-width: 767px) {
	.content .sdf-table-scroll,
	.content figure.wp-block-table.sdf-table-figure {
		margin-top: 18px;
		margin-bottom: 28px;
	}

	.content .sdf-table-scroll {
		border-radius: 12px;
		box-shadow: none;
	}

	.content .sdf-table-scroll > table.sdf-blog-table {
		font-size: 14px;
	}

	.content .sdf-table-scroll > table.sdf-blog-table th,
	.content .sdf-table-scroll > table.sdf-blog-table td {
		min-width: 135px;
		max-width: 255px;
		padding: 13px 14px !important;
	}

	.content .sdf-unordered-list,
	.content .sdf-ordered-list {
		margin-top: 18px !important;
		margin-bottom: 24px !important;
	}

	.content .sdf-unordered-list > li {
		padding: 10px 12px !important;
		border-radius: 8px;
	}

	.content .sdf-ordered-list > li {
		min-height: 40px;
		padding-block: 10px 11px !important;
		padding-inline-start: 44px !important;
		padding-inline-end: 3px !important;
	}

	.content .sdf-ordered-list > li::before {
		top: 9px;
		width: 28px;
		height: 28px;
		border-radius: 7px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.content .sdf-table-scroll,
	.content .sdf-ordered-list > li::before {
		scroll-behavior: auto;
	}
}
