:root {
	--kosmax-blue: #135f98;
	--kosmax-blue-dark: #0c436e;
	--kosmax-text: #17202a;
	--kosmax-muted: #667085;
	--kosmax-line: #e8edf3;
	--kosmax-soft: #f6f8fb;
	--kosmax-pinterest: #d21f2b;
	--kosmax-facebook: #315ca8;
	--kosmax-x: #0b0b0c;
}

body {
	color: var(--kosmax-text);
	background: #f7f5f6;
	text-rendering: optimizeLegibility;
}

.site-content {
	padding-top: 16px;
}

.inside-article,
.sidebar .widget,
.paging-navigation {
	border-radius: 6px;
	box-shadow: 0 1px 0 rgba(20, 32, 45, 0.04);
}

.single .inside-article {
	padding-bottom: 34px;
}

.entry-title {
	letter-spacing: 0;
}

.single .entry-title {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	margin-bottom: 10px;
}

.single .entry-content {
	font-size: 18px;
	line-height: 1.8;
}

.single .entry-content h2,
.single .entry-content h3 {
	line-height: 1.25;
	margin-top: 1.7em;
}

.single .entry-content img {
	border-radius: 4px;
	height: auto;
}

.kosmax-after-article {
	clear: both;
	margin-top: 36px;
	border-top: 1px solid var(--kosmax-line);
	padding-top: 24px;
}

.kosmax-section-title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
}

.kosmax-save-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 28px;
}

.kosmax-save-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 16px;
	border-radius: 6px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	transition: transform 160ms ease, filter 160ms ease;
}

.kosmax-save-button:hover,
.kosmax-save-button:focus {
	color: #fff;
	filter: brightness(0.94);
	transform: translateY(-1px);
}

.kosmax-save-button.facebook {
	background: var(--kosmax-facebook);
}

.kosmax-save-button.pinterest {
	background: var(--kosmax-pinterest);
}

.kosmax-save-button.x {
	background: var(--kosmax-x);
}

.kosmax-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.kosmax-related-card {
	overflow: hidden;
	border: 1px solid var(--kosmax-line);
	border-radius: 6px;
	background: #fff;
}

.kosmax-related-card a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.kosmax-related-thumb {
	aspect-ratio: 16 / 10;
	background: var(--kosmax-soft);
	overflow: hidden;
}

.kosmax-related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.kosmax-related-body {
	padding: 12px;
}

.kosmax-related-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.kosmax-related-date {
	color: var(--kosmax-muted);
	font-size: 13px;
}

.kosmax-comment-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border: 1px solid var(--kosmax-line);
	border-radius: 6px;
	background: var(--kosmax-soft);
	padding: 18px;
}

.kosmax-comment-cta h2 {
	margin: 0 0 4px;
	font-size: 20px;
	line-height: 1.25;
}

.kosmax-comment-cta p {
	margin: 0;
	color: var(--kosmax-muted);
}

.kosmax-comment-link {
	flex: 0 0 auto;
	border-radius: 6px;
	background: var(--kosmax-blue);
	color: #fff;
	font-weight: 800;
	padding: 11px 16px;
	text-decoration: none;
}

.kosmax-comment-link:hover,
.kosmax-comment-link:focus {
	background: var(--kosmax-blue-dark);
	color: #fff;
}

.cat-links,
.tags-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 12px;
}

.cat-links a,
.tags-links a {
	border-radius: 999px;
	background: var(--kosmax-soft);
	color: var(--kosmax-blue-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	padding: 8px 11px;
	text-decoration: none;
}

.cat-links a:hover,
.tags-links a:hover {
	background: #e9f2fa;
}

.site-footer .inside-site-info {
	padding: 18px 20px;
}

.site-info {
	font-size: 15px;
	font-weight: 700;
}

@media (min-width: 769px) {
	.generate-columns .inside-article {
		height: 100%;
	}

	.generate-columns .post-image img,
	.archive .post-image img,
	.blog .post-image img {
		aspect-ratio: 16 / 9;
		object-fit: cover;
		width: 100%;
	}
}

@media (max-width: 1024px) {
	.kosmax-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.site-content {
		padding: 10px;
	}

	.inside-article,
	.sidebar .widget {
		border-radius: 0;
	}

	.single .inside-article {
		padding: 22px 18px 28px;
	}

	.single .entry-title {
		font-size: 31px;
	}

	.single .entry-content {
		font-size: 17px;
		line-height: 1.75;
	}

	.kosmax-save-grid,
	.kosmax-related-grid {
		grid-template-columns: 1fr;
	}

	.kosmax-comment-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.kosmax-comment-link {
		text-align: center;
	}
}
