/**
 * Blog / single / archive
 */

/* =============================================================================
   Mozaikod blog system
   ============================================================================= */

body.blog #sub-header,
body.single-post #sub-header,
body.archive.category #sub-header,
body.archive.tag #sub-header,
body.search #sub-header,
body.blog .page-header,
body.single-post .page-header,
body.archive.category .page-header,
body.archive.tag .page-header,
body.search .page-header,
body.blog .meta-header,
body.single-post .meta-header,
body.archive.category .meta-header,
body.archive.tag .meta-header,
body.search .meta-header {
	display: none;
}

.mozaikod-blog,
.mozaikod-blog * {
	box-sizing: border-box;
}

.mozaikod-blog {
	--mzk-yellow: var(--color-accent);
	--mzk-yellow-hover: var(--color-accent-hover);
	--mzk-black: var(--color-ink);
	--mzk-muted: rgba(17, 17, 17, 0.68);
	--mzk-line: var(--color-border);
	--mzk-cream: var(--color-bg-section);
	width: min(1220px, calc(100% - 56px));
	margin: 0 auto;
	padding: 54px 0 90px;
	color: var(--mzk-black);
	font-family: "Manrope", Inter, Arial, sans-serif;
}

.mozaikod-blog a {
	color: inherit;
	text-decoration: none;
}

.mozaikod-blog-kicker,
.mozaikod-blog-category,
.mozaikod-blog-card__category,
.mozaikod-pattern-eyebrow {
	margin: 0 0 18px;
	color: var(--mzk-yellow);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mozaikod-blog-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.62fr) minmax(180px, 0.38fr);
	gap: 36px;
	align-items: center;
	padding: 72px 0 52px;
}

.mozaikod-blog-hero--compact {
	grid-template-columns: minmax(0, 1fr) auto;
	border-bottom: 1px solid var(--mzk-line);
	margin-bottom: 38px;
}

.mozaikod-blog-hero h1,
.mozaikod-single-hero h1 {
	max-width: 860px;
	margin: 0;
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	font-size: clamp(48px, 5.2vw, 72px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: 0;
}

.mozaikod-blog-hero h1 span,
.mozaikod-single-hero h1 span,
.mozaikod-related-posts h2 span,
.mozaikod-blog-wide-cta h2 span,
.mozaikod-sidebar-cta h2 span {
	color: var(--mzk-yellow);
}

.mozaikod-blog-hero p:not(.mozaikod-blog-kicker),
.mozaikod-single-hero p {
	max-width: 560px;
	margin: 22px 0 0;
	color: var(--mzk-muted);
	font-size: 18px;
	line-height: 1.65;
}

.mozaikod-blog-dots {
	justify-self: end;
	width: min(320px, 100%);
	height: 160px;
	opacity: 0.82;
	background-image: radial-gradient(circle, var(--mzk-yellow) 2px, transparent 2px);
	background-size: 22px 22px;
}

.mozaikod-featured-post {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	border: 1px solid var(--mzk-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--color-bg);
	box-shadow: 0 18px 50px rgba(17, 17, 17, 0.06);
}

.mozaikod-featured-post__image img,
.mozaikod-blog-card__image img,
.mozaikod-single-featured img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mozaikod-featured-post__image {
	min-height: 330px;
	background: var(--mzk-cream);
}

.mozaikod-featured-post__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 4vw, 56px);
}

.mozaikod-featured-post h2 {
	max-width: 520px;
	margin: 8px 0 16px;
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.05;
}

.mozaikod-featured-post p:not(.mozaikod-blog-kicker) {
	margin: 18px 0 28px;
	color: var(--mzk-muted);
	font-size: 16px;
	line-height: 1.65;
}

.mozaikod-blog-meta,
.mozaikod-blog-card__meta,
.mozaikod-single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	color: rgba(17, 17, 17, 0.58);
	font-size: 14px;
}

/* Blog / pattern dugmad â†’ mozaikod-buttons.css */

.mozaikod-blog-tools {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
	gap: 24px;
	align-items: center;
	margin: 34px 0;
}

