.news-section {
	padding: 80px 0;
	position: relative;
}

.news-container {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	padding: 0 16px;
}

@media (min-width: 992px) {
	.news-container {
		max-width: 1440px;
		padding: 0px 80px;
	}
}

.news-title {
	color: #090a1a;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 120%;
	text-align: center;
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 75px;
	margin-bottom: 70px;
	margin-top: 60px;
}

.news-card {
	box-shadow: 0px 3px 8px -1px rgba(50, 50, 71, 0.05);
	flex: 1;
	height: 100%;
	max-width: 100%;
	width: 100%;
}

.news-card .news-card-image img {
	border-radius: 6px 6px 0 0;
	height: 230px;
	object-fit: cover;
    width: 100%;
}

.news-card .news-card-content {
	border-bottom: 1px solid rgba(0, 0, 0, 0.24);
	border-left: 1px solid rgba(0, 0, 0, 0.24);
	border-right: 1px solid rgba(0, 0, 0, 0.24);
	border-radius: 0 0 6px 6px;
	padding: 26px 16px 16px;
}

.news-card .news-card-content h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 25px;
    margin-bottom: 8px;
}

.news-card .news-card-content .news-card-category {
	margin-bottom: 8px;
}

.news-card .news-card-content .news-card-category span {
	background: rgba(85, 96, 246, 0.16);
    color: #5560f6;
    font-size: 14px;
	line-height: 150%;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 12px;
}

.news-card .news-card-content .news-card-date {
	color: #51536b;
    font-size: 16px;
	line-height: 24px;
	margin-bottom: 8px;
}

.news-card .news-card-content .news-card-excerpt {
	color: #090a1a;
    font-size: 14px;
	line-height: 23px;
	margin-bottom: 28px;
}

.news-card .news-card-content .read-more {
	background: url('img/arrow-up-right.png') right center no-repeat;
    color: #090a1a;
    display: inline-block;
	font-size: 16px;
	font-weight: 700;
	line-height: 150%;
	padding: 0 26px 0 0;
    text-decoration: none;
	text-transform: uppercase;
}

.more-news-container {
	text-align: center;
}

.more-news-btn {
	background-color: #5560F6;
	border-radius: 6px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 140%;
	text-transform: uppercase;
	padding: 16px 32px;
}

@media (min-width: 768px) {
	.news-card {
		max-width: 350px;
	}

	.news-title {
		font-size: 36px;
	}

	.news-list {
		display: flex;
		flex-direction: row;
		gap: 20px;
		justify-content: center;
	}
}

@media (min-width: 992px) {
	.news-list {
		gap: 40px;
	}
}

@media (min-width: 1280px) {
	.news-list {
		gap: 75px;
	}
}


.hero-news-list-section {
	background: #090a1a url('img/news-hero-mobile.svg') center right no-repeat;
	padding: 0;
	position: relative;
}

.hero-news-list-container {
	align-items: center;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	min-height: 140px;
	padding: 0 16px;
}

.hero-news-list-text-box-title {
	color: #fff;
	font-size: 24px;
	line-height: 120%;
}

@media (min-width: 768px) {
	.hero-news-list-section {
		background: #090a1a url('img/news-hero.svg') center right no-repeat;
	}

	.hero-news-list-container {
		min-height: 257px;
		max-width: 1440px;
		padding: 0px 80px;
	}

	.hero-news-list-text-box-title {
		font-size: 48px;
	}
}


.news-listing-page-section {
	padding: 40px 0;
	position: relative;
}

@media (min-width: 768px) {
	.news-listing-page-section {
		padding: 40px 0 80px;
	}
}

.news-listing-page-container {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	padding: 0 16px;
}

@media (min-width: 768px) {
	.news-listing-page-container {
		max-width: 1440px;
		padding: 0px 80px;
	}
}

.news-card-link {
	border-radius: 6px;
	transition: 0.3s ease-out;
}

.news-card-link:hover {
	box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15);
}

.news-card.news-card-lying {
	display: flex;
	flex-direction: column;
	max-width: 100%;
}

.news-card.news-card-lying .news-card-image {
	flex: 1;
	min-height: 230px;
	position: relative;
}

.news-listing-page-container .news-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: 60px;
}

.news-card.news-card-lying .news-card-content {
	border-bottom: 1px solid rgba(0, 0, 0, 0.24);
	border-left: 1px solid rgba(0, 0, 0, 0.24);
	border-right: 1px solid rgba(0, 0, 0, 0.24);
	border-radius: 0 0 6px 6px;
	flex: 2;
	padding: 26px 16px 16px;
}

.news-card.news-card-lying .news-card-image img {
	border-radius: 6px 6px 0 0;
	height: 100%;
	object-fit: cover;
	position: absolute;
    width: 100%;
}

@media (min-width: 768px) {
	.news-card.news-card-lying {
		flex-direction: row;
	}

	.news-card.news-card-lying .news-card-image img {
		border-radius: 6px 0 0 6px;
	}

	.news-card.news-card-lying .news-card {
		max-width: 100%;
	}

	.news-listing-page-container .news-list {
		display: flex;
		flex-direction: column;
		gap: 40px;
	}

	.news-card.news-card-lying .news-card-content {
		border-bottom: 1px solid rgba(0, 0, 0, 0.24);
		border-left: 0px solid rgba(0, 0, 0, 0.24);
		border-right: 1px solid rgba(0, 0, 0, 0.24);
		border-top: 1px solid rgba(0, 0, 0, 0.24);
		border-radius: 0 6px 6px 0;
	}
}

.news-pagination {
	text-align: center;
}

.pagination-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: center;
}

.pagination-nav button {
	border: 1px solid #000;
	border-radius: 2px;
	color: #000000;
	font-size: 16px;
	height: 44px;
}

