.rjab,
.rjab * {
	box-sizing: border-box;
}

.rjab {
	--rjab-navy: #031f5e;
	--rjab-blue: #0c4b9d;
	--rjab-sky: #18a7d8;
	--rjab-gold: #c59529;
	--rjab-gold-soft: #ead79d;
	--rjab-text: #43536b;
	--rjab-muted: #7b899b;
	--rjab-border: #e1e9f2;
	width: 100%;
	color: var(--rjab-text);
	font-family: inherit;
}

.rjab a {
	text-decoration: none;
}

.rjab button,
.rjab input,
.rjab select {
	font: inherit;
}

.rjab-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
	align-items: center;
	min-height: 320px;
	padding: 55px max(32px, calc((100% - 1180px) / 2));
	overflow: hidden;
	border-bottom: 1px solid #e8edf4;
	background:
		radial-gradient(circle at 15% 25%, rgba(127, 105, 232, .10), transparent 28%),
		radial-gradient(circle at 80% 80%, rgba(12, 75, 157, .07), transparent 30%),
		linear-gradient(135deg, #fbfcff 0%, #f5f8ff 100%);
}

.rjab-hero-copy {
	grid-column: 1;
	grid-row: 1;
	z-index: 2;
}

.rjab-hero-copy > span {
	display: block;
	margin-bottom: 9px;
	color: var(--rjab-blue);
	font-size: 13px;
	font-weight: 800;
}

.rjab-hero h1 {
	margin: 0;
	color: var(--rjab-navy);
	font: inherit;
	font-size: clamp(38px, 5vw, 67px);
	font-weight: 900;
	line-height: 1.28;
	letter-spacing: -.8px;
}

.rjab-hero h1::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: 12px;
	border-radius: 50%;
	background: #7b61e8;
	box-shadow: 0 0 0 7px rgba(123, 97, 232, .10);
	vertical-align: middle;
}

.rjab-hero-copy p {
	margin: 14px 0 0;
	color: #718098;
	font-size: 15px;
	line-height: 1.9;
}

.rjab-hero-copy nav {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 20px;
	font-size: 11px;
}

.rjab-hero-copy nav a {
	color: var(--rjab-navy);
	font-weight: 750;
}

.rjab-hero-copy nav i,
.rjab-hero-copy nav span {
	color: #9ba6b4;
	font-style: normal;
}

.rjab-hero-art {
	position: relative;
	grid-column: 2;
	grid-row: 1;
	display: grid;
	place-items: center;
	min-height: 225px;
}

.rjab-hero-art span {
	position: absolute;
	width: 310px;
	height: 170px;
	border-radius: 47% 53% 38% 62% / 54% 35% 65% 46%;
	background: rgba(12, 75, 157, .055);
	transform: rotate(7deg);
}

.rjab-hero-art span::before,
.rjab-hero-art span::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(123, 97, 232, .15);
}

.rjab-hero-art span::before {
	width: 14px;
	height: 14px;
	right: -7px;
	top: 24px;
}

.rjab-hero-art span::after {
	width: 22px;
	height: 22px;
	left: 5px;
	bottom: 12px;
}