.mozaikod-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mozaikod-blog-filters a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: var(--color-bg-alt);
	color: rgba(17, 17, 17, 0.72);
	font-size: 13px;
	font-weight: 700;
}

.mozaikod-blog-filters a.is-active,
.mozaikod-blog-filters a:hover,
.mozaikod-blog-filters a:focus {
	background: var(--mzk-black);
	color: var(--color-bg);
}

.mozaikod-blog-search {
	display: grid;
	grid-template-columns: 1fr 44px;
	border: 1px solid var(--mzk-line);
	border-radius: 7px;
	overflow: hidden;
	background: var(--color-bg);
}

.mozaikod-blog-search input,
.mozaikod-blog-search button {
	min-height: 46px;
	border: none;
	background: transparent;
	font-family: "Manrope", Inter, Arial, sans-serif;
}

.mozaikod-blog-search input {
	padding: 0 16px;
	color: var(--mzk-black);
}

.mozaikod-blog-search button {
	cursor: pointer;
	font-weight: 900;
}

.mozaikod-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mozaikod-blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--mzk-line);
	border-radius: 8px;
	background: var(--color-bg);
	box-shadow: 0 16px 38px rgba(17, 17, 17, 0.045);
}

.mozaikod-blog-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--mzk-cream);
	overflow: hidden;
}

.mozaikod-blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.mozaikod-blog-card__title {
	margin: 0 0 12px;
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	font-size: 23px;
	line-height: 1.16;
}

.mozaikod-blog-card p {
	margin: 16px 0 22px;
	color: var(--mzk-muted);
	font-size: 15px;
	line-height: 1.65;
}

/* .mozaikod-blog-card__link â†’ mozaikod-buttons.css (Ĺľuto CTA) */

.mozaikod-blog-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 38px;
}

.mozaikod-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--mzk-line);
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
}

.mozaikod-blog-pagination .page-numbers.current {
	background: var(--mzk-yellow);
	border-color: var(--mzk-yellow);
	color: var(--mzk-black);
}

.mozaikod-blog-wide-cta,
.mozaikod-single-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	margin-top: 56px;
	padding: 30px;
	border-radius: 8px;
	background: var(--color-ink);
	color: var(--color-bg);
}

.mozaikod-blog-wide-cta h2,
.mozaikod-single-cta h2 {
	margin: 0;
	color: #ffffff;
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.12;
}

.mozaikod-related-posts h2 {
	margin: 0;
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.12;
}

.mozaikod-blog-wide-cta p:not(.mozaikod-blog-kicker),
.mozaikod-single-cta p {
	color: rgba(255, 255, 255, 0.78);
}

.mozaikod-blog-wide-cta .mozaikod-blog-button,
.mozaikod-single-cta .mozaikod-blog-button {
	color: #000000;
}

.mozaikod-single-hero {
	padding: 26px 0 32px;
}

.mozaikod-blog-back {
	display: inline-flex;
	margin-bottom: 30px;
	color: rgba(17, 17, 17, 0.7);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mozaikod-single-hero h1 {
	max-width: 760px;
	margin-top: 20px;
	font-size: clamp(44px, 6.6vw, 76px);
}

.mozaikod-single-hero__rule {
	display: block;
	width: 72px;
	height: 3px;
	margin-top: 28px;
	background: var(--mzk-yellow);
}

.mozaikod-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(280px, 340px);
	gap: 58px;
	align-items: start;
}

.mozaikod-single-featured {
	margin: 0 0 30px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--mzk-cream);
}

.mozaikod-single-featured img {
	aspect-ratio: 16 / 10;
}

.mozaikod-single-content {
	color: var(--color-heading);
	font-size: 18px;
	line-height: 1.82;
}

.mozaikod-single-content > * {
	margin-top: 0;
	margin-bottom: 24px;
}

.mozaikod-single-content h2,
.mozaikod-single-content h3,
.mozaikod-single-content h4 {
	margin-top: 38px;
	margin-bottom: 14px;
	color: var(--mzk-black);
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	line-height: 1.18;
}

.mozaikod-single-content h2 {
	font-size: 34px;
}

