.maksimer-tabs-block {
	max-width: 1535px;
	margin: 0 auto;
	padding-top: 40px;
}

.maksimer-tabs-block .tabs {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 40px;
}

.maksimer-tabs-block .tabs .tab-button {
	background: transparent;
	color: #263E4D;
	padding: 16px 34px;
	cursor: pointer;
	border: 1px solid #263E4D;
	transition: background 0.3s ease;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	line-height: 1;
	font-family: "Hanken Grotesk", sans-serif;
}

.maksimer-tabs-block .tabs .tab-button:hover,
.maksimer-tabs-block .tabs .tab-button.active {
	background: #2e2c2b;
	color: #fff;
}

.maksimer-tabs-block .tabs .tab-button:focus {
	outline: none;
}

@media screen and (max-width: 450px) {
	.maksimer-tabs-block .posts .post .post-intro {
		height: 220px;
	}
}

.maksimer-tabs-block-wrapper.posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 94vw;
	margin-left: auto !important;
	margin-right: auto !important;
}

.maksimer-tabs-block-wrapper.posts .post img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.maksimer-tabs-block-wrapper.posts .post .post-intro a,
.maksimer-tabs-block-wrapper.posts .post .post-intro h2 {
	font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.469), 20px);
	text-decoration: none;
	font-family: "Hanken Grotesk", sans-serif;
	text-transform: uppercase;
}

.maksimer-tabs-block-wrapper.posts .post a:hover {
	color: #9f7b6a;
}

.maksimer-tabs-block-wrapper.posts .post .content p {
	font-size: 16px;
	font-family: "Hanken Grotesk", sans-serif;
}


.pagination {
	display: flex;
	justify-content: center;
	border: none !important;
}

.pagination-button {
	font-size: 18px;
	font-family: "Hanken Grotesk", sans-serif;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	background: transparent;
	line-height: 1;
	border: none;
	font-weight: 300;
	text-decoration: underline;
	margin-right: 5px;
}

.pagination-button:hover {
	color: #9f7b6a;
	cursor: pointer;
}

.pagination-button.active {
	text-decoration: none;
}

.pagination-button.link {
	margin-right: 0;
	margin-left: clamp(1rem, 0.7697rem + 0.9825vw, 1.875rem);
}


.pagination-dots {
	margin: 0 10px 0 0;
	justify-content: center;
	display: flex;
	align-items: center;
	font-size: 16px;
}

.placeholder {
	max-width: 480px;
	height: 747px;
	background: #f0f0f0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.image-placeholder {
	width: 480px;
	height: 545px;
	background: #e0e0e0;
}

.text-placeholder {
	padding-top: 30px;
}

.text-placeholder .line {
	height: 20px;
	margin-bottom: 10px;
	background: #d0d0d0;
	border-radius: 5px;
}

.text-placeholder .line.short {
	width: 50%;
}

@media screen and (max-width: 599px) {
	.tabs {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding: 10px 0;
		justify-content: unset !important;
	}

	/* Hide scrollbar for Chrome, Safari and Opera */
	.tabs::-webkit-scrollbar {
		display: none;
	}

	.tab-button {
		flex-shrink: 0;
		white-space: nowrap;
		padding: 10px 20px;

	}

	.tabs-wrapper {
		position: relative;
	}

	.tabs-wrapper::after {
		content: '';
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
		width: 40px;
		background: linear-gradient(to right, transparent, white);
		pointer-events: none;
	}
}

@media (min-width: 768px) {
	.tabs-wrapper::after {
		display: none;
	}
}
