.rw-blog-section,
.rw-blog-section *,
.rw-blog-section *::before,
.rw-blog-section *::after {
	box-sizing: border-box;
}

.rw-blog-section {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	margin: 0;
	padding: 88px 0 80px;
	background:
		radial-gradient(circle at 8% 0%, rgba(23, 105, 255, .1), transparent 32%),
		radial-gradient(circle at 96% 80%, rgba(23, 105, 255, .07), transparent 28%),
		#f7f9fc;
	color: #071428;
	font-family: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.rw-blog-container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding-inline: 24px;
}

.rw-blog-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: end;
	margin-bottom: 36px;
}

.rw-blog-eyebrow {
	margin: 0 0 12px;
	color: #1769ff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .22em;
	line-height: 1.3;
	text-transform: uppercase;
}

.rw-blog-title {
	max-width: 760px;
	margin: 0;
	color: #071428;
	font-size: clamp(40px, 4.4vw, 64px);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.02;
}

.rw-blog-accent {
	color: #1769ff;
}

.rw-blog-desc {
	max-width: 640px;
	margin: 16px 0 0;
	color: #5c6b80;
	font-size: 17px;
	line-height: 1.7;
}

.rw-blog-nav {
	display: flex;
	gap: 10px;
	align-items: center;
}

.rw-blog-section button.rw-blog-prev,
.rw-blog-section button.rw-blog-next {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(23, 105, 255, .28);
	border-radius: 50%;
	background: #fff;
	color: #1769ff;
	font: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(15, 35, 70, .06);
}

.rw-blog-section button.rw-blog-next {
	border-color: #1769ff;
	background: #1769ff;
	color: #fff;
}

.rw-blog-section button.rw-blog-prev:hover,
.rw-blog-section button.rw-blog-next:hover {
	transform: translateY(-2px);
}

.rw-blog-section .swiper-button-lock,
.rw-blog-section .swiper-button-disabled {
	opacity: .35;
	cursor: default;
	transform: none;
}

.rw-blog-swiper {
	overflow: hidden;
}

.rw-blog-section .swiper-slide {
	height: auto;
	display: flex;
}

.rw-blog-section a.rw-blog-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(23, 105, 255, .12);
	border-radius: 28px;
	background: #fff;
	color: #071428;
	text-decoration: none;
	box-shadow: 0 12px 32px rgba(15, 35, 70, .06);
}

.rw-blog-section a.rw-blog-card:hover {
	box-shadow: 0 22px 48px rgba(23, 105, 255, .16);
	transform: translateY(-8px);
}

.rw-blog-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #fff;
}

.rw-blog-image,
.rw-blog-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rw-blog-placeholder {
	background:
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .28), transparent 36%),
		linear-gradient(145deg, #071428 0%, #1769ff 100%);
}

.rw-blog-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	max-width: calc(100% - 32px);
	padding: 7px 12px;
	border-radius: 999px;
	background: #1769ff;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.rw-blog-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 22px 24px;
}

.rw-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: #5c6b80;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.rw-blog-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #1769ff;
}

.rw-blog-card-title {
	display: -webkit-box;
	margin: 12px 0 0;
	overflow: hidden;
	color: #071428;
	font-size: clamp(20px, 1.6vw, 26px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.rw-blog-section a.rw-blog-card:hover .rw-blog-card-title {
	color: #1769ff;
}

.rw-blog-excerpt {
	display: -webkit-box;
	margin: 12px 0 0;
	overflow: hidden;
	color: #5c6b80;
	font-size: 15px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.rw-blog-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 18px;
	color: #1769ff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rw-blog-arrow {
	display: inline-block;
}

.rw-blog-section a.rw-blog-card:hover .rw-blog-image {
	transform: scale(1.06);
}

.rw-blog-section a.rw-blog-card:hover .rw-blog-arrow {
	transform: translateX(6px);
}

.rw-blog-image,
.rw-blog-arrow,
.rw-blog-section a.rw-blog-card,
.rw-blog-card-title,
.rw-blog-section button.rw-blog-prev,
.rw-blog-section button.rw-blog-next {
	transition: transform .35s ease, box-shadow .35s ease, color .35s ease, background .35s ease;
}

.rw-blog-pagination {
	position: static;
	display: flex;
	justify-content: center;
	gap: 8px;
	width: auto;
	margin-top: 28px;
}

.rw-blog-section .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 !important;
	border-radius: 999px;
	background: rgba(23, 105, 255, .28);
	opacity: 1;
	transition: width .3s ease, background .3s ease;
}

.rw-blog-section .swiper-pagination-bullet-active {
	width: 28px;
	background: #1769ff;
}

.rw-blog-section a.rw-blog-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin: 28px auto 0;
	padding: 0 28px;
	border-radius: 999px;
	background: linear-gradient(110deg, #1769ff, #3c89ff);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.rw-blog-section a.rw-blog-all:hover {
	color: #fff;
	filter: brightness(1.05);
}

.rw-blog-container > a.rw-blog-all {
	display: flex;
	width: fit-content;
}

.rw-blog-section a:focus-visible,
.rw-blog-section button:focus-visible {
	outline: 2px solid #1769ff;
	outline-offset: 3px;
}

@media (max-width: 1099px) {
	.rw-blog-container {
		padding-inline: 20px;
	}
}

@media (max-width: 699px) {
	.rw-blog-section {
		padding: 56px 0 48px;
	}

	.rw-blog-container {
		padding-inline: 15px;
	}

	.rw-blog-head {
		grid-template-columns: 1fr;
		gap: 20px;
		align-items: start;
	}

	.rw-blog-title {
		font-size: clamp(32px, 9vw, 44px);
	}

	.rw-blog-desc {
		font-size: 16px;
	}

	.rw-blog-body {
		padding: 18px 18px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rw-blog-section *,
	.rw-blog-section *::before,
	.rw-blog-section *::after {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}

	.rw-blog-section a.rw-blog-card:hover,
	.rw-blog-section a.rw-blog-card:hover .rw-blog-image,
	.rw-blog-section a.rw-blog-card:hover .rw-blog-arrow {
		transform: none;
	}
}