.mozaikod-single-content h3 {
	font-size: 26px;
}

.mozaikod-single-content img {
	border-radius: 8px;
}

.mozaikod-single-content a {
	color: var(--color-accent-hover);
	text-decoration: underline;
	text-decoration-color: rgba(250, 185, 5, 0.55);
	text-underline-offset: 4px;
}

.mozaikod-single-layout--elementor {
	display: block;
}

.mozaikod-single-article--elementor {
	max-width: 980px;
	margin: 0 auto;
}

.mozaikod-single-content--elementor {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.mozaikod-single-content--elementor > * {
	margin-bottom: 0;
}

.mozaikod-single-content--elementor .elementor {
	width: 100%;
}

.mozaikod-single-content--elementor .elementor-widget-text-editor,
.mozaikod-single-content--elementor .elementor-widget-text-editor p {
	color: var(--color-heading);
	font-family: "Manrope", Inter, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.78;
}

.mozaikod-single-content--elementor .elementor-widget-heading .elementor-heading-title {
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	letter-spacing: 0;
}

.mozaikod-single-content--elementor img {
	border-radius: 8px;
}

.mozaikod-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 34px;
}

.mozaikod-single-tags span {
	margin-right: 8px;
	font-weight: 800;
}

.mozaikod-single-tags a {
	padding: 7px 12px;
	border-radius: 5px;
	background: var(--color-bg-muted);
	color: rgba(17, 17, 17, 0.72);
	font-size: 13px;
}

.mozaikod-post-sidebar {
	position: sticky;
	top: 28px;
	display: grid;
	gap: 24px;
}

.mozaikod-sidebar-box,
.mozaikod-sidebar-cta {
	padding: 28px;
	border: 1px solid var(--mzk-line);
	border-radius: 8px;
	background: var(--color-bg);
	box-shadow: 0 16px 40px rgba(17, 17, 17, 0.045);
}

.mozaikod-sidebar-box h2,
.mozaikod-sidebar-cta h2 {
	margin: 0 0 22px;
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	font-size: 22px;
}

.mozaikod-sidebar-author__row {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 18px;
	align-items: center;
}

.mozaikod-sidebar-author__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: var(--color-bg-warm);
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	font-size: 38px;
	font-weight: 800;
}

.mozaikod-sidebar-author__avatar span {
	color: var(--mzk-yellow);
}

.mozaikod-sidebar-author p,
.mozaikod-sidebar-cta p {
	margin: 8px 0 0;
	color: var(--mzk-muted);
	font-size: 14px;
	line-height: 1.6;
}

.mozaikod-sidebar-author a {
	display: inline-flex;
	margin-top: 20px;
	color: var(--color-accent-hover);
	font-weight: 800;
}

.mozaikod-sidebar-categories,
.mozaikod-sidebar-posts {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mozaikod-sidebar-categories a {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	color: rgba(17, 17, 17, 0.78);
	font-weight: 700;
}

.mozaikod-sidebar-categories strong {
	color: var(--mzk-yellow);
}

.mozaikod-sidebar-post {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 14px;
	align-items: center;
}

.mozaikod-sidebar-post img {
	width: 72px;
	height: 72px;
	border-radius: 7px;
	object-fit: cover;
}

.mozaikod-sidebar-post strong {
	display: block;
	font-size: 14px;
	line-height: 1.35;
}

.mozaikod-sidebar-post time {
	display: block;
	margin-top: 5px;
	color: rgba(17, 17, 17, 0.55);
	font-size: 12px;
}

.mozaikod-sidebar-cta {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-bg) 0%, rgba(250, 185, 5, 0.06) 100%);
}

.mozaikod-sidebar-cta::after {
	content: "";
	position: absolute;
	right: 18px;
	bottom: 18px;
	width: 116px;
	height: 92px;
	opacity: 0.5;
	background-image: radial-gradient(circle, var(--mzk-yellow) 1.5px, transparent 1.5px);
	background-size: 12px 12px;
}

.mozaikod-sidebar-cta__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--mzk-yellow);
	color: var(--mzk-black);
	font-weight: 900;
}

.mozaikod-sidebar-cta__icon span {
	color: var(--color-bg);
}