.pagination-page {
	display: none;
	width: 44px;
}

.pagination-page.active {
	background: #5560f6;
	border: 0px solid #000;
	color: #ffffff;
}

.pagination-prev {
	padding: 10px;
}

.pagination-next {
	padding: 10px;
}

.pagination-icon-prev {
	background: url('img/arrow-pagination.svg') center no-repeat;
	display: inline-block;
	height: 9px;
	transform: scaleX(-1);
	width: 19px;
}

.pagination-icon-next {
	background: url('img/arrow-pagination.svg') center no-repeat;
	display: inline-block;
	height: 9px;
	width: 19px;
}

button.pagination-prev:disabled,
button.pagination-next:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.pagination-dots {
	display: none;
}

.pagination-label {
	display: none;
}

.pagination-counter {
	align-items: center;
	background: #5560f6;
	border: 0px solid #000;
	border-radius: 2px;
	color: #ffffff;
	display: flex;
	font-size: 16px;
	height: 44px;
	justify-content: center;
	width: 44px;
}

@media (min-width: 768px) {
	.pagination-nav {
		gap: 8px;
	}

	.pagination-icon-prev {
		margin-right: 8px;
	}

	.pagination-icon-next {
		margin-left: 8px;
	}

	.pagination-page,
	.pagination-dots {
		display: block;
	}

	.pagination-label {
		display: inline;
	}

	.pagination-counter {
		display: none;
	}
}


.news-page-section {
	padding: 0;
	position: relative;
}

.news-page-hero {
	background-image: url('img/news-page-hero-mobile.svg'), linear-gradient(85.35deg, #5560f6 0.72%, #da99fd 116.81%);
	background-position: right center, center center;
	background-repeat: no-repeat, no-repeat;
	min-height: 255px;
}

.back-to-the-news-container {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 24px;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	padding: 24px 16px 0;
}

.back-to-the-news {
	align-items: center;
	color: #ffffff;
	display: flex;
	gap: 8px;
	justify-content: center;
	position: relative;
}

.back-to-the-news::before {
	background: url('img/arrow-white.svg');
	content: '';
	display: block;
	height: 18px;
	transform: rotate(-90deg);
	width: 16px;
}

.news-page-hero-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	padding: 24px 16px 40px;
}

.news-detail-article {
	margin-left: auto;
	margin-right: auto;
	margin-top: 40px;
	max-width: 100%;
	padding: 0 16px;
}

.news-page-hero h1 {
	color: #ffffff;
	font-size: 24px;
	line-height: 120%;
	font-weight: 700;
}

.news-detail-date {
	color: #51536b;
	font-size: 16px;
}

.news-detail-content {
	margin-top: 40px;
}

.news-detail-content h2 {
	font-size: 32px;
	font-weight: 700;
	line-height: 150%;
	margin-bottom: 40px;
}

.news-detail-content h3 {
	font-size: 24px;
	font-weight: 700;
	line-height: 150%;
	margin-bottom: 40px;
}

.news-detail-content h4 {
	font-size: 20px;
	font-weight: 700;
	line-height: 150%;
	margin-bottom: 40px;
}

.news-detail-content p {
	font-size: 16px;
	line-height: 150%;
	margin-bottom: 40px;
}

.news-detail-content a {
	color: #5560f6;
}

.news-detail-content pre {
	background-color: #f5f5f5;
	border-radius: 6px;
	font-family: monospace;
	font-size: 0.95rem;
	line-height: 1.4;
	max-width: 100%;
	overflow-x: auto;
	padding: 1rem;
}

.news-detail-content pre code {
	display: block;
	white-space: pre;
}

.news-detail-content ul,
.news-detail-content ol {
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.news-detail-content img {
	display: block;
	height: auto;
	margin: 0 auto 40px auto;
	max-width: 100%;
}

.news-category {
	border: 1px solid #ffffff;
	border-radius: 22px;
	color: #ffffff;
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	line-height: 150%;
	padding: 10px 22px;
}

.news-detail-content blockquote {
	margin-bottom: 20px;
	padding: 60px 0;
	position: relative;
}

.news-detail-content blockquote * {
	font-size: 24px;
	font-weight: 700;
	line-height: 30px;
	margin: 0;
	padding: 0;
}

.news-detail-content blockquote::before {
	background: url('img/blockquote.svg');
	content: '';
	height: 48px;
	left: 0;
	position: absolute;
	top: 0;
	width: 48px;
}

.news-detail-content blockquote::after {
	background: url('img/blockquote.svg');
	bottom: 0;
	content: '';
	height: 48px;
	position: absolute;
	right: 0;
	transform: scale(-1, -1);
	width: 48px;
}

@media (min-width: 768px) {
	.news-page-hero {
		background-image: url('img/news-page-hero.svg'), linear-gradient(85.35deg, #5560f6 0.72%, #da99fd 116.81%);
		min-height: 404px;
	}

	.back-to-the-news-container {
		max-width: 1440px;
		padding: 40px 16px 0;
	}

	.news-page-hero-content {
		max-width: 784px;
		padding: 60px 16px;
	}

	.news-page-hero h1 {
		font-size: 48px;
		line-height: 100%;
	}

	.news-detail-article {
		margin-top: 64px;
		max-width: 784px;
		padding: 0px 16px;
	}

	.news-detail-content blockquote * {
		font-size: 25px;
	}
}

.related-posts-section {
	background-color: rgba(85, 96, 246, 0.05);
	padding: 80px 0;
	position: relative;
}

.related-posts-container {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	padding: 0 16px;
}

@media (min-width: 992px) {
	.related-posts-container {
		max-width: 1440px;
		padding: 0px 80px;
	}

	.back-to-the-news-container {
		padding: 40px 80px 0;
	}
}