.rjab-hero-art svg {
	position: relative;
	width: 92px;
	fill: none;
	stroke: #cbd8e3;
	stroke-width: 7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rjab-archive {
	width: min(1180px, calc(100% - 40px));
	margin: 36px auto 90px;
	padding: 22px;
	border: 1px solid var(--rjab-gold-soft);
	border-radius: 25px;
	background: #fff;
	box-shadow: 0 24px 75px rgba(22, 54, 96, .08);
}

.rjab-toolbar {
	display: grid;
	grid-template-columns: minmax(110px, 1fr) auto minmax(220px, 260px);
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.rjab-result-count {
	color: #728197;
	font-size: 12px;
}

.rjab-result-count strong {
	color: var(--rjab-navy);
	font-weight: 900;
}

.rjab-toolbar-controls {
	display: flex;
	align-items: center;
	gap: 9px;
}

.rjab-sort select,
.rjab-search input {
	height: 46px;
	border: 1px solid var(--rjab-gold-soft);
	border-radius: 12px;
	color: #55657c;
	background: #fff;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.rjab-sort select {
	min-width: 128px;
	padding: 0 13px 0 35px;
	font-size: 11px;
}

.rjab-search {
	position: relative;
	display: block;
}

.rjab-search input {
	width: 100%;
	padding: 0 42px 0 13px;
	font-size: 11px;
}

.rjab-search svg {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 18px;
	transform: translateY(-50%);
	fill: none;
	stroke: #7b61e8;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.rjab-sort select:focus,
.rjab-search input:focus {
	border-color: var(--rjab-blue);
	box-shadow: 0 0 0 3px rgba(12, 75, 157, .08);
}

.rjab-view-buttons {
	display: flex;
	gap: 6px;
}

.rjab-view-buttons button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--rjab-gold-soft);
	border-radius: 10px;
	color: #7f8a9b;
	background: #fff;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.rjab-view-buttons button:hover,
.rjab-view-buttons button.is-active {
	color: #6b4ee0;
	background: #f0edff;
}

.rjab-view-buttons button:hover {
	transform: translateY(-2px);
}

.rjab-view-buttons svg {
	width: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rjab-view-buttons rect {
	fill: none;
}

.rjab-body {
	display: grid;
	grid-template-columns: 225px minmax(0, 1fr);
	grid-template-areas: "sidebar content";
	gap: 20px;
	direction: ltr;
}

.rjab-sidebar {
	grid-area: sidebar;
	direction: rtl;
}

.rjab-content {
	grid-area: content;
	min-width: 0;
	direction: rtl;
}

.rjab-sidebar-box {
	margin-bottom: 15px;
	padding: 16px;
	border: 1px solid var(--rjab-gold-soft);
	border-radius: 15px;
	background: #fff;
}

.rjab-sidebar-box h3 {
	margin: 0 0 13px;
	color: var(--rjab-navy);
	font: inherit;
	font-size: 14px;
	font-weight: 900;
}

.rjab-topics > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 37px;
	padding: 0 10px;
	border-radius: 9px;
	color: #53647b;
	font-size: 10px;
	transition: color .2s ease, background-color .2s ease;
}

.rjab-topics > a:hover,
.rjab-topics > a.is-active {
	color: #674bdd;
	background: #f2efff;
}

.rjab-topics b {
	display: grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 5px;
	border-radius: 50%;
	color: #8090a4;
	background: #f2f5f8;
	font-size: 8px;
	font-weight: 700;
}

.rjab-topics a.is-active b {
	color: #674bdd;
	background: #e8e1ff;
}

.rjab-consult {
	text-align: center;
	background: linear-gradient(145deg, #faf8ff, #f3f1ff);
}

.rjab-consult h3 {
	font-size: 13px;
}

.rjab-consult p {
	margin: 0 0 13px;
	color: #79869a;
	font-size: 9px;
	line-height: 1.8;
}

.rjab-consult a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	border-radius: 9px;
	color: #fff;
	background: linear-gradient(135deg, #177ce0, var(--rjab-navy));
	box-shadow: 0 10px 24px rgba(12, 75, 157, .20);
	font-size: 10px;
	font-weight: 850;
	transition: transform .2s ease, box-shadow .2s ease;
}

.rjab-consult a:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 27px rgba(12, 75, 157, .27);
}

.rjab-popular > a {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 9px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #eef2f6;
}

.rjab-popular > a:last-child {
	border-bottom: 0;
}

.rjab-popular img,
.rjab-thumb-fallback {
	display: block;
	width: 54px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
	background: #eef4fb;
}

.rjab-popular strong {
	display: -webkit-box;
	overflow: hidden;
	color: var(--rjab-navy);
	font-size: 9px;
	font-weight: 800;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.rjab-popular small {
	display: block;
	margin-top: 3px;
	color: #9aa5b3;
	font-size: 7px;
}

.rjab-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 17px;
}

.rjab-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--rjab-gold-soft);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(22, 54, 96, .04);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.rjab-card:hover {
	transform: translateY(-5px);
	border-color: var(--rjab-gold);
	box-shadow: 0 18px 35px rgba(22, 54, 96, .10);
}

.rjab-card-image {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef5fb;
}

.rjab-card-image img,
.rjab-image-fallback {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.rjab-card:hover .rjab-card-image img {
	transform: scale(1.045);
}

.rjab-image-fallback {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #eef5fc, #f9fbfe);
}

.rjab-image-fallback svg {
	width: 62px;
	fill: none;
	stroke: #bfd0df;
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rjab-card-category {
	position: absolute;
	right: 10px;
	bottom: 9px;
	max-width: calc(100% - 20px);
	padding: 6px 9px;
	overflow: hidden;
	border-radius: 7px;
	color: #fff;
	background: linear-gradient(135deg, #0c4b9d, #6b4ee0);
	box-shadow: 0 5px 13px rgba(63, 60, 174, .22);
	font-size: 8px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rjab-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 15px 15px 11px;
}

.rjab-card h3 {
	min-height: 48px;
	margin: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.75;
}

.rjab-card h3 a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--rjab-navy);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.rjab-card h3 a:hover {
	color: var(--rjab-blue);
}

.rjab-card-body > p {
	display: -webkit-box;
	min-height: 66px;
	margin: 8px 0 14px;
	overflow: hidden;
	color: #758297;
	font-size: 10px;
	line-height: 2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.rjab-card footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid #edf1f5;
	color: #99a4b2;
	font-size: 8px;
}

.rjab-posts.is-list {
	grid-template-columns: 1fr;
}

.rjab-posts.is-list .rjab-card {
	display: grid;
	grid-template-columns: minmax(210px, 31%) 1fr;
}

.rjab-posts.is-list .rjab-card-image {
	height: 100%;
	aspect-ratio: auto;
}

.rjab-posts.is-list .rjab-card h3 {
	min-height: 0;
	font-size: 16px;
}

.rjab-posts.is-list .rjab-card-body > p {
	min-height: 0;
	-webkit-line-clamp: 2;
}

.rjab-empty {
	padding: 70px 20px;
	border: 1px dashed #d9e3ed;
	border-radius: 15px;
	text-align: center;
	background: #fbfcfe;
}

.rjab-empty strong {
	color: var(--rjab-navy);
	font-size: 20px;
}

.rjab-empty p {
	color: #79869a;
	font-size: 12px;
}

.rjab-empty a {
	display: inline-flex;
	padding: 10px 18px;
	border-radius: 9px;
	color: #fff;
	background: var(--rjab-blue);
	font-size: 11px;
	font-weight: 800;
}

.rjab-pagination {
	margin: 24px 0 7px;
}

.rjab-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rjab-pagination a,
.rjab-pagination span {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--rjab-gold-soft);
	border-radius: 8px;
	color: var(--rjab-navy);
	background: #fff;
	font-size: 10px;
	font-weight: 800;
}

.rjab-pagination a:hover,
.rjab-pagination .current {
	border-color: #7655e5;
	color: #fff;
	background: #7655e5;
	box-shadow: 0 7px 15px rgba(118, 85, 229, .20);
}

.rjab-inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	margin-top: 28px;
	padding: 19px 22px;
	border: 1px solid #e4e1f7;
	border-radius: 15px;
	background: linear-gradient(135deg, #fbfaff, #f3f4ff);
}

.rjab-inline-cta strong,
.rjab-inline-cta span {
	display: block;
}

.rjab-inline-cta strong {
	color: var(--rjab-navy);
	font-size: 15px;
}

.rjab-inline-cta span {
	margin-top: 5px;
	color: #7a879a;
	font-size: 9px;
}

.rjab-inline-cta a {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	min-height: 44px;
	border-radius: 9px;
	color: #fff;
	background: linear-gradient(135deg, #177ce0, var(--rjab-navy));
	box-shadow: 0 10px 25px rgba(12, 75, 157, .19);
	font-size: 10px;
	font-weight: 850;
}

.rjab-bottom-cta {
	position: relative;
	display: grid;
	grid-template-columns: 95px minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
	width: min(1180px, calc(100% - 40px));
	min-height: 125px;
	margin: 0 auto 55px;
	padding: 24px 31px;
	overflow: hidden;
	border-radius: 22px;
	color: #fff;
	background: linear-gradient(110deg, #16b7aa 0%, #198fcf 55%, #096fc2 100%);
	box-shadow: 0 22px 45px rgba(15, 121, 181, .18);
}

.rjab-bottom-cta::after {
	content: "";
	position: absolute;
	right: -50px;
	bottom: -100px;
	width: 230px;
	height: 230px;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 50%;
}

.rjab-bottom-cta-icon {
	display: grid;
	place-items: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .10);
}

.rjab-bottom-cta-icon svg {
	width: 58px;
	fill: none;
	stroke: rgba(255, 255, 255, .9);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rjab-bottom-cta strong,
.rjab-bottom-cta span {
	display: block;
}

.rjab-bottom-cta strong {
	font-size: clamp(20px, 2.6vw, 31px);
	font-weight: 900;
	line-height: 1.5;
}

.rjab-bottom-cta span {
	margin-top: 3px;
	color: rgba(255, 255, 255, .77);
	font-size: 10px;
}

.rjab-bottom-actions {
	display: flex;
	gap: 9px;
	z-index: 2;
}

.rjab-bottom-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 105px;
	min-height: 43px;
	border-radius: 9px;
	font-size: 10px;
	font-weight: 850;
}

.rjab-btn-light {
	color: var(--rjab-navy);
	background: #fff;
}

.rjab-btn-outline {
	border: 1px solid rgba(255, 255, 255, .45);
	color: #fff;
	background: rgba(255, 255, 255, .06);
}

@media (max-width: 1050px) {
	.rjab-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rjab-bottom-cta {
		grid-template-columns: 75px minmax(0, 1fr);
	}

	.rjab-bottom-cta-icon {
		width: 68px;
		height: 68px;
	}

	.rjab-bottom-actions {
		grid-column: 1 / -1;
		justify-content: flex-end;
	}
}

@media (max-width: 820px) {
	.rjab-hero {
		grid-template-columns: 1fr;
		min-height: 285px;
		padding: 45px 25px;
	}

	.rjab-hero-copy {
		grid-column: 1;
	}

	.rjab-hero-art {
		position: absolute;
		left: 15px;
		opacity: .55;
	}

	.rjab-toolbar {
		grid-template-columns: 1fr auto;
	}

	.rjab-search {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.rjab-body {
		grid-template-columns: 1fr;
		grid-template-areas: "content" "sidebar";
	}

	.rjab-sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 15px;
	}

	.rjab-sidebar-box {
		margin: 0;
	}

	.rjab-popular {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.rjab-hero {
		min-height: 245px;
		padding: 35px 20px;
	}

	.rjab-hero h1 {
		font-size: 36px;
	}

	.rjab-hero-copy p {
		font-size: 12px;
	}

	.rjab-hero-art {
		display: none;
	}

	.rjab-archive {
		width: calc(100% - 20px);
		margin-top: 22px;
		padding: 14px;
		border-radius: 18px;
	}

	.rjab-toolbar {
		gap: 10px;
	}

	.rjab-result-count {
		font-size: 10px;
	}

	.rjab-sort select {
		min-width: 108px;
	}

	.rjab-view-buttons button {
		width: 39px;
		height: 39px;
	}

	.rjab-posts {
		grid-template-columns: 1fr;
	}

	.rjab-card h3 {
		min-height: 0;
		font-size: 15px;
	}

	.rjab-card-body > p {
		min-height: 0;
	}

	.rjab-posts.is-list .rjab-card {
		display: flex;
	}

	.rjab-posts.is-list .rjab-card-image {
		aspect-ratio: 16 / 10;
	}

	.rjab-sidebar {
		grid-template-columns: 1fr;
	}

	.rjab-popular {
		grid-column: auto;
	}

	.rjab-inline-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.rjab-inline-cta a {
		width: 100%;
	}

	.rjab-bottom-cta {
		grid-template-columns: 1fr;
		width: calc(100% - 20px);
		padding: 23px 19px;
		text-align: center;
	}

	.rjab-bottom-cta-icon {
		display: none;
	}

	.rjab-bottom-actions {
		grid-column: auto;
		justify-content: center;
	}

	.rjab-bottom-actions a {
		flex: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rjab *,
	.rjab *::before,
	.rjab *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