.mozaikod-related-posts {
	margin-top: 72px;
	padding-top: 42px;
	border-top: 1px solid var(--mzk-line);
}

.mozaikod-related-posts h2 {
	margin-bottom: 28px;
}

.mozaikod-blog-empty {
	padding: 46px;
	border: 1px solid var(--mzk-line);
	border-radius: 8px;
	background: var(--color-bg);
}

.mozaikod-pattern-quote,
.mozaikod-pattern-info,
.mozaikod-pattern-cta,
.mozaikod-pattern-service,
.mozaikod-pattern-read-next {
	margin: 34px 0;
	border-radius: 8px;
}

.mozaikod-pattern-quote {
	position: relative;
	padding: 30px 34px 30px 86px;
	border: none;
	background: linear-gradient(135deg, rgba(250, 185, 5, 0.18), rgba(250, 185, 5, 0.05));
	color: var(--mzk-black);
	font-family: "Space Grotesk", "Manrope", Inter, Arial, sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.45;
}

.mozaikod-pattern-quote::before {
	content: "â€ś";
	position: absolute;
	left: 28px;
	top: 18px;
	color: var(--mzk-yellow);
	font-size: 70px;
	line-height: 1;
}

.mozaikod-pattern-quote cite {
	display: block;
	margin-top: 12px;
	color: var(--color-accent-hover);
	font-family: "Manrope", Inter, Arial, sans-serif;
	font-size: 15px;
	font-style: normal;
}

.mozaikod-pattern-info {
	padding: 28px 32px;
	border-left: 5px solid var(--mzk-yellow);
	background: var(--color-bg)8df;
}

.mozaikod-pattern-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	padding: 30px;
	background: var(--color-ink);
	color: var(--color-bg);
}

.mozaikod-pattern-cta p {
	color: rgba(255, 255, 255, 0.78);
}

.mozaikod-pattern-service,
.mozaikod-pattern-read-next {
	padding: 28px 32px;
	border: 1px solid var(--mzk-line);
	background: var(--color-bg);
	box-shadow: 0 16px 38px rgba(17, 17, 17, 0.045);
}

.mozaikod-pattern-gallery {
	gap: 18px;
	margin: 34px 0;
}

.mozaikod-pattern-gallery img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.mozaikod-blog {
		width: min(100% - 44px, 980px);
		padding-top: 40px;
	}

	.mozaikod-featured-post,
	.mozaikod-single-layout,
	.mozaikod-blog-hero,
	.mozaikod-blog-tools {
		grid-template-columns: 1fr;
	}

	.mozaikod-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mozaikod-post-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.mozaikod-blog {
		width: calc(100% - 36px);
		padding: 30px 0 64px;
	}

	.mozaikod-blog-hero {
		padding-top: 18px;
	}

	.mozaikod-blog-hero h1,
	.mozaikod-single-hero h1 {
		font-size: clamp(38px, 13vw, 52px);
	}

	.mozaikod-blog-dots {
		display: none;
	}

	.mozaikod-featured-post__image {
		min-height: 240px;
	}

	.mozaikod-featured-post__content,
	.mozaikod-blog-card__body,
	.mozaikod-sidebar-box,
	.mozaikod-sidebar-cta {
		padding: 22px;
	}

	.mozaikod-blog-grid,
	.mozaikod-post-sidebar {
		grid-template-columns: 1fr;
	}

	.mozaikod-blog-filters {
		gap: 8px;
	}

	.mozaikod-blog-filters a {
		white-space: normal;
	}

	.mozaikod-blog-wide-cta,
	.mozaikod-single-cta,
	.mozaikod-pattern-cta {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.mozaikod-blog-button,
	.mozaikod-pattern-button .wp-block-button__link {
		width: 100%;
	}

	.mozaikod-single-content {
		font-size: 17px;
		line-height: 1.74;
	}

	.mozaikod-pattern-quote {
		padding: 26px 24px;
		font-size: 20px;
	}

	.mozaikod-pattern-quote::before {
		position: static;
		display: block;
		margin-bottom: -8px;
	}
}

